@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/geist.woff2) format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/assets/fonts/geist-mono.woff2) format('woff2'); }
/* Coffre · defilement/capsule-entete
   En haut de page : barre pleine largeur, sans fond ni ombre, fondue dans la page.
   Au-delà du seuil de défilement (classe html.coffre-defile, posée par effet.js) : capsule flottante centrée,
   translucide et floutée, extrémités arrondies, liseré et double ombre.
   D'après la barre de pancake.ai. Toutes les couleurs passent par les variables ci-dessous. */
:root {
  --coffre-capsule-fond: #f7f7f5;                 /* teinte de la capsule (mélangée à 74 % avec du transparent) */
  --coffre-capsule-opacite: 74%;
  --coffre-capsule-encre: #1d1d1f;
  --coffre-capsule-lisere: rgb(29 29 31 / 0.07);  /* liseré intérieur de 1 px */
  --coffre-capsule-ombre: 0 12px 30px rgb(29 29 31 / 0.10), 0 4px 18px rgb(29 29 31 / 0.08);
  --coffre-capsule-flou: 16px;
  --coffre-capsule-largeur: min(max(78%, 960px), calc(100% - 32px), 1240px);
  --coffre-capsule-rayon: 40px;                   /* fini, un peu plus que la moitié de la hauteur capsule (64 px) */
  --coffre-capsule-ecart-haut: 12px;              /* décollement du haut de l'écran */
  --coffre-capsule-h-haut: 86px;                  /* hauteur de la barre en haut de page */
  --coffre-capsule-h: 64px;                       /* hauteur de la capsule */
  --coffre-capsule-courbe: cubic-bezier(0.22, 1, 0.36, 1);
  --coffre-capsule-duree: 400ms;                  /* largeur, décollement, rayon, hauteur */
  --coffre-capsule-duree-fond: 300ms;             /* fond et ombre */
}

/* Zone collée en haut : sa hauteur ne change jamais (pas de saut de la page quand la barre devient capsule).
   flow-root : sans lui, la marge haute de la capsule fusionne avec la zone et la capsule reste collée au bord. */
.coffre-capsule-zone {
  display: flow-root;
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--coffre-capsule-h-haut);
}

.coffre-capsule {
  margin-inline: auto;
  width: 100%;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
  color: var(--coffre-capsule-encre);
  transition:
    width var(--coffre-capsule-duree) var(--coffre-capsule-courbe),
    margin-top var(--coffre-capsule-duree) var(--coffre-capsule-courbe),
    border-radius var(--coffre-capsule-duree) var(--coffre-capsule-courbe),
    background-color var(--coffre-capsule-duree-fond) var(--coffre-capsule-courbe),
    box-shadow var(--coffre-capsule-duree-fond) var(--coffre-capsule-courbe);
}
.coffre-capsule__rangee {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--coffre-capsule-h-haut);
  padding-inline: max(16px, 3vw);
  transition:
    min-height var(--coffre-capsule-duree) var(--coffre-capsule-courbe),
    padding var(--coffre-capsule-duree) var(--coffre-capsule-courbe);
}

/* data-coffre-capsule-ouvert sur la barre (menu tiroir ouvert, par exemple) : elle reste en barre. */
html.coffre-defile .coffre-capsule:not([data-coffre-capsule-ouvert]) {
  width: var(--coffre-capsule-largeur);
  margin-top: var(--coffre-capsule-ecart-haut);
  border-radius: var(--coffre-capsule-rayon);
  background-color: color-mix(in srgb, var(--coffre-capsule-fond) var(--coffre-capsule-opacite), transparent);
  -webkit-backdrop-filter: blur(var(--coffre-capsule-flou)) saturate(1.3);
  backdrop-filter: blur(var(--coffre-capsule-flou)) saturate(1.3);
  box-shadow: inset 0 0 0 1px var(--coffre-capsule-lisere), var(--coffre-capsule-ombre);
}
/* Tout fond intérieur suit l'arrondi, sinon la capsule garde des coins carrés.
   Ne pas mettre overflow: hidden sur la capsule : il couperait les menus déroulants. */
html.coffre-defile .coffre-capsule:not([data-coffre-capsule-ouvert]) :is(.coffre-capsule__rangee, [data-coffre-capsule-fond]) {
  border-radius: inherit;
}
html.coffre-defile .coffre-capsule:not([data-coffre-capsule-ouvert]) .coffre-capsule__rangee {
  min-height: var(--coffre-capsule-h);
  padding-inline: 30px 12px;
}

/* Sans color-mix() (anciens navigateurs) : fond plein. */
@supports not (background-color: color-mix(in srgb, red 50%, transparent)) {
  html.coffre-defile .coffre-capsule:not([data-coffre-capsule-ouvert]) { background-color: var(--coffre-capsule-fond); }
}

@media (max-width: 749px) {
  .coffre-capsule-zone { height: 68px; }
  .coffre-capsule__rangee { min-height: 68px; }
  html.coffre-defile .coffre-capsule:not([data-coffre-capsule-ouvert]) {
    width: calc(100% - 32px);
    margin-top: 8px;
    border-radius: 36px;
  }
  html.coffre-defile .coffre-capsule:not([data-coffre-capsule-ouvert]) .coffre-capsule__rangee {
    min-height: 58px;
    padding-inline: 16px 8px;
  }
}

/* Mouvement réduit : la capsule apparaît toujours, mais d'un coup. */
@media (prefers-reduced-motion: reduce) {
  .coffre-capsule,
  .coffre-capsule__rangee { transition: none; }
}

/* Coffre · images-et-fonds/filets-faisceaux
   Mise en place des filets derrière un bloc de titre centré (héros).
   Couleurs en r,g,b (sans rgb()), lues une fois par effet.js. */
.coffre-filets-heros { overflow: hidden; }          /* le héros entier rogne les filets */
.coffre-filets-zone { position: relative; }         /* bloc texte : les filets se calent sur lui */
.coffre-filets {
  --coffre-filet-rgb: 40, 52, 72;          /* cœur des lignes */
  --coffre-filet-bord-rgb: 150, 160, 178;  /* teinte vers les bords */
  --coffre-faisceau-rgb: 240, 110, 60;     /* faisceaux lumineux */
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.coffre-filets canvas { display: block; width: 100%; height: 100%; }
.coffre-filets-zone > :not(.coffre-filets) { position: relative; z-index: 1; }

/* Ordinateur : conteneur étendu de 45 % au-dessus et au-dessous du bloc texte, pour que l'ancre (mi-hauteur)
   tombe à hauteur du titre et que les éventails s'ouvrent sur tout le héros ; fondu sur le bas
   (aucune coupure nette à côté du bloc qui suit). Le haut est rogné par .coffre-filets-heros ; le bas passe derrière le bloc qui suit s'il est opaque et au-dessus (z-index). */
@media (min-width: 992px) {
  .coffre-filets--etendu {
    top: -45%;
    bottom: -45%;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
  }
}

/* Téléphone et tablette (sous 992 px), avec data-cotes="haut" : l'éventail du haut vit dans une zone libre
   au-dessus du titre. Conteneur de 402 px, texte décalé de 146 px (voir README, calcul). */
@media (max-width: 991px) {
  .coffre-filets--haut { bottom: auto; height: 402px; }
  .coffre-filets-zone--haut { padding-top: 146px; }
}

/* Coffre · formes/anneaux-ondules
   Grand arc d'anneaux au bord ondulé qui tournent en sens alternés (d'après pancake.ai), SVG + CSS seuls.
   Deux mises en scène :
   - .coffre-anneaux--cuvette (principale, « offre ») : anneau vu par le bas, en cuvette. Intérieur = fond de la page,
     extérieur = couleur du pied. Avec .coffre-anneaux--incruste (ordinateur), la paroi gauche remonte le long de la
     dernière section (l'offre), passe sous ses cartes et sort par le bord droit : les anneaux encadrent l'offre.
   - .coffre-anneaux--dome (simple) : haut de l'arc, posé sur le fond de la page juste au-dessus du pied ;
     l'intérieur est rempli de la couleur du pied, qui semble sortir de l'arc.
   Couleurs : --coffre-anneau-1 (extérieur) à --coffre-anneau-5 (intérieur), --coffre-anneaux-coeur, --coffre-anneaux-dehors. */
.coffre-anneaux {
  --coffre-anneaux-page: #f6f5f1;     /* fond de la page */
  --coffre-anneaux-pied: #1f2a24;     /* couleur du pied */
  --coffre-anneau-1: #3a5a40;
  --coffre-anneau-2: #8fb39a;
  --coffre-anneau-3: #e07a5f;
  --coffre-anneau-4: #f2cc8f;
  --coffre-anneau-5: var(--coffre-anneaux-page);
  --coffre-anneaux-coeur: var(--coffre-anneaux-page);
  --coffre-anneaux-dehors: var(--coffre-anneaux-pied);
  --coffre-anneaux-duree: 14s;
  position: relative;
  margin: 0 0 -1px;   /* recouvre le pied d'un pixel : pas de jour clair quand la position tombe sur un demi-pixel */
  overflow: hidden;
  contain: layout paint;
  background: var(--coffre-anneaux-dehors);
}
.coffre-anneaux__scene {
  position: absolute;
  width: var(--coffre-anneaux-l);
  aspect-ratio: 1;
  transform-origin: 50% 50%;
}
.coffre-anneaux__coeur,
.coffre-anneaux__anneau { position: absolute; inset: 0; }
.coffre-anneaux__coeur { display: block; width: 100%; height: 100%; }
.coffre-anneaux__anneau { will-change: transform; }
.coffre-anneaux__anneau svg { display: block; width: 100%; height: 100%; overflow: visible; }
.coffre-anneaux__anneau--horaire { animation: coffre-anneaux-horaire var(--coffre-anneaux-duree) linear infinite; animation-delay: var(--coffre-phase, 0s); }
.coffre-anneaux__anneau--anti { animation: coffre-anneaux-anti var(--coffre-anneaux-duree) linear infinite; animation-delay: var(--coffre-phase, 0s); }
.coffre-anneaux.est-hors .coffre-anneaux__anneau { animation-play-state: paused; }
@keyframes coffre-anneaux-horaire { to { transform: rotate(1turn); } }
@keyframes coffre-anneaux-anti { to { transform: rotate(-1turn); } }

/* ---- Variante principale : cuvette (« offre ») -------------------------------------------------------------- */
.coffre-anneaux--cuvette {
  --coffre-anneaux-l: 150vw;
  --coffre-anneaux-h: clamp(220px, 40vw, 420px);
  height: var(--coffre-anneaux-h);
  /* Le haut du bloc est toujours dans l'anneau : ses 2 premiers px prennent la couleur du cœur, sinon le fond sombre
     transparaît en trait fin sous le bord anti-crénelé quand le bloc tombe sur un demi-pixel. */
  background: linear-gradient(to bottom, var(--coffre-anneaux-coeur) 0 2px, var(--coffre-anneaux-dehors) 2px);
}
/* Téléphone et tablette : simple cuvette sous la page, le bas de l'anneau à 20 % du bas du bloc. */
.coffre-anneaux--cuvette .coffre-anneaux__scene {
  left: 50%;
  bottom: calc(var(--coffre-anneaux-h) * 0.2);
  transform: translateX(-50%) scale(1.15, 1);
}
/* Ordinateur (990 px et plus) : incrusté derrière la dernière section. v6 « comme Pancake mais à gauche » (validée sur le principe) :
   cercle extérieur de rayon 84vw, scène de 168vw SANS étirement, centre à left: 62vw et top: -74vw (centre 10vw sous le haut de l'offre).
   Bloc remonté de 68vw derrière l'offre, 34vw dessous, AUCUN masque : le haut du cercle n'est jamais visible.
   Le bord intérieur sort à gauche à 25vw (entre le titre et les cartes) et à droite à 61vw ; bas intérieur à 74vw, extérieur à 94vw
   (voir README, méthode de calcul). */
@media (min-width: 990px) {
  .coffre-anneaux--incruste {
    --coffre-anneaux-remonte: 68vw;
    --coffre-anneaux-h: 34vw;
    z-index: -1;
    height: calc(var(--coffre-anneaux-remonte) + var(--coffre-anneaux-h));
    margin-top: calc(var(--coffre-anneaux-remonte) * -1);
  }
  .coffre-anneaux--incruste .coffre-anneaux__scene {
    --coffre-anneaux-l: 168vw;
    left: 62vw;
    bottom: auto;
    top: -74vw;
    transform: translateX(-50%);
  }
  /* Variante « paroi haute » (v3) : cercle de rayon 60,5vw (scène 121vw sans étirement), centre à 56vw, haut à -30,5vw,
     26vw dessous, masque qui fond la paroi en haut (11vw), marge de l'offre 20vw (bord intérieur à 10vw du texte). */
  .coffre-anneaux--incruste.coffre-anneaux--haute {
    --coffre-anneaux-h: 26vw;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 11vw);
    mask-image: linear-gradient(to bottom, transparent 0, #000 11vw);
  }
  .coffre-anneaux--haute .coffre-anneaux__scene { --coffre-anneaux-l: 121vw; left: 56vw; top: -30.5vw; }
  /* Variante « basse » (v1) : ellipse 75vw x 63vw (scène 126vw étirée 1,19), centre à 52vw, haut à -39vw,
     remontée 58vw, 34vw dessous, marge gauche de l'offre 16vw ; pas de masque. */
  .coffre-anneaux--incruste.coffre-anneaux--basse { --coffre-anneaux-remonte: 58vw; }
  .coffre-anneaux--basse .coffre-anneaux__scene { --coffre-anneaux-l: 126vw; left: 52vw; top: -39vw; transform: translateX(-50%) scale(1.19, 1); }
  /* La section encadrée laisse voir la paroi : fond transparent, marge gauche élargie (aucun texte sur la paroi). */
  .coffre-anneaux-offre { background: transparent; padding-left: 20vw; }
  .coffre-anneaux-offre--basse { padding-left: 16vw; }
}

/* ---- Variante simple : dôme au-dessus du pied --------------------------------------------------------------- */
.coffre-anneaux--dome {
  --coffre-anneaux-l: max(120vw, 900px);
  --coffre-anneaux-dehors: var(--coffre-anneaux-page);
  --coffre-anneaux-coeur: var(--coffre-anneaux-pied);
  --coffre-anneaux-x: 56%;        /* centre de l'arc ; 34 % pour le faire monter vers la gauche */
  --coffre-anneaux-angle: -8deg;  /* -8deg monte vers la droite ; 9deg (avec x à 34 %) monte vers la gauche */
  --coffre-anneaux-etirement: 1.3;
  height: clamp(260px, 40vw, 600px);
}
.coffre-anneaux--dome .coffre-anneaux__scene {
  left: var(--coffre-anneaux-x);
  top: calc(var(--coffre-anneaux-l) * 0.02 + clamp(10px, 2vw, 28px));
  transform: translateX(-50%) rotate(var(--coffre-anneaux-angle)) scale(var(--coffre-anneaux-etirement), 1);
}

/* Mouvement réduit : immobile, mais pas dans la position de départ (bandes plus variées à 131°). */
@media (prefers-reduced-motion: reduce) {
  .coffre-anneaux__anneau--horaire { animation: none; transform: rotate(131deg); }
  .coffre-anneaux__anneau--anti { animation: none; transform: rotate(-131deg); }
}

/* Coffre · apparitions/revelation-automatique
   Révélations au défilement sans bibliothèque : blocs qui montent, enfants en cascade, titres mot à mot
   sous un masque, images qui se découvrent de bas en haut, filets qui se tracent.
   transform, opacity et clip-path seulement. Rien n'est caché sans la classe html.coffre-rv
   (posée par effet.js, ou dans <head> si le mouvement est autorisé).

   Attributs :
     data-coffre-reveal          bloc qui monte en fondu
     data-coffre-reveal="doux"   fondu seul
     data-coffre-titre           titre découpé en mots, révélés sous un masque
     data-coffre-image           image découverte de bas en haut, léger dézoom
     data-coffre-stagger         enfants directs révélés l'un après l'autre
     data-coffre-filet           trait horizontal qui se trace de gauche à droite
     data-coffre-delai="120"     retard en ms
     data-coffre-motion="off"    section exclue de la révélation automatique */
:root {
  --coffre-rv-duree: 900ms;
  --coffre-rv-duree-longue: 1300ms;
  --coffre-rv-courbe: cubic-bezier(0.22, 1, 0.36, 1);
  --coffre-rv-montee: 28px;
  --coffre-rv-pas-enfants: 80ms;
  --coffre-rv-pas-mots: 70ms;
}

/* Bloc qui monte */
.coffre-rv [data-coffre-reveal] {
  opacity: 0;
  transform: translate3d(0, var(--coffre-rv-montee), 0);
  transition: opacity var(--coffre-rv-duree) var(--coffre-rv-courbe), transform var(--coffre-rv-duree) var(--coffre-rv-courbe);
  transition-delay: var(--coffre-rv-d, 0ms);
}
.coffre-rv [data-coffre-reveal='doux'] { transform: none; }
.coffre-rv [data-coffre-reveal].est-vu { opacity: 1; transform: none; }

/* Enfants en cascade */
.coffre-rv [data-coffre-stagger] > * {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity var(--coffre-rv-duree) var(--coffre-rv-courbe), transform var(--coffre-rv-duree) var(--coffre-rv-courbe);
  transition-delay: calc(var(--coffre-rv-d, 0ms) + var(--coffre-rv-i, 0) * var(--coffre-rv-pas-enfants));
}
.coffre-rv [data-coffre-stagger].est-vu > * { opacity: 1; transform: none; }

/* Titre en masque, mot par mot. Le masque est agrandi de 0,08 em en haut et en bas (marge négative en face)
   pour garder les jambages, les accents et l'italique sans bouger la ligne. */
.coffre-rv-mot {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-block: 0.08em;
  margin-block: -0.08em;
  padding-inline-end: 0.04em;
  margin-inline-end: -0.04em;
}
.coffre-rv-mot__in { display: inline-block; will-change: transform; }
.coffre-rv [data-coffre-titre] .coffre-rv-mot__in {
  transform: translate3d(0, 108%, 0) rotate(2deg);
  transform-origin: 0 100%;
  transition: transform var(--coffre-rv-duree-longue) var(--coffre-rv-courbe);
  transition-delay: calc(var(--coffre-rv-d, 0ms) + var(--coffre-rv-i, 0) * var(--coffre-rv-pas-mots));
}
.coffre-rv [data-coffre-titre].est-vu .coffre-rv-mot__in { transform: none; }
.coffre-rv [data-coffre-titre].est-fini .coffre-rv-mot__in { will-change: auto; }

/* Image qui se découvre */
.coffre-rv [data-coffre-image] {
  clip-path: inset(100% 0 0 0);
  transition: clip-path var(--coffre-rv-duree-longue) var(--coffre-rv-courbe);
  transition-delay: var(--coffre-rv-d, 0ms);
}
.coffre-rv [data-coffre-image] :is(img, video) {
  transform: scale(1.12);
  transition: transform 1800ms var(--coffre-rv-courbe);
  transition-delay: var(--coffre-rv-d, 0ms);
}
.coffre-rv [data-coffre-image].est-vu { clip-path: inset(0 0 0 0); }
.coffre-rv [data-coffre-image].est-vu :is(img, video) { transform: none; }

/* Filet qui se trace */
.coffre-rv [data-coffre-filet] {
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--coffre-rv-duree-longue) var(--coffre-rv-courbe);
  transition-delay: var(--coffre-rv-d, 0ms);
}
.coffre-rv [data-coffre-filet].est-vu { transform: none; }

/* Mouvement réduit : tout visible, rien ne bouge (au cas où la classe serait posée quand même). */
@media (prefers-reduced-motion: reduce) {
  .coffre-rv [data-coffre-reveal],
  .coffre-rv [data-coffre-stagger] > *,
  .coffre-rv [data-coffre-titre] .coffre-rv-mot__in,
  .coffre-rv [data-coffre-image],
  .coffre-rv [data-coffre-image] :is(img, video),
  .coffre-rv [data-coffre-filet] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}


/* Mise en page : une landing en bandes de couleur franche (papier, brume indigo, nuit, aplat indigo),
   héros centré sous des filets qui convergent, démo produit vivante, puis sections asymétriques à gauche.
   Motif : l'étiquette du logo (bord en pointe, trou rond). */
:root {
  --papier: #F6F6F3;        /* fond clair, celui de la fiche de marque */
  --surface: #FFFFFF;
  --encre: #111114;         /* noir du e */
  --gris: #5C5D68;
  --filet: #DCDCE3;
  --indigo: #4649D7;        /* couleur de la marque, toujours en aplat */
  --aplat: #4649D7;         /* aplats sous texte blanc : même valeur dans les deux thèmes */
  --indigo-fonce: #2A2B8F;
  --pervenche: #9A9CF6;
  --brume: #E8E8FB;
  --nuit: #0A0A0D;          /* sections sombres et pied */
  --nuit-surface: #16161C;
  --nuit-encre: #F1F1F4;
  --nuit-gris: #9C9DAA;
  --sur-indigo: #FFFFFF;
  --jaune: #FFC22C;         /* accent : boutons principaux et mots importants */
  --sur-jaune: #111114;
  --pied: #0A0A0D;
  --corail: #C2452A; --sarcelle: #11806F; --ambre: #9A6700; --orange: #F26B21;
  --corail-fond: #FDECE7; --corail-texte: #A8361C; --accent-texte: #4649D7; --noir-carte: #17181D;
  --ombre: 0 1px 0 rgb(17 17 20 / .04), 0 18px 40px -18px rgb(42 43 143 / .28);
  --titre: 'Geist', 'Helvetica Neue', Arial, sans-serif;
  --texte: 'Geist', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --max: 1200px;
  --gouttiere-g: max(16px, env(safe-area-inset-left, 0px));
  --gouttiere-d: max(16px, env(safe-area-inset-right, 0px));
}
@media (max-width: 1240px) { :root { --gouttiere-g: max(16px, min(3vw, 32px), env(safe-area-inset-left, 0px)); --gouttiere-d: max(16px, min(3vw, 32px), env(safe-area-inset-right, 0px)); } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --papier: #16171B; --surface: #202127; --encre: #F2F2F4; --gris: #A9ABB5; --filet: #30323A;
    --indigo: #5457E0; --indigo-fonce: #2A2B8F; --pervenche: #A3A5F8; --brume: #1D1E23;
    --nuit: #0E0F12; --nuit-surface: #1B1C21; --pied: #0E0F12;
    --corail-fond: #3A2420; --corail-texte: #F3A592; --accent-texte: #A3A5F8; --noir-carte: #2B2D35;
    --ombre: 0 1px 0 rgb(255 255 255 / .04), 0 18px 40px -18px rgb(0 0 0 / .75);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --papier: #16171B; --surface: #202127; --encre: #F2F2F4; --gris: #A9ABB5; --filet: #30323A;
  --indigo: #5457E0; --indigo-fonce: #2A2B8F; --pervenche: #A3A5F8; --brume: #1D1E23;
  --nuit: #0E0F12; --nuit-surface: #1B1C21; --pied: #0E0F12;
  --corail-fond: #3A2420; --corail-texte: #F3A592; --accent-texte: #A3A5F8; --noir-carte: #2B2D35;
  --ombre: 0 1px 0 rgb(255 255 255 / .04), 0 18px 40px -18px rgb(0 0 0 / .75);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; scrollbar-gutter: stable; }
body { margin: 0; background: var(--papier); color: var(--encre); font: 400 17px/1.6 var(--texte); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--papier); }
h1, h2, h3 { font-family: var(--titre); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
.enveloppe { max-width: var(--max); margin: 0 auto; padding-left: var(--gouttiere-g); padding-right: var(--gouttiere-d); }
.bande { padding-block: clamp(72px, 10vw, 140px); }
.h2 { font-size: clamp(34px, 5.2vw, 68px); }
.chapeau { color: var(--gris); font-size: clamp(17px, 1.6vw, 20px); max-width: 52ch; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: .01em; }

/* Boutons */
.bouton { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--texte); text-decoration: none; border: 0; cursor: pointer; transition: transform .25s cubic-bezier(.22,1,.36,1), background-color .2s, box-shadow .25s; }
/* Boutons principaux : jaune d'accent (entre mangue et soleil, Gab 02/12/2026), texte noir, même valeur dans les deux thèmes */
.bouton--plein { background: var(--jaune); color: var(--sur-jaune); box-shadow: 0 10px 24px -12px rgb(214 150 0 / .55); }
.bouton--plein:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgb(214 150 0 / .65); }
.bouton--creux { color: var(--encre); box-shadow: inset 0 0 0 1px var(--filet); background: transparent; }
.bouton--creux:hover { box-shadow: inset 0 0 0 1px var(--encre); }
.bouton .fleche { transition: transform .25s cubic-bezier(.22,1,.36,1); }
.bouton:hover .fleche { transform: translateX(3px); }

/* Étiquette (forme du logo) */
.etiquette { position: relative; display: inline-block; background: var(--indigo); color: var(--sur-indigo); padding: .02em .32em .1em .62em; border-radius: 0 .14em .14em 0;
  clip-path: polygon(.36em 0, 100% 0, 100% 100%, .36em 100%, 0 50%); }
.etiquette::before { content: ""; position: absolute; left: .26em; top: 50%; width: .14em; height: .14em; margin-top: -.07em; border-radius: 50%; background: var(--papier); }

/* ---------- En-tête capsule ---------- */
.coffre-capsule-zone { top: env(safe-area-inset-top, 0px); }
:root { --coffre-capsule-opacite: 94%; --coffre-capsule-fond: var(--surface); --coffre-capsule-encre: var(--encre); --coffre-capsule-lisere: rgb(70 73 215 / .12); --coffre-capsule-ombre: 0 12px 30px rgb(42 43 143 / .12), 0 4px 18px rgb(17 17 20 / .06); }
.coffre-capsule__rangee { padding-left: max(var(--gouttiere-g), 3vw); padding-right: max(var(--gouttiere-d), 3vw); }
.logo { display: block; height: 26px; flex: none; }
.logo img { height: 100%; width: auto; display: block; }
.logo .sombre { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .clair { display: none; } :root:not([data-theme="light"]) .logo .sombre { display: block; } }
:root[data-theme="dark"] .logo .clair { display: none; }
:root[data-theme="dark"] .logo .sombre { display: block; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; color: var(--gris); transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--encre); background: var(--brume); }
.actions { display: flex; align-items: center; gap: 8px; }
.theme { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--encre); cursor: pointer; display: grid; place-items: center; }
.theme:hover { background: var(--brume); }
.theme svg { width: 18px; height: 18px; }
.coffre-capsule .bouton { min-height: 44px; padding: 0 18px; font-size: 14px; gap: 0; }
.coffre-capsule .bouton .long { margin-left: .3em; }
.burger { display: none; }
@media (max-width: 900px) {
  .actions { margin-left: auto; }
  .burger { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--brume); cursor: pointer; }
  .burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--encre); transition: transform .3s cubic-bezier(.22,1,.36,1); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav { display: none; position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; flex-direction: column; gap: 2px; margin: 0; padding: 12px; border-radius: 28px; background: var(--surface); box-shadow: var(--coffre-capsule-ombre), 0 0 0 1px var(--coffre-capsule-lisere); }
  .nav.ouvert { display: flex; animation: menu-entree .35s cubic-bezier(.22,1,.36,1); }
  .nav a { font: 600 clamp(26px, 7vw, 34px)/1.1 var(--titre); letter-spacing: -0.03em; color: var(--encre); padding: 14px 16px; border-radius: 18px; }
  .nav a:nth-child(5n+1):hover { color: #fff; background: #4649D7; }
  .nav a:nth-child(5n+2):hover { color: #fff; background: #C2452A; }
  .nav a:nth-child(5n+3):hover { color: #fff; background: #11806F; }
  .nav a:nth-child(5n+4):hover { color: #fff; background: #1F6FB2; }
  .nav a:nth-child(5n+5):hover { color: #fff; background: #1F7A47; }
}
.coffre-capsule[data-coffre-capsule-ouvert] { background-color: var(--surface); }
@keyframes menu-entree { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .nav.ouvert { animation: none; } .burger span { transition: none; } }
@media (max-width: 420px) { .coffre-capsule .bouton .long { display: none; } }
/* capsule rétrécie (fenêtre de 1262 px) : le bouton ne passe plus sur deux lignes */
.coffre-capsule .bouton { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1340px) { .nav { gap: 0; } .nav a { padding-inline: 8px; } .coffre-capsule__rangee { gap: 12px; } }
@media (min-width: 901px) and (max-width: 1080px) { .coffre-capsule .bouton .long { display: none; } .coffre-capsule .actions a.bouton--plein { min-width: 0; } }
/* très petits écrans : le héros et la barre du bas portent déjà le bouton de réservation */
@media (max-width: 374px) { .coffre-capsule .bouton { display: none; } }

/* ---------- Héros ---------- */
.heros { position: relative; padding-top: clamp(40px, 7vw, 96px); text-align: center; }
.coffre-filets { --coffre-filet-rgb: 70, 73, 215; --coffre-filet-bord-rgb: 128, 131, 232; --coffre-faisceau-rgb: 245, 178, 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .coffre-filets { --coffre-faisceau-rgb: 255, 194, 44; } }
:root[data-theme="dark"] .coffre-filets { --coffre-faisceau-rgb: 255, 194, 44; } /* faisceaux en jaune d accent (Gab 02/12/2026) */
.heros .coffre-filets { left: calc(50% - 50vw); right: calc(50% - 50vw); }
/* héros centré dans le premier écran (sous l'en-tête) */
@media (min-width: 992px) { .heros { padding-top: 0; } .heros__zone { min-height: calc(100svh - 86px); display: flex; flex-direction: column; justify-content: center; } }
.heros__zone { padding-block: clamp(24px, 5vw, 64px) clamp(24px, 4vw, 48px); }
.heros h1 { font-size: clamp(44px, 8.4vw, 118px); letter-spacing: -0.045em; line-height: .96; font-weight: 700; }
html[lang="en"] .heros h1 { font-size: clamp(44px, 8.4vw, 110px); } /* « for your small business » tient sur une ligne */
.heros h1 .ligne { display: block; }
.heros h1 .gris { color: var(--gris); font-weight: 600; }
.balance { display: inline-block; transform-origin: .3em 50%; animation: balance 5.5s ease-in-out infinite; margin-left: .08em; }
@keyframes balance { 0%,100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2deg); } }
.heros h1 .ligne:last-child { margin-top: .1em; }
.heros .chapeau { margin: 28px auto 0; text-align: center; }
.heros__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
@keyframes monte { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.etq-intro-actif .demo.entree { animation-play-state: paused; }
.coffre-rv .demo.entree { animation: monte 1s cubic-bezier(.22,1,.36,1) both; animation-delay: var(--d, 0ms); }

/* ---------- Démo : diagnostic express ---------- */
.demo { position: relative; z-index: 2; margin-top: clamp(32px, 5vw, 64px); text-align: left; }
.fenetre { border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--filet), var(--ombre); overflow: hidden; }
.fenetre__barre { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--filet); flex-wrap: wrap; }
.points { display: flex; gap: 6px; }
.points i { width: 10px; height: 10px; border-radius: 50%; background: var(--filet); }
.fenetre__titre { font-weight: 600; font-size: 14px; }
.outils { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.outil { font: 500 12px/1 var(--mono); padding: 7px 10px 7px 16px; color: var(--gris); background: var(--papier); clip-path: polygon(7px 0, 100% 0, 100% 100%, 7px 100%, 0 50%); border-radius: 0 6px 6px 0; transition: background-color .4s, color .4s; }
.outil.est-actif { background: var(--indigo); color: var(--sur-indigo); }
.fenetre__corps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.saisie { padding: clamp(20px, 3vw, 32px); display: grid; gap: 22px; align-content: start; }
.saisie label, .saisie legend { font-size: 14px; font-weight: 600; display: block; margin-bottom: 10px; padding: 0; }
.saisie fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.metiers { display: flex; flex-wrap: wrap; gap: 8px; }
.metiers input { position: absolute; opacity: 0; pointer-events: none; }
.metiers { gap: 4px 18px; }
.metiers span { display: inline-block; padding: 10px 0; font-size: 15px; color: var(--gris); border-bottom: 2px solid transparent; cursor: pointer; transition: color .2s, border-color .2s; }
.metiers span:hover { color: var(--encre); }
.metiers label { margin: 0; font-weight: 500; }
.metiers input:checked + span { color: var(--encre); border-color: var(--indigo); }
.metiers input:focus-visible + span { outline: 2px solid var(--indigo); outline-offset: 2px; }
.saisie textarea { width: 100%; min-height: 96px; resize: vertical; border: 0; border-radius: 14px; padding: 14px 16px; font: 400 16px/1.5 var(--texte); color: var(--encre); background: var(--papier); box-shadow: inset 0 0 0 1px var(--filet); }
.saisie textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--indigo); }
.saisie .bouton { justify-self: start; }
.note { font-size: 13px; color: var(--gris); }
.resultat { background: var(--nuit); color: var(--nuit-encre); padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; align-content: start; min-height: 420px; }
.resultat__entete { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.resultat__entete strong { font-size: 15px; font-weight: 600; }
.resultat__entete .mono { color: var(--nuit-gris); }
.constat { font-size: clamp(19px, 2vw, 24px); line-height: 1.3; letter-spacing: -0.02em; min-height: 2.6em; }
.curseur { display: inline-block; width: .5em; height: 1em; vertical-align: -.12em; background: var(--pervenche); margin-left: 2px; animation: clignote 1s steps(1) infinite; }
@keyframes clignote { 50% { opacity: 0; } }
.actions-ia { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: a; }
.actions-ia li { counter-increment: a; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 4px 14px; align-items: start; padding: 14px 16px; border-radius: 14px; background: var(--nuit-surface); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06); opacity: 0; transform: translateY(10px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.actions-ia li.est-vu { opacity: 1; transform: none; }
.actions-ia li::before { content: counter(a); font: 500 13px/26px var(--mono); color: var(--nuit-gris); grid-row: span 2; }
.actions-ia b { font-weight: 600; font-size: 16px; }
.actions-ia small { grid-column: 2; color: var(--nuit-gris); font-size: 14px; }
/* Outil en simple libellé (moins de pastilles) : la rangée du haut porte déjà la couleur. */
.actions-ia .outil { grid-row: 1; grid-column: 3; background: none; clip-path: none; padding: 0; color: var(--pervenche); white-space: nowrap; align-self: center; }
.resultat__pied { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / .1); color: var(--nuit-gris); font-size: 14px; }
.resultat__pied a.bouton { color: var(--sur-jaune); font-weight: 700; text-decoration: none; }
.bouton--texte { background: none; box-shadow: none; padding: 0; min-height: 0; color: var(--accent-texte, var(--indigo)); font-weight: 700; justify-content: flex-start; }
.bouton--texte:hover { transform: none; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) {
  .fenetre__corps { grid-template-columns: minmax(0, 1fr); }
  .outils { margin-left: 0; width: 100%; }
  .actions-ia li { grid-template-columns: 28px minmax(0, 1fr); }
  .actions-ia .outil { grid-row: auto; grid-column: 2; justify-self: start; }
}

/* ---------- Bandeau d'outils ---------- */
.defile { padding-block: 40px 8px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.defile__piste { display: flex; width: max-content; gap: 40px; animation: defile 40s linear infinite; }
.defile + .defile { padding-top: 14px; }
.defile--inverse .defile__piste { animation-direction: reverse; animation-duration: 48s; }
.logo-outil { display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1 var(--texte); letter-spacing: -0.01em; color: var(--encre); white-space: nowrap; padding: 8px 14px; }
.logo-outil svg { width: 22px; height: 22px; flex: none; }
.defile:hover .defile__piste { animation-play-state: paused; }
@keyframes defile { to { transform: translateX(-50%); } }
.defile__legende { text-align: center; font-size: 14px; color: var(--gris); margin-top: 18px; }

/* ---------- Offres ---------- */
.offres__tete { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.carte { border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--filet); padding: 14px; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s; }
.carte:hover, .coffre-rv .cartes.est-vu > .carte:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--filet), var(--ombre); }
.carte__scene { position: relative; height: 230px; border-radius: 16px; overflow: hidden; background: var(--brume); }
.carte__texte { padding: 22px 10px 10px; display: grid; gap: 12px; flex: 1; align-content: start; }
.carte h3 { font-size: 30px; }
.carte .douleur { color: var(--gris); font-style: italic; }
.carte .livre { font-weight: 600; font-size: 17px; line-height: 1.35; }
.carte .exemple { color: var(--gris); font-size: 15px; }
.carte .pour-quoi { color: var(--gris); font-size: 15px; margin-top: -6px; }
.carte .concret { color: var(--gris); font-size: 14px; margin-top: 4px; }
.besoins { margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.besoins__col { border-top: 2px solid var(--encre); padding-top: 16px; display: flex; flex-direction: column; gap: 14px; }
.besoins__col h3 { font-size: clamp(20px, 2vw, 24px); }
.besoins__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.besoins__col li { font-size: 17px; line-height: 1.35; }
.besoins__lien { margin-top: auto; padding-top: 6px; font-weight: 600; text-decoration: none; color: var(--encre); }
.besoins__lien:hover { text-decoration: underline; }
.besoins__pas-sur { margin-top: 32px; font-size: 17px; }
.offres__sous { margin-top: clamp(56px, 7vw, 96px); }
@media (max-width: 820px) { .besoins { grid-template-columns: 1fr; } }
.carte ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; }
.carte li { padding-left: 18px; position: relative; }
.carte li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--indigo); }
.carte .delai { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--filet); display: flex; justify-content: space-between; font-size: 14px; color: var(--gris); }
.carte .delai b { color: var(--encre); font-weight: 600; }

/* Scène 1 : être trouvé (résultat de recherche + créneaux) */
.s-trouve { padding: 22px; display: grid; gap: 10px; align-content: center; }
.recherche { display: flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 999px; padding: 9px 14px; font-size: 13px; color: var(--gris); box-shadow: var(--ombre); }
.recherche svg { width: 14px; height: 14px; flex: none; }
.fiche { background: var(--surface); border-radius: 14px; padding: 14px; box-shadow: var(--ombre); display: grid; gap: 6px; }
.fiche b { font-size: 14px; }
.etoiles { color: var(--accent-texte); font-size: 12px; letter-spacing: 2px; }
.creneaux { display: flex; gap: 6px; flex-wrap: wrap; }
.creneaux span { font: 500 12px/1 var(--mono); padding: 7px 9px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--filet); }
.creneaux span.pris { background: var(--indigo); color: #fff; box-shadow: none; }

/* Scène 2 : gagner du temps (flux d'automatisation) */
.s-flux { padding: 18px; display: grid; place-items: center; }
.s-flux svg { width: 100%; height: 100%; max-width: 340px; overflow: visible; }
.s-flux .noeud rect { fill: var(--surface); stroke: var(--filet); }
.s-flux .noeud text { fill: var(--encre); font: 500 12px var(--mono); }
.s-flux .lien { fill: none; stroke: var(--pervenche); stroke-width: 1.5; stroke-dasharray: 4 5; }
.s-flux .bille { fill: var(--indigo); }
.s-flux .noeud.allume rect { fill: var(--indigo); stroke: var(--indigo); }
.s-flux .noeud.allume text { fill: #fff; }

/* Scène 3 : y voir clair (tableau de bord) */
.s-clair { padding: 18px; display: grid; grid-template-rows: auto 1fr; gap: 10px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpi { background: var(--surface); border-radius: 12px; padding: 10px; box-shadow: var(--ombre); }
.kpi small { display: block; font-size: 11px; color: var(--gris); }
.kpi b { font: 600 17px/1.2 var(--titre); font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpis { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr); } /* « 12 480 € » tient sur une ligne vers 1024 px */
@media (max-width: 480px) { .kpi { padding: 10px 8px; } .kpi b { font-size: 15px; } }
/* scène pervenche : le trait du flux était pervenche sur pervenche, donc invisible */
.cartes .carte:nth-child(2) .s-flux .lien { stroke: var(--indigo-fonce); }
/* téléphone : la scène « recherche Google » tenait sur 210 px dans 190 px (barre de recherche coupée en haut) */
@media (max-width: 480px) {
  .s-trouve { padding: 14px; gap: 8px; }
  .recherche { font-size: 12px; padding: 8px 12px; white-space: nowrap; }
  .fiche { padding: 12px; }
  .creneaux { flex-wrap: nowrap; }
  .creneaux span { padding: 6px 7px; }
}
.barres { background: var(--surface); border-radius: 12px; padding: 12px 12px 8px; box-shadow: var(--ombre); display: flex; align-items: flex-end; gap: 6px; }
.barres i { flex: 1; border-radius: 4px 4px 0 0; background: var(--pervenche); height: var(--h); transform-origin: bottom; animation: pousse 3.2s cubic-bezier(.22,1,.36,1) infinite alternate; animation-delay: calc(var(--n) * 90ms); }
.barres i:last-child { background: var(--indigo); }
@keyframes pousse { 0%, 15% { transform: scaleY(.35); } 70%, 100% { transform: scaleY(1); } }

/* Copilote */
.copilote { margin-top: 16px; border-radius: 24px; background: var(--aplat); color: var(--sur-indigo); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 24px 40px; align-items: center; }
.copilote h3 { font-size: clamp(30px, 3.4vw, 44px); }
.copilote p { color: rgb(255 255 255 / .82); }
.copilote .bouton { background: #fff; color: #2A2B8F; }
.copilote .bouton:focus-visible, .securite :focus-visible, .faq__carte :focus-visible, .pied :focus-visible, .resultat :focus-visible { outline-color: #fff; }
.pourqui :focus-visible { outline-color: var(--pervenche); }

/* ---------- Catalogue (aplat brume) ---------- */
.catalogue { background: var(--brume); }
.catalogue__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(36px, 5vw, 56px); }
.familles { display: grid; gap: 2px; align-content: start; }
.familles button { all: unset; box-sizing: border-box; padding-right: 12px !important; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid color-mix(in srgb, var(--indigo) 22%, transparent); font: 600 clamp(20px, 2.2vw, 28px)/1.15 var(--titre); letter-spacing: -0.02em; color: var(--gris); transition: color .25s, padding .35s cubic-bezier(.22,1,.36,1); }
.familles button .mono { font-weight: 400; letter-spacing: 0; }
.familles button:hover, .familles button[aria-selected="true"] { color: var(--encre); }
.familles button[aria-selected="true"] { padding-left: 18px; }
.familles button:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
.familles button[aria-selected="true"] { box-shadow: inset 4px 0 0 var(--fc); }
.panneau { background: var(--surface); border-radius: 24px; box-shadow: var(--ombre); align-self: start; overflow: hidden; }
.panneau__tete { background: var(--fc); color: #fff; padding: clamp(22px, 3vw, 32px) clamp(24px, 3.4vw, 40px); display: grid; gap: 16px; }
.panneau h3 { font-size: clamp(28px, 2.8vw, 38px); }
.panneau__outils { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.panneau__outils span { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--texte); color: #fff; }
.panneau__outils svg { width: 18px; height: 18px; }
.panneau__outils svg path { fill: #fff; }
.panneau ul { margin: 0; padding: clamp(18px, 2.4vw, 28px) clamp(24px, 3.4vw, 40px) clamp(22px, 3vw, 34px); list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 4px 28px; }
.panneau li { padding: 12px 0 12px 30px; border-top: 1px solid var(--filet); position: relative; }
.panneau li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 12px; height: 6px; border-left: 2.4px solid var(--fc); border-bottom: 2.4px solid var(--fc); transform: rotate(-45deg); }
.panneau.anime li { animation: monte .55s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(var(--n) * 45ms); }

/* ---------- Pour qui (aplat nuit) ---------- */
.pourqui { background: var(--nuit); color: var(--nuit-encre); }
.pourqui .chapeau { color: var(--nuit-gris); }
.pourqui__grille { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(36px, 5vw, 64px); }
.metiers-liste { list-style: none; margin: 0; padding: 0; }
.metiers-liste button { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid rgb(255 255 255 / .12); font: 600 clamp(26px, 3.6vw, 48px)/1.05 var(--titre); letter-spacing: -0.035em; color: rgb(241 241 244 / .38); transition: color .3s; }
.metiers-liste button .mono { color: var(--nuit-gris); letter-spacing: 0; font-weight: 400; }
.metiers-liste button:hover, .metiers-liste button[aria-pressed="true"] { color: var(--nuit-encre); }
.metiers-liste button[aria-pressed="true"] .fleche { color: var(--pervenche); }
.metiers-liste button:focus-visible { outline: 2px solid var(--pervenche); outline-offset: 4px; }
.packs { position: sticky; top: 120px; align-self: start; }
.pack { background: var(--nuit-surface); border-radius: 24px; padding: clamp(24px, 3vw, 36px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); display: grid; gap: 18px; }
.pack h3 { font-size: clamp(26px, 2.6vw, 34px); }
.pack .mal { color: var(--nuit-gris); }
.pack ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pack li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid rgb(255 255 255 / .08); }
.pack li .outil { order: 2; background: none; clip-path: none; padding: 0; color: var(--nuit-gris); }
.pack .note { color: var(--nuit-gris); }
.pack .bouton { justify-self: start; }

/* ---------- Orbite d'outils ---------- */
.outils-bande { background: var(--brume); overflow: hidden; }
.orbite__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.orbite__texte { display: grid; gap: 22px; justify-items: start; }
.orbite { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; }
.orbite__liens { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbite__liens circle { fill: none; stroke: color-mix(in srgb, var(--indigo) 30%, transparent); stroke-width: 1.2; stroke-dasharray: 3 6; }
.orbite__coeur { position: absolute; left: 50%; top: 50%; width: 26%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 28%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px color-mix(in srgb, var(--indigo) 14%, transparent), 0 0 0 22px color-mix(in srgb, var(--indigo) 7%, transparent), var(--ombre); }
.orbite__coeur img { width: 80%; height: auto; }
.orbite__anneau { position: absolute; inset: 0; animation: tourne 60s linear infinite; }
.orbite__anneau--2 { animation-duration: 90s; animation-direction: reverse; }
.orbite__anneau span { position: absolute; left: 50%; top: 50%; width: 15%; aspect-ratio: 1; margin: -7.5% 0 0 -7.5%; border-radius: 26%; background: var(--surface); box-shadow: inset 0 0 0 1px var(--filet), var(--ombre); display: grid; place-items: center; transform: rotate(var(--a)) translateY(var(--r)) rotate(calc(-1 * var(--a))); }
.orbite__anneau span svg { width: 48%; height: 48%; animation: tourne 60s linear infinite reverse; }
.orbite__anneau--2 span svg { animation-duration: 90s; animation-direction: normal; }
@keyframes tourne { to { transform: rotate(1turn); } }

/* ---------- Halo qui suit la souris (cartes) ---------- */
.halo { position: relative; isolation: isolate; }
.halo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--indigo) 16%, transparent), transparent 60%); z-index: -1; }
.halo:hover::after { opacity: 1; }

/* ---------- Méthode : quatre cartes en couleur ---------- */
.methode__tete { display: grid; gap: 20px; max-width: 760px; }
/* Étapes : une seule surface, l'ordre se lit par la position et par la barre indigo qui s'allonge d'une carte à l'autre.
   Sous-grille : titres, textes et durées sur les mêmes lignes dans les quatre cartes. */
.pas { list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 14px; row-gap: 0; }
.pas li { --part: 25%; position: relative; overflow: hidden; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 14px; margin-bottom: 14px; background: var(--surface); border-radius: 24px; padding: clamp(30px, 3vw, 40px) clamp(22px, 2.4vw, 30px) clamp(22px, 2.4vw, 30px); }
.pas li:nth-child(2) { --part: 50%; }
.pas li:nth-child(3) { --part: 75%; }
.pas li:nth-child(4) { --part: 100%; }
.pas li::before { content: ""; position: absolute; left: 0; top: 0; width: var(--part); height: 6px; background: var(--indigo); }
.pas h3 { font-size: clamp(26px, 2.4vw, 32px); align-self: start; }
.pas p { font-size: 16px; align-self: start; }
.pas__duree { align-self: end; font: 600 18px/1.3 var(--texte); letter-spacing: -0.01em; color: var(--encre); padding-top: 6px; }
@media (max-width: 1000px) { .pas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pas { grid-template-columns: minmax(0, 1fr); } .pas li { row-gap: 10px; margin-bottom: 10px; padding: 28px 22px 22px; } .pas h3 { font-size: 24px; } }

/* ---------- Sécurité (aplat indigo) ---------- */
.securite { background: var(--nuit); color: var(--nuit-encre); overflow: hidden; position: relative; }
.securite .chapeau { color: var(--nuit-gris); }
.securite .h2 em { font-style: normal; color: var(--pervenche); }
.securite__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.engagements { list-style: none; margin: 0; padding: 0; display: grid; }
.engagements li { padding: 20px 0; border-top: 1px solid rgb(255 255 255 / .1); display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; }
.engagements li:last-child { border-bottom: 1px solid rgb(255 255 255 / .1); }
.engagements svg { width: 22px; height: 22px; margin-top: 3px; color: var(--pervenche); }
.engagements b { display: block; font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.engagements span { color: var(--nuit-gris); }
.cadenas { position: absolute; right: -6vw; bottom: -12vw; width: 42vw; max-width: 560px; opacity: .1; pointer-events: none; stroke: #4649D7; }

/* ---------- Réassurance du héros ---------- */
.rassure { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14px; color: var(--gris); }
.rassure li { display: inline-flex; align-items: center; gap: 8px; }
.rassure li::before { content: ""; width: 14px; height: 8px; border-left: 2px solid var(--indigo); border-bottom: 2px solid var(--indigo); transform: rotate(-45deg) translateY(-2px); }

/* ---------- Entonnoir (d'après la bouteille de Pancake) ---------- */
.entonnoir-bande { padding-block: clamp(56px, 8vw, 112px) 0; }
.entonnoir { position: relative; border-radius: 28px; overflow: hidden; background: var(--aplat); color: #fff; min-height: clamp(420px, 44vw, 560px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.entonnoir canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.entonnoir__gauche, .entonnoir__droite { position: relative; padding: clamp(28px, 5vw, 64px); display: grid; gap: 14px; }
.entonnoir__droite { padding-left: clamp(48px, 9vw, 120px); }
.entonnoir__gauche, .entonnoir__droite { isolation: isolate; }
.entonnoir__gauche::before, .entonnoir__droite::before { content: ""; position: absolute; inset: 4% 0; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, #0A0A0D 60%, transparent); }
.entonnoir__droite::before { background: radial-gradient(closest-side, var(--aplat) 60%, transparent); }
.entonnoir .chiffre { font-style: normal; color: #9EA0FF; }
.entonnoir__droite .chiffre { color: #D9DAFF; }
.entonnoir h2 { font-size: clamp(30px, 3.8vw, 52px); }
.entonnoir p { color: rgb(255 255 255 / .78); max-width: 34ch; }
.entonnoir__gauche h2 { max-width: 12ch; }
.entonnoir__gauche p { max-width: 30ch; }
@media (max-width: 760px) {
  .entonnoir { grid-template-columns: minmax(0, 1fr); align-items: start; min-height: 640px; }
  .entonnoir__gauche { padding-bottom: 0; }
  .entonnoir__droite { padding-left: clamp(28px, 5vw, 64px); align-self: end; }
}

/* ---------- Avant / après : deux colonnes côte à côte ---------- */
.duel { margin-top: clamp(32px, 4vw, 48px); display: grid; gap: 10px; }
.duel__tete, .duel__ligne { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.25fr); gap: 10px; }
.duel__tete { font: 600 14px/1 var(--texte); color: var(--gris); }
.duel__tete > span { display: flex; align-items: center; gap: 8px; padding: 0 20px 6px; }
.duel__tete .duel__sans { color: var(--corail-texte); background: none; } .duel__tete .duel__avec { color: var(--accent-texte); }
.duel__ligne > span { border-radius: 16px; padding: 18px 20px; display: flex; align-items: flex-start; gap: 12px; line-height: 1.45; }
.duel__tache { background: var(--surface); box-shadow: inset 0 0 0 1px var(--filet); font-weight: 600; font-size: 17px; }
.duel__sans { background: var(--corail-fond); color: var(--corail-texte); }
.duel__ligne .duel__avec { background: var(--aplat); color: #fff; font-weight: 500; }
.duel svg { width: 18px; height: 18px; flex: none; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.coffre-rv .duel.est-vu .duel__avec, .coffre-rv .duel .duel__avec { transition: transform .7s cubic-bezier(.22,1,.36,1), opacity .7s; }
.coffre-rv .duel:not(.est-vu) .duel__ligne .duel__avec { opacity: 0; transform: translateX(24px); }
.duel__ligne:nth-child(3) .duel__avec { transition-delay: 90ms; } .duel__ligne:nth-child(4) .duel__avec { transition-delay: 180ms; } .duel__ligne:nth-child(5) .duel__avec { transition-delay: 270ms; } .duel__ligne:nth-child(6) .duel__avec { transition-delay: 360ms; }
.milieu-cta { margin-top: clamp(28px, 4vw, 44px); display: flex; justify-content: center; }
@media (max-width: 760px) {
  .duel__tete { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .duel__ligne { grid-template-columns: minmax(0, 1fr); gap: 0; border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--filet); }
  .duel__ligne > span { border-radius: 0; }
  .duel__tache { box-shadow: none; }
}

/* ---------- Preuves (bento, d'après Pancake) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(36px, 5vw, 56px); }
.stat { background: var(--fc); color: #fff; border-radius: 22px; padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 210px; }
.stat b small { font-size: .45em; letter-spacing: -0.02em; margin-left: .1em; }
.stat b { font: 600 clamp(44px, 4.6vw, 64px)/1 var(--titre); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat > span { color: #fff; font-size: 15px; max-width: 26ch; }
.stats { grid-auto-rows: auto auto; row-gap: 0; }
.stat { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 18px; margin-bottom: 14px; align-content: space-between; }
.stat b { align-self: start; }
.stat > span { align-self: start; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
@media (max-width: 1000px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stats { grid-template-columns: minmax(0, 1fr); } }
.tuile { border-radius: 22px; padding: clamp(20px, 2.4vw, 28px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--filet); display: flex; flex-direction: column; gap: 10px; min-height: 200px; position: relative; }
.tuile--citation { grid-column: span 2; grid-row: span 2; justify-content: space-between; background: var(--brume); box-shadow: none; }
.citation { font: 500 clamp(22px, 2.3vw, 30px)/1.25 var(--titre); letter-spacing: -0.02em; }
.auteur { display: flex; gap: 14px; align-items: center; font-size: 15px; color: var(--gris); }
.auteur b { color: var(--encre); font-weight: 600; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--pervenche); flex: none; }
.tuile--chiffre { justify-content: flex-end; }
.tuile--chiffre b { font: 600 clamp(48px, 5vw, 72px)/1 var(--titre); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.tuile--chiffre span { color: var(--gris); font-size: 15px; max-width: 26ch; }
.tuile .etat { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); color: var(--gris); }
@keyframes pouls { 50% { opacity: .3; } }
.tuile h3 { font-size: 22px; letter-spacing: -0.02em; margin-top: auto; }
.tuile p { color: var(--gris); font-size: 15px; }
.bento:has(> .tuile--cours) { row-gap: 0; }
.tuile--cours, .tuile--maison { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 10px; min-height: 0; margin-bottom: 14px; align-content: start; }
.tuile--cours h3, .tuile--maison h3 { margin-top: 0; padding-top: clamp(48px, 6vw, 84px); align-self: start; }
.tuile--maison { background: var(--encre); color: var(--papier); box-shadow: none; }
.tuile--maison p, .tuile--maison .etat { color: color-mix(in srgb, var(--papier) 70%, transparent); }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bento { grid-template-columns: minmax(0, 1fr); } .tuile--citation { grid-column: auto; grid-row: auto; } }

/* ---------- Équipe ---------- */
.equipe { background: var(--brume); }
.equipe__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
.associe { background: var(--surface); border-radius: 24px; padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; align-items: start; box-shadow: var(--ombre); }
.portrait { width: 120px; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 14px; background: var(--fc); color: #fff; display: grid; place-items: end start; padding: 12px; font: 700 44px/1 var(--titre); letter-spacing: -0.04em; position: relative; overflow: hidden; }
.associe h3 { font-size: 30px; }
.associe .role { color: var(--indigo); font-weight: 600; margin: 6px 0 14px; }
:root[data-theme="dark"] .associe .role { color: var(--pervenche); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .associe .role { color: var(--pervenche); } }
.associe p { color: var(--gris); }
.associe__outils { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; }
.associe__outils span { display: inline-flex; align-items: center; gap: 7px; font: 600 14px/1 var(--texte); }
.associe__outils svg { width: 18px; height: 18px; }
.associe__lien { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; font-size: 15px; color: var(--encre); text-decoration: none; border-bottom: 2px solid var(--indigo); padding-bottom: 2px; }
.associe__lien svg { width: 16px; height: 16px; color: #0A66C2; }

/* ---------- FAQ ---------- */
.faq__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); }
.faq__gauche { display: grid; gap: 28px; align-content: start; position: sticky; top: 120px; align-self: start; }
.faq__carte { background: var(--aplat); color: #fff; border-radius: 24px; padding: 26px; display: grid; gap: 16px; justify-items: start; }
.faq__carte img { width: 56px; height: 56px; background: #fff; border-radius: 14px; padding: 6px; }
.faq__carte p { color: rgb(255 255 255 / .88); }
.faq__carte b { color: #fff; display: block; font-size: 19px; margin-bottom: 4px; }
.faq__carte .bouton { background: #fff; color: #2A2B8F; box-shadow: none; }
.faq details { border-top: 1px solid var(--filet); transition: background-color .25s; }
.faq details[open] { background: linear-gradient(var(--brume), var(--brume)) no-repeat 0 0 / 100% 100%; border-radius: 16px; border-top-color: transparent; }
.faq details[open] summary, .faq details[open] p { padding-inline: 18px; }
.faq details:last-child { border-bottom: 1px solid var(--filet); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font: 600 clamp(19px, 1.8vw, 23px)/1.25 var(--titre); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 28px; height: 28px; display: grid; place-items: center; font-weight: 400; font-size: 26px; color: var(--indigo); transition: transform .35s cubic-bezier(.22,1,.36,1), background-color .25s; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--gris); max-width: 62ch; }

/* ---------- Appel final + anneaux + pied ---------- */
.appel { text-align: left; padding-bottom: 0; position: relative; z-index: 1; }
.appel__boite { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.appel h2 { font-size: clamp(38px, 6vw, 84px); }
.appel__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; }
.appel__cta .note { width: 100%; }
footer { margin-top: 0; }
.coffre-anneaux { --coffre-anneaux-page: var(--papier); --coffre-anneaux-pied: var(--pied); --coffre-anneau-1: var(--brume); --coffre-anneau-2: var(--pervenche); --coffre-anneau-3: var(--indigo); --coffre-anneau-4: var(--indigo-fonce); --coffre-anneau-5: var(--pied); }
/* arc décalé à droite : il descend vers le bas droit, le texte reste dans le cœur sombre à gauche */
.coffre-anneaux--dome { --coffre-anneaux-l: max(175vw, 1100px); --coffre-anneaux-x: 58%; --coffre-anneaux-angle: 10deg; height: clamp(620px, 66vw, 980px); }
footer { position: relative; }
/* le texte du pied se pose dans le cœur sombre de l'arc : plus de bande séparée */
.pied { position: absolute; left: 0; right: 0; bottom: 0; color: #E9E9F2; padding-block: 0 clamp(28px, 4vw, 48px); }
.pied__rangee { display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; align-items: flex-end; }
.pied__gauche { display: grid; gap: 12px; justify-items: start; }
.pied img { height: clamp(44px, 5vw, 72px); width: auto; display: block; }
.pied .pied__slogan { font: 600 clamp(28px, 3.6vw, 52px)/1.05 var(--titre); letter-spacing: -0.035em; color: #fff !important; margin: 8px 0 14px; }
.pied__slogan .etiquette::before { background: #0A0A0D; }
.pied__slogan .balance { margin-top: .12em; }
.pied__slogan { text-wrap: balance; }
.pied p, .pied a { color: rgb(233 233 242 / .72); font-size: 14px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pied a { text-decoration: none; }
.pied nav a { padding-block: 11px; display: inline-block; min-width: 44px; text-align: center; }
.pied a:hover { color: #fff; }
@media (max-width: 700px) { .pied__rangee { max-width: none; } .coffre-anneaux--dome { height: 540px; --coffre-anneaux-x: 60%; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cartes { grid-template-columns: minmax(0, 1fr); }
  .carte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .carte__scene { height: 100%; min-height: 220px; }

  .copilote { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .offres__tete, .catalogue__grille, .pourqui__grille, .securite__grille, .equipe__grille, .appel__boite { grid-template-columns: minmax(0, 1fr); }
  .packs, .faq__gauche { position: static; }
  .faq__grille { grid-template-columns: minmax(0, 1fr); }
  .orbite__grille { grid-template-columns: minmax(0, 1fr); }
  .carte { grid-template-columns: minmax(0, 1fr); }
  .carte__scene { height: 220px; }
}
@media (max-width: 560px) {

  .associe { grid-template-columns: minmax(0, 1fr); }
  .heros__cta .bouton, .appel__cta .bouton { width: 100%; justify-content: center; }
  .faq details p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .balance, .defile__piste, .creneaux span.pris, .barres i, .tuile .etat::before, .curseur, .bascule__fond, .compare span, .orbite__anneau, .orbite__anneau span svg, .orbite__coeur { animation: none !important; }
  .bascule__fond, .compare span { transition: none !important; }
  .actions-ia li { opacity: 1; transform: none; transition: none; }
}


@media print { .coffre-rv [data-coffre-reveal], .coffre-rv [data-coffre-stagger] > *, .coffre-rv .duel .duel__avec, .actions-ia li { opacity: 1 !important; transform: none !important; } .etq-intro { display: none !important; } }

@media (max-width: 991px) { .heros .coffre-filets--etendu { top: -25%; bottom: -25%; } }

.evitement { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--indigo); color: #fff; font-weight: 600; text-decoration: none; transform: translateY(-160%); }
.evitement:focus { transform: none; }
.barre-mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--papier) 60%, transparent); transform: translateY(110%); transition: transform .35s cubic-bezier(.22,1,.36,1); }
.barre-mobile .bouton { width: 100%; justify-content: center; }
.barre-mobile.visible { transform: none; }
@media (min-width: 761px) { .barre-mobile { display: none; } }
@media (prefers-reduced-motion: reduce) { .barre-mobile { transition: none; } }
.reservation { width: min(960px, calc(100% - 32px)); height: min(760px, calc(100% - 48px)); padding: 0; border: 0; border-radius: 24px; background: var(--surface); overflow: hidden; }
.reservation::backdrop { background: rgb(10 10 13 / .6); }
.reservation iframe { width: 100%; height: 100%; border: 0; }
.reservation__fermer { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--brume); color: var(--encre); font-size: 24px; line-height: 1; cursor: pointer; }
@media (max-width: 760px) { html { scroll-padding-bottom: 104px; } }
@media (max-width: 900px) { .nav { max-height: calc(100dvh - 92px); overflow-y: auto; overscroll-behavior: contain; } }
.barre-mobile:not(.visible) { visibility: hidden; transition: transform .35s cubic-bezier(.22,1,.36,1), visibility 0s .35s; }
html:has(dialog[open]) { overflow: hidden; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 901px) { .nav .langue { margin-left: 8px; } }

/* ================= Site en plusieurs pages (02/12/2026) ================= */
/* Menu : page en cours */
.nav a[aria-current] { color: var(--encre); background: var(--brume); }
@media (max-width: 900px) { .nav a[aria-current] { box-shadow: inset 4px 0 0 var(--indigo); } }

/* Diagnostic : le titre de la fenêtre est un h2 (métiers cités pour le référencement) */
h2.fenetre__titre { font: 600 14px/1.35 var(--texte); letter-spacing: 0; text-wrap: pretty; }

/* En-tête des pages internes (direction A) : titre très grand posé sur le fond de la page, mot clé dans l'étiquette,
   filets de la marque derrière (comme le héros de l'accueil), visuel clair à droite ou dessous sur téléphone. */
.page-tete { --pt: var(--papier); position: relative; }
.page-tete__boite { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; padding-block: clamp(20px, 3vw, 40px) clamp(56px, 7vw, 104px); }
@media (min-width: 992px) { .page-tete__boite { min-height: min(calc(100svh - 86px), 700px); } }
.page-tete .coffre-filets { left: calc(50% - 50vw); right: calc(50% - 50vw); }
@media (max-width: 991px) { .page-tete .coffre-filets--etendu { top: -10%; bottom: -10%; } }
/* téléphone et tablette : les filets restent derrière le titre, le visuel du dessous reste net */
@media (max-width: 860px) { .page-tete .coffre-filets { -webkit-mask-image: linear-gradient(#000 0 40%, transparent 62%); mask-image: linear-gradient(#000 0 40%, transparent 62%); } }
.page-tete__texte { display: grid; justify-items: start; }
.ariane ol { list-style: none; margin: 0 0 clamp(18px, 2.4vw, 28px); padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; color: var(--gris); }
.ariane li + li::before { content: "/"; margin-right: 10px; }
.ariane a { color: var(--gris); text-decoration-color: color-mix(in srgb, var(--gris) 45%, transparent); text-underline-offset: 3px; display: inline-block; padding-block: 12px; margin-block: -12px; }
.ariane a:hover { color: var(--encre); }
.page-tete h1 { font-size: clamp(44px, 6.4vw, 96px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.06; }
@media (max-width: 860px) { .page-tete h1 { font-size: clamp(44px, 9vw, 72px); } }
.page-tete h1 .balance { white-space: nowrap; }
.page-tete .chapeau { margin-top: clamp(20px, 2.2vw, 28px); max-width: 46ch; }
.page-tete__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 34px); }
.page-tete__visuel { position: relative; display: grid; justify-items: end; }
@media (max-width: 860px) {
  .page-tete__boite { grid-template-columns: minmax(0, 1fr); }
  .page-tete__visuel { justify-items: start; }
}
@media (max-width: 560px) { .page-tete__cta .bouton { width: 100%; justify-content: center; } }

/* Visuel : étiquettes du logo (liens vers les offres, ou briques des packs), qui se balancent ; indigo et encre seulement */
.etiquettes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; justify-items: start; }
.etiquettes li { transform-origin: 0 50%; animation: balance 6s ease-in-out infinite; animation-delay: calc(var(--n, 0) * -1.4s); }
.etiquettes li:nth-child(even) { margin-left: clamp(24px, 5vw, 72px); }
.etq { --c: var(--indigo); --t: #fff; position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 30px 0 50px; background: var(--c); color: var(--t); font: 600 clamp(22px, 2.5vw, 32px)/1 var(--titre); letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; clip-path: polygon(28px 0, 100% 0, 100% 100%, 28px 100%, 0 50%); border-radius: 0 12px 12px 0; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.etiquettes li:nth-child(even) .etq { --c: var(--encre); --t: var(--papier); }
.etq::before { content: ""; position: absolute; left: 20px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: var(--papier); }
.etq .fleche { font-size: .7em; transition: transform .3s cubic-bezier(.22,1,.36,1); }
a.etq:hover { transform: translateX(6px); }
a.etq:hover .fleche { transform: translateX(3px); }
a.etq:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--c), inset 0 0 0 5px var(--t); }
.briques { display: grid; gap: 22px; justify-items: start; }
.briques__legende { color: var(--gris); font-size: 15px; max-width: 32ch; }
@media (max-width: 860px) {
  .etiquettes { display: flex; flex-wrap: wrap; gap: 10px 12px; }
  .etiquettes li:nth-child(even) { margin-left: 0; }
  .etq { min-height: 48px; padding: 0 20px 0 40px; font-size: 20px; clip-path: polygon(22px 0, 100% 0, 100% 100%, 22px 100%, 0 50%); }
  .etq::before { left: 15px; width: 9px; height: 9px; margin-top: -4.5px; }
}

/* Visuel : pack de départ d'un métier, en liste claire */
.page-tete__pack { width: 100%; max-width: 460px; justify-self: end; background: none; box-shadow: none; padding: 0; gap: 14px; }
.page-tete__pack h2 { font-size: clamp(24px, 2.4vw, 30px); }
.page-tete__pack ul { gap: 0; }
.page-tete__pack li { padding: 16px 0; border-bottom: 1px solid var(--filet); }
.page-tete__pack li:first-child { border-top: 2px solid var(--indigo); }
.page-tete__pack ul li > span:last-child { color: var(--encre); font: 600 clamp(18px, 1.6vw, 21px)/1.25 var(--titre); letter-spacing: -0.015em; }
.page-tete__pack li .outil { color: var(--gris); font: 500 14px/1.2 var(--texte); }
.page-tete__pack .note { color: var(--gris); font-size: 14px; }
@media (max-width: 860px) { .page-tete__pack { justify-self: stretch; max-width: none; } }

/* Visuel : frise des délais (méthode), claire */
.frise { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 440px; justify-self: end; }
.frise li { position: relative; padding: 0 0 26px 44px; display: grid; gap: 4px; }
.frise li:last-child { padding-bottom: 0; }
.frise li::before { content: ""; position: absolute; left: 0; top: 9px; width: 18px; height: 18px; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 0 6px var(--brume); }
.frise li::after { content: ""; position: absolute; left: 8px; top: 36px; bottom: 4px; width: 2px; background: color-mix(in srgb, var(--indigo) 35%, transparent); }
.frise li:last-child::after { display: none; }
.frise b { font: 600 clamp(28px, 2.8vw, 40px)/1.05 var(--titre); letter-spacing: -0.035em; color: var(--encre); }
.frise span { font-size: 15px; color: var(--gris); }
@media (max-width: 860px) { .frise { justify-self: stretch; max-width: none; } }

/* Visuel : deux étiquettes nominatives (équipe), indigo foncé et indigo */
.duo { display: flex; justify-content: center; align-items: flex-start; padding-top: 8px; }
.duo__carte { --fc: var(--indigo); position: relative; width: clamp(150px, 15vw, 210px); aspect-ratio: 3 / 4.2; background: var(--fc); color: #fff; display: grid; align-content: end; gap: 6px; padding: 18px 20px; clip-path: polygon(50% 0, 100% 14%, 100% 100%, 0 100%, 0 14%); transform-origin: 50% 0; animation: balance 6s ease-in-out infinite; }
.duo__carte:first-child { --fc: var(--indigo-fonce); }
.duo__carte + .duo__carte { margin: 56px 0 0 -18px; animation-delay: -2.6s; }
.duo__carte::before { content: ""; position: absolute; left: 50%; top: 8%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--papier); }
.duo__carte b { font: 700 clamp(80px, 9vw, 128px)/.86 var(--titre); letter-spacing: -0.05em; }
.duo__carte span { font: 600 15px/1.25 var(--texte); color: #fff; }
@media (max-width: 860px) { .duo { justify-content: flex-start; } .duo__carte { width: 140px; } .duo__carte b { font-size: 76px; } }
@media (prefers-reduced-motion: reduce) { .etiquettes li, .duo__carte { animation: none; } a.etq, .etq .fleche { transition: none; } }

/* Accueil : offres en résumé, titre de carte = lien vers le détail */
.carte h3 a { text-decoration: none; }
.carte h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.carte h3 a:hover { text-decoration: underline; text-decoration-color: var(--indigo); text-underline-offset: 5px; }
.bento--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 48px); }
.bande--serree { padding-block: clamp(64px, 8vw, 112px); }

/* Mobile : cartes en rangée qui glisse au doigt (offres, preuves, équipe) ; la carte suivante dépasse */
@media (max-width: 760px) {
  .glisse { display: flex !important; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gouttiere-g)) calc(-1 * var(--gouttiere-d)); padding: 4px var(--gouttiere-d) 18px var(--gouttiere-g); scroll-padding-inline: var(--gouttiere-g); scrollbar-width: thin; scrollbar-color: var(--pervenche) transparent; }
  .glisse > * { flex: 0 0 min(84%, 340px); scroll-snap-align: start; margin-bottom: 0 !important; }
  .glisse:focus-visible { outline-offset: -2px; border-radius: 0; }
  .glisse .carte { display: flex; }
  .glisse .carte__scene { height: 190px; min-height: 0; flex: none; }
  .glisse .associe { grid-template-columns: minmax(0, 1fr); }
  .glisse .tuile--cours, .glisse .tuile--maison { display: flex; }
  .glisse .tuile--cours h3, .glisse .tuile--maison h3 { padding-top: 40px; }
}


/* Méthode : outils et sécurité dans une même bande sombre */
.securite .orbite__anneau span { color: var(--encre); }
.donnees__texte { display: grid; gap: 22px; }
.donnees__texte .engagements { margin-top: 8px; }

/* Pages métier */
.douleurs__tete { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
.douleurs__tete .douleur { font: 500 clamp(20px, 2vw, 26px)/1.35 var(--titre); letter-spacing: -0.02em; color: var(--gris); font-style: italic; max-width: 36ch; }
.douleurs { list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px clamp(16px, 2.4vw, 32px); }
@media (max-width: 640px) { .douleurs { grid-template-columns: minmax(0, 1fr); } }
.douleurs li { border-top: 4px solid var(--indigo); padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.douleurs h3 { font-size: clamp(24px, 2.4vw, 30px); }
.douleurs p { color: var(--gris); max-width: 38ch; }
.solutions-bande { background: var(--brume); }
.solutions { list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.solutions li { counter-increment: s; background: var(--surface); border-radius: 24px; padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 14px; align-content: start; box-shadow: var(--ombre); }
.solutions li::before { content: "0" counter(s); font: 500 14px/1 var(--mono); color: var(--gris); }
.solutions .outil { justify-self: start; }
.solutions h3 { font-size: clamp(24px, 2.4vw, 30px); }
.solutions p { color: var(--gris); }
.solutions__note { margin-top: 20px; font-size: 15px; color: var(--gris); max-width: 72ch; }
/* deux bandes de même fond qui se suivent : un seul espace, pas deux */
#avant-apres:not(.bande--serree) + #faq, #liste-metiers + .appel { padding-top: 0; }
@media (max-width: 860px) { .douleurs__tete, .solutions { grid-template-columns: minmax(0, 1fr); } }
.autres { padding-block: clamp(56px, 7vw, 96px); }
.autres h2 { font-size: clamp(26px, 3vw, 38px); }
.autres__liste { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); column-gap: 32px; }
.autres__liste a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; min-height: 44px; border-bottom: 1px solid var(--filet); text-decoration: none; font: 600 clamp(19px, 1.8vw, 23px)/1.2 var(--titre); letter-spacing: -0.02em; color: var(--encre); }
.autres__liste a:hover { color: var(--accent-texte); }
.autres__liste .fleche { color: var(--accent-texte); transition: transform .25s cubic-bezier(.22,1,.36,1); }
.autres__liste a:hover .fleche { transform: translateX(4px); }

/* Hub métiers : une grande ligne par métier, toute la ligne est le lien ; au survol ou au focus, l'étiquette indigo glisse sous le nom */
.metiers-lignes { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--filet); }
.metier-ligne { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 8px clamp(24px, 4vw, 64px); align-items: center; padding: clamp(24px, 2.8vw, 36px) 0; border-top: 1px solid var(--filet); }
.metier-ligne__nom { grid-row: span 2; font-size: clamp(36px, 5vw, 72px); letter-spacing: -0.045em; line-height: 1.05; font-weight: 700; }
.metier-ligne__nom a { color: var(--encre); text-decoration: none; }
.metier-ligne__nom a::after { content: ""; position: absolute; inset: 0; }
.metier-ligne__nom a:focus-visible { outline: none; }
.metier-ligne:focus-within { outline: 2px solid var(--indigo); outline-offset: 4px; border-radius: 4px; }
.metier-ligne__etq { position: relative; display: inline-block; margin-left: -.62em; padding: .02em .32em .1em .62em; clip-path: polygon(.36em 0, 100% 0, 100% 100%, .36em 100%, 0 50%); border-radius: 0 .14em .14em 0; background-color: transparent; transition: background-color .35s cubic-bezier(.22,1,.36,1), color .35s cubic-bezier(.22,1,.36,1), transform .45s cubic-bezier(.22,1,.36,1); }
.metier-ligne__etq::before { content: ""; position: absolute; left: .26em; top: 50%; width: .14em; height: .14em; margin-top: -.07em; border-radius: 50%; background: transparent; transition: background-color .35s; }
.metier-ligne:hover .metier-ligne__etq, .metier-ligne:focus-within .metier-ligne__etq { background-color: var(--indigo); color: var(--sur-indigo); transform: translateX(.62em); }
.metier-ligne:hover .metier-ligne__etq::before, .metier-ligne:focus-within .metier-ligne__etq::before { background: var(--papier); }
.metier-ligne__mal { grid-column: 2; align-self: end; font: 600 clamp(19px, 1.7vw, 23px)/1.3 var(--titre); letter-spacing: -0.015em; }
.metier-ligne__pack { grid-column: 2; align-self: start; color: var(--gris); font-size: 16px; max-width: 52ch; }
/* pas de mot seul en fin de paragraphe (pages métiers) */
.metier-ligne__mal, .metier-ligne__pack, .douleurs p, .douleurs__tete .douleur, .solutions p, .duel__ligne > span, .solutions__note, .briques__legende { text-wrap: pretty; }
.metier-ligne__fleche { grid-column: 3; grid-row: 1 / span 2; font-size: clamp(26px, 2.6vw, 36px); color: var(--encre); transition: transform .35s cubic-bezier(.22,1,.36,1), color .35s; }
.metier-ligne:hover .metier-ligne__fleche, .metier-ligne:focus-within .metier-ligne__fleche { color: var(--accent-texte); transform: translateX(6px); }
@media (max-width: 860px) {
  .metier-ligne { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: none; gap: 10px 16px; }
  .metier-ligne__nom { grid-row: auto; }
  .metier-ligne__mal, .metier-ligne__pack { grid-column: 1 / -1; }
  .metier-ligne__fleche { grid-column: 2; grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) { .metier-ligne__etq, .metier-ligne__fleche { transition: none; } }

/* Pied : deux rangées de liens (pages, métiers) */
.pied nav + nav { margin-top: -12px; }
@media (max-width: 700px) { .coffre-anneaux--dome { height: 620px; } .pied nav { gap: 0 18px; } }
@media (min-width: 761px) { .cartes--resume .carte__scene { height: 200px; } }

/* Équipe : deux preuves côte à côte */
.duo-preuves { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 14px; margin-top: clamp(32px, 4vw, 48px); }
.duo-preuves > * { grid-row: auto; display: flex; flex-direction: column; margin-bottom: 0; min-height: 240px; }
.duo-preuves .tuile--maison h3 { padding-top: 0; margin-top: auto; }
@media (max-width: 760px) { .duo-preuves { grid-template-columns: minmax(0, 1fr); } }
/* cartes d'offres : le délai visé tombe en bas de chaque carte, à la même hauteur */
.carte__texte { display: flex; flex-direction: column; }

@media (prefers-reduced-motion: reduce) { .s-flux .bille { display: none; } }

/* ================= Direction A, passe complète (01/12/2026) =================
   Palette unique (indigo, encre, papier et leurs teintes), pas de monospace hors code ni de numéros d'index,
   moins de boîtes colorées arrondies. Classes partagées avec l'accueil : .nav, .duel, .faq, .copilote,
   .creneaux, .s-flux, .tuile .etat, .appel (voir site-a-rapport.md). */

/* Menu mobile : un seul survol indigo */
@media (max-width: 900px) { .nav a:nth-child(n):hover { color: #fff; background: var(--aplat); } }

/* Avant / après : la situation en texte, « sans nous » en surface neutre, « avec » en indigo (plus de corail) */
.duel__tete .duel__sans { color: var(--gris); }
.duel__sans { background: var(--surface); color: var(--gris); }
@media (min-width: 761px) { .duel__tache { background: none; box-shadow: none; padding-left: 0 !important; } }
@media (max-width: 760px) { .duel__sans { background: var(--papier); } }

/* Catalogue des offres : une seule couleur, plus de compteurs */
.familles button, .panneau { --fc: var(--aplat); }

/* Pages métier : plus de 01 02 03 ni d'étiquettes en monospace sur les solutions */
.solutions li::before { content: none; }
.solutions .outil { background: none; clip-path: none; padding: 0; color: var(--gris); font: 500 14px/1.2 var(--texte); }

/* Scènes des offres et tuiles : texte normal, chiffres tabulaires */
.creneaux span { font: 500 12px/1 var(--texte); font-variant-numeric: tabular-nums; }
.s-flux .noeud text { font: 500 12px var(--texte); }
.tuile .etat { font: 500 13px/1 var(--texte); }

/* Questions : le titre sur toute la largeur, plus de carte indigo à gauche */
.faq__grille { row-gap: clamp(28px, 4vw, 48px); align-items: start; }
.faq__gauche { display: contents; }
.faq__gauche h2 { grid-column: 1 / -1; }
.faq__carte { background: none; color: var(--encre); padding: 0; border-radius: 0; gap: 18px; }
.faq__carte img { display: none; }
.faq__carte p { color: var(--gris); max-width: 34ch; }
.faq__carte b { color: var(--encre); }
.faq__carte .bouton { background: var(--jaune); color: var(--sur-jaune); box-shadow: 0 10px 24px -12px rgb(214 150 0 / .55); }
.faq__carte :focus-visible { outline-color: var(--indigo); }
@media (min-width: 861px) { .faq__carte { position: sticky; top: 120px; } }
@media (max-width: 860px) { .faq__carte { order: 2; } }

/* Copilote : une ligne ouverte par un trait indigo, plus de bloc indigo arrondi */
.copilote { background: none; color: var(--encre); border-radius: 0; padding: clamp(24px, 3vw, 36px) 0 0; border-top: 3px solid var(--indigo); margin-top: clamp(28px, 4vw, 48px); }
.copilote p { color: var(--gris); }
.copilote .bouton { background: var(--jaune); color: var(--sur-jaune); }
.copilote .bouton:focus-visible { outline-color: var(--indigo); }

/* Équipe : les deux preuves posées sur la page, sans boîtes */
.duo-preuves > .stat, .duo-preuves > .tuile--maison { background: none; color: var(--encre); box-shadow: none; border-radius: 0; padding: 24px 0 0; border-top: 3px solid var(--indigo); min-height: 0; }
.duo-preuves .stat b { font-size: clamp(72px, 9vw, 132px); color: var(--encre); }
.duo-preuves .stat > span { color: var(--gris); font-size: 17px; max-width: 30ch; }
.duo-preuves .tuile--maison p, .duo-preuves .tuile--maison .etat { color: var(--gris); }
.duo-preuves .tuile--maison h3 { font-size: clamp(28px, 3vw, 40px); margin-top: 0; }
.duo-preuves { column-gap: clamp(32px, 6vw, 96px); }

/* Appel final : mot clé dans l'étiquette, comme le héros */
.appel h2 .balance { white-space: nowrap; }
.appel h2 { line-height: 1.08; }
.duo-preuves .halo::after, .duo-preuves .etat { display: none; }
@media (min-width: 861px) { .page-tete h1.h1-long { font-size: clamp(44px, 5.2vw, 76px); } }
/* la colonne « avec » glisse de 24 px avant son apparition : on la rogne pour ne rien faire dépasser */
.duel { overflow-x: clip; }

/* Petits écrans : l'étiquette du h1 ne se coupe pas (nowrap), donc le titre rétrécit pour tenir dans 320 px. */
@media (max-width: 420px) { .page-tete h1 { font-size: clamp(32px, 10.5vw, 44px); } }

/* Relecture Opus (01/12/2026) */
.page-tete__texte { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 861px) { .page-tete h1 { font-size: clamp(44px, 6.4vw, 84px); } }
@media (min-width: 992px) {
  .page-tete__boite { min-height: min(calc(100svh - 86px), 560px); padding-bottom: clamp(32px, 3.4vw, 48px); }
  .page-tete .coffre-filets--etendu { -webkit-mask-image: linear-gradient(#000 0 45%, transparent 68%); mask-image: linear-gradient(#000 0 45%, transparent 68%); }
}

/* La flèche bouge au survol (transform) et passait au-dessus du lien étiré : elle ne doit pas capter le clic. */
.metier-ligne__fleche { pointer-events: none; }

/* Bouton de langue (variante B, Gab 02/12/2026) : globe + code de la langue cible, distinct des liens de pages */
.nav .langue { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.langue__globe { width: 17px; height: 17px; flex: none; }
.langue__cour { color: var(--encre); }
.langue__aut { color: var(--gris); font-weight: 500; transition: color .2s; }
.langue:hover .langue__aut { color: var(--indigo); }
.langue__sep { color: var(--gris); font-weight: 400; margin-inline: -1px; }

/* Même place pour chaque élément de l'en-tête en FR et en EN (largeur du mot le plus long des deux langues) :
   passer d'une langue à l'autre ne décale plus rien. */
.coffre-capsule .actions .bouton--plein { min-width: 166px; justify-content: center; text-align: center; }
@media (max-width: 420px) { .coffre-capsule .actions .bouton--plein { min-width: 96px; } }
/* 375 px, capsule rétrécie : le burger dépassait de 17 px */
@media (max-width: 420px) { .coffre-capsule .actions { gap: 2px; } .coffre-capsule .actions .bouton--plein { min-width: 0; padding-inline: 14px; } }
@media (min-width: 901px) {
  .nav > a { text-align: center; }
  .nav > a:nth-child(1) { min-width: 76px; }
  .nav > a:nth-child(2) { min-width: 67px; }
  .nav > a:nth-child(3) { min-width: 79px; }
  .nav > a:nth-child(4) { min-width: 86px; }
  .nav > a:nth-child(5) { min-width: 72px; }
}

/* En-tête des pages internes : bande pleine bord à bord, en thème inversé (noire en clair, papier en sombre).
   Choix Gab 02/12/2026 : plus de filets animés hors accueil, pas de fondu. */
.page-tete { --papier: #111114; --surface: #202127; --encre: #F2F2F4; --gris: #A9ABB5; --filet: #30323A; --indigo: #5457E0; --pervenche: #A3A5F8; --brume: #1D1E23; --accent-texte: #A3A5F8; --noir-carte: #2B2D35; --ombre: 0 1px 0 rgb(255 255 255 / .04), 0 18px 40px -18px rgb(0 0 0 / .75); color-scheme: dark; background: var(--papier); color: var(--encre); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .page-tete { --papier: #F6F6F3; --surface: #FFFFFF; --encre: #111114; --gris: #5C5D68; --filet: #DCDCE3; --indigo: #4649D7; --pervenche: #9A9CF6; --brume: #E8E8FB; --accent-texte: #4649D7; --noir-carte: #17181D; --ombre: 0 1px 0 rgb(17 17 20 / .04), 0 18px 40px -18px rgb(42 43 143 / .28); color-scheme: light; } }
:root[data-theme="dark"] .page-tete { --papier: #F6F6F3; --surface: #FFFFFF; --encre: #111114; --gris: #5C5D68; --filet: #DCDCE3; --indigo: #4649D7; --pervenche: #9A9CF6; --brume: #E8E8FB; --accent-texte: #4649D7; --noir-carte: #17181D; --ombre: 0 1px 0 rgb(17 17 20 / .04), 0 18px 40px -18px rgb(42 43 143 / .28); color-scheme: light; }
.page-tete h1 { color: var(--encre); }

/* Équipe : vraies photos (LinkedIn) dans les étiquettes et les portraits */
.duo__carte:has(.duo__photo) { display: flex; flex-direction: column; padding: 0; gap: 0; }
.duo__photo { flex: 1 1 0; min-height: 0; height: 0; width: 100%; margin-top: 24%; object-fit: cover; object-position: 50% 22%; display: block; }
.duo__carte:has(.duo__photo) span { padding: 12px 16px 16px; }
@media (max-width: 860px) { .duo__carte:has(.duo__photo) span { font-size: 13px; padding: 10px 12px 12px; } }
.portrait { padding: 0; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
.duo__carte:first-child:has(.duo__photo) span { padding-right: 34px; }

/* ================= Équipe : portraits plein écran (piste 1, Gab 02/12/2026) ================= */
.portrait-ecran { position: relative; min-height: 100svh; display: grid; align-items: center; padding-block: clamp(64px, 9vw, 120px); background: var(--papier); color: var(--encre); overflow: clip; }
.portrait-ecran--indigo { background: var(--aplat); --encre: #fff; --gris: rgb(255 255 255 / .82); }
.portrait-ecran--indigo .etiquette { background: #fff; color: var(--aplat); }
.portrait-ecran--indigo .etiquette::before { background: var(--aplat); }
.portrait-ecran__boite { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.portrait-ecran--indigo .portrait-ecran__boite { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.portrait-ecran--indigo .portrait-ecran__photo { order: 2; }
.portrait-ecran__photo { margin: 0; position: relative; width: min(100%, 520px); justify-self: center; aspect-ratio: 4 / 5; clip-path: polygon(50% 0, 100% 12%, 100% 100%, 0 100%, 0 12%); background: var(--brume); }
.portrait-ecran__photo::before { content: ""; position: absolute; z-index: 1; left: 50%; top: 5.5%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--papier); }
.portrait-ecran--indigo .portrait-ecran__photo::before { background: var(--aplat); }
.portrait-ecran__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
.portrait-ecran__nom { font-size: clamp(88px, 13vw, 200px); line-height: .9; letter-spacing: -0.06em; font-weight: 700; color: var(--encre); }
.portrait-ecran__role { margin: clamp(14px, 1.6vw, 22px) 0 0; font: 700 clamp(28px, 3.4vw, 48px)/1.1 var(--titre); letter-spacing: -0.035em; }
.portrait-ecran__detail { margin: clamp(22px, 2.6vw, 34px) 0 0; font: 600 clamp(18px, 1.5vw, 21px)/1.35 var(--titre); color: var(--encre); }
.portrait-ecran__parcours { margin: 12px 0 0; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--gris); max-width: 52ch; }
.portrait-ecran .associe__outils { margin-top: 22px; }
.portrait-ecran .associe__outils span { color: var(--encre); }
.portrait-ecran .associe__lien { margin-top: 22px; color: var(--encre); }
.portrait-ecran--indigo .associe__lien { border-bottom-color: #fff; }
.portrait-ecran--indigo .associe__lien svg, .portrait-ecran--indigo .associe__outils svg { color: #fff; }
.portrait-ecran--indigo .associe__outils svg * { fill: currentColor; stroke: none; }

.ensemble { padding-block: clamp(72px, 10vw, 140px); background: var(--nuit); color: var(--nuit-encre); }
.ensemble__titre { font-size: clamp(44px, 6.4vw, 96px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 700; color: var(--nuit-encre); max-width: 14ch; }
.ensemble__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(40px, 5vw, 72px); }
.ensemble__col { border-top: 3px solid var(--indigo); padding-top: 24px; display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 20px; align-items: center; }
.ensemble__col img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.ensemble__col h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.03em; color: var(--nuit-encre); }
.ensemble__col ul { grid-column: 1 / -1; list-style: none; margin: 22px 0 0; padding: 0; }
.ensemble__col li { padding: 14px 0; border-top: 1px solid rgb(255 255 255 / .12); font-size: 18px; color: var(--nuit-encre); }

@media (max-width: 860px) {
  .portrait-ecran { min-height: 0; }
  .portrait-ecran__boite, .portrait-ecran--indigo .portrait-ecran__boite { grid-template-columns: minmax(0, 1fr); }
  .portrait-ecran--indigo .portrait-ecran__photo { order: 0; }
  .portrait-ecran__photo { width: min(78%, 360px); justify-self: start; }
  .ensemble__grille { grid-template-columns: minmax(0, 1fr); }
}

/* Entrée au défilement : la photo s'ouvre de bas en haut, le nom glisse. Sans support ou mouvement réduit : tout est affiché. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .portrait-ecran__photo img { animation: pe-photo linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .portrait-ecran__nom { animation: pe-nom linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
    .portrait-ecran__photo { animation: pe-cadre linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}
@keyframes pe-photo { from { transform: scale(1.18); } to { transform: scale(1); } }
@keyframes pe-nom { from { transform: translateY(40%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pe-cadre { from { translate: 0 6%; } to { translate: 0 -6%; } }
.portrait-ecran__photo { background: var(--aplat); }
.portrait-ecran--indigo .portrait-ecran__photo { background: #fff; }
.portrait-ecran__photo img { position: absolute; left: 0; right: 0; bottom: 0; top: 14%; height: 86%; }
.portrait-ecran__parcours { margin-top: clamp(22px, 2.6vw, 34px); }

/* ================= Équipe : scène fixe (Gab 02/12/2026) =================
   Les deux étiquettes photo restent accrochées à droite pendant que les chapitres défilent à gauche :
   intro, Pierre, Gabin, ensemble. Le chapitre au centre de l'écran est net, l'étiquette concernée s'avance. */
.scene__boite { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); }
.scene__chap { min-height: 92svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 72px; transition: opacity .5s cubic-bezier(.22,1,.36,1); }
.scene__chap--intro { min-height: calc(100svh - 86px); padding-top: 24px; }
.scene__nom { font-size: clamp(88px, 11vw, 176px); line-height: .9; letter-spacing: -0.06em; font-weight: 700; color: var(--encre); }
.scene__role { margin: clamp(14px, 1.6vw, 22px) 0 0; font: 700 clamp(28px, 3.2vw, 46px)/1.1 var(--titre); letter-spacing: -0.035em; }
.scene__parcours { margin: clamp(22px, 2.6vw, 32px) 0 0; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--gris); max-width: 50ch; }
.scene .associe__outils { margin-top: 22px; }
.scene .associe__outils span, .scene .associe__lien { color: var(--encre); }
.scene .associe__lien { margin-top: 22px; }
.scene__titre { font-size: clamp(44px, 5.6vw, 84px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 700; color: var(--encre); }
.scene__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); margin-top: clamp(28px, 3.4vw, 48px); width: 100%; }
.scene__col { border-top: 3px solid var(--indigo); padding-top: 18px; }
.scene__col h3 { font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.03em; color: var(--encre); }
.scene__col ul { list-style: none; margin: 14px 0 0; padding: 0; }
.scene__col li { padding: 11px 0; border-top: 1px solid var(--filet); font-size: 16px; color: var(--encre); }

.scene__tags { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; justify-content: center; padding-top: 0; }
.scene__carte { width: clamp(210px, 19vw, 300px); transition: transform .7s cubic-bezier(.22,1,.36,1), opacity .5s, filter .5s; }
.scene__carte + .scene__carte { margin: 72px 0 0 -26px; }
.scene__carte span { font-size: clamp(14px, 1.1vw, 17px); }

/* états (posés par app.js) */
.scene.est-actif .scene__chap { opacity: .22; }
.scene.est-actif .scene__chap.est-courant { opacity: 1; }
.scene__carte { transition: translate .7s cubic-bezier(.22,1,.36,1), scale .7s cubic-bezier(.22,1,.36,1), opacity .5s, filter .5s; }

@media (max-width: 860px) {
  .scene__boite { grid-template-columns: minmax(0, 1fr); }
  .scene__tags { position: static; height: auto; order: -1; justify-content: flex-start; padding-top: 12px; }
  .scene__boite > .scene__textes { order: 0; }
  .scene__chap, .scene__chap--intro { min-height: 0; padding-block: 40px; }
  .scene.est-actif .scene__chap { opacity: 1; }
  .scene__carte { width: 104px; flex: none; }
  .scene__carte:nth-child(2) { margin: 32px 0 0 -14px; }
  .scene__carte:nth-child(3) { margin: 64px 0 0 -14px; }
  .scene[data-pas-actif] .scene__carte { translate: none !important; scale: none !important; opacity: 1 !important; filter: none !important; }
  .scene__cols { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .scene__chap, .scene__carte { transition: none; } }

/* Scène équipe : l'étiquette de la personne affichée prend toujours la place de gauche, à côté du texte
   (Gab 02/12/2026). Passage Pierre → Gabin : les deux étiquettes échangent leurs places. */
/* Trois associés (Vadim ajouté 02/12/2026) : étiquettes en escalier, celle du chapitre courant passe devant, les autres s'effacent */
@media (min-width: 861px) {
  .scene__carte { width: clamp(120px, 13.5vw, 210px); flex: none; }
  .scene__carte:nth-child(2) { margin: 56px 0 0 -22px; }
  .scene__carte:nth-child(3) { margin: 112px 0 0 -22px; }
}
.scene__parcours + .scene__sous { margin-top: 22px; }
.scene[data-pas-actif="1"] .scene__carte[data-qui="pierre"], .scene[data-pas-actif="2"] .scene__carte[data-qui="gabin"], .scene[data-pas-actif="3"] .scene__carte[data-qui="vadim"] { z-index: 3; scale: 1.14; translate: 0 -18px; }
.scene[data-pas-actif="1"] .scene__carte:not([data-qui="pierre"]), .scene[data-pas-actif="2"] .scene__carte:not([data-qui="gabin"]), .scene[data-pas-actif="3"] .scene__carte:not([data-qui="vadim"]) { scale: .9; opacity: .35; filter: grayscale(1); }

/* ================= Méthode : parcours fixe au défilement (Gab 02/12/2026) =================
   Même mécanique que la scène Équipe : chapitres à gauche, frise des délais fixe à droite qui s'allume étape par étape. */
.scene--methode .scene__boite { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.scene__frise { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; justify-content: flex-end; }
.scene__frise .frise { max-width: 400px; }
.scene--methode .frise li { padding-bottom: 40px; transition: opacity .5s; }
.scene--methode .frise li::before, .scene--methode .frise b { transition: scale .5s cubic-bezier(.22,1,.36,1), box-shadow .5s, color .5s; transform-origin: 0 50%; }
.scene--methode .frise li::after { transition: background-color .6s; }
.scene--methode.est-actif:not([data-pas-actif="0"]) .frise li { opacity: .3; }
.scene--methode[data-pas-actif="1"] .frise li[data-pas="1"] { opacity: 1; }
.scene--methode[data-pas-actif="1"] .frise li[data-pas="1"]::before { scale: 1.5; box-shadow: 0 0 0 8px color-mix(in srgb, var(--indigo) 30%, transparent); }
.scene--methode[data-pas-actif="1"] .frise li[data-pas="1"] b { color: var(--encre); scale: 1.08; }
.scene--methode[data-pas-actif="2"] .frise li[data-pas="1"], .scene--methode[data-pas-actif="2"] .frise li[data-pas="2"] { opacity: 1; }
.scene--methode[data-pas-actif="2"] .frise li[data-pas="1"]::after { background: var(--indigo); }
.scene--methode[data-pas-actif="2"] .frise li[data-pas="2"]::before { scale: 1.5; box-shadow: 0 0 0 8px color-mix(in srgb, var(--indigo) 30%, transparent); }
.scene--methode[data-pas-actif="2"] .frise li[data-pas="2"] b { color: var(--encre); scale: 1.08; }
.scene--methode[data-pas-actif="3"] .frise li[data-pas="1"], .scene--methode[data-pas-actif="3"] .frise li[data-pas="2"], .scene--methode[data-pas-actif="3"] .frise li[data-pas="3"] { opacity: 1; }
.scene--methode[data-pas-actif="3"] .frise li[data-pas="1"]::after, .scene--methode[data-pas-actif="3"] .frise li[data-pas="2"]::after { background: var(--indigo); }
.scene--methode[data-pas-actif="3"] .frise li[data-pas="3"]::before { scale: 1.5; box-shadow: 0 0 0 8px color-mix(in srgb, var(--indigo) 30%, transparent); }
.scene--methode[data-pas-actif="3"] .frise li[data-pas="3"] b { color: var(--encre); scale: 1.08; }
.scene--methode[data-pas-actif="4"] .frise li[data-pas="1"], .scene--methode[data-pas-actif="4"] .frise li[data-pas="2"], .scene--methode[data-pas-actif="4"] .frise li[data-pas="3"], .scene--methode[data-pas-actif="4"] .frise li[data-pas="4"] { opacity: 1; }
.scene--methode[data-pas-actif="4"] .frise li[data-pas="1"]::after, .scene--methode[data-pas-actif="4"] .frise li[data-pas="2"]::after, .scene--methode[data-pas-actif="4"] .frise li[data-pas="3"]::after { background: var(--indigo); }
.scene--methode[data-pas-actif="4"] .frise li[data-pas="4"]::before { scale: 1.5; box-shadow: 0 0 0 8px color-mix(in srgb, var(--indigo) 30%, transparent); }
.scene--methode[data-pas-actif="4"] .frise li[data-pas="4"] b { color: var(--encre); scale: 1.08; }
.scene--methode .frise b { justify-self: start; } /* le chiffre agrandi ne dépasse plus à droite (1024 px) */
.securite ~ .faq + .appel { padding-top: 0; } /* méthode : FAQ et appel sur le même fond, un seul espace entre les deux */
.securite .orbite { width: min(calc(100% - 56px), 520px); } /* les logos qui tournent restent dans la marge (coupés à 1024 px) */
.scene__etape .scene__titre { margin-top: clamp(16px, 2vw, 24px); }
.scene__etape .scene__role { margin-top: 0; }
.scene__mini { margin-top: clamp(26px, 3vw, 40px); width: min(100%, 460px); }

/* petits visuels d'étape (maquettes en HTML, décoratives) */
.mini { background: var(--surface); color: var(--encre); border-radius: 18px; padding: 18px 20px; box-shadow: 0 0 0 1px var(--filet), 0 20px 40px -20px rgb(0 0 0 / .5); font-size: 15px; }
.mini__tete { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.mini__tete b { margin-left: auto; font: 600 15px/1 var(--titre); color: var(--gris); font-variant-numeric: tabular-nums; }
.mini__point { width: 10px; height: 10px; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 0 4px color-mix(in srgb, var(--indigo) 22%, transparent); }
.mini ul { list-style: none; margin: 12px 0 0; padding: 0; }
.mini li { padding: 9px 0 9px 22px; border-top: 1px solid var(--filet); position: relative; color: var(--gris); }
.mini li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 2px; background: var(--indigo); }
.mini__options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.mini__option { border-radius: 12px; padding: 12px; box-shadow: inset 0 0 0 1px var(--filet); display: grid; gap: 4px; }
.mini__option b { font-size: 15px; }
.mini__option span { font-size: 13px; color: var(--gris); line-height: 1.3; }
.mini__option--choisie { background: var(--aplat); box-shadow: none; }
.mini__option--choisie b, .mini__option--choisie span { color: #fff; }
.mini--constr { display: grid; gap: 0; padding-block: 8px; }
.mini__semaine { display: grid; grid-template-columns: 92px minmax(0, 1fr) 22px; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--filet); }
.mini__semaine:first-child { border-top: 0; }
.mini__semaine span { color: var(--gris); }
.mini__semaine i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--filet); position: relative; }
.mini__semaine.est-fait i { background: var(--aplat); box-shadow: none; }
.mini__semaine.est-fait i::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; rotate: 45deg; }
.mini__puces { display: flex; flex-wrap: wrap; gap: 8px; }
.mini__puces span { padding: 7px 12px; border-radius: 999px; background: var(--brume); font-weight: 600; font-size: 14px; }
.mini__jauge { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 16px; }
.mini__jauge span { color: var(--gris); }
.mini__jauge i { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--brume); position: relative; overflow: hidden; }
.mini__jauge i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--aplat); transform-origin: 0 50%; }
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) {
  .scene__mini .mini { animation: mini-entree linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  .mini__jauge i::after { animation: jauge linear both; animation-timeline: view(); animation-range: entry 20% cover 50%; }
} }
@keyframes mini-entree { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
@keyframes jauge { from { scale: 0 1; } to { scale: 1 1; } }

@media (max-width: 860px) {
  .scene--methode .scene__boite { grid-template-columns: minmax(0, 1fr); }
  .scene__frise { display: none; }
  .mini__options { grid-template-columns: minmax(0, 1fr); }
}
/* Point de l'étape en cours : grossit depuis son centre, reste sur la ligne et loin du texte */
.scene--methode .frise li::before { transform-origin: 50% 50%; }
.scene--methode[data-pas-actif] .frise li::before { scale: 1; }
.scene--methode[data-pas-actif="1"] .frise li[data-pas="1"]::before, .scene--methode[data-pas-actif="2"] .frise li[data-pas="2"]::before,
.scene--methode[data-pas-actif="3"] .frise li[data-pas="3"]::before, .scene--methode[data-pas-actif="4"] .frise li[data-pas="4"]::before { scale: 1.3; }

/* En-têtes des pages internes aux couleurs du thème (Gab 02/12/2026) : blancs en clair, noirs en sombre. */
.page-tete.page-tete { --papier: #FFFFFF; --surface: #FFFFFF; --encre: #111114; --gris: #5C5D68; --filet: #DCDCE3; --indigo: #4649D7; --pervenche: #9A9CF6; --brume: #E8E8FB; --accent-texte: #4649D7; --noir-carte: #17181D; --ombre: 0 1px 0 rgb(17 17 20 / .04), 0 18px 40px -18px rgb(42 43 143 / .28); color-scheme: light; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .page-tete.page-tete { --papier: #111114; --surface: #202127; --encre: #F2F2F4; --gris: #A9ABB5; --filet: #30323A; --indigo: #5457E0; --pervenche: #A3A5F8; --brume: #1D1E23; --accent-texte: #A3A5F8; --noir-carte: #2B2D35; --ombre: 0 1px 0 rgb(255 255 255 / .04), 0 18px 40px -18px rgb(0 0 0 / .75); color-scheme: dark; } }
:root[data-theme="dark"] .page-tete.page-tete { --papier: #111114; --surface: #202127; --encre: #F2F2F4; --gris: #A9ABB5; --filet: #30323A; --indigo: #5457E0; --pervenche: #A3A5F8; --brume: #1D1E23; --accent-texte: #A3A5F8; --noir-carte: #2B2D35; --ombre: 0 1px 0 rgb(255 255 255 / .04), 0 18px 40px -18px rgb(0 0 0 / .75); color-scheme: dark; }

/* Mots importants : trait jaune d'accent sous l'expression (Gab 02/12/2026) */
mark.fort { background: none; color: var(--encre); font-weight: 600; text-decoration: underline; text-decoration-color: var(--jaune); text-decoration-thickness: .3em; text-underline-offset: -.08em; text-decoration-skip-ink: none; }
mark.fort { text-decoration-thickness: .24em; text-underline-offset: 0; }
#appel mark.fort { text-decoration-color: var(--pervenche); } /* jaune réservé aux boutons et au héros */

/* Logo plus grand dans l'en-tête (Gab 02/12/2026) */
.coffre-capsule .logo { height: 34px; }
@media (max-width: 420px) { .coffre-capsule .logo { height: 30px; } }

/* Petits téléphones : les titres de section tiennent sur 2 lignes (Gab 02/12/2026) */
@media (max-width: 420px) {
  .h2, #faq .h2 { font-size: clamp(24px, 7.6vw, 32px); }
  .scene__titre { font-size: clamp(30px, 9.4vw, 40px); }
  .appel h2, #appel h2 { font-size: clamp(28px, 8.6vw, 38px); }
}
/* Scènes : plus d'estompage des chapitres hors écran (comptés comme texte peu contrasté) ; seules les étiquettes et la frise réagissent */
.scene.est-actif .scene__chap { opacity: 1; }
.langue__sep { white-space: pre; margin-inline: -3px; }

/* Menu ouvert sur téléphone : la page ne défile pas derrière */
html.menu-ouvert { overflow: hidden; }
/* Écrans tactiles : pas d'état « survol » qui reste collé après un tap */
@media (hover: none) {
  .theme:hover, .nav a:hover, .burger:hover { background: none; }
  .nav a[aria-current]:hover { background: var(--brume); }
  .metier-ligne:hover:not(:focus-within) .metier-ligne__etq { background-color: transparent; color: inherit; transform: none; }
  .metier-ligne:hover:not(:focus-within) .metier-ligne__etq::before { background: transparent; }
  .metier-ligne:hover:not(:focus-within) .metier-ligne__fleche { color: var(--encre); transform: none; }
  .bouton--plein:hover, .carte:hover { transform: none; }
}

/* FAQ : la carte ouverte déborde vers l'extérieur au lieu de pousser le texte : titres alignés ouverts ou fermés (Gab 02/12/2026) */
.faq details[open] { margin-inline: -18px; }
@media (max-width: 480px) {
  .faq details[open] { margin-inline: -12px; }
  .faq details[open] summary, .faq details[open] p { padding-inline: 12px; }
}

/* Petites transitions entre les pages (navigateurs qui les gèrent ; les autres changent de page normalement). Gab 02/12/2026 */
@view-transition { navigation: auto; }
.coffre-capsule-zone { view-transition-name: entete; }   /* l'en-tête reste en place */
::view-transition-old(root) { animation: vt-sortie .18s cubic-bezier(.4,0,1,1) both; }
::view-transition-new(root) { animation: vt-entree .28s cubic-bezier(.22,1,.36,1) both; }
@keyframes vt-sortie { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-entree { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Relecture Opus (02/12/2026 soir) */
.scene__titre { font-size: clamp(44px, 4.4vw, 68px); }
.scene__titre .balance { white-space: nowrap; }
@media (max-width: 420px) { .scene__titre, .appel h2, .h2 { line-height: 1.15; } }
.scene--methode.est-actif:not([data-pas-actif="0"]) .frise li { opacity: .78; }
.faq details[open] { margin-inline: -16px; }
.faq details[open] summary, .faq details[open] p { padding-inline: 16px; }
@media (max-width: 420px) { .scene__titre { font-size: clamp(28px, 8.6vw, 38px); } }
@media (max-width: 480px) { .faq details[open] { margin-inline: -12px; } .faq details[open] summary, .faq details[open] p { padding-inline: 12px; } }
.rencontre { --p: 1; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 96px); row-gap: 36px; margin-top: clamp(32px, 4vw, 48px); padding-top: 28px; }
.rencontre::before, .rencontre::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; }
.rencontre::before { background: var(--filet, #DCDCE3); }
.rencontre::after { background: var(--indigo); transform: scaleX(var(--p)); transform-origin: left; }
.rencontre__etape h3 { font-size: clamp(22px, 2vw, 28px); margin: 0 0 10px; }
.rencontre__etape p { color: var(--gris); font-size: 17px; max-width: 32ch; }
.rencontre__fin { margin-top: clamp(32px, 4vw, 48px); max-width: 60ch; }
@media (max-width: 760px) { .rencontre { grid-template-columns: minmax(0, 1fr); } }
/* Scène immersive (Gab 02/12/2026) : la section reste fixée à l'écran, le défilement change d'étape et déplace les trois associés sur la carte de France. */
.rencontre__cols { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; margin-top: clamp(24px, 3vw, 40px); }
.rencontre__carte { margin: 0; display: none; }
.rencontre { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 0; }
#rencontre.rencontre-js { height: 420svh; padding-block: 0; }
#rencontre.rencontre-js > .enveloppe { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 96px; padding-bottom: 28px; }
.rencontre-js .rencontre__cols { margin-top: 12px; }
.rencontre-js .rencontre { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
.rencontre-js .rencontre__etape { grid-area: 1 / 1; opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.rencontre-js .rencontre__etape.est-actif { opacity: 1; transform: none; pointer-events: auto; }
.rencontre-js .rencontre__etape h3 { font-size: clamp(30px, 3.9vw, 58px); letter-spacing: -0.045em; line-height: 1.02; margin: 26px 0 16px; }
.rencontre-js .rencontre__etape p { font-size: clamp(17px, 1.5vw, 21px); max-width: 36ch; line-height: 1.5; }
.rencontre__etiq { display: none; list-style: none; flex-wrap: wrap; gap: 8px clamp(14px, 2vw, 28px); margin: 0; padding: 0; font-size: 14px; color: var(--gris); }
.rencontre__etiq li { transition: color .4s ease; max-width: 22ch; }
.rencontre__etiq li.est-actif { color: var(--encre); font-weight: 700; }
.rencontre-js .rencontre__fin { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; margin-top: clamp(16px, 2.4vw, 28px); font-size: clamp(16px, 1.4vw, 19px); }
.rencontre-js .rencontre__fin.est-visible { opacity: 1; transform: none; }
.rencontre-js .rencontre__carte { display: block; }
.rencontre__carte { position: relative; }
.rencontre__carte { position: relative; }
.rencontre__carte { position: relative; }
.rencontre__carte svg { position: relative; z-index: 1; width: 100%; height: min(60svh, 540px); display: block; overflow: hidden; --z: 1; }
.rencontre__nom { position: absolute; z-index: 0; right: 2%; top: 0; text-align: right; font: 700 clamp(64px, 8.5vw, 132px)/.85 var(--titre, Geist, sans-serif); letter-spacing: -0.065em; color: var(--indigo); opacity: .09; pointer-events: none; transition: opacity .6s ease; white-space: nowrap; }
.rencontre__nom.est-change { opacity: 0; }
.rencontre__carte .pts { fill: none; stroke: var(--indigo); stroke-opacity: .2; stroke-width: calc(3.2px / var(--zd, 1)); stroke-linecap: round; }
.rencontre__carte .pts--vif { stroke-opacity: .95; }
.rencontre__carte .guide { fill: none; stroke-width: calc(2.6px / var(--z)); stroke-linecap: round; stroke-dasharray: 0.1 7; opacity: .5; }
.rencontre__carte .trace { fill: none; stroke-width: calc(3.4px / var(--z)); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: opacity .5s ease; }
.rencontre__carte .trace.est-ancien { opacity: .35; }
.rencontre__carte .maison { fill: transparent; stroke: var(--indigo); stroke-width: calc(2.2px / var(--z)); stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s ease, fill .9s ease; }
.rencontre__carte .maison.est-visible { stroke-dashoffset: 0; fill: color-mix(in srgb, var(--indigo) 7%, transparent); }
.rencontre__carte .fil line { stroke: var(--encre); stroke-width: calc(1.6px / var(--z)); }
.rencontre__carte .tag { stroke: none; }
.rencontre__carte .trou { fill: var(--papier); }
.rencontre__carte .bulle text { font: 700 12.5px var(--texte, Geist, sans-serif); letter-spacing: -0.02em; }
/* Pendant la scène épinglée, la barre d'appel mobile cacherait la phrase de fin */
html.rencontre-epingle .barre-mobile { transform: translateY(110%); visibility: hidden; transition: transform .35s cubic-bezier(.22,1,.36,1), visibility 0s .35s; }
.rencontre__carte .bulle { filter: drop-shadow(0 4px 0 rgb(0 0 0 / .16)); }
.rencontre__carte .ville .pt { fill: var(--encre); stroke: var(--papier); stroke-width: 2.5px; }
.rencontre__carte .ville text { font: 700 15px var(--texte, Geist, sans-serif); fill: var(--encre); letter-spacing: -0.02em; paint-order: stroke; stroke: var(--papier); stroke-width: 5px; stroke-linejoin: round; }
.rencontre__carte .ville { opacity: .35; transition: opacity .5s ease; }
.rencontre__carte .ville text { transition: opacity .35s ease; }
.rencontre__carte .ville.est-visible { opacity: 1; }
.rencontre__carte .onde { fill: none; stroke: var(--indigo); stroke-width: 2.5px; opacity: 0; transform-box: fill-box; transform-origin: center; }
.rencontre__carte .onde.joue { animation: onde 1.6s cubic-bezier(.2,.7,.2,1) both; }
.rencontre__carte .onde--2.joue { animation-delay: .25s; }
@keyframes onde { 0% { opacity: .9; transform: scale(.15); } 100% { opacity: 0; transform: scale(1); } }
@media (max-width: 760px), (max-width: 860px) and (orientation: portrait) { /* demi-écran paysage : carte et texte restent côte à côte, sinon la carte devient une bande trop plate */
  .rencontre__cols { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .rencontre-js .rencontre__carte { order: -1; }
  .rencontre-js .rencontre__etape h3 { font-size: clamp(24px, 6.6vw, 32px); margin: 14px 0 8px; }
  .rencontre-js .rencontre__etape p { font-size: 16px; }
  .rencontre__etiq { display: none; }
  #rencontre.rencontre-js > .enveloppe { padding-top: 76px; }
  /* tout doit tenir dans un écran de téléphone, phrase de fin comprise */
  .rencontre__carte svg { height: 38svh; }
  .rencontre-js .rencontre { padding-top: 20px; }
  .rencontre-js .rencontre__fin { margin-top: 12px; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .rencontre__carte svg { height: 30svh; }
}

#rencontre .h2 { font-size: clamp(30px, 3.6vw, 52px); }

.copilote__corps { display: grid; gap: 12px; }
.copilote__corps ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.copilote__corps li { padding-left: 18px; position: relative; }
.copilote__corps li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; background: currentColor; }
.copilote .copilote__note { font-size: 15px; }

.besoins__col li, .carte li { overflow-wrap: anywhere; }

.carte__texte h3 { font-size: clamp(21px, 1.75vw, 25px); line-height: 1.15; }

/* Besoins : trois étiquettes en aplat (pointe à gauche, trou rond), une couleur franche par offre */
.besoins { gap: clamp(12px, 1.6vw, 20px); }
.besoins__col { --pointe: clamp(30px, 3vw, 44px); border-top: 0; position: relative; gap: 18px;
  padding: clamp(28px, 3vw, 40px) clamp(22px, 2.4vw, 32px) clamp(24px, 2.6vw, 32px) calc(var(--pointe) + clamp(26px, 2.6vw, 36px));
  clip-path: polygon(var(--pointe) 0, 100% 0, 100% 100%, var(--pointe) 100%, 0 50%); }
.besoins__col::before { content: ""; position: absolute; left: calc(var(--pointe) * .6); top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--papier); }
.besoins__col:nth-child(1) { background: var(--aplat); color: var(--sur-indigo); }
.besoins__col:nth-child(2) { background: var(--pervenche); color: var(--nuit); } /* nuit reste foncé en mode sombre (encre y devient clair, illisible sur pervenche) */
.besoins__col:nth-child(3) { background: var(--indigo-fonce); color: #fff; }
.besoins__col h3 { font-size: clamp(20px, 1.75vw, 25px); line-height: 1.08; letter-spacing: -.01em; color: inherit; }
.besoins__col ul { gap: 0; }
.besoins__col li { font-size: 18px; line-height: 1.35; padding: 13px 0; border-top: 1px solid rgb(from currentColor r g b / .28); }
.besoins__lien { color: inherit; font-size: 17px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.besoins__lien:hover { text-decoration-thickness: 3px; }

.entonnoir__suite { margin: clamp(20px, 2.4vw, 32px) 0 0; font-size: clamp(20px, 2vw, 28px); font-weight: 600; line-height: 1.25; max-width: 30ch; letter-spacing: -.01em; }
.carte .pour-quoi { color: var(--encre); font-size: 16px; margin-top: -4px; }

#constat .entonnoir__suite { color: #fff; margin-top: clamp(14px, 1.6vw, 22px); font-size: clamp(18px, 1.7vw, 24px); max-width: 24ch; }

/* Passe design offres : scènes colorées par offre, survols, clic besoin -> carte */
.cartes .carte:nth-child(1) .carte__scene { background: var(--aplat); }
.cartes .carte:nth-child(2) .carte__scene { background: var(--pervenche); }
.cartes .carte:nth-child(3) .carte__scene { background: var(--indigo-fonce); }
.cartes .carte { transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s cubic-bezier(.22, 1, .36, 1); scroll-margin-top: 110px; }
@media (hover: hover) { .cartes .carte:hover { transform: translateY(-6px); } .cartes .carte:hover .carte__scene { filter: saturate(1.08); } }
.carte:target { animation: carte-cible 1.6s cubic-bezier(.22, 1, .36, 1); }
@keyframes carte-cible { 0% { box-shadow: 0 0 0 0 rgb(70 73 215 / .55); } 40% { box-shadow: 0 0 0 10px rgb(70 73 215 / .22); } 100% { box-shadow: 0 0 0 0 rgb(70 73 215 / 0); } }
.besoins__col { transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.besoins__col::before { transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.besoins__col li a { color: inherit; text-decoration: none; display: block; }
/* toute la ligne est cliquable (cible tactile ≥ 44 px) : le retrait passe du li au lien */
.besoins__col li { padding: 0; }
.besoins__col li a { padding: 13px 0; }
.besoins__lien { display: inline-block; padding: 10px 0; align-self: flex-start; }
.besoins__col li a:hover, .besoins__col li a:focus-visible { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.besoins__col li a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (hover: hover) { .besoins__col:hover { transform: translateY(-6px); } .besoins__col:hover::before { transform: scale(1.5); } }
@media (prefers-reduced-motion: reduce) { .cartes .carte, .besoins__col, .besoins__col::before { transition: none; } .carte:target { animation: none; } .cartes .carte:hover, .besoins__col:hover { transform: none; } }

/* Surlignage : feutre jaune ou bleu, sous la moitié basse du texte */
mark.surl { background: linear-gradient(transparent 26%, rgb(154 156 246 / .75) 26%, rgb(154 156 246 / .75) 90%, transparent 90%); color: inherit; font-weight: inherit; padding: .08em .14em; margin: 0 -.14em; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
mark.surl--b { background: linear-gradient(transparent 26%, rgb(154 156 246 / .75) 26%, rgb(154 156 246 / .75) 90%, transparent 90%); }
.panneau li:nth-child(even) mark.surl { background: linear-gradient(transparent 26%, rgb(154 156 246 / .7) 26%, rgb(154 156 246 / .7) 90%, transparent 90%); }
.carte .delai b mark.surl { font-weight: 600; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) mark.surl { background: linear-gradient(transparent 26%, rgb(154 156 246 / .55) 26%, rgb(154 156 246 / .55) 90%, transparent 90%); } :root:not([data-theme="light"]) mark.surl--b, :root:not([data-theme="light"]) .panneau li:nth-child(even) mark.surl { background: linear-gradient(transparent 26%, rgb(154 156 246 / .62) 26%, rgb(154 156 246 / .62) 90%, transparent 90%); } }
:root[data-theme="dark"] mark.surl { background: linear-gradient(transparent 26%, rgb(154 156 246 / .55) 26%, rgb(154 156 246 / .55) 90%, transparent 90%); }
:root[data-theme="dark"] mark.surl--b, :root[data-theme="dark"] .panneau li:nth-child(even) mark.surl { background: linear-gradient(transparent 26%, rgb(154 156 246 / .62) 26%, rgb(154 156 246 / .62) 90%, transparent 90%); }

/* Catalogue : une couleur par famille */
#f-0, #p-0 { --fc: var(--indigo); --fct: #fff; }
#f-1, #p-1 { --fc: var(--indigo-fonce); --fct: #fff; }
#f-2, #p-2 { --fc: var(--pervenche); --fct: #111114; }
#f-3, #p-3 { --fc: var(--indigo); --fct: #fff; }
#f-4, #p-4 { --fc: var(--indigo-fonce); --fct: #fff; }
#f-5, #p-5 { --fc: var(--pervenche); --fct: #111114; }
#f-6, #p-6 { --fc: var(--indigo); --fct: #fff; }
.panneau__tete { color: var(--fct, #fff); }
.panneau__tete h3, .panneau__tete .panneau__outils, .panneau__tete .panneau__outils * { color: inherit; }
.panneau__tete .panneau__outils svg { fill: currentColor; }
.familles button[aria-selected="true"] { box-shadow: inset 6px 0 0 var(--fc); }
.familles button:hover { box-shadow: inset 3px 0 0 var(--fc); }
/* Logos du catalogue : même couleur que le texte de l'en-tête (blanc sur indigo, encre sur pervenche) */
.panneau__tete .panneau__outils svg path { fill: currentColor; }

/* Avant/après des pages offres (fond clair) : la colonne « sans nous » en orange, texte gardé lisible.
   L'accueil (.bande--serree) a sa propre version sombre dans accueil-a.css. */
#avant-apres:not(.bande--serree) .duel__sans svg { stroke: var(--orange); }
#avant-apres:not(.bande--serree) .duel__ligne .duel__sans { color: var(--encre); box-shadow: inset 0 0 0 1.5px var(--orange); }
@media (max-width: 760px) { #avant-apres:not(.bande--serree) .duel__ligne .duel__sans { box-shadow: inset 4px 0 0 var(--orange); } }
#avant-apres .milieu-cta { justify-content: flex-start; }
/* Page offres : titre « Quel est votre besoin ? » seul dans sa tête, pas de colonne vide à droite */
.offres__tete:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
/* Maintenance et évolutions, pages offres (#copilote) : même étiquette indigo que l'accueil (accueil-a.css),
   titre à gauche ; texte, liste, tarif et bouton empilés à droite */
#copilote.copilote { --pointe: clamp(36px, 4vw, 64px); margin-top: clamp(40px, 5vw, 64px); border: 0; border-radius: 0 14px 14px 0; background: var(--aplat); color: var(--sur-indigo);
  clip-path: polygon(var(--pointe) 0, 100% 0, 100% 100%, var(--pointe) 100%, 0 50%);
  padding: clamp(28px, 3.6vw, 48px) clamp(24px, 3.6vw, 48px) clamp(28px, 3.6vw, 48px) calc(var(--pointe) + clamp(36px, 4vw, 64px));
  position: relative; grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr); align-items: start; gap: 22px clamp(28px, 4vw, 64px); }
#copilote.copilote::before { content: ""; position: absolute; left: calc(var(--pointe) * .62); top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--papier); }
#copilote.copilote h3 { grid-column: 1; grid-row: 1 / span 2; align-self: center; font-size: clamp(32px, 3.8vw, 56px); }
#copilote .copilote__corps { grid-column: 2; grid-row: 1; max-width: 60ch; }
#copilote.copilote p { color: #fff; }
#copilote mark.surl { background: none; color: inherit; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; padding: 0; margin: 0; }
#copilote.copilote .bouton { grid-column: 2; grid-row: 2; justify-self: start; background: var(--jaune); color: var(--sur-jaune); box-shadow: none; }
#copilote.copilote .bouton:hover { transform: translateY(-2px); }
#copilote.copilote .bouton:focus-visible { outline-color: #fff; }
@media (max-width: 1000px) { #copilote.copilote { grid-template-columns: minmax(0, 1fr); } #copilote.copilote h3, #copilote .copilote__corps, #copilote.copilote .bouton { grid-column: 1; grid-row: auto; } }
@media (max-width: 560px) { #copilote.copilote { --pointe: 26px; padding: 28px 20px 28px calc(var(--pointe) + 22px); } #copilote.copilote::before { width: 12px; height: 12px; margin-top: -6px; left: 10px; } }
/* Héros des pages offres (FR et EN, repérées par le lien #copilote) : étiquettes longues, elles sortaient de l'écran entre 992 et 1300 px */
@media (min-width: 992px) {
  .etiquettes:has(a[href="#copilote"]) .etq { font-size: clamp(20px, 1.8vw, 28px); }
  .etiquettes:has(a[href="#copilote"]) li:nth-child(even) { margin-left: clamp(16px, 2.4vw, 40px); }
}
/* EN, page offres : libellés plus longs. Titre « Maintenance and improvements » sur 2 lignes, étiquette du héros dans l'écran à 375 px */
html[lang="en"] #copilote.copilote h3 { font-size: clamp(30px, 3.3vw, 42px); }
@media (min-width: 992px) { html[lang="en"] .etiquettes:has(a[href="#copilote"]) .etq { font-size: clamp(20px, 1.65vw, 25px); } }
@media (max-width: 480px) { html[lang="en"] .etiquettes:has(a[href="#copilote"]) .etq { font-size: min(20px, 4.5vw); padding-right: 16px; } }
/* phrases de besoin et cartes d'offre : pas de mot seul sur la dernière ligne */
.besoins__col li, .carte__texte p, .carte__texte li { text-wrap: pretty; }
/* En-tête « Situation » aligné sur les intitulés de ligne (qui n'ont plus de retrait au-dessus de 760 px) */
@media (min-width: 761px) { .duel__tete > span:first-child { padding-left: 0; } }

/* Variété d'emphase : feutre bleu, gras souligné indigo, gras, italique. Le jaune reste pour les boutons et les mots clés du héros. */
mark.surl--u, .panneau li:nth-child(even) mark.surl { background: none !important; font-weight: 700; text-decoration: underline; text-decoration-color: var(--indigo); text-decoration-thickness: 2.5px; text-underline-offset: 4px; padding: 0; margin: 0; }
mark.surl--g { background: none !important; font-weight: 700; padding: 0; margin: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) mark.surl--u, :root:not([data-theme="light"]) .panneau li:nth-child(even) mark.surl { text-decoration-color: var(--pervenche); } }
:root[data-theme="dark"] mark.surl--u, :root[data-theme="dark"] .panneau li:nth-child(even) mark.surl { text-decoration-color: var(--pervenche); }
.carte .exemple { font-style: italic; }
.besoins__col li { font-style: italic; }

/* Air sous le titre « Ce qu'on livre, offre par offre » */
.offres__sous { margin-bottom: clamp(32px, 4.5vw, 64px); }

/* Scène équipe : bords de la carte fondus (plus de coupe franche quand la caméra zoome) */
.rencontre__carte svg { --fondu: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: var(--fondu); -webkit-mask-composite: source-in; mask-image: var(--fondu); mask-composite: intersect; } /* fondu sur les quatre bords (l'ancien dégradé radial ne touchait que les coins) */

/* Équipe, demi-écran paysage (761 à 860 px) : le héros garde ses deux colonnes, étiquettes photo fixées à droite, comme sur grand écran */
@media (min-width: 761px) and (max-width: 860px) and (orientation: landscape) {
  #equipe .scene__boite { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; }
  #equipe .scene__tags { position: sticky; top: 0; height: 100svh; order: 0; justify-content: center; padding-top: 0; }
  #equipe .scene__chap { min-height: 92svh; padding-block: 72px; }
  #equipe .scene__chap--intro { min-height: calc(100svh - 86px); padding-top: 24px; }
  #equipe.scene.est-actif .scene__chap:not(.est-courant) { opacity: .22; }
  #equipe .scene__carte { width: 112px; }
  #equipe .scene__carte:nth-child(2) { margin: 56px 0 0 -22px; }
  #equipe .scene__carte:nth-child(3) { margin: 112px 0 0 -22px; }
  #equipe[data-pas-actif="1"] .scene__carte[data-qui="pierre"], #equipe[data-pas-actif="2"] .scene__carte[data-qui="gabin"], #equipe[data-pas-actif="3"] .scene__carte[data-qui="vadim"] { scale: 1.14 !important; translate: 0 -18px !important; }
  #equipe[data-pas-actif="1"] .scene__carte:not([data-qui="pierre"]), #equipe[data-pas-actif="2"] .scene__carte:not([data-qui="gabin"]), #equipe[data-pas-actif="3"] .scene__carte:not([data-qui="vadim"]) { scale: .9 !important; opacity: .35 !important; filter: grayscale(1) !important; }
}

/* Cible tactile du logo de l'en-tête : 44 px de haut sans changer la taille du logo */
.coffre-capsule a.logo { position: relative; }
.coffre-capsule a.logo::after { content: ""; position: absolute; inset: -8px -6px; }

.tuile p, .tuile--chiffre span { font-size: 17px; }

/* Survol : bouton du bloc Maintenance (jaune, il se soulève) et question de FAQ (texte indigo) */
@media (hover: hover) {
  .copilote .bouton:hover { transform: translateY(-2px); }
  .faq summary:hover { color: var(--accent-texte); }
}
@media (hover: hover) and (prefers-reduced-motion: reduce) { .copilote .bouton:hover { transform: none; } }

/* ---------- Fenêtre « échanger » : formulaire de contact (onglets Cal.com ajoutés quand le lien existe) ---------- */
.reservation { width: min(540px, calc(100% - 32px)); height: fit-content; max-height: calc(100% - 32px); overflow: auto; overscroll-behavior: contain; }
.reservation.avec-cal { width: min(960px, calc(100% - 32px)); height: min(760px, calc(100% - 48px)); }
.reservation.avec-cal[open] { display: flex; flex-direction: column; }
.reservation.avec-cal .res-panneau { flex: 1; min-height: 0; overflow: auto; }
.reservation.avec-cal .res-panneau[data-panneau="reserver"] { overflow: hidden; }
.res-onglets { display: flex; gap: 4px; margin: 14px 64px 0 16px; padding: 4px; border-radius: 999px; background: var(--brume); align-self: flex-start; }
.res-onglets[hidden] { display: none; }
.res-onglets button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--encre); font: 600 15px/1 var(--texte); cursor: pointer; }
.res-onglets button[aria-selected="true"] { background: var(--surface); box-shadow: 0 1px 6px rgb(17 17 20 / .14); }
.res-panneau[hidden] { display: none; }
.res-ecrire { padding: 0; background: color-mix(in srgb, var(--indigo) 7%, var(--surface)); }
.res-form { display: block; }
.res-form h2, .res-merci h2 { margin: 0 56px 4px 0; font: 600 clamp(24px, 4.4vw, 30px)/1.15 var(--titre, var(--texte)); text-wrap: balance; }
.res-intro { margin: 0; color: var(--gris); }
.res-form label { margin-top: 8px; font: 600 15px/1.3 var(--texte); }
.res-form input, .res-form textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--filet); border-radius: 12px; background: var(--papier); color: var(--encre); font: 400 16px/1.4 var(--texte); }
.res-form textarea { resize: vertical; min-height: 110px; }
.res-form input:focus-visible, .res-form textarea:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; border-color: transparent; }
.res-form input:user-invalid, .res-form textarea:user-invalid { border-color: var(--corail-texte); }
.res-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.res-legal { margin: 12px 0 8px; color: var(--gris); font-size: 14px; line-height: 1.45; }
.res-legal a { color: var(--accent-texte); text-underline-offset: 3px; }
.res-form .bouton { justify-self: start; }
.res-form .bouton:disabled { opacity: .6; cursor: progress; transform: none; }
.res-etat { margin: 4px 0 0; min-height: 1.4em; color: var(--corail-texte); font-size: 15px; }
.res-merci { display: grid; gap: 10px; justify-items: start; padding: 32px; }
.res-merci[hidden] { display: none; }
.res-merci p { margin: 0 0 8px; }
.res-merci:focus { outline: none; }
@media (max-width: 560px) { .res-tete { padding: 26px 20px 22px; } .res-corps { padding: 20px 20px 24px; } .res-merci { padding: 28px 20px 28px; } .res-form .bouton { justify-self: stretch; justify-content: center; } }
@media (hover: hover) { .res-onglets button:not([aria-selected="true"]):hover { background: rgb(255 255 255 / .55); } }

/* ---------- Formulaire : bandeau coloré, entrée en cascade, envoi et succès animés ---------- */
.res-tete { padding: 34px 32px 26px; background: var(--indigo); color: #fff; }
.res-tete h2 { color: #fff; }
.res-tete .res-intro { color: rgb(255 255 255 / .86); }
.res-corps { display: grid; gap: 6px; padding: 22px 32px 30px; }
.res-form label { color: var(--accent-texte); }
.res-form input, .res-form textarea { background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.res-form input:hover, .res-form textarea:hover { border-color: var(--pervenche); }
.res-form input:focus-visible, .res-form textarea:focus-visible { box-shadow: 0 0 0 5px color-mix(in srgb, var(--pervenche) 38%, transparent); }
.reservation:not(.avec-cal) .reservation__fermer { background: var(--surface); box-shadow: 0 2px 10px rgb(17 17 20 / .18); }

.res-merci { justify-items: center; text-align: center; padding-block: 28px 34px; }
.res-merci h2 { margin: 6px 0 0; }
.res-etq { overflow: visible; margin-bottom: -4px; }
.res-etq__corps path:first-child { fill: var(--indigo); }
.res-trou { fill: color-mix(in srgb, var(--indigo) 7%, var(--surface)); }
.res-ficelle { stroke: var(--gris); stroke-width: 2.5; stroke-linecap: round; }
.res-coche { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.res-onde { fill: none; stroke: var(--pervenche); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
.res-etq__corps { transform-box: view-box; transform-origin: 46px 40px; }

@keyframes res-entree { from { opacity: 0; transform: translateY(22px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes res-fond { from { opacity: 0; } to { opacity: 1; } }
@keyframes res-monte { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes res-pendule { 0% { transform: rotate(-38deg); } 22% { transform: rotate(22deg); } 42% { transform: rotate(-13deg); } 62% { transform: rotate(7deg); } 80% { transform: rotate(-3deg); } 100% { transform: rotate(0); } }
@keyframes res-tombe { from { opacity: 0; transform: translateY(-34px); } to { opacity: 1; transform: none; } }
@keyframes res-trace { to { stroke-dashoffset: 0; } }
@keyframes res-onde { 0% { opacity: .85; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes res-secoue { 0%, 100% { transform: none; } 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
@keyframes res-points { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: scale(1.15); } }

@media (prefers-reduced-motion: no-preference) {
  .reservation[open] { animation: res-entree .45s cubic-bezier(.22, 1, .36, 1) both; }
  .reservation[open]::backdrop { animation: res-fond .35s ease both; }
  .res-form .res-tete > * { animation: res-monte .55s cubic-bezier(.22, 1, .36, 1) both; }
  .res-form .res-tete > .res-intro { animation-delay: .07s; }
  .res-corps > * { animation: res-monte .55s cubic-bezier(.22, 1, .36, 1) both; }
  .res-corps > :nth-child(1) { animation-delay: .12s; } .res-corps > :nth-child(2) { animation-delay: .16s; } .res-corps > :nth-child(3) { animation-delay: .2s; }
  .res-corps > :nth-child(4) { animation-delay: .24s; } .res-corps > :nth-child(5) { animation-delay: .28s; } .res-corps > :nth-child(6) { animation-delay: .32s; }
  .res-corps > :nth-child(n+7) { animation-delay: .36s; }
  .res-form .bouton .fleche { transition: transform .3s cubic-bezier(.22, 1, .36, 1), opacity .2s; }
  .res-form .bouton.en-envoi .fleche { transform: translateX(26px); opacity: 0; }
  .res-form .bouton.en-envoi::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 12px 0 currentColor, 24px 0 currentColor; margin-right: 24px; animation: res-points 1s infinite; }
  .res-etat.secoue { animation: res-secoue .45s ease; }
  .res-merci:not([hidden]) .res-etq { animation: res-tombe .5s cubic-bezier(.22, 1, .36, 1) both; }
  .res-merci:not([hidden]) .res-etq__corps { animation: res-pendule 1.6s cubic-bezier(.3, .6, .4, 1) .1s both; }
  .res-merci:not([hidden]) .res-coche { animation: res-trace .45s ease-out .75s forwards; }
  .res-merci:not([hidden]) .res-onde { animation: res-onde .9s ease-out 1s both; }
  .res-merci:not([hidden]) h2 { animation: res-monte .5s ease-out .55s both; }
  .res-merci:not([hidden]) p { animation: res-monte .5s ease-out .68s both; }
  .res-merci:not([hidden]) .bouton { animation: res-monte .5s ease-out .8s both; }
}
@media (prefers-reduced-motion: reduce) { .res-coche { stroke-dashoffset: 0; } }

/* Mesure du retour de l'IA : ligne de la carte CRM et tableau de bord */
.carte .mesure { color: var(--encre); font-size: 15px; line-height: 1.45; }
