/* Les pages « tunnel » du site : l'Audit (/audit/), son rendez-vous (/rdv/), la feuille de suivi (/feuille-de-suivi/) et
   la notice (/confidentialite/). Une page, une action : la marque seule en haut, ni menu ni pied, comme le quiz.
   La DA est celle du site et du quiz (22/11/2026) : noir, Inter Tight, titre géant en capitales, l'or pour réserver et
   recevoir, le crème pour avancer et pour ce qui est choisi, les champs soulignés, les listes sur filets, le passage par l'or. */
@font-face { font-family: 'Inter Tight'; src: url('/inter-tight-v2.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
:root {
  --noir: #08090C; --creme: #F4F3EE; --or: #D0AC2C;
  --gris: rgba(255, 255, 255, .58); --trait: rgba(255, 255, 255, .2);
  --sortie: cubic-bezier(.16, 1, .3, 1);
  --marge: 16px;
  --t-geant: 10.6vw; --t-titre: 8.4vw; --t-lead: 5.2vw; --t-corps: 17px; --t-petit: 14px;
}
@media (min-width: 760px) { :root { --marge: clamp(24px, 3vw, 48px); --t-geant: min(6.4vw, 7.5rem); --t-titre: min(4.6vw, 5.25rem); --t-lead: min(2vw, 2.125rem); --t-corps: 18px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--noir); color-scheme: dark; }
body { margin: 0; background: var(--noir); color: #fff; font: 400 17px/1.45 'Inter Tight', system-ui, sans-serif; overflow-x: clip; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, figure { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; } /* les scripts affichent et cachent par hidden, jamais par style en ligne (CSP) */
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }

.geant { font-weight: 500; text-transform: uppercase; letter-spacing: -.045em; line-height: 1; font-size: var(--t-geant); text-wrap: balance; }
.titre { font-size: var(--t-titre); font-weight: 500; letter-spacing: -.04em; line-height: 1; text-wrap: balance; }
.surtitre { font-size: var(--t-petit); color: var(--gris); margin-bottom: 16px; }
.lead { font-size: var(--t-lead); line-height: 1.3; color: var(--gris); text-wrap: balance; }
.lead b { font-weight: 500; color: #fff; }
.note { margin-top: 14px; font-size: var(--t-petit); color: var(--gris); line-height: 1.5; }
.note a, .check a { text-decoration: underline; text-underline-offset: 3px; }

/* Les boutons du site : rectangle à petits rayons, texte en 900. L'or pour réserver et recevoir, le crème pour avancer. */
.pilule { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 17px 26px; border: 0; border-radius: 10px; background: var(--or); color: var(--noir); font-weight: 900; font-size: 16px; line-height: 1.1; text-align: center; text-decoration: none; cursor: pointer; }
.pilule.creme { background: var(--creme); }
.pilule.trait { background: none; color: currentColor; box-shadow: inset 0 0 0 1.5px var(--trait); }
.pilule svg { flex: none; transition: transform .6s var(--sortie); }
.pilule:disabled { opacity: .6; cursor: wait; }
@media (hover: hover) { .pilule:hover svg { transform: translateX(4px); } .pilule:not(.trait):hover { box-shadow: inset 0 0 0 2px var(--noir); } .pilule.trait:hover { box-shadow: inset 0 0 0 1.5px #fff; } }
.pilule:focus-visible { outline-offset: 4px; }

/* En-tête : la marque seule */
.tete { position: absolute; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; padding: max(14px, env(safe-area-inset-top)) var(--marge) 14px; }
.marque { font-weight: 500; font-size: 17px; letter-spacing: -.02em; text-decoration: none; }

.ecran { min-height: 100svh; padding: calc(max(14px, env(safe-area-inset-top)) + 84px) var(--marge) 72px; }
.colonne { max-width: 720px; }
.pied-tunnel { padding: 0 var(--marge) max(28px, env(safe-area-inset-bottom)); font-size: var(--t-petit); color: var(--gris); }
.pied-tunnel a { text-decoration: underline; text-underline-offset: 3px; }

/* Listes sur filets, numérotées 01, 02… par le CSS */
.filets { list-style: none; counter-reset: n; border-bottom: 1px solid var(--trait); }
.filets li { counter-increment: n; display: flex; gap: 16px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--trait); font-size: var(--t-corps); line-height: 1.45; }
.filets li::before { content: counter(n, decimal-leading-zero); flex: none; width: 1.6em; font-size: var(--t-petit); color: var(--gris); font-variant-numeric: tabular-nums; }
.filets b { font-weight: 500; }

/* Le formulaire : un trait sous le champ, blanc au focus (comme /lettre et le quiz) */
.field { margin-bottom: 30px; }
.field label, .field .q { display: block; margin-bottom: 4px; font-size: var(--t-petit); color: var(--gris); }
.field .q.grand { margin-bottom: 14px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; color: #fff; text-wrap: balance; }
.field input, .field textarea, .phone select { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .6); border-radius: 0; padding: 10px 0 12px; font-size: 18px; font-weight: 400; -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
.field input:focus-visible, .field textarea:focus-visible, .phone select:focus-visible { outline: none; border-bottom-color: #fff; box-shadow: 0 1px 0 #fff; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .35); }
.field input:-webkit-autofill { -webkit-text-fill-color: #fff; caret-color: #fff; transition: background-color 600000s 0s; }
.field .ko { border-bottom-color: var(--or); box-shadow: 0 1px 0 var(--or); }
.phone { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; }
.phone select { padding-right: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='1.5'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E") no-repeat right 2px center; }
.phone select option { background: var(--noir); }
@media (max-width: 420px) { .phone { grid-template-columns: minmax(0, 1fr); } }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: var(--t-petit); line-height: 1.45; color: var(--gris); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--creme); }
.check.ko { color: #fff; }
.check.ko input { outline: 2px solid var(--or); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.err { display: none; margin-top: 18px; padding: 12px 14px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--or); font-size: 15px; font-weight: 500; }
.err.show { display: block; }
.err a { text-decoration: underline; text-underline-offset: 3px; }

/* Les réponses : des rangées sur filets ; la choisie se remplit de crème depuis la gauche (comme le quiz) */
.opts { list-style: none; counter-reset: n; border-bottom: 1px solid var(--trait); }
.opt { counter-increment: n; position: relative; display: flex; align-items: baseline; gap: 14px; width: 100%; padding: 17px 14px; border: 0; border-top: 1px solid var(--trait); background: none; text-align: left; font-size: 18px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; cursor: pointer; isolation: isolate; transition: color .45s var(--sortie); }
.opt::before { content: ''; position: absolute; inset: 4px 0; z-index: -1; border-radius: 8px; background: var(--creme); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--sortie); }
.opt::after { content: counter(n, decimal-leading-zero); order: -1; flex: none; width: 1.6em; font-size: var(--t-petit); font-weight: 400; color: var(--gris); font-variant-numeric: tabular-nums; transition: color .45s var(--sortie); }
@media (hover: hover) { .opt:hover::before { transform: scaleX(.012); } }
.opt.on { color: var(--noir); }
.opt.on::before { transform: scaleX(1); }
.opt.on::after { color: rgba(8, 9, 12, .62); }
.opts.ko { border-bottom-color: var(--or); }
/* l'échelle de 1 à 10 : dix cases, cinq par rang au téléphone, un seul rang au-delà */
.opts.scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; border: 0; }
.opts.scale .opt { justify-content: center; align-items: center; padding: 0; min-height: 56px; border: 1px solid var(--trait); border-radius: 8px; font-size: 20px; }
.opts.scale .opt::before { inset: -1px; }
.opts.scale .opt::after { content: none; }
.opts.scale.ko .opt { border-color: var(--or); }
@media (min-width: 641px) { .opts.scale { grid-template-columns: repeat(10, minmax(0, 1fr)); } }

/* Les étapes : le haut (étape, barre crème), la question en titre, Retour et Continuer */
.qtop { display: flex; justify-content: space-between; align-items: center; font-size: var(--t-petit); color: var(--gris); }
.piste { height: 1px; margin: 12px 0 7vh; background: var(--trait); overflow: hidden; }
.piste b { display: block; height: 100%; width: 33%; background: var(--creme); transition: width .9s var(--sortie); }
.step { display: none; }
.step.on { display: block; } /* son entrée : mouvement.css */
.stepTitle { margin-bottom: 6vh; }
.nav { display: flex; gap: 12px; margin-top: 34px; }
.nav .pilule { flex: 1; padding-block: 20px; }
.nav .back { flex: none; }

/* Le dialogue de la notice, par-dessus le questionnaire (un lien ferait perdre les réponses dans le navigateur d'Instagram) */
#confid { width: 100%; max-width: 760px; height: 100%; max-height: 100%; margin: auto; padding: 14px 0 0; border: 0; background: var(--noir); color: #fff; }
#confid form { padding: 0 var(--marge); }
#confid::backdrop { background: rgba(0, 0, 0, .7); }
#confid iframe { width: 100%; height: calc(100% - 66px); margin-top: 10px; border: 0; }

/* Le passage avec le reste du site (transition.js, comme navigation.css). */
.passage { position: fixed; inset: 0; z-index: 1000; display: none; background: var(--or); }
.depart .passage, .arrivee .passage { display: block; }
.passage svg { position: absolute; }
.passage-fond { inset: 0; width: 100%; height: 100%; display: none; }
.passage-logo { left: 50%; top: 50%; width: clamp(72px, 7vw, 112px); height: auto; translate: -50% -50%; color: var(--noir); overflow: visible; }
.revele .passage { background: none; }
.revele .passage-fond { display: block; }
.revele .passage-logo { visibility: hidden; }
.passage-logo path { stroke-dasharray: 172 344; }
.depart .passage { animation: disque .6s cubic-bezier(.65, 0, .35, 1) both; }
.depart .passage-logo path { animation: trace .6s cubic-bezier(.65, 0, .35, 1) .55s both; }
.depart .passage-logo { animation: pouls .9s ease-in-out 1.3s infinite alternate; }
.arrivee .passage-logo { animation: pouls .9s ease-in-out .4s infinite alternate; }
@keyframes disque { from { clip-path: circle(0 at 50% 50%); } to { clip-path: circle(75% at 50% 50%); } }
@keyframes trace { from { stroke-dashoffset: 172; } }
@keyframes pouls { to { scale: .88; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* L'Audit : l'accueil (photo du bureau à droite sur ordinateur, en haut au téléphone), puis le questionnaire, puis le calendrier */
.accueil-audit { display: grid; gap: 34px; }
.accueil-audit figure img { width: 100%; height: auto; aspect-ratio: 1200 / 797; object-fit: cover; border-radius: 10px; }
.accueil-audit figure { order: 2; } /* au téléphone, le bouton avant la photo */
.accueil-audit .geant { margin-bottom: 18px; }
.accueil-audit .filets { margin: 32px 0 34px; }
@media (min-width: 960px) {
  .accueil-audit { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 80px); min-height: calc(100svh - 160px); }
}
#formZone, #booking { max-width: 720px; }
#booking .lead { margin: 18px 0 40px; }
#calendrier > .lead { margin: 0; }
.fallback { display: inline-flex; margin-top: 18px; }
#reessayer { margin: 18px 12px 0 0; }

/* Le calendrier (calendrier.js) : gris étagés, le jour et l'heure choisis en crème, « Confirmer » en or */
.cal { background: #0F1013; border: 1px solid #24262B; border-radius: 10px; overflow: hidden; color: #F4F3EE; }
.cal button { font-family: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; }
.cal-entete { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 16px 20px; background: #14151A; border-bottom: 1px solid #24262B; font-size: 14px; color: var(--gris); }
.cal-titre { margin-right: 4px; font-size: 20px; font-weight: 500; letter-spacing: -.03em; text-transform: uppercase; color: #fff; }
.cal-info::before { content: '·'; margin-right: 10px; color: rgba(255, 255, 255, .35); }
.cal-corps { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.cal-mois { padding: 20px; }
.cal-mois-tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-mois-nom { font-size: 16px; font-weight: 500; text-transform: capitalize; }
.cal-fleches { display: flex; gap: 6px; }
.cal-fleche { width: 32px; height: 32px; border: 0; border-radius: 6px; background: transparent; color: #fff; font-size: 22px; line-height: 1; }
.cal-fleche:hover { background: #1E2026; }
.cal-fleche:disabled { color: rgba(255, 255, 255, .2); background: transparent; cursor: default; }
.cal-grille { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 6px; justify-items: center; }
.cal-semaine { margin-bottom: 6px; font-size: 11px; letter-spacing: .06em; color: rgba(255, 255, 255, .4); }
.cal-j { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; font-size: 15px; }
.cal-j.non { color: rgba(255, 255, 255, .2); }
.cal-j.dispo { background: #1E2026; color: #fff; font-weight: 500; }
.cal-j.dispo:hover { background: #2A2D35; }
.cal-j.on, .cal-j.on:hover { background: var(--creme); color: var(--noir); }
.cal-heures { padding: 20px 18px; background: #121317; border-left: 1px solid #24262B; }
.cal-jour { margin-bottom: 4px; font-size: 15px; font-weight: 500; }
.cal-aide { margin-bottom: 14px; font-size: 12px; color: var(--gris); }
.cal-liste { display: flex; flex-direction: column; gap: 8px; max-height: 360px; overflow-y: auto; }
.cal-h { flex-shrink: 0; padding: 12px 0; background: #18191E; border: 1px solid #2A2D35; border-radius: 8px; font-size: 15px; font-weight: 500; color: #fff; }
.cal-h:hover { border-color: rgba(255, 255, 255, .5); }
.cal-h.on, .cal-h.on:hover { background: var(--creme); border-color: var(--creme); color: var(--noir); }
.cal-ok { display: none; width: 100%; margin-top: 14px; padding: 15px 10px; border: 0; border-radius: 10px; background: var(--or); color: var(--noir); font-size: 15px; font-weight: 900; }
.cal-ok:disabled { opacity: .7; cursor: wait; }
.cal-pied { padding: 12px 20px; background: #14151A; border-top: 1px solid #24262B; font-size: 13px; color: var(--gris); }
@media (max-width: 620px) {
  .cal-titre { flex-basis: 100%; }
  .cal-titre + .cal-info::before { content: none; }
  .cal-corps { grid-template-columns: minmax(0, 1fr); }
  .cal-heures { border-left: 0; border-top: 1px solid #24262B; }
  .cal-liste { max-height: none; }
  .cal-j { width: 38px; height: 38px; }
}

/* Le rendez-vous (/rdv/) */
.rdv .geant { margin-bottom: 18px; }
.rdv .lead { margin-bottom: 34px; }
.rdv #client { max-width: 520px; }
.rdv .nav { max-width: 520px; }

/* La feuille de suivi : le héros, l'aperçu de la feuille, ce que tu reçois, puis le formulaire */
.feuille-heros { display: grid; gap: 40px; }
.feuille-heros .lead { margin: 22px 0 30px; max-width: 30em; }
.feuille-heros figure img { width: 100%; height: auto; border-radius: 6px; }
.feuille-heros figcaption { margin-top: 12px; font-size: var(--t-petit); color: var(--gris); }
.feuille-heros .filets { margin-top: 40px; }
@media (min-width: 960px) { .feuille-heros { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; gap: clamp(32px, 5vw, 80px); } .feuille-heros figure { margin-top: 8vh; } }
.bloc { padding: 14vh var(--marge) 0; }
.bloc .titre { margin-bottom: 6vh; max-width: 14em; }
.recois { list-style: none; display: grid; border-bottom: 1px solid var(--trait); }
.recois li { display: grid; gap: 8px; padding: 22px 0 26px; border-top: 1px solid var(--trait); }
.recois .num { font-size: var(--t-petit); color: var(--gris); font-variant-numeric: tabular-nums; }
.recois h3 { font-size: 24px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.recois p { max-width: 28em; color: var(--gris); line-height: 1.5; }
@media (min-width: 760px) { .recois { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); border-bottom: 0; } .recois li { border-bottom: 1px solid var(--trait); } }
.optin { display: grid; gap: 40px; padding-bottom: 16vh; }
.optin .lead { margin-top: 20px; max-width: 24em; }
.carte-optin { max-width: 520px; }
.carte-optin .pilule { width: 100%; padding-block: 21px; margin-top: 10px; }
.carte-optin .check { margin: 4px 0 18px; }
.carte-optin .note { text-align: center; }
.carte-optin.hide { display: none; }
.success { display: none; max-width: 520px; }
.success.show { display: grid; gap: 12px; }
.success .titre { margin-bottom: 4px; }
.success .lead { margin-bottom: 18px; }
.success .note { margin-top: 6px; }
@media (min-width: 960px) { .optin { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); } }

/* La notice */
.notice { max-width: 760px; }
.notice .geant { margin-bottom: 18px; }
.notice h2 { margin: 7vh 0 14px; padding-top: 18px; border-top: 1px solid var(--trait); font-size: 24px; font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.notice p, .notice li { font-size: var(--t-corps); line-height: 1.55; color: rgba(255, 255, 255, .8); }
.notice p + p, .notice ul + p, .notice p + ul { margin-top: 12px; }
.notice ul { list-style: none; display: grid; gap: 8px; }
.notice li { position: relative; padding-left: 20px; }
.notice li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 6px; height: 1px; background: var(--gris); }
.notice a { text-decoration: underline; text-underline-offset: 3px; }
.notice .fin { margin-top: 8vh; font-size: var(--t-petit); color: var(--gris); }
