/* ---------- Section Activité ---------- */
.section--dot-grid {
  position: relative;
  overflow: hidden;
}

.section--dot-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--color-heading) 10%, transparent) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
}

.section--dot-grid > .container {
  position: relative;
  z-index: 1;
}

/* Editorial XL — titre + deux colonnes (narratif | bento) */
.act-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-fg);
  max-width: none;
  margin: var(--space-lg) 0 var(--space-md);
}

.act-title em {
  font-style: normal;
  color: var(--color-heading);
}

.act-underline {
  background-image: linear-gradient(to top, color-mix(in srgb, var(--color-heading) 22%, transparent) 0, color-mix(in srgb, var(--color-heading) 22%, transparent) 0.28em, transparent 0.28em);
  background-repeat: no-repeat;
  padding: 0 0.06em;
}

/* 3 offres en colonnes (template three-offers-columns) — sans numéros */
.act-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

@media (min-width: 800px) {
  .act-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Chaque point dans une card séparée */
.act-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.act-col:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--color-heading) 40%, var(--color-border));
  box-shadow: var(--shadow-card-hover);
}

/* Visuel placeholder collé en haut de la card */
.act-col-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin: calc(-1 * var(--space-lg)) calc(-1 * var(--space-lg)) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(3, 87, 169, 0.16), transparent 60%),
    linear-gradient(160deg, #1a2c45 0%, #0a1426 100%);
}

.act-col-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.6;
}

.act-col-img:has(img)::before { display: none; }

.act-col-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.act-col-img-glyph {
  position: relative;
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.30);
}

.act-col-img-glyph svg { width: 100%; height: 100%; display: block; }

.act-col-img-label {
  position: relative;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
}


.act-col-icon {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease);
}

.act-col-icon svg { width: 24px; height: 24px; }

.act-col:hover .act-col-icon {
  background: var(--color-heading);
  color: #fff;
}

.act-col-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-fg);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
}

.act-col-text {
  font-size: var(--fs-body);
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

.act-col-link {
  align-self: flex-end;
  margin-top: var(--space-md);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.7rem 1.25rem;
  background: var(--color-heading);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--fs-small);
  transition: background var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.act-col-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--color-heading) 30%, transparent);
}

.act-col-link span { transition: transform var(--duration) var(--ease); }
.act-col-link:hover span { transform: translateX(3px); }

.act-card-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: auto 0 0;
  padding: 0;
  min-width: 0;
}

.act-card-tags li {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-heading);
  background: color-mix(in srgb, var(--color-heading) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-heading) 18%, transparent);
  border-radius: 999px;
  padding: 0.22rem 0.45rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Mobile (cards pleine largeur) : pastilles à taille pleine */
@media (max-width: 799px) {
  .act-card-tags {
    gap: 5px;
  }
  .act-card-tags li {
    font-size: 0.6875rem;
    padding: 0.22rem 0.55rem;
  }
}

/* Encadré bleu marque "Vous souhaitez X" — edge-to-edge entre photo et titre */
.act-col-callout {
  background: var(--color-heading);
  /* margin-top négatif compense le gap: var(--space-md) du flex parent .act-col */
  margin: calc(-1 * var(--space-md)) calc(-1 * var(--space-lg)) 0;
  padding: var(--space-sm) var(--space-lg);
  /* min-height pour aligner les titres des 3 cards malgré le nombre de lignes variable */
  min-height: 6.5rem;
  display: flex;
  align-items: center;
}

.act-col-callout p {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin: 0;
  max-width: none;
}

.act-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (min-width: 900px) {
  .act-two-col {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-2xl);
  }
}

/* Colonne narrative (objectif + points clés) */
.act-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.act-lead {
  font-size: var(--fs-lead);
  color: var(--color-fg);
  line-height: 1.65;
  max-width: 56ch;
}

.act-lead strong {
  color: var(--color-heading);
  font-weight: 600;
}

.act-objective {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-heading);
  color: #fff;
  border-radius: 14px;
  align-items: center;
  box-shadow: 0 12px 28px rgba(3, 87, 169, 0.18);
}

.act-objective-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.act-objective-icon svg { width: 26px; height: 26px; }

.act-objective-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  margin-bottom: 4px;
}

.act-objective-text {
  font-size: 1.0625rem;
  color: #fff;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.005em;
}

/* Colonne bento "Nous transformons" */
.act-inputs-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.act-inputs-label {
  grid-column: 1 / -1;
  margin-bottom: var(--space-2xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 600;
}

.act-input-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  aspect-ratio: 5 / 4;
  justify-content: space-between;
  transition: transform var(--duration) var(--ease),
              background var(--duration) var(--ease);
}

.act-input-card:hover {
  transform: translateY(-3px);
  background: var(--color-bg);
}

.act-input-card-icon {
  width: 32px;
  height: 32px;
  color: var(--color-heading);
}

.act-input-card-meta {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.625rem;
  color: var(--color-muted);
  font-weight: 600;
}

.act-input-card-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-fg);
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.act-input-card-formats {
  font-size: 0.75rem;
  color: var(--color-muted);
  letter-spacing: -0.005em;
}

/* ---------- Scroll progress (top fixed bar) ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--color-heading);
  z-index: 1001;
  transition: width 60ms linear;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.875rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: var(--fs-body);
  letter-spacing: 0.01em;
  transition: opacity var(--duration-fast) var(--ease),
              transform var(--duration-fast) var(--ease),
              box-shadow var(--duration-fast) var(--ease);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--color-heading);
  color: var(--color-bg);
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--color-heading) 30%, transparent);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: none;
}

.btn-secondary {
  background: transparent;
  color: var(--color-heading);
  border: 1px solid var(--color-heading);
}

.btn-secondary:hover {
  background: var(--color-heading);
  color: var(--color-bg);
  opacity: 1;
}

.btn-secondary:active {
  transform: translateY(1px);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.brand-badge {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  opacity: 0.75;
  transition: opacity var(--duration) var(--ease);
}

.brand-badge:hover {
  opacity: 1;
}

.footer-badges {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

/* ---------- Header & Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--duration-fast) var(--ease),
              box-shadow var(--duration-fast) var(--ease);
}

/* Compact au scroll (>100px) — le header visuel rétrécit, mais --header-h reste à 88px pour éviter le CLS sur les ancres */
.site-header.scrolled-compact {
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.site-header.scrolled-compact .header-inner {
  height: var(--header-h-compact);
}

.site-header.scrolled-compact .logo img {
  height: 44px;
  transition: height var(--duration-fast) var(--ease);
}

/* Quand le burger menu mobile est ouvert (panneau blanc) — pas de bascule de couleur nécessaire puisque tout est déjà en sombre */
.burger[aria-expanded="true"] span {
  background: var(--color-fg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  transition: height var(--duration-fast) var(--ease);
}

.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo img {
  display: block;
  height: 60px;
  width: auto;
  transition: height var(--duration-fast) var(--ease);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-fg);
  padding: var(--space-3xs) 0;
  transition: color var(--duration-fast) var(--ease);
}

.nav-link:hover {
  color: var(--color-heading);
  opacity: 1;
}

.nav-link-home {
  color: var(--color-heading);
}

.nav-link-cta {
  padding: 0.5rem 1rem;
  background: var(--color-heading);
  color: var(--color-bg);
  border-radius: var(--radius);
}

.nav-link-cta::after {
  display: none;
}

.nav-link-cta:hover {
  opacity: 0.85;
}

.burger {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 110;
}

.burger span {
  display: block;
  position: absolute;
  left: 6px;
  right: 6px;
  height: 1.5px;
  background: var(--color-fg);
  transition: transform var(--duration) var(--ease), opacity var(--duration-fast) var(--ease), top var(--duration) var(--ease);
}

.burger span:nth-child(1) { top: 10px; }
.burger span:nth-child(2) { top: 16px; }
.burger span:nth-child(3) { top: 22px; }

.burger[aria-expanded="true"] span:nth-child(1) {
  top: 16px;
  transform: rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  top: 16px;
  transform: rotate(-45deg);
}

@media (max-width: 1024px) {
  .burger {
    display: block;
  }
  .nav-list {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    z-index: 99;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    background: var(--color-bg);
    padding: var(--space-md) var(--space-md) var(--space-xl);
    transform: translateY(-100%);
    transition: transform var(--duration) var(--ease),
                visibility var(--duration) var(--ease),
                top var(--duration-fast) var(--ease),
                height var(--duration-fast) var(--ease);
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
  }
  .site-header.scrolled-compact .nav-list {
    top: var(--header-h-compact);
    height: calc(100vh - var(--header-h-compact));
  }
  .nav-list.open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav-list li {
    border-bottom: 1px solid var(--color-border);
  }
  .nav-list li:last-child {
    border-bottom: 0;
  }
  .nav-link {
    display: block;
    padding: var(--space-md) 0;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
  }
  .nav-link-cta {
    margin-top: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    text-align: center;
    border-radius: 10px;
  }
}

/* ---------- Hero (fond noir + halo bleu central) ---------- */
/* Hero — fond noir, grille bleue + gradient bleu sous le SVG */
.hero {
  position: relative;
  overflow: hidden;
  background-color: #0a0a0a;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.25) 100%),
    image-set(
      url("/assets/fond/fond.webp") type("image/webp"),
      url("/assets/fond/fond.jpg") type("image/jpeg")
    );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-bg);
}

/* --- Ancien fond (dégradés + grille) — mis en suspens ---
.hero {
  background-color: #0a0a0a;
  background-image:
    radial-gradient(1100px 800px at 80% 55%, rgba(3, 87, 169, 0.55), transparent 60%),
    radial-gradient(900px 700px at 15% 110%, rgba(3, 87, 169, 0.18), transparent 60%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(3, 87, 169, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 87, 169, 0.18) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
--- */

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: var(--space-2xl);
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  text-align: left;
  animation: hero-fade-in 1.1s var(--ease) both;
}

/* Eyebrow chip avec point lumineux pulsant */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-heading);
  font-weight: 600;
  padding: 0.5rem 0.875rem;
  background: color-mix(in srgb, var(--color-heading) 10%, transparent);
  border-radius: 999px;
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-heading);
  box-shadow: 0 0 0 4px rgba(3, 87, 169, 0.16);
  animation: hero-eyebrow-pulse 1.6s ease-in-out infinite;
}

@keyframes hero-eyebrow-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(3, 87, 169, 0.16); }
  50%      { box-shadow: 0 0 0 8px rgba(3, 87, 169, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow-dot { animation: none; }
}

.hero-title {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 22ch;
  color: var(--color-bg);
  text-wrap: balance;
}

.hero-accent {
  color: color-mix(in srgb, var(--color-heading) 75%, #fff);
  white-space: nowrap;
}

.hero-lede {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  max-width: 50ch;
  margin: 0;
}

.hero .hero-ctas {
  margin-top: var(--space-sm);
  justify-content: flex-start;
}

.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin: var(--space-md) 0 0;
  padding: 0;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.7);
}

.hero-meta li {
  position: relative;
  padding-left: 1.25rem;
  max-width: none;
}

.hero-meta li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 14px;
  background: color-mix(in srgb, var(--color-heading) 75%, #fff);
  -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}

/* CTA secondary inversé pour fond sombre */
.hero .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: transparent;
}

.hero .btn-secondary:hover {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
  opacity: 1;
}

/* Visual SVG container — les wires débordent à droite jusqu'au bord de l'écran */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1.18;
  margin-inline: auto;
  overflow: visible;
  animation: hero-slide-in-right 1.1s var(--ease) 0.2s both;
}

.hero-visual svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 30px 50px rgba(3, 87, 169, 0.18));
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual svg animateMotion { display: none; }
}
/* ---------- Contact form ---------- */
.contact-details {
  list-style: none;
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  font-size: var(--fs-small);
  color: var(--color-muted);
}

.contact-details strong {
  color: var(--color-fg);
  font-weight: 600;
  display: block;
  margin-bottom: var(--space-3xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* ---------- Contact — formulaire (design split affiné) ---------- */
.ct-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.ct-field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 600px) {
  .ct-field-row { grid-template-columns: 1fr 1fr; }
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ct-field-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-fg);
  letter-spacing: -0.005em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ct-field-req {
  color: var(--color-heading);
  font-weight: 700;
}

.ct-input,
.ct-textarea {
  appearance: none;
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font: inherit;
  font-size: var(--fs-body);
  color: var(--color-fg);
  line-height: 1.4;
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              background var(--duration) var(--ease);
}

.ct-input::placeholder,
.ct-textarea::placeholder { color: var(--color-muted); }

.ct-input:focus,
.ct-textarea:focus {
  outline: 0;
  border-color: var(--color-heading);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-heading) 14%, transparent);
  background: #fff;
}

.ct-textarea {
  min-height: 132px;
  resize: vertical;
}

.ct-field.invalid .ct-input,
.ct-field.invalid .ct-textarea {
  border-color: #c0392b;
}

.ct-field-error {
  font-size: 0.8125rem;
  color: #c0392b;
  min-height: 0;
}

.ct-field.invalid .ct-field-error {
  min-height: 1.2em;
}

.ct-form-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  margin-top: var(--space-2xs);
}

.ct-form-foot .btn {
  align-self: flex-start;
}

.ct-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.ct-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-bg);
}

.ct-trust-chip svg {
  width: 13px;
  height: 13px;
  color: var(--color-heading);
}

.form-success {
  padding: var(--space-md);
  background: var(--color-fg);
  color: var(--color-bg);
  border-radius: var(--radius);
  font-size: var(--fs-small);
}

.form-error {
  padding: var(--space-md);
  background: #7a1f1f;
  color: var(--color-bg);
  border-radius: var(--radius);
  font-size: var(--fs-small);
}

.form-error a {
  color: var(--color-bg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Footer (fond bleu marque, texte blanc) ---------- */
.site-footer {
  background: var(--color-heading);
  color: #fff;
  padding: var(--space-xl) 0 0;
  margin-top: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
}

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-social {
    justify-self: end;
  }
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-small);
  max-width: none;
  line-height: 1.6;
}

.footer-social {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-size: var(--fs-small);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--duration-fast) var(--ease);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer-social:hover {
  color: #fff;
}

.footer-copyright {
  grid-column: 1 / -1;
  max-width: none;
  margin-top: var(--space-md);
  text-align: center;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Section light (alternance fond gris clair) ---------- */
.section-light {
  background: var(--color-bg-alt);
}

.section + .section-light,
.section-light + .section {
  border-top: 0;
}

.section-title-centered {
  text-align: center;
  margin-inline: auto;
  max-width: 28ch;
}

.section-title-large {
  max-width: 18ch;
}

/* ---------- Listes à puces colorées (tech / bénéfices) ---------- */
.tech-list,
.benefits-list {
  list-style: none;
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.tech-list li,
.benefits-list li {
  padding-left: var(--space-md);
  position: relative;
  color: var(--color-fg);
  max-width: 60ch;
}

.tech-list li::before,
.benefits-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-heading);
}

/* ---------- Stats (chiffres clés) ---------- */
.stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.stat {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3xs);
}

.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  line-height: 1;
  color: var(--color-heading);
}

.stat-prefix,
.stat-number,
.stat-suffix {
  font-size: clamp(2.25rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: var(--fs-small);
  color: var(--color-muted);
  max-width: none;
}

/* ---------- Stats horizontales (legacy variante row) ---------- */
.stats--horizontal {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.stats--horizontal .stat {
  flex: 1 1 200px;
  border-top: none;
  padding-top: 0;
}

/* ---------- Stats héroïsées (variante hero avec progress ring) ---------- */
.stats--hero {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}

.stats--hero .stat {
  flex: 1 1 220px;
  border-top: none;
  padding-top: 0;
  gap: var(--space-md);
  max-width: 340px;
}

.stat-ring {
  position: relative;
  width: clamp(180px, 22vw, 240px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}

.stat-ring-bg {
  stroke: var(--color-border);
}

.stat-ring-fg {
  stroke: var(--color-heading);
  stroke-dasharray: 282.74;
  stroke-dashoffset: 282.74;
  transition: stroke-dashoffset 0.4s var(--ease);
}

.stats--hero .stat-value {
  position: relative;
  z-index: 1;
  align-items: baseline;
}

.stats--hero .stat-number,
.stats--hero .stat-suffix {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.stats--hero .stat-suffix {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
}

.stats--hero .stat-label {
  font-size: 0.8125rem;
  color: var(--color-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  max-width: 26ch;
  line-height: 1.45;
}

/* ---------- Bénéfices — Marquee horizontal défilant (2 lignes) ---------- */
.section-head {
  margin-bottom: var(--space-xl);
}

/* Resserre uniquement l'écart titre « Nos offres » → HORIZON */
#solution .section-head {
  margin-bottom: var(--space-md);
}


/* ---------- Sectors (Cas d'usage) — Carousel "légèrement bend" ---------- */
.sectors-carousel-wrap {
  margin-top: var(--space-xl);
  position: relative;
}


/* Conteneur viewport : overflow caché, fade aux extrémités */
.sectors-carousel {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-md);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}

/* Track : flex inline qui défile via transform:translateX (animé en JS) */
.sectors-track {
  display: flex;
  gap: var(--space-md);
  will-change: transform;
}

.sectors-track .sector {
  flex: 0 0 360px;
}

@media (max-width: 600px) {
  .sectors-track .sector {
    flex: 0 0 82vw;
  }
}

.sector {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-bg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              background var(--duration) var(--ease);
}

.sector:hover {
  transform: translateY(-4px);
  border-color: var(--color-heading);
  box-shadow: var(--shadow-card-hover);
  background: var(--color-heading);
}

.sector:hover .sector-icon,
.sector:hover h3,
.sector:hover p {
  color: #fff;
}

/* Mockup "Photo à venir" en haut de chaque card */
.sector-photo {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.sector-photo picture,
.sector-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contenu sous la photo */
.sector-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: var(--space-lg);
}

.sector-icon {
  width: 32px;
  height: 32px;
  color: var(--color-heading);
  margin-bottom: var(--space-xs);
  transition: color var(--duration) var(--ease);
}

.sector h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.25;
  transition: color var(--duration) var(--ease);
}

.sector p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-muted);
  max-width: none;
  margin: 0;
  transition: color var(--duration) var(--ease);
}

/* ---------- Placeholders (vidéo / image) ---------- */
.video-placeholder,
.image-placeholder {
  background: var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-placeholder {
  aspect-ratio: 16 / 9;
}

.image-placeholder {
  aspect-ratio: 4 / 5;
}

.about-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: 10px;
}

/* Slideshow crossfade entre 2 photos (drahix ↔ polytechnique) */
.about-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 1024 / 683;
  max-height: 480px;
  border-radius: 10px;
  overflow: hidden;
}

.about-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  animation: about-slideshow-fade 12s infinite ease-in-out;
}

.about-slide img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.about-slide--1 { animation-delay: 0s; }
.about-slide--2 { animation-delay: -6s; }

@keyframes about-slideshow-fade {
  0%   { opacity: 1; }
  42%  { opacity: 1; }
  50%  { opacity: 0; }
  92%  { opacity: 0; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .about-slide { animation: none; }
  .about-slide--1 { opacity: 1; }
  .about-slide--2 { opacity: 0; }
}

.about-image--illustration {
  max-width: 420px;
  max-height: none;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 0;
  background: transparent;
}

/* ---------- Solutions V1 — Sticky storytelling (3 blocs verticaux + index sticky) ---------- */
.sticky-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: 0;
}


.ss-cta {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-bg);
  box-shadow: var(--shadow-card);
}

/* Sur mobile, masquer la CTA dupliquée de l'index — le CTA de chaque bloc suffit */
@media (max-width: 899px) {
  .ss-cta { display: none; }
}

.ss-cta p {
  font-size: var(--fs-small);
  color: var(--color-muted);
  margin-bottom: var(--space-sm);
  max-width: none;
}

.ss-cta .btn {
  font-size: var(--fs-small);
  padding: 0.75rem 1.25rem;
}

/* Contenu droit */
.ss-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.ss-block {
  scroll-margin-top: calc(var(--header-h-compact) + var(--space-lg));
}

/* En-tête de bloc : icône à gauche, eyebrow + titre à droite */
.ss-block-head {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.ss-block-headtext {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.ss-block-icon {
  display: block;
  flex-shrink: 0;
  width: clamp(56px, 6vw, 80px);
  height: clamp(56px, 6vw, 80px);
  color: var(--color-heading);
  opacity: 0.35;
}

.ss-block-eyebrow {
  letter-spacing: -0.015em;
  font-size: clamp(1.75rem, 2.8vw, 2.375rem);
  color: var(--color-heading);
  font-weight: 700;
  display: inline-block;
}

.ss-block-title {
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--color-fg);
  max-width: none;
  margin: 0;
}

.ss-block-lead {
  font-size: var(--fs-lead);
  color: var(--color-muted);
  max-width: 58ch;
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

/* Encadré objectif (bleu) — centré horizontalement */
/* Wrap : card + photo en grid sibling, partagent border-radius via overflow:hidden
   (même pattern que .ab-eco-wrap dans la section À propos) */
.ss-objective-wrap {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0 0 var(--space-lg);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(3, 87, 169, 0.18);
}

@media (min-width: 700px) {
  .ss-objective-wrap {
    grid-template-columns: 1fr 320px;
    align-items: stretch;
  }
}

.ss-objective {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-heading);
  color: #fff;
}

.ss-objective-visual {
  width: 100%;
  aspect-ratio: 3 / 2;
}

@media (min-width: 700px) {
  .ss-objective-visual {
    aspect-ratio: auto;
    height: 100%;
    min-height: 213px;
  }
}

.ss-objective-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ss-objective-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ss-objective-icon svg { width: 26px; height: 26px; }

.ss-objective-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  margin-bottom: 4px;
}

.ss-objective-text {
  font-size: 0.9375rem;
  color: #fff;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.ss-benefits-label {
  margin-top: var(--space-md);
}

.ss-benefits-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.ss-benefits-list li {
  position: relative;
  padding-left: 1.4em;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.ss-benefits-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

.ss-block-muted {
  color: var(--color-muted);
  max-width: none;
  margin: 0 0 var(--space-md);
}

/* Schéma horizontal en rectangles (parcours en étapes) */
.ss-schema {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}

@media (min-width: 1024px) {
  .ss-schema {
    flex-direction: row;
    align-items: stretch;
    gap: var(--space-2xs);
  }
}

.ss-schema-step {
  flex: 1 1 0;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-heading);
  border-radius: 12px;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  box-shadow: var(--shadow-card);
}

.ss-schema-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-heading);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.ss-schema-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-fg);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.ss-schema-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-heading);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
  line-height: 1.3;
}

.ss-schema-text {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.45;
  margin: 0;
}

.ss-schema-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ss-schema-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.4;
}

.ss-schema-list svg {
  width: 16px;
  height: 16px;
  color: var(--color-heading);
  flex-shrink: 0;
  margin-top: 0.15em;
}

.ss-schema-sublist {
  list-style: disc;
  padding-left: 1.25em;
  margin: 0.35em 0 0;
}

.ss-schema-sublist li {
  display: list-item;
  padding: 0;
  gap: 0;
}

.ss-schema-arrow {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-heading);
  font-size: 1.875rem;
  font-weight: 700;
  align-self: center;
}

@media (max-width: 1023px) {
  .ss-schema-arrow { transform: rotate(90deg); }
}


.ss-cta-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: var(--space-md);
  color: var(--color-heading);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--fs-body);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap var(--duration) var(--ease);
}

.ss-cta-inline:hover {
  gap: 0.75em;
  opacity: 1;
}

.ss-divider {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

/* ---------- Solutions — Tabs + panneau riche (3 onglets) ---------- */
.sol-tabs-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xs);
  background: var(--color-bg);
  padding: var(--space-2xs);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-lg);
}

@media (min-width: 700px) {
  .sol-tabs-bar { grid-template-columns: repeat(3, 1fr); }
}

.sol-tab {
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: var(--space-md);
  border-radius: 12px;
  color: var(--color-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2xs);
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease);
}

.sol-tab:hover {
  background: var(--color-bg-alt);
  color: var(--color-fg);
}

.sol-tab[aria-selected="true"] {
  background: var(--color-heading);
  color: #fff;
}

.sol-tab-icon {
  width: 32px;
  height: 32px;
  color: var(--color-heading);
  margin-bottom: var(--space-2xs);
  transition: color var(--duration) var(--ease);
}

.sol-tab[aria-selected="true"] .sol-tab-icon {
  color: #fff;
}

.sol-tab-label {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: -0.005em;
  transition: color var(--duration) var(--ease);
}

.sol-tab[aria-selected="true"] .sol-tab-label { color: #fff; }

.sol-tab-sub {
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.3;
  transition: color var(--duration) var(--ease);
}

.sol-tab[aria-selected="true"] .sol-tab-sub { color: rgba(255, 255, 255, 0.75); }

/* Panneau de détail */
.sol-panel {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.sol-panel-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .sol-panel-grid { grid-template-columns: 1.4fr 1fr; }
}

.sol-panel-main { padding: var(--space-xl); }

@media (min-width: 900px) {
  .sol-panel-main { padding: var(--space-2xl); }
}

.sol-panel-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--fs-small);
  color: var(--color-heading);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  display: inline-block;
}

.sol-panel-title {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-fg);
  max-width: 20ch;
  margin-bottom: var(--space-md);
}

.sol-panel-lead {
  font-size: var(--fs-lead);
  color: var(--color-fg);
  max-width: 55ch;
  margin-bottom: var(--space-lg);
  line-height: 1.55;
}

.sol-panel-text {
  color: var(--color-muted);
  max-width: 58ch;
  margin: 0 0 var(--space-md);
  line-height: 1.6;
}

.sol-panel-section-title {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 600;
  margin: var(--space-lg) 0 var(--space-sm);
}

.sol-panel-features {
  list-style: none;
  margin: var(--space-md) 0 var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-bg-alt);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 700px) {
  .sol-panel-features { grid-template-columns: repeat(2, 1fr); }
}

.sol-feature {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  max-width: none;
}

.sol-feature-icon {
  width: 28px;
  height: 28px;
  color: var(--color-heading);
  flex-shrink: 0;
  margin-top: 2px;
}

.sol-feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sol-feature-text strong {
  color: var(--color-fg);
  font-weight: 600;
  font-size: var(--fs-body);
}

.sol-feature-text span {
  color: var(--color-muted);
  font-size: var(--fs-small);
  line-height: 1.5;
  max-width: none;
}

/* Rail droit (fond bleu marque) */
.sol-panel-rail {
  background: var(--color-heading);
  color: #fff;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

@media (min-width: 900px) {
  .sol-panel-rail { padding: var(--space-2xl); }
}

.sol-rail-icon {
  width: 56px;
  height: 56px;
  color: #fff;
}

.sol-rail-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.sol-rail-stat {
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sol-rail-stat:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.sol-rail-stat strong {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 4px;
}

.sol-rail-stat span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  max-width: none;
}

.sol-rail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sol-rail-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.sol-rail-cta {
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sol-rail-cta p {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-sm);
  max-width: none;
}

.sol-btn-rail {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.875rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: var(--fs-body);
  text-decoration: none;
  background: #fff;
  color: var(--color-fg);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.sol-btn-rail:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
  opacity: 1;
}

.sol-btn-rail .btn-arrow {
  transition: transform var(--duration) var(--ease);
}

.sol-btn-rail:hover .btn-arrow {
  transform: translateX(4px);
}

/* Panneaux : on n'affiche que celui actif */
.sol-panel-pane { display: none; }
.sol-panel-pane[data-active="true"] { display: block; }

/* Animation fade-up cascadée à chaque switch */
.sol-panel-pane[data-active="true"] .sol-panel-main > *,
.sol-panel-pane[data-active="true"] .sol-panel-rail > * {
  animation: sol-pane-fade 0.4s var(--ease) both;
}

.sol-panel-pane[data-active="true"] .sol-panel-main > *:nth-child(2) { animation-delay: 50ms; }
.sol-panel-pane[data-active="true"] .sol-panel-main > *:nth-child(3) { animation-delay: 100ms; }
.sol-panel-pane[data-active="true"] .sol-panel-main > *:nth-child(4) { animation-delay: 150ms; }
.sol-panel-pane[data-active="true"] .sol-panel-main > *:nth-child(5) { animation-delay: 200ms; }
.sol-panel-pane[data-active="true"] .sol-panel-main > *:nth-child(6) { animation-delay: 250ms; }
.sol-panel-pane[data-active="true"] .sol-panel-main > *:nth-child(7) { animation-delay: 300ms; }
.sol-panel-pane[data-active="true"] .sol-panel-rail > *:nth-child(2) { animation-delay: 100ms; }
.sol-panel-pane[data-active="true"] .sol-panel-rail > *:nth-child(3) { animation-delay: 150ms; }
.sol-panel-pane[data-active="true"] .sol-panel-rail > *:nth-child(4) { animation-delay: 200ms; }

@keyframes sol-pane-fade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sol-panel-pane > * > * { animation: none; }
}

#apropos .grid-asymmetric > .reveal:nth-child(2) {
  margin-top: var(--space-xl);
}

/* ---------- Titre du carousel partenaires ---------- */
.partner-marquee-title {
  max-width: none;
  text-align: center;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-2xs);
  padding-top: var(--space-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  width: 100%;
}

.partner-marquee-title-icon {
  width: 22px;
  height: 22px;
  color: var(--color-heading);
}

.partner-marquee-sub {
  text-align: center;
  font-size: var(--fs-small);
  color: var(--color-muted);
  margin: 0 auto var(--space-md);
  max-width: 50ch;
}

/* ---------- Carousel infini des partenaires (pleine largeur) ---------- */
.partner-marquee {
  overflow: hidden;
  padding: var(--space-md) 0;
  /* Fade soft sur les bords pour masquer les entrées/sorties */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}

/* Réduit l'espace en bas de la section À propos (sous la marquee partenaires) */
#apropos.section {
  padding-bottom: var(--space-lg);
}

.partner-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: partner-scroll 30s linear infinite;
}

/* margin-right (au lieu de flex gap) pour que le trailing space après le dernier logo
   compense le « -50% » de l'animation et garantisse un loop strictement seamless */
.partner-marquee-track > picture {
  margin-right: var(--space-2xl);
  flex-shrink: 0;
}

.partner-marquee:hover .partner-marquee-track {
  animation-play-state: paused;
}

@keyframes partner-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}

@media (prefers-reduced-motion: reduce) {
  .partner-marquee-track {
    animation: none;
  }
}

.partner-logo {
  display: block;
  width: auto;
  object-fit: contain;
  opacity: 1;
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.partner-logo:hover {
  transform: scale(1.06);
}

/* Tailles individuelles cyclées (3 logos dupliqués → 6 enfants).
   Ordre : polytechnique, French Tech, Bpifrance. */
.partner-marquee-track > picture:nth-child(3n+1) .partner-logo { max-height: 120px; }
.partner-marquee-track > picture:nth-child(3n+2) .partner-logo { max-height: 160px; }
.partner-marquee-track > picture:nth-child(3n+3) .partner-logo { max-height: 55px; }

/* ---------- Lien "Comment ?" ---------- */
.how-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  margin-top: var(--space-lg);
  font-weight: 600;
  color: var(--color-heading);
  font-size: var(--fs-lead);
}

.how-link::after {
  content: '↓';
  transition: transform var(--duration) var(--ease);
}

.how-link:hover::after {
  transform: translateY(3px);
}

/* ---------- Section Technologie — Bento asymétrique (variant Cartes contrastées) ---------- */
/* Stagger reveal : chaque card apparaît avec ~80ms de décalage par rapport à la précédente */
.tech-bento .card.reveal:nth-child(1) { transition-delay: 0ms; }
.tech-bento .card.reveal:nth-child(2) { transition-delay: 80ms; }
.tech-bento .card.reveal:nth-child(3) { transition-delay: 160ms; }
.tech-bento .card.reveal:nth-child(4) { transition-delay: 240ms; }
.tech-bento .card.reveal:nth-child(5) { transition-delay: 320ms; }
.tech-bento .card.reveal:nth-child(6) { transition-delay: 400ms; }

.tech-bento {
  --tb-fg: #0a0a0a;
  --tb-muted: #6b6b6b;
  --tb-rule: #e5e5e5;
  --tb-accent: #0357a9;
  --tb-accent-deep: #024388;
  --tb-accent-soft: #e8f0fa;
  --tb-radius: 10px;
  --tb-radius-sm: 6px;
  --tb-pad: clamp(1.5rem, 2.4vw, 2.25rem);
  --tb-shadow-rest: 0 1px 0 rgba(10, 10, 10, 0.02);
  --tb-shadow-hover: 0 1px 0 rgba(10, 10, 10, 0.02), 0 8px 24px -10px rgba(3, 87, 169, 0.22);
  --tb-shadow-accent: 0 1px 0 rgba(10, 10, 10, 0.04), 0 14px 36px -14px rgba(3, 87, 169, 0.45);

  margin-top: var(--space-xl);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 700px) {
  .tech-bento {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .tech-bento .vedette { grid-column: span 2; }
  .tech-bento .strip { grid-column: span 2; }
}

@media (min-width: 1024px) {
  .tech-bento {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .tech-bento .vedette {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
  }
  .tech-bento .wide { grid-column: span 2; }
  .tech-bento .strip { grid-column: 1 / -1; }
}

.tech-bento .card {
  background: #fff;
  border: 1px solid var(--tb-rule);
  border-radius: var(--tb-radius);
  padding: var(--tb-pad);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  box-shadow: var(--tb-shadow-rest);
  transition: box-shadow 220ms ease, border-color 220ms ease, transform 220ms ease;
  margin: 0;
}

.tech-bento .card:hover {
  border-color: var(--tb-accent);
  box-shadow: var(--tb-shadow-hover);
}

.tech-bento .card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--tb-radius-sm);
  background: var(--tb-accent-soft);
  color: var(--tb-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-bento .card-icon svg { width: 20px; height: 20px; }

.tech-bento .card h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: none;
  color: var(--tb-fg);
}

.tech-bento .card .lede {
  color: var(--tb-muted);
  font-size: 0.9375rem;
  margin: 0;
  max-width: none;
  line-height: 1.55;
}

.tech-bento .card-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--tb-muted);
  font-size: 0.8125rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Bento item image-only (à droite d'Intégration système) */
.tech-bento .bento-visual {
  padding: 0;
  overflow: hidden;
  background: transparent;
  display: block;
  align-self: start;
  aspect-ratio: 4 / 3;
}

.tech-bento .bento-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tech-bento .card-list li {
  padding-left: 1rem;
  position: relative;
  max-width: none;
}

.tech-bento .card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tb-accent);
}

.tech-bento .card-list strong {
  color: var(--tb-fg);
  font-weight: 600;
}

/* Vedette PageGPT — fond bleu marque */
.tech-bento .vedette {
  background: var(--tb-accent);
  color: #fff;
  border-color: var(--tb-accent);
  box-shadow: var(--tb-shadow-accent);
  gap: 1.25rem;
  padding: clamp(2rem, 3vw, 2.75rem);
  position: relative;
  overflow: hidden;
}

.tech-bento .vedette::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 480px at 100% -20%, rgba(255,255,255,0.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 35%);
  pointer-events: none;
}

.tech-bento .vedette > * { position: relative; z-index: 1; }

.tech-bento .vedette:hover {
  border-color: var(--tb-accent);
  box-shadow: var(--tb-shadow-accent);
}

.tech-bento .vedette .card-icon {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}

.tech-bento .vedette-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.tech-bento .vedette h3 {
  font-size: clamp(1.625rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}

.tech-bento .vedette .lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: rgba(255,255,255,0.86);
  max-width: 52ch;
}

.tech-bento .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,0.08);
  font-weight: 500;
  white-space: nowrap;
}

.tech-bento .vedette-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--tb-radius-sm);
  overflow: hidden;
  margin-top: 0.5rem;
}

@media (min-width: 600px) {
  .tech-bento .vedette-grid { grid-template-columns: 1fr 1fr; }
}

.tech-bento .vedette-cell {
  background: var(--tb-accent-deep);
  padding: 1rem 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tech-bento .vedette-cell .k {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}

.tech-bento .vedette-cell .v {
  font-size: 0.8125rem;
  color: #fff;
  font-weight: 500;
}

.tech-bento .vedette-foot {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 1rem;
  max-width: none;
}

/* Strip Human-in-the-loop */
.tech-bento .strip {
  background: linear-gradient(180deg, var(--tb-accent-soft), #fff);
  border-color: var(--tb-accent-soft);
  border-left: 4px solid var(--tb-accent);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .tech-bento .strip {
    grid-template-columns: minmax(260px, 320px) 1fr;
    align-items: center;
    gap: 2.5rem;
  }
}

.tech-bento .strip:hover { border-color: var(--tb-accent); }

.tech-bento .strip-title {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.tech-bento .strip-title h3 { font-size: 1.1875rem; }

.tech-bento .strip-lede { margin-top: 0.75rem; }

.tech-bento .strip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0.875rem;
}

.tech-bento .strip-tags span {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border: 1px solid var(--tb-rule);
  border-radius: 999px;
  color: var(--tb-fg);
  background: #fff;
  font-weight: 500;
}

.tech-bento .strip-body {
  color: var(--tb-muted);
  max-width: 62ch;
}

.tech-bento .strip-body strong {
  color: var(--tb-fg);
  font-weight: 600;
}

/* ---------- À propos — Photo + texte + timeline (template 02-photo-timeline) ---------- */
/* ---------- À propos — template 05 (photo droite, cyber, stats, piliers, éco) ---------- */
.about-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 var(--space-md);
  color: var(--color-fg);
}

.about-title em {
  font-style: normal;
  color: var(--color-heading);
}

.ab-head {
  margin-bottom: var(--space-lg);
  max-width: none;
}

.ab-head-lead {
  font-size: var(--fs-lead);
  color: var(--color-muted);
  line-height: 1.65;
  max-width: none;
  margin: 0;
}

.ab-head-lead strong { color: var(--color-fg); font-weight: 600; }

.ab-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* Ligne : carte texte collée au visuel */
.ab-row {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

@media (min-width: 900px) {
  .ab-row { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

.ab-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl);
  background: #fff;
}

/* Mockup visuel (placeholder) collé à la carte */
.ab-mock {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  color: rgba(255, 255, 255, 0.55);
  background:
    radial-gradient(120% 80% at 70% 20%, rgba(3, 87, 169, 0.18), transparent 60%),
    linear-gradient(160deg, #1a2c45 0%, #0a1426 100%);
}

.ab-mock::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.6;
}

.ab-mock:has(img)::before { display: none; }

.ab-mock img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ab-mock svg { position: relative; width: 46px; height: 46px; }

.ab-mock span {
  position: relative;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.ab-block-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--color-heading);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.ab-block-eyebrow svg { width: 16px; height: 16px; }

.ab-block-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--color-fg);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0 0 var(--space-sm);
  max-width: 26ch;
}

.ab-block-text {
  font-size: var(--fs-body);
  color: var(--color-muted);
  line-height: 1.65;
  max-width: 56ch;
  margin: 0;
}

.ab-block-text strong { color: var(--color-fg); font-weight: 600; }
.ab-block-text + .ab-block-text { margin-top: var(--space-sm); }

.ab-tech-list {
  list-style: none;
  margin: var(--space-md) 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xs);
  max-width: 56ch;
}

@media (min-width: 500px) { .ab-tech-list { grid-template-columns: 1fr 1fr; } }

.ab-tech-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-size: 0.9375rem;
  color: var(--color-fg);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.35;
}

.ab-tech-list svg {
  width: 18px;
  height: 18px;
  color: var(--color-heading);
  flex-shrink: 0;
}

.ab-approach {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
}

.ab-approach-head { margin-bottom: var(--space-sm); max-width: none; }
.ab-approach-title { font-size: var(--fs-h3); font-weight: 700; color: var(--color-fg); letter-spacing: -0.015em; margin: 0 0 var(--space-sm); }

.ab-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

@media (min-width: 700px) { .ab-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ab-pillars { grid-template-columns: repeat(3, 1fr); } }

.ab-pillar {
  padding: var(--space-lg);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  transition: transform var(--duration) var(--ease), border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.ab-pillar:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--color-heading) 40%, var(--color-border));
  box-shadow: var(--shadow-card-hover);
}

.ab-pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--color-heading) 9%, transparent);
  color: var(--color-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2xs);
}

.ab-pillar-icon svg { width: 22px; height: 22px; }
.ab-pillar-title { font-size: 1.0625rem; font-weight: 700; color: var(--color-fg); letter-spacing: -0.01em; }
.ab-pillar-sub { font-size: 0.875rem; color: var(--color-muted); line-height: 1.5; }

/* Conteneur : photo collée à gauche + carte texte à droite */
.ab-eco-wrap {
  margin-top: var(--space-lg);
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card-hover);
}

@media (min-width: 800px) {
  .ab-eco-wrap {
    grid-template-columns: minmax(0, 460px) 1fr;
    align-items: stretch;
  }
}

/* Carte texte (bleu) */
.ab-eco {
  background: var(--color-heading);
  color: #fff;
  padding: var(--space-xl);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 800px) {
  .ab-eco { padding: var(--space-xl) var(--space-2xl); }
}

.ab-eco::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 12% 20%, rgba(255, 255, 255, 0.10), transparent 70%);
  pointer-events: none;
}

.ab-eco-body { position: relative; }

/* Photo collée à la carte, à la hauteur de la carte */
.ab-eco-photo {
  position: relative;
  overflow: hidden;
  min-height: 240px;
}

.ab-eco-photo .about-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  border-radius: 0;
}

.ab-eco-eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; color: rgba(255, 255, 255, 0.75); font-weight: 700; margin-bottom: var(--space-2xs); }
.ab-eco-title { font-size: var(--fs-h3); font-weight: 700; color: #fff; letter-spacing: -0.015em; line-height: 1.25; margin: 0 0 var(--space-sm); max-width: 30ch; }
.ab-eco-text { font-size: var(--fs-body); color: rgba(255, 255, 255, 0.78); line-height: 1.65; max-width: 64ch; margin: 0; }
.ab-eco-text strong { color: #fff; font-weight: 600; }

.inst-inline {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) var(--space-md);
}

.inst-inline-h {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 600;
}

.inst-inline-mark {
  padding: 6px 12px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-heading);
  letter-spacing: -0.005em;
}

/* Timeline (4-5 jalons) */
.timeline-wrap {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
}

.timeline-h {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--fs-small);
  color: var(--color-muted);
  font-weight: 600;
  margin: 0 0 var(--space-md);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding-left: var(--space-md);
  border-left: 4px solid var(--color-heading);
}

@media (min-width: 800px) {
  .timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
    padding-left: 0;
    border-left: 0;
    align-items: stretch;
  }
  .timeline::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    border-radius: 999px;
    background: var(--color-heading);
  }
}

.tl-item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: var(--space-md);
}

.tl-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-md);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.tl-content:hover {
  border-color: var(--color-heading);
  box-shadow: var(--shadow-card-hover);
}

.tl-content:hover .tl-year,
.tl-content:hover .tl-label,
.tl-content:hover .tl-sub {
  color: var(--color-heading);
}

@media (min-width: 800px) {
  .tl-item {
    padding-left: 0;
    min-height: 21rem;
  }
  /* Par défaut : carte sous la ligne */
  .tl-content {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% + 16px);
  }
  /* Variante : carte au-dessus de la ligne (2018, 2023) */
  .tl-item--above .tl-content {
    top: auto;
    bottom: calc(50% + 16px);
  }
}

.tl-dot {
  position: absolute;
  left: -25px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 3px solid var(--color-heading);
  box-shadow: 0 0 0 4px var(--color-bg);
}

@media (min-width: 800px) {
  .tl-dot {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

.tl-item--accent .tl-dot {
  background: var(--color-heading);
}

.tl-item--accent .tl-year {
  color: var(--color-heading);
}

.tl-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-fg);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  transition: color var(--duration) var(--ease);
}

.tl-label {
  font-size: 1.0625rem;
  color: var(--color-fg);
  font-weight: 600;
  line-height: 1.3;
  transition: color var(--duration) var(--ease);
}

.tl-sub {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.4;
  transition: color var(--duration) var(--ease);
}

/* ---------- Contact : header full-width + 2 colonnes alignées ---------- */
/* Espace en bas de la section contact, avant le footer */
#contact {
  padding-bottom: var(--space-xl);
}

/* ---------- Contact — titre + grille ---------- */
.ct-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-fg);
  margin: var(--space-lg) 0 0;
}

.ct-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.ct-col .ct-lead {
  margin-bottom: var(--space-lg);
}

.ct-title em {
  font-style: normal;
  color: var(--color-heading);
}

.ct-lead {
  font-size: var(--fs-lead);
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
  max-width: 56ch;
}

.ct-lead strong {
  color: var(--color-fg);
  font-weight: 600;
}

.ct-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 900px) {
  .ct-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
  }
  /* Aligne la carte map sur le titre (qui a un margin-top) */
  .ct-rail {
    margin-top: var(--space-lg);
  }
}

/* ---------- Contact — carte OSM + adresse ---------- */
.ct-rail {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.ct-map-card {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-bg);
  box-shadow: var(--shadow-card);
}

.ct-map {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
}

.ct-map iframe,
.ct-map img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.ct-map-foot {
  padding: var(--space-md) var(--space-lg);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  background: var(--color-heading);
}

.ct-map-foot-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ct-map-foot-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.ct-map-foot-value {
  font-size: 0.9375rem;
  color: #fff;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

.ct-map-foot-value a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ct-map-foot-value a:hover {
  text-decoration: underline;
}

/* ---------- Pages légales (mentions, confidentialité) ---------- */
.legal-page {
  padding-top: calc(var(--header-h) + var(--space-lg));
  padding-bottom: var(--space-3xl);
}

.legal-content h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: var(--space-2xs);
}

.legal-content .legal-updated {
  color: var(--color-muted);
  font-size: var(--fs-small);
  margin-bottom: var(--space-xl);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xs);
}

.legal-content h3 {
  font-size: 1.125rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-2xs);
}

.legal-content p,
.legal-content li {
  max-width: 70ch;
}

.legal-content ul,
.legal-content ol {
  margin: var(--space-2xs) 0 var(--space-sm) var(--space-md);
}

.legal-content li {
  margin-bottom: var(--space-3xs);
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--color-heading);
}

.legal-content dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xs) var(--space-md);
  margin: var(--space-xs) 0 var(--space-sm);
}

.legal-content dt {
  font-weight: 600;
}

.legal-content dd {
  margin: 0 0 var(--space-2xs) 0;
}

@media (min-width: 600px) {
  .legal-content dl {
    grid-template-columns: max-content 1fr;
  }
  .legal-content dt {
    grid-column: 1;
  }
  .legal-content dd {
    grid-column: 2;
    margin-bottom: 0;
  }
}

.legal-placeholder {
  background: var(--color-bg-alt);
  padding: 0 0.4em;
  border-radius: 3px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  color: var(--color-brand-red);
}
