/* ==========================================================================
   CAPENSIA — feuille de style principale
   Direction : tech ultra premium (langage Linear/Vercel)
   Quasi-noir · panneaux de verre · glow violet du logo · Geist / Geist Mono
   ========================================================================== */

:root {
  --fond: #0A0A0F;
  --fond-2: #0E0E16;
  --panneau: rgba(255, 255, 255, 0.03);
  --panneau-2: rgba(255, 255, 255, 0.055);
  --bordure: rgba(255, 255, 255, 0.09);
  --bordure-vive: rgba(255, 255, 255, 0.18);
  --texte: #EDEDF2;
  --texte-2: #A6A6B6;
  --texte-3: #8A8AA0; /* AA 5,9:1 sur --fond ; réserver #71718A au décoratif aria-hidden */
  --texte-deco: #71718A;
  --violet: #8B5CF6;
  --violet-clair: #A78BFA;
  --violet-pale: #C4B5FD;
  --bleu-el: #60A5FA;
  --blanc: #FFFFFF;
  --radius: 8px;
  --largeur: 1120px;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--texte-2);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.12;
  color: var(--texte);
  margin: 0 0 0.6em;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; }

p { margin: 0 0 1em; }

a {
  color: var(--texte);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(139, 92, 246, 0.5);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
a:hover { color: var(--violet-clair); text-decoration-color: var(--violet-clair); }
a, button, summary { cursor: pointer; }

/* Mot-clé en dégradé violet→bleu */
h1 em, h2 em {
  font-style: normal;
  background: linear-gradient(95deg, var(--violet-clair) 10%, var(--bleu-el) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

::selection { background: var(--violet); color: var(--blanc); }

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 3px;
}

.conteneur {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 1.4rem;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.lien-evitement {
  position: absolute; left: -999px; top: 0;
  background: var(--violet); color: var(--blanc);
  padding: 0.6rem 1rem; z-index: 100;
}
.lien-evitement:focus { left: 0; color: var(--blanc); }

/* --------------------------------------------------------------------------
   En-tête — verre sombre
   -------------------------------------------------------------------------- */

.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--bordure);
}

.entete-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}

.logo {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--texte);
  text-decoration: none;
}
.logo .point { color: var(--violet-clair); }
.logo-icone { width: 28px; height: 28px; flex-shrink: 0; object-fit: contain; }

.nav-principale ul {
  display: flex; align-items: center; gap: 1.5rem;
  list-style: none; margin: 0; padding: 0;
}

.nav-principale a {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--texte-2);
  padding: 0.4rem 0;
  transition: color 0.2s ease;
}
.nav-principale a:not(.bouton):hover { color: var(--texte); }
.nav-principale a[aria-current="page"]:not(.bouton) { color: var(--texte); }

.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.72rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bouton-primaire, .bouton-accent {
  background: var(--blanc);
  color: #0A0A0F;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 8px 24px -12px rgba(139, 92, 246, 0.5);
}
.bouton-primaire:hover, .bouton-accent:hover {
  background: #E9E9F0;
  color: #0A0A0F;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15), 0 10px 30px -10px rgba(139, 92, 246, 0.7);
}

.bouton-secondaire {
  background: var(--panneau);
  color: var(--texte);
  border-color: var(--bordure);
}
.bouton-secondaire:hover {
  background: var(--panneau-2);
  border-color: var(--bordure-vive);
  color: var(--texte);
}

.nav-principale a.bouton-primaire { color: #0A0A0F; padding: 0.55rem 1.1rem; font-size: 0.88rem; }
.nav-principale a.bouton-primaire:hover { color: #0A0A0F; }

.burger {
  display: none;
  background: var(--panneau); border: 1px solid var(--bordure); border-radius: var(--radius);
  padding: 0.6rem 0.75rem; cursor: pointer;
  min-width: 44px; min-height: 44px;
}
.burger span {
  display: block; width: 20px; height: 2px; background: var(--texte);
  margin: 4px 0;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 5.5rem 0; position: relative; }
.section-creme { background: var(--fond-2); border-top: 1px solid var(--bordure); border-bottom: 1px solid var(--bordure); }
.section-bleu { background: var(--fond); }
.section-bleu h2, .section-bleu h3 { color: var(--texte); }

.sur-titre {
  display: flex; align-items: center; gap: 0.8rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-clair);
  margin-bottom: 1.2rem;
}
.sur-titre::before {
  content: "";
  width: 1.8rem; height: 1px;
  background: linear-gradient(90deg, var(--violet), transparent);
  flex-shrink: 0;
}

.intro-section { max-width: 42rem; }
.intro-section p { color: var(--texte-2); font-size: 1.08rem; }

/* --------------------------------------------------------------------------
   Hero — centré, glow, grille de points
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 5.5rem 0 5rem;
  background-image:
    radial-gradient(ellipse 50% 45% at 50% -5%, rgba(139, 92, 246, 0.22), transparent 70%),
    radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 26px 26px;
  border-bottom: 1px solid var(--bordure);
  overflow: clip;
}
.hero::after {
  content: "";
  position: absolute; left: 15%; right: 15%; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.6), transparent);
}

.hero-centre {
  display: grid;
  gap: 2.6rem;
  align-items: center;
  text-align: left;
}
@media (min-width: 1000px) {
  .hero-centre { grid-template-columns: 1.05fr 0.95fr; gap: 3.2rem; }
}
.hero-cta { justify-content: flex-start; }

.hero h1 { max-width: 18ch; margin-bottom: 0.45em; }

/* Pill d'annonce — pousse la formation IA en tête */
.annonce {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--texte);
  text-decoration: none;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 999px;
  padding: 0.45rem 1.05rem 0.45rem 0.5rem;
  background: rgba(139, 92, 246, 0.08);
  margin-bottom: 1.8rem;
  overflow: hidden;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.annonce:hover { border-color: rgba(167, 139, 250, 0.8); background: rgba(139, 92, 246, 0.14); color: var(--texte); }
.annonce::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(196, 181, 253, 0.25), transparent);
  transform: skewX(-20deg);
  animation: annonce-brillance 4s ease-in-out infinite;
}
@keyframes annonce-brillance {
  0%, 60% { left: -60%; }
  100% { left: 140%; }
}
.annonce-tag {
  background: linear-gradient(95deg, var(--violet), var(--bleu-el));
  color: var(--blanc);
  border-radius: 999px;
  padding: 0.16rem 0.6rem;
  font-size: 0.68rem;
}
.annonce-fleche { color: var(--violet-clair); transition: transform 0.25s ease; }
.annonce:hover .annonce-fleche { transform: translateX(4px); }

/* Balayage lumineux à l'arrivée */
.hero-beam {
  position: absolute; top: 0; bottom: 0;
  left: -20%;
  width: 18%;
  background: linear-gradient(100deg, transparent, rgba(167, 139, 250, 0.09), rgba(96, 165, 250, 0.05), transparent);
  transform: skewX(-14deg);
  pointer-events: none;
  opacity: 0;
}
body.hero-charge .hero-beam { animation: beam-balaye 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.25s forwards; }
@keyframes beam-balaye {
  0% { left: -20%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 108%; opacity: 0; }
}

/* Le titre arrive mot à mot : translation, bascule 3D et dé-flou */
.hero h1 .mot { display: inline-block; overflow: visible; perspective: 600px; }
html.js .hero h1 .mot-inner {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em) rotateX(38deg);
  filter: blur(7px);
  transition: opacity 0.65s ease, transform 0.75s cubic-bezier(0.2, 1.1, 0.3, 1), filter 0.65s ease;
}
body.hero-charge .hero h1 .mot-inner { opacity: 1; transform: none; filter: none; }
.hero h1 .mot:nth-child(1) .mot-inner { transition-delay: 0.30s; }
.hero h1 .mot:nth-child(3) .mot-inner { transition-delay: 0.44s; }
.hero h1 .mot:nth-child(4) .mot-inner { transition-delay: 0.56s; }
.hero h1 .mot:nth-child(5) .mot-inner { transition-delay: 0.68s; }
.hero p.accroche {
  font-size: 1.08rem; color: var(--texte-2);
  max-width: 40rem; margin-bottom: 0;
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 2rem; }

.badge-qualiopi {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 999px;
  padding: 0.38rem 0.95rem;
  font-family: var(--mono);
  font-weight: 500; color: var(--violet-pale);
  font-size: 0.76rem; letter-spacing: 0.04em;
  background: rgba(139, 92, 246, 0.08);
  margin-bottom: 1.6rem;
}
.badge-qualiopi::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet-clair); flex-shrink: 0;
  box-shadow: 0 0 10px 2px rgba(167, 139, 250, 0.7);
  animation: pulse-pastille 2.6s ease-in-out infinite;
}
@keyframes pulse-pastille {
  0%, 100% { box-shadow: 0 0 6px 1px rgba(167, 139, 250, 0.5); }
  50% { box-shadow: 0 0 14px 4px rgba(167, 139, 250, 0.85); }
}

.mention-declaration {
  margin: 2.2rem 0 0;
  font-size: 0.8rem;
  color: var(--texte-3);
}

/* Entrée orchestrée : annonce → titre mot à mot → accroche/CTA,
   le tunnel arrive tôt (c'est lui qui capte le lead).
   Le h1 est exclu : ce sont ses mots qui animent individuellement. */
html.js .hero-texte > *:not(h1),
html.js .hero-centre > .tunnel {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(5px);
  transition: opacity 0.65s ease, transform 0.65s ease, filter 0.65s ease;
}
.hero-texte > .annonce { transition-delay: 0.05s; }
.hero-texte > .accroche { transition-delay: 0.55s; }
.hero-texte > .hero-cta { transition-delay: 0.7s; }
.hero-texte > .mention-declaration { transition-delay: 1.1s; }
.hero-centre > .tunnel { transition-delay: 0.35s; }
body.hero-charge .hero-texte > *:not(h1),
body.hero-charge .hero-centre > .tunnel {
  opacity: 1; transform: none; filter: none;
}

/* --------------------------------------------------------------------------
   Studio de conception — l'interface se construit sous le curseur
   Timeline commune : 14 s en boucle
   -------------------------------------------------------------------------- */

.atelier {
  position: relative;
  width: min(38rem, 100%);
  margin-top: 3.2rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--bordure);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.12),
    0 34px 80px -34px rgba(139, 92, 246, 0.45),
    0 20px 50px -20px rgba(0, 0, 0, 0.8);
  text-align: left;
  overflow: hidden;
}
.atelier::before {
  content: "";
  position: absolute; top: -1px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 181, 253, 0.8), transparent);
}

.atelier-barre {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1.05rem;
  border-bottom: 1px solid var(--bordure);
}
.atelier-barre > span:not(.atelier-titre):not(.atelier-mode) {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.atelier-titre {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--texte-deco);
  margin-left: 0.5rem;
  letter-spacing: 0.04em;
}
.atelier-mode {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--violet-clair);
  margin-left: auto;
  padding: 0.15rem 0.55rem;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.08);
}

/* La scène : session de formation IA en direct (pilotée par site.js) */
.atelier-corps {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0.9rem;
  padding: 1rem;
  text-align: left;
}

.atelier-live {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet-clair);
  margin-right: 0.45rem;
  box-shadow: 0 0 8px 2px rgba(167, 139, 250, 0.6);
  animation: live-pulse 2.2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 5px 1px rgba(167, 139, 250, 0.4); }
  50% { box-shadow: 0 0 11px 3px rgba(167, 139, 250, 0.8); }
}

/* Conversation */
.chat {
  display: flex; flex-direction: column; gap: 0.7rem;
  min-height: 275px;
}
.msg p { margin: 0; font-size: 0.85rem; line-height: 1.55; }
.msg-user {
  align-self: flex-end;
  max-width: 88%;
  background: linear-gradient(120deg, var(--violet), var(--bleu-el) 160%);
  color: var(--blanc);
  padding: 0.6rem 0.85rem;
  border-radius: 12px 12px 3px 12px;
}
.msg-user p { color: var(--blanc); }
.msg-ia {
  align-self: flex-start;
  display: flex; gap: 0.55rem;
  max-width: 94%;
}
.msg-avatar {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: var(--violet-pale);
  font-size: 0.8rem;
}
.msg-ia .bulle {
  background: var(--panneau-2);
  border: 1px solid var(--bordure);
  padding: 0.6rem 0.85rem;
  border-radius: 3px 12px 12px 12px;
}
.msg-ia .bulle p { color: var(--texte-2); }

/* Curseur de frappe */
.caret {
  display: inline-block;
  width: 2px; height: 1em;
  background: var(--violet-clair);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: caret-clignote 0.85s steps(2) infinite;
}
@keyframes caret-clignote { 50% { opacity: 0; } }

/* Les réflexes enseignés */
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.1rem; }
.chip {
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--violet-pale);
  border: 1px solid rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.08);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Panneau latéral */
.side { display: flex; flex-direction: column; gap: 0.7rem; }
.side-carte {
  border: 1px solid var(--bordure);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.8rem 0.9rem;
}
.ac-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--texte-3);
  margin-bottom: 0.55rem;
}
.ac-barres {
  display: flex; align-items: flex-end; gap: 0.45rem;
  height: 58px;
}
.ac-modele {
  flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 0.3rem;
  height: 100%;
  min-width: 0;
}
.ac-nom {
  font-family: var(--mono);
  font-size: 0.53rem;
  color: var(--texte-deco);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ac-barre {
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--violet-clair), var(--violet));
  transform-origin: bottom;
  transform: scaleY(1);
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}
.jauge {
  display: block; height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px; overflow: hidden;
}
.jauge-r {
  display: block; height: 100%; width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--bleu-el));
  transition: width 0.4s ease;
}
.side-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--violet-pale);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 999px;
  padding: 0.32rem 0.8rem;
  background: rgba(139, 92, 246, 0.1);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.side-pastille {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet-clair);
  box-shadow: 0 0 10px 2px rgba(167, 139, 250, 0.7);
}

/* États initiaux quand le moteur JS anime (classe posée par site.js) */
.atelier-anime .chip { opacity: 0; transform: scale(0.92); }
.atelier-anime .chip.on { opacity: 1; transform: none; }
.atelier-anime .ac-barre { transform: scaleY(0); }
.atelier-anime .ac-barre.on { transform: scaleY(1); }
.atelier-anime .side-badge { opacity: 0; transform: translateY(6px); }
.atelier-anime .side-badge.on { opacity: 1; transform: none; }
/* --------------------------------------------------------------------------
   Scrollytelling 3D — le parcours en couches
   La scène est épinglée pendant 440vh ; le moteur JS pilote la pile.
   -------------------------------------------------------------------------- */

.voyage-piste { height: 440vh; }
.voyage-sticky {
  position: sticky; top: 0;
  height: 100vh;
  display: flex; align-items: center;
  overflow: clip;
  border-bottom: 1px solid var(--bordure);
  background-image: radial-gradient(ellipse 45% 55% at 78% 50%, rgba(139, 92, 246, 0.12), transparent 70%);
}

.voyage-grille {
  display: grid;
  grid-template-columns: minmax(0, 26rem) 1fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
}

.voyage-texte h2 { margin-bottom: 1.6rem; }

.voyage-etapes { position: relative; min-height: 11rem; }
.v-etape {
  position: absolute; inset: 0;
  opacity: 0;
  transform: translateY(14px);
  /* Sortie rapide, entrée retardée : les deux textes superposés ne sont jamais lisibles en même temps */
  transition: opacity 0.16s ease, transform 0.16s ease;
  pointer-events: none;
}
.v-etape.active {
  opacity: 1; transform: none;
  transition: opacity 0.38s ease 0.14s, transform 0.38s ease 0.14s;
}
.v-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--violet-clair);
  letter-spacing: 0.08em;
}
.v-etape h3 { margin: 0.4rem 0 0.5rem; font-size: 1.35rem; }
.v-etape p { color: var(--texte-2); font-size: 0.98rem; margin: 0; max-width: 24rem; }

.voyage-rail { display: flex; gap: 0.5rem; margin-top: 1.6rem; }
.v-point {
  width: 26px; height: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  transition: background-color 0.3s ease;
}
.v-point.active { background: var(--violet-clair); box-shadow: 0 0 12px rgba(167, 139, 250, 0.6); }

.voyage-final {
  margin-top: 1.8rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.voyage-final.visible { opacity: 1; transform: none; pointer-events: auto; }
.voyage-final p { color: var(--texte-2); font-size: 0.98rem; max-width: 24rem; }

/* La scène */
.voyage-scene {
  perspective: 1300px;
  display: flex; align-items: center; justify-content: center;
  min-height: 460px;
}
.pile {
  position: relative;
  width: min(340px, 90%);
  height: 210px;
  transform-style: preserve-3d;
  transform: rotateX(56deg) rotateZ(-10deg);
  will-change: transform;
}
.couche {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  background: linear-gradient(180deg, rgba(20, 20, 30, 0.92), rgba(14, 14, 22, 0.95));
  border: 1px solid var(--bordure);
  border-radius: 14px;
  padding: 1.05rem 1.15rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}
.couche.active {
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.25),
    0 0 50px -8px rgba(139, 92, 246, 0.45),
    0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
/* État sans JS / par défaut : léger éventail statique */
.couche:nth-child(1) { transform: translateZ(-54px); }
.couche:nth-child(2) { transform: translateZ(-18px); }
.couche:nth-child(3) { transform: translateZ(18px); }
.couche:nth-child(4) { transform: translateZ(54px); }

.c-label {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-clair);
  margin-bottom: 0.2rem;
}
.c-mono {
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--texte-deco);
  margin-top: auto;
}
.c-barre {
  display: block; height: 7px; border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), rgba(96, 165, 250, 0.8));
  opacity: 0.85;
}
.c-tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; flex: 1; }
.c-tuile {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 0.72rem; color: var(--texte-2);
  border: 1px solid var(--bordure); border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}
.c-ligne {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--mono); font-size: 0.74rem; color: var(--texte-2);
  padding: 0.3rem 0;
}
.c-coche {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--violet-clair);
  position: relative; flex-shrink: 0;
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.5);
}
.c-coche::after {
  content: "";
  position: absolute; left: 4.5px; top: 2.5px;
  width: 3px; height: 7px;
  border-right: 1.6px solid #0A0A0F;
  border-bottom: 1.6px solid #0A0A0F;
  transform: rotate(45deg);
}
.c-sceau {
  width: 52px; height: 52px; border-radius: 50%;
  margin: 0.3rem auto;
  border: 2px solid var(--violet-clair);
  background: radial-gradient(circle at 50% 40%, rgba(167, 139, 250, 0.35), rgba(139, 92, 246, 0.08));
  box-shadow: 0 0 24px rgba(167, 139, 250, 0.5);
  position: relative;
}
.c-sceau::after {
  content: "";
  position: absolute; left: 18px; top: 13px;
  width: 10px; height: 19px;
  border-right: 3px solid var(--violet-pale);
  border-bottom: 3px solid var(--violet-pale);
  transform: rotate(45deg);
}

/* Fallback : mobile et animations réduites — pas de pin, tout visible */
@media (max-width: 700px) {
  .voyage-piste { height: auto; }
  .voyage-sticky { position: static; height: auto; padding: 3.4rem 0; }
  .voyage-grille { grid-template-columns: 1fr; gap: 2.4rem; }
  .voyage-etapes { min-height: 0; display: grid; gap: 1.5rem; }
  .v-etape { position: static; opacity: 1; transform: none; pointer-events: auto; }
  .voyage-rail { display: none; }
  .voyage-final { opacity: 1; transform: none; pointer-events: auto; }
  .voyage-scene { min-height: 320px; }
  .pile { transform: rotateX(50deg) rotateZ(-8deg) scale(0.85); }
}

@media (prefers-reduced-motion: reduce) {
  .voyage-piste { height: auto !important; }
  .voyage-sticky { position: static !important; height: auto !important; padding: 3.4rem 0; }
  .voyage-etapes { min-height: 0; display: grid; gap: 1.5rem; }
  .v-etape { position: static; opacity: 1 !important; transform: none !important; pointer-events: auto; transition: none !important; }
  .voyage-rail { display: none; }
  .voyage-final { opacity: 1 !important; transform: none !important; pointer-events: auto; transition: none !important; }
  .pile, .couche { transition: none !important; }
}

/* --------------------------------------------------------------------------
   Grilles et cartes — panneaux de verre
   -------------------------------------------------------------------------- */

.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.grille-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.grille-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }

.grille-3.poles { counter-reset: pole; }
.carte-pole {
  counter-increment: pole;
  position: relative;
  background: var(--panneau);
  padding: 1.9rem 1.7rem 1.7rem;
  border: 1px solid var(--bordure);
  border-radius: 12px;
  display: flex; flex-direction: column;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.carte-pole:hover {
  border-color: rgba(139, 92, 246, 0.4);
  background: var(--panneau-2);
  box-shadow: 0 0 40px -18px rgba(139, 92, 246, 0.5);
}
.carte-pole::before {
  content: "0" counter(pole);
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--violet-clair);
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
}
.carte-pole h3 { color: var(--texte); }
.carte-pole p { color: var(--texte-2); font-size: 0.95rem; flex-grow: 1; }
.carte-pole .lien-pole {
  font-weight: 500; font-size: 0.9rem; text-decoration: none;
  color: var(--texte); width: fit-content;
}
.carte-pole .lien-pole::after {
  content: "\2192";
  display: inline-block;
  margin-left: 0.4rem;
  transition: transform 0.2s ease;
  color: var(--violet-clair);
}
.carte-pole .lien-pole:hover { color: var(--violet-clair); }
.carte-pole .lien-pole:hover::after { transform: translateX(4px); }

.icone-pole { display: none; }

/* Situations — panneaux citation */
.grille-2.situations { gap: 1.2rem; }
.situation {
  background: var(--panneau);
  border: 1px solid var(--bordure);
  border-radius: 12px;
  padding: 1.6rem 1.7rem;
  transition: border-color 0.25s ease;
}
.situation:hover { border-color: var(--bordure-vive); }
.situation p {
  margin: 0;
  color: var(--texte);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.5;
}
.situation .contexte {
  display: block;
  font-size: 0.88rem; color: var(--texte-3); margin-top: 0.55rem;
}

/* Méthode : étapes numérotées */
.etapes { list-style: none; margin: 0; padding: 0; counter-reset: etape; }
.etapes li {
  counter-increment: etape;
  display: flex; gap: 1.6rem; align-items: baseline;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--bordure);
}
.etapes li:last-child { border-bottom: none; }
.etapes li::before {
  content: counter(etape, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--violet-clair);
  min-width: 2.2rem;
}
.etapes strong {
  color: var(--texte); font-weight: 600;
  font-size: 1.12rem; display: block; margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}
.etapes p { margin: 0; color: var(--texte-2); font-size: 0.95rem; }

/* Listes de prestations */
.liste-prestations { list-style: none; margin: 0; padding: 0; }
.liste-prestations li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.6rem;
  color: var(--texte-2);
}
.liste-prestations li::before {
  content: "";
  position: absolute; left: 0; top: 1.05em;
  width: 0.8rem; height: 1px;
  background: var(--violet);
}

/* Blocs détaillés des pages d'offre */
.bloc-offre {
  padding: 2.3rem 0;
  border-top: 1px solid var(--bordure);
  display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 2.4rem;
}
.bloc-offre:last-of-type { border-bottom: 1px solid var(--bordure); }
.bloc-offre h3 { margin-bottom: 0.4rem; }
.bloc-offre .resume { color: var(--texte-3); font-size: 0.95rem; margin: 0; }

/* Interventions types */
.cas {
  background: var(--panneau);
  border: 1px solid var(--bordure);
  border-radius: 12px;
  padding: 1.7rem 1.6rem;
  transition: border-color 0.25s ease;
}
.cas:hover { border-color: rgba(139, 92, 246, 0.4); }
.cas h3 { font-size: 1.08rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--bordure); color: var(--texte); }
.cas dl { margin: 0; }
.cas dt {
  font-family: var(--mono);
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--violet-clair);
  margin-top: 1rem;
}
.cas dd { margin: 0.25rem 0 0; color: var(--texte-2); font-size: 0.92rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--bordure); }
.faq details:first-of-type { border-top: 1px solid var(--bordure); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.3rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--texte);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.faq summary:hover { color: var(--violet-clair); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+" / "";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--violet-clair);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-reponse { padding: 0 0 1.4rem; color: var(--texte-2); max-width: 48rem; font-size: 0.96rem; }
.faq .faq-reponse p { margin-bottom: 0.6em; }

/* Preuve / conformité */
.preuves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.preuve {
  background: var(--panneau);
  border: 1px solid var(--bordure);
  border-radius: 12px;
  padding: 1.7rem 1.6rem;
}
.preuve h3 { font-size: 1.05rem; color: var(--texte); }
.preuve p { color: var(--texte-2); font-size: 0.92rem; margin: 0; }

/* Domaines d'expertise */
.domaines { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.domaine {
  border: 1px solid var(--bordure);
  border-radius: 999px;
  padding: 0.45rem 1.05rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--texte-2);
  background: var(--panneau);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.domaine:hover { border-color: rgba(139, 92, 246, 0.45); color: var(--texte); }

/* --------------------------------------------------------------------------
   CTA final — panneau glow
   -------------------------------------------------------------------------- */

.cta-final {
  padding: 5.5rem 0;
  position: relative;
  background-image: radial-gradient(ellipse 45% 60% at 50% 110%, rgba(139, 92, 246, 0.18), transparent 70%);
  border-top: 1px solid var(--bordure);
}
.cta-final h2 { color: var(--texte); }
.cta-final p { color: var(--texte-2); max-width: 36rem; }
.cta-final-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: start; }

.cta-final .badge-qualiopi { margin-bottom: 0; margin-top: 1.4rem; }

.cta-final .formulaire {
  background: var(--panneau);
  border: 1px solid var(--bordure);
  border-radius: 14px;
  padding: 1.8rem;
  position: relative;
}
.cta-final .formulaire::before {
  content: "";
  position: absolute; top: -1px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 181, 253, 0.7), transparent);
}

/* --------------------------------------------------------------------------
   Formulaires
   -------------------------------------------------------------------------- */

.formulaire { display: grid; gap: 1.05rem; }
.champ label { display: block; font-weight: 500; font-size: 0.88rem; margin-bottom: 0.35rem; color: var(--texte); }
.champ input, .champ select, .champ textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--texte);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.champ input::placeholder, .champ textarea::placeholder { color: var(--texte-3); }
.champ select { color: var(--texte); }
.champ select option { background: var(--fond-2); color: var(--texte); }
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: 2px solid var(--violet); outline-offset: 1px;
  border-color: var(--violet);
  background: rgba(255, 255, 255, 0.06);
}
.champ .erreur-champ { display: none; color: #F87171; font-size: 0.84rem; margin-top: 0.3rem; }
.champ.invalide input, .champ.invalide select, .champ.invalide textarea { border-color: #F87171; }
.champ.invalide .erreur-champ { display: block; }

.micro-reassurance {
  margin: -0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--texte-3);
}

.confirmation-envoi {
  display: none;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  background: rgba(139, 92, 246, 0.08);
  color: var(--texte);
}
.confirmation-envoi.visible { display: block; }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */

.pied {
  border-top: 1px solid var(--bordure);
  color: var(--texte-3);
  padding: 3.6rem 0 2rem;
  font-size: 0.9rem;
  background: var(--fond);
}
.pied a { color: var(--texte-2); text-decoration: none; }
.pied a:hover { color: var(--texte); }
.pied h3 {
  color: var(--texte);
  font-family: var(--mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 0.55rem; }
.pied .logo { color: var(--texte); }
.mention-legale-pied {
  margin-top: 2.6rem; padding-top: 1.5rem;
  border-top: 1px solid var(--bordure);
  font-size: 0.82rem; color: var(--texte-3);
}
.mention-legale-pied a { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Pages intérieures
   -------------------------------------------------------------------------- */

.hero-page {
  position: relative;
  padding: 4.2rem 0 3.8rem;
  border-bottom: 1px solid var(--bordure);
  background-image:
    radial-gradient(ellipse 45% 60% at 75% -10%, rgba(139, 92, 246, 0.14), transparent 70%),
    radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 26px 26px;
}
.hero-page h1 { max-width: 26ch; font-size: clamp(2rem, 4vw, 3.1rem); }
.hero-page .fil-ariane {
  font-family: var(--mono);
  font-size: 0.72rem; color: var(--texte-3); margin-bottom: 1.4rem;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.hero-page .fil-ariane a { color: var(--texte-3); text-decoration: none; }
.hero-page .fil-ariane a:hover { color: var(--texte-2); }
.hero-page p.accroche { font-size: 1.08rem; color: var(--texte-2); max-width: 42rem; }

.prose { max-width: 44rem; }
.prose h2 { margin-top: 2.3em; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.45rem; }
.prose strong { color: var(--texte); }

.article-meta {
  font-family: var(--mono);
  font-size: 0.72rem; color: var(--texte-3); margin-bottom: 2rem;
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500;
}

.carte-article {
  background: var(--panneau);
  border: 1px solid var(--bordure);
  border-radius: 12px;
  padding: 1.7rem 1.6rem;
  display: flex; flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.carte-article:hover {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 40px -18px rgba(139, 92, 246, 0.4);
}
.carte-article .theme {
  font-family: var(--mono);
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--violet-clair);
  margin-bottom: 0.7rem;
}
.carte-article h3 { font-size: 1.12rem; }
.carte-article h3 a { text-decoration: none; color: var(--texte); }
.carte-article h3 a:hover { color: var(--violet-clair); }
.carte-article p { color: var(--texte-2); font-size: 0.92rem; flex-grow: 1; }
.carte-article > a { font-weight: 500; font-size: 0.9rem; }

/* Encadré */
.encadre {
  border: 1px solid var(--bordure);
  border-left: 2px solid var(--violet);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  background: var(--panneau);
  margin: 1.8rem 0;
}
.encadre p:last-child { margin-bottom: 0; }
.encadre strong { color: var(--texte); }

/* Tableaux */
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--bordure); }
th { color: var(--texte); font-weight: 600; background: var(--panneau); }

/* --------------------------------------------------------------------------
   Apparitions au scroll
   -------------------------------------------------------------------------- */

/* :not(.visible) garantit que la révélation gagne toujours sur le masquage */
html.js .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(10px);
}
.reveal { transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-centre > * { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .hero h1 .mot-inner { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .hero-beam { display: none; }
  .annonce::after { animation: none !important; display: none; }
  .badge-qualiopi::before { animation: none !important; }
  /* Atelier IA figé sur l'état complet (le moteur JS ne tourne pas) */
  .atelier-live, .caret { animation: none !important; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .grille-3, .grille-4, .preuves { grid-template-columns: repeat(2, 1fr); }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .bloc-offre { grid-template-columns: 1fr; gap: 0.9rem; }
  .cta-final-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* La nav complète a besoin de large : burger dès 990px */
@media (max-width: 990px) {
  .burger { display: block; }
  .nav-principale {
    position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(10, 10, 15, 0.97);
    border-bottom: 1px solid var(--bordure);
    display: none;
    padding: 1.1rem 1.4rem 1.5rem;
  }
  .nav-principale.ouverte { display: block; }
  .nav-principale ul { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 700px) {
  .grille-2, .grille-3, .grille-4, .preuves { grid-template-columns: 1fr; }
  .section { padding: 3.4rem 0; }
  .hero { padding: 3.8rem 0 3.2rem; }
  .pied-grille { grid-template-columns: 1fr; gap: 1.8rem; }
  .atelier-corps { grid-template-columns: 1fr; }
  .chat { min-height: 220px; }
}

/* --------------------------------------------------------------------------
   Sans JavaScript : tout le contenu reste visible et le voyage s'affiche à plat
   -------------------------------------------------------------------------- */
html:not(.js) .voyage-piste { height: auto; }
html:not(.js) .voyage-sticky { position: static; height: auto; padding: 3.4rem 0; }
html:not(.js) .voyage-etapes { min-height: 0; display: grid; gap: 1.5rem; }
html:not(.js) .v-etape { position: static; opacity: 1; transform: none; pointer-events: auto; }
html:not(.js) .voyage-rail { display: none; }
html:not(.js) .voyage-final { opacity: 1; transform: none; pointer-events: auto; }

/* --------------------------------------------------------------------------
   Cinématique three.js — greffée sur la section .voyage quand disponible
   -------------------------------------------------------------------------- */
.cine-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.voyage-3d .voyage-scene { display: none; }
.voyage-3d .voyage-grille {
  position: relative; z-index: 1;
  grid-template-columns: minmax(0, 27rem) 1fr;
}
.voyage-3d .voyage-texte {
  background: linear-gradient(90deg, rgba(10, 10, 15, 0.72), transparent);
  border-radius: 14px;
  padding: 1.4rem;
  margin-left: -1.4rem;
  backdrop-filter: blur(2px);
}

/* --------------------------------------------------------------------------
   Tunnel d'acquisition — qualificateur en 4 étapes
   -------------------------------------------------------------------------- */

.tunnel {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--bordure);
  border-radius: 14px;
  padding: 1.5rem 1.5rem 1.2rem;
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.12),
    0 30px 70px -30px rgba(139, 92, 246, 0.4),
    0 20px 50px -20px rgba(0, 0, 0, 0.8);
  text-align: left;
}
.tunnel::before {
  content: "";
  position: absolute; top: -1px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 181, 253, 0.8), transparent);
}

.tunnel-titre {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--texte);
  letter-spacing: -0.01em;
}
.tunnel-sous {
  margin: 0.2rem 0 0.9rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--texte-3);
}
.tunnel-progres {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.1rem;
}
.tunnel-progres-r {
  display: block; height: 100%; width: 25%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--bleu-el));
  transition: width 0.35s ease;
}

.tunnel-form { position: relative; }
.pot-de-miel { position: absolute; left: -9999px; opacity: 0; height: 0; }

.t-etape { display: none; border: 0; padding: 0; margin: 0; }
.t-etape.active { display: block; animation: t-entre 0.3s ease; }
@keyframes t-entre {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: none; }
}
.t-etape legend {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--texte);
  margin-bottom: 0.8rem;
  padding: 0;
}
.t-options { display: grid; gap: 0.5rem; }
.t-option {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: left;
  color: var(--texte-2);
  background: var(--panneau);
  border: 1px solid var(--bordure);
  border-radius: 9px;
  padding: 0.72rem 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.t-option::after {
  content: "\2192";
  color: var(--violet-clair);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.t-option:hover, .t-option:focus-visible {
  border-color: rgba(139, 92, 246, 0.55);
  background: rgba(139, 92, 246, 0.08);
  color: var(--texte);
}
.t-option:hover::after { opacity: 1; transform: translateX(2px); }
.t-option.choisi {
  border-color: var(--violet-clair);
  background: rgba(139, 92, 246, 0.14);
  color: var(--texte);
}

.t-optionnel { font-weight: 400; color: var(--texte-3); font-size: 0.8rem; }
.t-etape .champ { margin-bottom: 0.75rem; }
.t-etape .bouton { width: 100%; margin-top: 0.3rem; }
.t-erreur { color: #F87171; font-size: 0.86rem; margin: 0.6rem 0 0; }

.t-retour {
  margin-top: 0.9rem;
  background: none; border: 0; padding: 0.2rem 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--texte-3);
  cursor: pointer;
}
.t-retour:hover { color: var(--texte-2); }

.t-confirmation {
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 9px;
  padding: 1.2rem 1.3rem;
  background: rgba(139, 92, 246, 0.08);
  color: var(--texte);
}
.t-confirmation p { margin: 0 0 0.4rem; }
.t-confirmation p:last-child { margin: 0; }

.tunnel-badges {
  margin: 1.1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--texte-3);
  line-height: 1.8;
}

/* Consentement au rappel */
.t-check {
  display: flex; align-items: flex-start; gap: 0.55rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--texte-3);
  font-weight: 400;
  cursor: pointer;
}
.t-check input {
  width: auto;
  margin-top: 0.2rem;
  accent-color: var(--violet);
  flex-shrink: 0;
}
.t-check a { color: var(--texte-2); }
