/* eMovie — feuille de style du site
   Charte : Nuit #0D0F16 · Encre #14161E · Brume #F5F6F9 · dégradé Lagon #0A72F5 → #2EE0C4
   Titres : Archivo étendue (wdth 125) · Textes : Instrument Sans
   Effet « verre liquide » inspiré d'iOS 26, transitions de pages via View Transitions. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@view-transition { navigation: auto; }

:root {
  --nuit: #0D0F16;
  --nuit-2: #151823;
  --encre: #14161E;
  --brume: #F5F6F9;
  --blanc: #FFFFFF;
  --gris: #5D6275;
  --gris-clair: #A3A8B8;
  --ligne: #E3E6EE;
  --lagon-1: #0A72F5;
  --lagon-2: #2EE0C4;
  --degrade: linear-gradient(120deg, var(--lagon-1), var(--lagon-2));

  --f-titre: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-texte: "Instrument Sans", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --rayon: 22px;
  --rayon-s: 14px;
  --largeur: 1180px;
  --gouttiere: clamp(16px, 4vw, 40px);

  /* verre */
  --verre-sombre: rgba(255, 255, 255, 0.07);
  --verre-sombre-bord: rgba(255, 255, 255, 0.16);
  --verre-clair: rgba(255, 255, 255, 0.62);
  --verre-clair-bord: rgba(255, 255, 255, 0.85);
  --flou: blur(18px) saturate(170%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--brume);
  color: var(--encre);
  font-family: var(--f-texte);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lagon-1); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: var(--f-titre);
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(38px, 6.2vw, 72px); }
h2 { font-size: clamp(27px, 3.6vw, 42px); }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0; }

.conteneur { max-width: var(--largeur); margin: 0 auto; padding-inline: var(--gouttiere); }
.degrade-texte { background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.surtitre {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--lagon-1);
}
.sombre .surtitre { color: var(--lagon-2); }
.chapo { font-size: clamp(17px, 1.6vw, 20px); color: var(--gris); max-width: 58ch; }
.sombre .chapo { color: var(--gris-clair); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 600 15px/1 var(--f-texte); text-decoration: none; cursor: pointer; border: 0;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background-color .25s;
}
.btn:active { transform: scale(.97); }
.btn-primaire { background: var(--degrade); color: var(--nuit); box-shadow: 0 10px 30px -10px rgba(10,114,245,.7); }
.btn-primaire:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(46,224,196,.75); }
.btn-verre {
  color: var(--blanc);
  background: var(--verre-sombre);
  border: 1px solid var(--verre-sombre-bord);
  -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-verre:hover { background: rgba(255,255,255,.14); }
.btn-clair { background: var(--encre); color: var(--blanc); }

/* ---------- Navigation capsule en verre ---------- */
.nav {
  position: fixed; z-index: 50; left: 50%; transform: translateX(-50%);
  top: calc(14px + env(safe-area-inset-top, 0px));
  width: min(calc(100% - 2 * var(--gouttiere)), 980px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  background: rgba(13, 15, 22, 0.42);
  border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 12px 40px -18px rgba(0,0,0,.55);
  transition: width .45s cubic-bezier(.2,.8,.2,1), padding .45s, background .45s, top .45s;
  view-transition-name: nav;
}
.nav::before { /* reflet lumineux */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 55%);
  mask: linear-gradient(#000, transparent 70%);
}
.nav.reduit { width: min(calc(100% - 2 * var(--gouttiere)), 860px); top: calc(10px + env(safe-area-inset-top, 0px)); background: rgba(13,15,22,.62); }
.nav-logo { display: flex; align-items: center; view-transition-name: logo; }
.nav-logo img { height: 24px; width: auto; }
.nav-liens { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-liens a {
  display: block; padding: 9px 14px; border-radius: 999px; text-decoration: none;
  color: rgba(255,255,255,.82); font-size: 14.5px; font-weight: 500; transition: background .2s, color .2s;
}
.nav-liens a:hover { background: rgba(255,255,255,.1); color: var(--blanc); }
.nav-liens a[aria-current="page"] { background: rgba(255,255,255,.14); color: var(--blanc); }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }
.nav-burger { display: none; }

@media (max-width: 860px) {
  .nav { padding: 8px 8px 8px 18px; }
  .nav-liens, .nav .btn-nav { display: none; }
  .nav-burger {
    display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
    border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: var(--blanc); cursor: pointer;
  }
  .nav.ouvert { border-radius: 28px; flex-wrap: wrap; padding-bottom: 16px; background: rgba(13,15,22,.78); }
  .nav.ouvert .nav-liens { display: flex; flex-direction: column; width: 100%; order: 3; padding-top: 8px; }
  .nav.ouvert .nav-liens a { font-size: 17px; padding: 12px 14px; }
  .nav.ouvert .btn-nav { display: inline-flex; order: 4; width: 100%; margin-top: 8px; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.bloc { padding-block: clamp(72px, 10vw, 128px); }
.sombre { background: var(--nuit); color: var(--blanc); }
.entete-bloc { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }

/* ---------- Haut de page ---------- */
.hero {
  min-height: min(92vh, 860px);
  display: flex; align-items: center; overflow: hidden;
  padding-block: calc(120px + env(safe-area-inset-top, 0px)) 80px;
}
.hero canvas.motif { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { /* fondu nuit à gauche */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--nuit) 0%, var(--nuit) 42%, rgba(13,15,22,.45) 60%, rgba(13,15,22,.05) 100%);
}
.hero .conteneur { position: relative; z-index: 2; width: 100%; }
.hero-contenu { display: grid; gap: 26px; max-width: 740px; }
.hero h1 { color: var(--blanc); }
.hero .chapo { max-width: 46ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rassurance { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--gris-clair); }
.rassurance span { display: inline-flex; align-items: center; gap: 8px; }
.rassurance span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lagon-2); }

@media (max-width: 760px) {
  .hero { min-height: auto; align-items: flex-start; padding-bottom: 260px; }
  .hero::after { background: linear-gradient(180deg, var(--nuit) 0%, rgba(13,15,22,.9) 55%, rgba(13,15,22,.2) 100%); }
}

/* ---------- Cartes ---------- */
.grille-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grille-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .grille-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grille-2 { grid-template-columns: 1fr; } }

.carte {
  position: relative; display: grid; gap: 12px; align-content: start;
  padding: 28px; border-radius: var(--rayon);
  background: var(--verre-clair);
  border: 1px solid var(--verre-clair-bord);
  -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 20px 50px -30px rgba(20,22,30,.35);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.carte:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 28px 60px -30px rgba(10,114,245,.35); }
.carte p { color: var(--gris); font-size: 16px; }
.sombre .carte {
  background: var(--verre-sombre); border-color: var(--verre-sombre-bord);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 20px 50px -30px rgba(0,0,0,.6);
}
.sombre .carte p { color: var(--gris-clair); }
.icone {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(10,114,245,.12), rgba(46,224,196,.16));
  color: var(--lagon-1);
}
.sombre .icone { color: var(--lagon-2); background: rgba(255,255,255,.07); }
.icone svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Fond décoratif pour faire vivre le verre clair */
.fond-bulles { overflow: hidden; }
.fond-bulles::before, .fond-bulles::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; pointer-events: none;
}
.fond-bulles::before { width: 420px; height: 420px; background: #9cc6ff; top: -80px; right: -60px; }
.fond-bulles::after { width: 360px; height: 360px; background: #a8f3e6; bottom: -120px; left: -80px; }
.fond-bulles > .conteneur { position: relative; z-index: 1; }

/* Pour qui */
.cible { padding: clamp(28px, 4vw, 40px); gap: 16px; }
.cible ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.cible li { display: flex; gap: 10px; color: var(--gris); font-size: 16px; }
.cible li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--degrade); mask: radial-gradient(circle, #000 35%, transparent 36%); }

/* Étapes */
.etapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: etape; }
.etape { padding-top: 22px; border-top: 1px solid var(--ligne); display: grid; gap: 10px; align-content: start; }
.etape .num { font-family: var(--f-titre); font-stretch: 125%; font-weight: 800; font-size: 40px; line-height: 1; }
.etape p { color: var(--gris); font-size: 16px; }
@media (max-width: 900px) { .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .etapes { grid-template-columns: 1fr; } }

/* Démo */
.demo { overflow: hidden; }
.chaine { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.chaine .rail { position: absolute; left: 8%; right: 8%; top: 31px; height: 2px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.chaine .rail i { position: absolute; inset: 0; background: var(--degrade); transform-origin: left; transform: scaleX(0); transition: transform 2.2s cubic-bezier(.65,0,.35,1); }
.chaine.visible .rail i { transform: scaleX(1); }
.maillon { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 12px; font-size: 14.5px; color: var(--gris-clair); }
.maillon .bulle {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: var(--lagon-2);
  background: rgba(13,15,22,.6); border: 1px solid var(--verre-sombre-bord);
  -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
  transition: box-shadow .5s, border-color .5s;
}
.chaine.visible .maillon .bulle { border-color: rgba(46,224,196,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 28px -6px rgba(46,224,196,.55); }
.maillon .bulle svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.maillon strong { color: var(--blanc); font-weight: 600; font-size: 15px; }
.demo .note { margin-top: 36px; font-style: italic; color: var(--gris-clair); }
@media (max-width: 860px) {
  .chaine { grid-template-columns: 1fr; gap: 18px; padding-left: 4px; }
  .chaine .rail { left: 35px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; }
  .chaine .rail i { transform-origin: top; transform: scaleY(0); }
  .chaine.visible .rail i { transform: scaleY(1); }
  .maillon { grid-template-columns: 64px 1fr; justify-items: start; text-align: left; align-items: center; gap: 16px; }
}

/* Appel final */
.appel { overflow: hidden; }
.appel canvas.motif { position: absolute; inset: 0; width: 100%; height: 100%; }
.appel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--nuit) 0%, rgba(13,15,22,.9) 40%, rgba(13,15,22,.15) 100%); }
.appel .conteneur { position: relative; z-index: 2; }
.appel-boite { max-width: 600px; display: grid; gap: 22px; }
@media (max-width: 760px) {
  .appel { padding-bottom: 240px; }
  .appel::after { background: linear-gradient(180deg, var(--nuit) 0%, rgba(13,15,22,.88) 55%, rgba(13,15,22,.2) 100%); }
}

/* ---------- Offres ---------- */
.tarif { gap: 14px; }
.tarif .prix { font-family: var(--f-titre); font-stretch: 125%; font-weight: 800; font-size: 30px; line-height: 1.1; }
.tarif .prix small { font: 500 14px var(--f-texte); color: var(--gris); }
.tarif .badge { justify-self: start; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 5px 10px; border-radius: 999px; background: var(--degrade); color: var(--nuit); }
.liste-prix { display: grid; gap: 0; border-radius: var(--rayon); overflow: hidden; }
.ligne-prix { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 18px 24px; border-bottom: 1px solid var(--ligne); }
.ligne-prix:last-child { border-bottom: 0; }
.ligne-prix span:first-child { font-weight: 600; }
.ligne-prix span:last-child { color: var(--gris); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tableau-defile { overflow-x: auto; }
table.abonnements { width: 100%; border-collapse: collapse; min-width: 560px; font-variant-numeric: tabular-nums; }
table.abonnements th, table.abonnements td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--ligne); }
table.abonnements thead th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); font-weight: 600; }
table.abonnements tbody th { font-family: var(--f-titre); font-stretch: 125%; font-size: 18px; }
.mentions { font-size: 14.5px; color: var(--gris); }
.faq { display: grid; gap: 12px; }
.faq details { padding: 20px 24px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--lagon-1); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--gris); }

/* En-tête de page interne */
.entete-page { padding-block: calc(150px + env(safe-area-inset-top, 0px)) 72px; overflow: hidden; }
.entete-page canvas.motif { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.entete-page::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--nuit) 20%, rgba(13,15,22,.6)); pointer-events: none; }
.entete-page .conteneur { position: relative; z-index: 2; display: grid; gap: 18px; }

/* ---------- Pied de page ---------- */
.pied { background: var(--nuit); color: var(--gris-clair); padding-block: 64px 40px; border-top: 1px solid rgba(255,255,255,.06); }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.pied img { height: 26px; width: auto; margin-bottom: 14px; }
.pied h3 { color: var(--blanc); font-family: var(--f-texte); font-stretch: 100%; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--blanc); }
.pied-bas { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
@media (max-width: 760px) { .pied-grille { grid-template-columns: 1fr; } }

/* ---------- Apparitions ---------- */
.apparait { opacity: 1; transform: none; }
.js .apparait { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.js .apparait.visible { opacity: 1; transform: none; }

/* ---------- Transitions de page ---------- */
::view-transition-old(root) { animation: 260ms cubic-bezier(.4,0,1,1) both sortie; }
::view-transition-new(root) { animation: 420ms cubic-bezier(0,0,.2,1) both entree; }
@keyframes sortie { to { opacity: 0; transform: translateY(-10px) scale(.99); filter: blur(4px); } }
@keyframes entree { from { opacity: 0; transform: translateY(14px) scale(.99); filter: blur(6px); } }

/* ---------- Accessibilité ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .apparait { opacity: 1; transform: none; }
  .chaine .rail i { transform: none; }
  @view-transition { navigation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .nav.reduit { background: var(--nuit); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .carte { background: var(--blanc); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .sombre .carte, .btn-verre, .maillon .bulle { background: var(--nuit-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Pages légales : texte long et lisible */
.texte-legal { display: grid; gap: 14px; }
.texte-legal > * { max-width: 760px; }
.texte-legal h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin-top: 26px; }
.texte-legal h2:first-child { margin-top: 0; }
.texte-legal h3 { font-size: 1.05rem; margin-top: 8px; }
.texte-legal p, .texte-legal li { line-height: 1.65; }
.texte-legal ul { padding-left: 1.2em; display: grid; gap: 6px; }
.texte-legal a { color: var(--lagon-1); text-decoration: underline; text-underline-offset: 3px; }
.texte-legal .maj { color: var(--gris); font-size: .92rem; }

/* Questionnaire de diagnostic */
.diag { max-width: 780px; margin: 0 auto; padding: clamp(22px, 4vw, 44px); }
.diag-haut { display: grid; gap: 10px; margin-bottom: 26px; }
.diag-compteur { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); font-weight: 600; }
.diag-progression { height: 6px; border-radius: 99px; background: var(--ligne); overflow: hidden; }
.diag-progression i { display: block; height: 100%; width: 0; background: var(--degrade); border-radius: inherit; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.diag-etape { display: grid; gap: 26px; }
.diag-etape h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); outline: none; }
.diag-champ { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.diag-champ > label, .diag-champ legend { font-weight: 600; line-height: 1.4; padding: 0; }
.diag-champ legend { margin-bottom: 10px; }
.diag-req { color: var(--lagon-1); }
.diag-aide { color: var(--gris); font-size: .92rem; margin-top: -4px; }
.diag input[type=text], .diag input[type=email], .diag input[type=tel], .diag input[type=url], .diag textarea {
  width: 100%; font: inherit; color: var(--encre); background: rgba(255,255,255,.85);
  border: 1.5px solid var(--ligne); border-radius: var(--rayon-s); padding: 13px 15px; transition: border-color .2s, box-shadow .2s;
}
.diag textarea { resize: vertical; min-height: 96px; }
.diag input:focus-visible, .diag textarea:focus-visible { outline: none; border-color: var(--lagon-1); box-shadow: 0 0 0 4px rgba(10,114,245,.15); }
.diag-choix-liste { display: grid; gap: 8px; }
.diag-choix { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--ligne); border-radius: var(--rayon-s);
  background: rgba(255,255,255,.7); cursor: pointer; transition: border-color .2s, background .2s; line-height: 1.4; }
.diag-choix:hover { border-color: #C5CBD8; }
.diag-choix input { margin-top: 2px; accent-color: var(--lagon-1); width: 18px; height: 18px; flex: none; }
.diag-choix:has(input:checked) { border-color: var(--lagon-1); background: rgba(10,114,245,.06); }
.diag-choix:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(10,114,245,.15); }
.diag-echelle { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.diag-point { justify-content: center; align-items: center; font-weight: 600; }
.diag-consent a { color: var(--lagon-1); text-decoration: underline; }
.diag-ko > label, .diag-ko legend { color: #C0362C; }
.diag-ko input, .diag-ko textarea, .diag-ko .diag-choix { border-color: #E0867E; }
.diag-erreur { color: #C0362C; font-weight: 600; min-height: 1.4em; margin-top: 18px; }
.diag-erreur a { color: inherit; text-decoration: underline; }
.diag-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.diag-actions [data-diag="suiv"] { margin-left: auto; }
.btn-verre-clair { background: rgba(20,22,30,.06); color: var(--encre); border: 1px solid var(--ligne); }
.btn-verre-clair:hover { background: rgba(20,22,30,.1); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.diag-note { color: var(--gris); font-size: .88rem; margin-top: 18px; }
.diag-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.diag-merci { display: grid; gap: 14px; }
.diag-merci h2 { outline: none; }
@media (max-width: 520px) { .diag-actions .btn { flex: 1; } }
.diag [hidden] { display: none !important; }
.diag .diag-erreur { color: #C0362C; }
