/* ═══════════════════════════════════════════════════════════════════════════
   Okey Dokey · la vitrine. Les jetons viennent de docs/design/okey-dokey/DESIGN.md
   (« papier et clé »). Ce fichier porte ce que Tailwind ne dit pas : les jetons,
   l'en-tête et le pied partagés, la serrure, les boutons, le wizard.
   Les pages intérieures utilisent Tailwind (CDN, config dans parts/head.html)
   avec les MÊMES noms de couleurs (cacao-*, ocre-*, creme) : le portage vers
   l'app (Next + Tailwind) est un copier-coller de classes.
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  /* Marque */
  --cacao-950: #1F150E; --cacao-900: #2B1E14; --cacao-800: #3A2A1E; --cacao-700: #4E3B2C;
  --cacao-600: #6B5647; --cacao-500: #8C776A; --cacao-400: #AE9C8F; --cacao-200: #E4DACF; --cacao-100: #F0E9DF;
  --ocre-700: #9A5A1E; --ocre-600: #D8761A; --ocre-500: #ED8725; --ocre-400: #E5A661; --ocre-100: #F8E6D0; --ocre-50: #FCF3E8;
  /* Papier */
  --creme: #FBF8F3; --creme-bande: #F4EFE6; --carte: #FFFFFF; --hairline: rgba(58,42,30,.10);
  /* États */
  --succes-encre: #2F6B45; --succes-lavis: #E6F1E9; --avert-encre: #8A4B0F; --avert-lavis: #FCEBD2;
  --danger-encre: #A23A2E; --danger-lavis: #F9E3DF; --info-encre: #2F5F86; --info-lavis: #E3EEF6;
  /* Ombres (teintées cacao, sous 15 %) */
  --ombre-xs: 0 1px 2px rgba(58,42,30,.05);
  --ombre-sm: 0 1px 2px rgba(58,42,30,.06), 0 2px 6px rgba(58,42,30,.04);
  --ombre-md: 0 2px 4px rgba(58,42,30,.05), 0 8px 16px -4px rgba(58,42,30,.08);
  --ombre-xl: 0 4px 5px rgba(58,42,30,.04), 0 8px 15px rgba(58,42,30,.03), 0 30px 50px -10px rgba(58,42,30,.14);
  /* Le CTA : L'ENCRE (décision du 2026-09-07, appliquée à la vitrine le 2026-09-21).
     Mêmes noms que globals.css de l'app : cacao à texte crème le jour, crème à texte
     cacao la nuit. L'abricot n'est jamais un fond de bouton : il vit dans le logo et
     dans la serrure du bouton-clé (.btn-cle). Ni lueur, ni dégradé, ni flèche. */
  --cta-fond: var(--cacao-800); --cta-fond-hover: var(--cacao-900); --cta-encre: var(--creme); --cta-bord: var(--cacao-900);
  /* Le récit de la page d'accueil lit ces trois-là : on les aligne sur le système */
  --cle: var(--ocre-500); --cle-texte: var(--cta-encre);
  --encre: var(--cacao-800); --encre-2: var(--cacao-600); --encre-3: var(--cacao-500); --page: var(--creme);
  --sortie: cubic-bezier(.16, 1, .3, 1);
}
html { color-scheme: light; }   /* jamais assombri d'office par le navigateur : le sombre est un choix, dans le menu mobile */
html[data-theme="sombre"] { color-scheme: dark;
  --creme: #1F150E; --creme-bande: #2B1E14; --carte: #2B1E14; --hairline: rgba(251,248,243,.10);
  --cacao-800: #FBF8F3; --cacao-700: #E9E0D5; --cacao-600: #C9BBAD; --cacao-500: #A8998B; --cacao-400: #7E6F62; --cacao-200: #4E3B2C; --cacao-100: #3A2A1E;
  --ocre-700: #E5A661; --ocre-100: #4A2E14; --ocre-50: #3A2314; --page: var(--creme); --encre: var(--cacao-800); --encre-2: var(--cacao-600); --encre-3: var(--cacao-500);
  --cta-fond: #F8F5EF; --cta-fond-hover: #E8E2D8; --cta-encre: #1F150E; --cta-bord: #F8F5EF; }
html[data-theme="sombre"] .text-cacao-800 { color: var(--cacao-800); } html[data-theme="sombre"] .text-cacao-700 { color: var(--cacao-700); }
html[data-theme="sombre"] .text-cacao-600 { color: var(--cacao-600); } html[data-theme="sombre"] .text-cacao-500 { color: var(--cacao-500); }
html[data-theme="sombre"] .text-ocre-700 { color: var(--ocre-700); } html[data-theme="sombre"] .bg-white { background-color: var(--carte); }
html[data-theme="sombre"] .bg-creme-bande { background-color: var(--creme-bande); } html[data-theme="sombre"] .bg-ocre-50 { background-color: var(--ocre-50); }
html[data-theme="sombre"] .border-hairline { border-color: var(--hairline); }
html[data-theme="sombre"] .carte.sombre { background: #14110F; }
html[data-theme="sombre"] .accordeon .visuel { background: var(--creme-bande); }
html.lisse { scroll-behavior: smooth; }   /* pages intérieures seulement : le récit de l'accueil est piloté au pixel par le scroll */
body { background: var(--creme); color: var(--cacao-800); font-family: "DM Sans", system-ui, sans-serif; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
::selection { background: var(--ocre-100); color: var(--cacao-800); }

/* ── La serrure : le glyphe du système (puce, marqueur, coche, spinner) ── */
.serrure { display: inline-block; width: .75em; height: .9em; vertical-align: -.08em; fill: var(--ocre-500); overflow: visible; flex: none; }
.serrure.creme { fill: var(--creme); }
.serrure.cacao { fill: var(--cacao-800); }
.serrure.tourne { animation: serrure-tourne 1.6s linear infinite; transform-origin: 50% 40%; }
@keyframes serrure-tourne { to { transform: rotate(360deg); } }

/* ── Le logo (Claude Design 4b) : commun à toutes les pages ── */
.od-logo { font-family: "Bricolage Grotesque", sans-serif; font-optical-sizing: auto; font-weight: 800; letter-spacing: -0.04em; line-height: .9; display: inline-flex; flex-direction: column; align-items: flex-start; color: var(--cacao-800); }
.od-logo > span { display: flex; white-space: nowrap; }
.od-logo .o { position: relative; display: inline-block; color: transparent; }
.od-logo .o svg { position: absolute; left: 50%; top: 0.2em; width: 0.52em; height: 0.58em; transform: translateX(-50%); overflow: visible; fill: var(--ocre-500); }
.od-logo .key { color: var(--ocre-500); }
.od-logo.ligne { flex-direction: row; }
.od-logo.sur-cacao { color: var(--creme); }
.od-logo.sur-cacao .o svg { fill: var(--creme); }

/* ── Typo : les rôles de DESIGN.md (les pages Tailwind y font référence) ── */
.t-display { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: clamp(44px, 5.2vw, 66px); line-height: 1.02; letter-spacing: -0.03em; }
.t-h1 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: clamp(36px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -0.02em; }
.t-h2 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -0.02em; }
.t-h3 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.01em; }
.t-h4 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: 24px; line-height: 1.3; letter-spacing: -0.01em; }
.t-lead { font-size: 18px; line-height: 1.6; color: var(--cacao-600); }
.t-sous { font-size: 21px; line-height: 1.5; color: var(--cacao-600); }
.t-cle { color: var(--ocre-700); }
.mot-cle { color: var(--ocre-700); background: var(--ocre-100); border-radius: 4px; padding: 0 8px; }
.surligne { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ocre-700); }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }

/* ── Boutons : la clé et l'encre. Rayon 8, graisse 600, bordure 1 px, ombre 1 px.
   Rien ne bouge au survol ni au clic ; ni lueur, ni dégradé, ni flèche (c'était la
   signature des interfaces générées, décision du 2026-09-07).
   .btn-sombre : le bouton plein (l'en-tête, les actions qui ne sont pas LA clé).
   .btn-cle    : le même, avec la serrure abricot du logo devant le libellé : le
                 bouton-clé d'une page, UN par écran. Sur une carte sombre, il est
                 en papier (crème). ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 8px; font-family: "DM Sans", system-ui, sans-serif; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease; white-space: nowrap; }
.btn:focus-visible { outline: 2px solid var(--ocre-500); outline-offset: 2px; }
.btn-cle, .btn-sombre { background: var(--cta-fond); color: var(--cta-encre); border-color: var(--cta-bord); box-shadow: 0 1px 1px rgba(58,42,30,.10); }
.btn-cle:hover, .btn-sombre:hover { background: var(--cta-fond-hover); }
.btn-cle:active, .btn-sombre:active, .cta:active { box-shadow: none; }
.btn-cle::before, .cta::before { content: ""; width: 9px; height: 10px; flex: none; background: var(--ocre-500); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 46'%3E%3Ccircle cx='20' cy='13' r='14'/%3E%3Cpolygon points='12,21 28,21 35,46 5,46'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 46'%3E%3Ccircle cx='20' cy='13' r='14'/%3E%3Cpolygon points='12,21 28,21 35,46 5,46'/%3E%3C/svg%3E") center / contain no-repeat; }
.carte.sombre .btn-cle, .carte.sombre .btn-sombre, .tarif-sombre .btn-cle, .tarif-sombre .btn-sombre { background: #F8F5EF; color: #1F150E; border-color: #F8F5EF; box-shadow: 0 1px 2px rgba(0,0,0,.35); }
.carte.sombre .btn-cle:hover, .carte.sombre .btn-sombre:hover, .tarif-sombre .btn-cle:hover, .tarif-sombre .btn-sombre:hover { background: #E8E2D8; }
.btn-fantome:hover { box-shadow: var(--ombre-sm); }
.btn-fantome { background: transparent; color: var(--cacao-800); border-color: var(--cacao-200); font-weight: 500; }
.btn-fantome:hover { background: var(--creme-bande); }
.btn-lien { color: var(--ocre-700); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.btn-lien:hover { color: var(--cacao-800); }
.btn[disabled], .btn.inactif { opacity: .45; pointer-events: none; }
[hidden] { display: none !important; }   /* l attribut hidden doit battre .btn { display: inline-flex } : le Continuer restait visible à la dernière marche */
/* Le récit de l'accueil a ses propres .cta : on les remet au système (c'est le bouton-clé, avec la serrure) */
.cta { border-radius: 8px !important; font-weight: 600 !important; gap: 8px; background: var(--cta-fond) !important; color: var(--cta-encre) !important; border: 1px solid var(--cta-bord); box-shadow: 0 1px 1px rgba(58,42,30,.10); transition: background .15s ease, box-shadow .15s ease; }
.cta:hover { background: var(--cta-fond-hover) !important; }

/* ── Cartes ── */
.carte { background: var(--carte); border: 1px solid var(--hairline); border-radius: 16px; padding: 24px; }
.carte.cliquable { cursor: pointer; transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease; }
.carte.cliquable:hover { box-shadow: var(--ombre-sm); border-color: var(--cacao-200); }
.carte.avant { background: var(--ocre-50); border-color: var(--ocre-100); }
.carte.sombre { background: var(--cacao-900); color: var(--creme); padding: 32px; border-color: transparent; }
.pastille { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 9999px; font-size: 12px; font-weight: 600; background: var(--creme-bande); color: var(--cacao-600); white-space: nowrap; }
.pastille::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pastille.succes { background: var(--succes-lavis); color: var(--succes-encre); }
.pastille.avert { background: var(--avert-lavis); color: var(--avert-encre); }
.pastille.info { background: var(--info-lavis); color: var(--info-encre); }

/* ── Champs ── */
.champ { display: block; width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--cacao-200); background: var(--carte); color: var(--cacao-800); font: inherit; font-size: 16px; transition: border-color .15s ease, box-shadow .15s ease; }
.champ::placeholder { color: var(--cacao-400); }
.champ:focus { outline: none; border-color: var(--ocre-500); box-shadow: 0 0 0 3px rgba(237,135,37,.25); }
.champ.erreur { border-color: var(--danger-encre); }
.libelle { display: block; font-size: 14px; font-weight: 500; color: var(--cacao-700); margin-bottom: 6px; }
.aide { font-size: 13px; color: var(--cacao-500); margin-top: 6px; line-height: 1.5; }
.aide.erreur { color: var(--danger-encre); }

/* ── L'en-tête : 64 px, crème à 85 % + flou, hairline. Statique sur l'accueil (le récit prend l'écran), collant ailleurs ── */
.od-entete { position: sticky; top: 0; z-index: 40; height: 64px; background: color-mix(in srgb, var(--creme) 85%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--hairline); }
.od-entete.statique { position: relative; background: transparent; backdrop-filter: none; border-bottom-color: transparent; }
.od-entete.statique.ouvert { background: var(--creme); }
.od-entete nav { max-width: 1200px; margin: 0 auto; height: 100%; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.od-entete .liens { display: flex; gap: 28px; font-size: 15px; font-weight: 500; color: var(--cacao-600); }
.od-entete .liens a { transition: color .15s ease; text-decoration: none; color: inherit; }
.od-entete .liens a:hover, .od-entete .liens a[aria-current="page"] { color: var(--cacao-800); }
.od-entete .liens a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--ocre-500); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.od-entete .actions { display: flex; align-items: center; gap: 10px; }
.od-entete .btn { padding: 10px 16px; font-size: 14px; }
.od-entete .menu { display: none; }
.od-entete .liens a.mobile-seulement, .od-entete .mobile-seulement { display: none; }
.od-entete .theme { align-items: center; gap: 8px; border: 0; background: transparent; font: inherit; font-size: 16px; font-weight: 500; color: var(--cacao-600); cursor: pointer; padding: 10px 8px; border-radius: 8px; }
.od-entete .theme[aria-pressed="true"] { color: var(--ocre-700); }
.od-entete .theme svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 900px) {
  .od-entete nav { padding: 0 20px; }
  .od-entete .liens, .od-entete .btn-fantome { display: none; }
  .od-entete .menu { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--cacao-200); background: transparent; color: var(--cacao-800); cursor: pointer; }
  .od-entete.ouvert .liens { display: flex; flex-direction: column; gap: 4px; position: absolute; left: 0; right: 0; top: 64px; padding: 12px 20px 16px; background: var(--creme); border-bottom: 1px solid var(--hairline); box-shadow: var(--ombre-md); }
  .od-entete.ouvert .liens a { padding: 10px 8px; border-radius: 8px; font-size: 16px; }
  .od-entete.ouvert .liens .mobile-seulement, .od-entete.ouvert .liens a.mobile-seulement { display: flex; }
  .od-entete.ouvert .liens a.mobile-seulement { border-top: 1px solid var(--hairline); margin-top: 6px; padding-top: 14px; }
}

/* ── Le pied : crème bande, quatre colonnes, la mention « Fait en France » ── */
.od-pied { background: var(--creme-bande); border-top: 1px solid var(--hairline); margin-top: 96px; }
.od-pied .int { max-width: 1200px; margin: 0 auto; padding: 56px 40px 32px; }
.od-pied .haut { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.od-pied .rubrique { margin: 0 0 14px; font-family: "DM Sans", system-ui, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cacao-500); }
.od-pied ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.od-pied a { color: var(--cacao-600); text-decoration: none; transition: color .15s ease; }
.od-pied a:hover { color: var(--cacao-800); }
.od-pied .identite p { margin: 14px 0 0; max-width: 30ch; font-size: 14px; line-height: 1.55; color: var(--cacao-600); }
.od-pied .bas { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--cacao-500); }
.od-pied .bas .fait { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 900px) {
  .od-pied .int { padding: 40px 20px 24px; }
  .od-pied .haut { grid-template-columns: 1fr 1fr; gap: 28px; }
  .od-pied .identite { grid-column: 1 / -1; }
}

/* ── Sections intérieures : le rythme de DESIGN.md (96 / 64) ── */
.conteneur { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section { padding: 96px 0; }
.section.serree { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--hairline); }
@media (max-width: 900px) { .conteneur { padding: 0 20px; } .section { padding: 64px 0; } }

/* ── Le filigrane : la serrure, immense et presque invisible, derrière chaque titre de page ── */
.entree { position: relative; }
.section:has(> .conteneur.entree) { overflow: hidden; }   /* le filigrane déborde à droite : on le coupe au bord de la section */
.entree::before { content: ""; position: absolute; right: -20px; top: -70px; width: 300px; height: 345px; background: var(--ocre-500); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 46'%3E%3Ccircle cx='20' cy='13' r='13'/%3E%3Cpolygon points='13,21 27,21 33,46 7,46'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 46'%3E%3Ccircle cx='20' cy='13' r='13'/%3E%3Cpolygon points='13,21 27,21 33,46 7,46'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .07; pointer-events: none; transform: rotate(-8deg); }
@media (max-width: 900px) { .entree::before { width: 180px; height: 207px; right: -30px; top: -30px; } }
.carte[aria-pressed="true"] { border-color: var(--ocre-500); box-shadow: 0 0 0 3px rgba(237,135,37,.16), var(--ombre-sm); }
.comparatif thead .nous { background: var(--ocre-100); color: var(--ocre-700); }
.comparatif td.nous { border-left: 2px solid var(--ocre-500); }
/* Les téléphones des pages intérieures restent droits : le relief 3D n'existe que dans le récit de l'accueil */
.accordeon .visuel .tel { transform: translateX(var(--tx)) scale(var(--s)) !important; }
.accordeon .visuel .tel::after { opacity: .5; }

/* ── L'entrée orchestrée : une seule, au chargement (cascade 60 ms, 12 px, 480 ms) ── */
.entree > * { opacity: 0; transform: translateY(12px); animation: entree .48s var(--sortie) forwards; }
.entree > *:nth-child(2) { animation-delay: .06s; } .entree > *:nth-child(3) { animation-delay: .12s; }
.entree > *:nth-child(4) { animation-delay: .18s; } .entree > *:nth-child(5) { animation-delay: .24s; } .entree > *:nth-child(6) { animation-delay: .30s; }
@keyframes entree { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .entree > * { animation: none; opacity: 1; transform: none; } .serrure.tourne { animation: none; } html { scroll-behavior: auto; } }

/* ── L'accordéon de fonctionnalités (pattern Calendly) ── */
.accordeon { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.accordeon .lignes { display: flex; flex-direction: column; }
.accordeon .ligne { border-top: 1px solid var(--hairline); padding: 18px 0; cursor: pointer; }
.accordeon .ligne:last-child { border-bottom: 1px solid var(--hairline); }
.accordeon .ligne h4 { margin: 0; font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: 20px; letter-spacing: -0.01em; color: var(--cacao-400); display: flex; align-items: center; gap: 10px; transition: color .2s ease; }
.accordeon .ligne h4 .serrure { opacity: 0; transition: opacity .2s ease; width: 12px; height: 15px; }
.accordeon .ligne .corps { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--sortie); }
.accordeon .ligne .corps > div { overflow: hidden; }
.accordeon .ligne .corps p { margin: 10px 0 0; color: var(--cacao-600); line-height: 1.55; font-size: 16px; }
.accordeon .ligne .zoom { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--cacao-600); }
.accordeon .ligne .zoom b { color: var(--cacao-800); font-weight: 500; }
.accordeon .ligne.actif h4 { color: var(--cacao-800); }
.accordeon .ligne.actif h4 .serrure { opacity: 1; }
.accordeon .ligne.actif .corps { grid-template-rows: 1fr; }
.accordeon .visuel { position: sticky; top: 96px; border-radius: 16px; border: 1px solid var(--hairline); background: var(--creme-bande); padding: 28px; min-height: 380px; display: grid; place-items: center; overflow: hidden; }
.accordeon .visuel .fenetre { width: 100%; container-type: inline-size; }
.accordeon .visuel .vide { text-align: center; max-width: 34ch; color: var(--cacao-600); }
.accordeon .visuel .vide .serrure { width: 40px; height: 48px; margin-bottom: 14px; }
.accordeon .visuel .vide b { display: block; font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: 22px; color: var(--cacao-800); margin-bottom: 8px; letter-spacing: -0.01em; }
@media (max-width: 900px) { .accordeon { grid-template-columns: 1fr; } .accordeon .visuel { position: static; min-height: 0; } }

/* ── Le wizard « Commencer » : six marches, une fiche qui se remplit à droite ── */
.wizard { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.wizard .marches { display: flex; gap: 6px; margin-bottom: 28px; }
.wizard .marches i { flex: 1; height: 4px; border-radius: 2px; background: var(--cacao-100); transition: background .3s ease; }
.wizard .marches i.faite { background: var(--ocre-500); }
.wizard .marche { display: none; }
.wizard .marche.vue { display: block; animation: entree .4s var(--sortie); }
.wizard .choix { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.wizard .choix.trois { grid-template-columns: repeat(3, 1fr); }
.wizard .choix button { text-align: left; padding: 16px; border-radius: 12px; border: 1px solid var(--cacao-200); background: var(--carte); color: var(--cacao-800); font: inherit; cursor: pointer; display: flex; gap: 12px; align-items: flex-start; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.wizard .choix button:hover { border-color: var(--cacao-400); box-shadow: var(--ombre-sm); }
.wizard .choix button[aria-pressed="true"] { border-color: var(--ocre-500); background: var(--ocre-50); box-shadow: 0 0 0 3px rgba(237,135,37,.18); }
.wizard .choix button .ico { flex: none; width: 36px; height: 36px; border-radius: 8px; background: var(--creme-bande); display: grid; place-items: center; color: var(--cacao-700); }
.wizard .choix button[aria-pressed="true"] .ico { background: var(--ocre-100); color: var(--ocre-700); }
.wizard .choix button b { display: block; font-weight: 600; font-size: 16px; }
.wizard .choix button small { display: block; color: var(--cacao-600); font-size: 14px; line-height: 1.4; margin-top: 3px; }
.wizard .choix button.large { grid-column: 1 / -1; }
.wizard .pied { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.wizard .pied .mot { font-size: 13px; color: var(--cacao-500); }
.wizard .dossier { position: sticky; top: 96px; }
.wizard .dossier .ligne { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hairline); font-size: 15px; }
.wizard .dossier .ligne:first-of-type { border-top: 0; }
.wizard .dossier .ligne span:first-child { color: var(--cacao-500); }
.wizard .dossier .ligne span:last-child { color: var(--cacao-800); font-weight: 500; text-align: right; }
.wizard .dossier .ligne.vide span:last-child { color: var(--cacao-400); font-weight: 400; }
.wizard .dossier .ligne.neuve span:last-child { animation: entree .4s var(--sortie); }
.wizard .dossier .pret { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--cacao-600); }
.wizard .dossier .pret .serrure { width: 14px; height: 17px; }
@media (max-width: 900px) { .wizard { grid-template-columns: 1fr; } .wizard .dossier { position: static; } .wizard .choix, .wizard .choix.trois { grid-template-columns: 1fr; } }
.case { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--cacao-600); line-height: 1.5; cursor: pointer; }
.case input { margin-top: 3px; accent-color: var(--ocre-500); width: 16px; height: 16px; }

/* ── Le mini-plan 3D du wizard : le sol est posé, les murs se plient marche après marche, l'ensemble tourne lentement ── */
.plan3d { display: flex; justify-content: center; padding: 6px 0 18px; perspective: 640px; }
.plan3d .incl { transform-style: preserve-3d; transform: rotateX(55deg); }
.plan3d .sol { position: relative; width: 168px; height: 106px; transform-style: preserve-3d; transform: rotateZ(-40deg); border-radius: 3px; border: 1px solid rgba(237,135,37,.5); background: rgba(237,135,37,.07); animation: plan-tourne 7s ease-in-out infinite alternate; }
.plan3d .piece { position: absolute; background: transparent; transition: background .6s ease; }
.plan3d .piece.sejour { left: 0; top: 0; bottom: 0; width: 58%; }
.plan3d .piece.cuisine { left: 58%; right: 0; top: 0; height: 50%; }
.plan3d .piece.chambre { left: 58%; right: 0; bottom: 0; height: 50%; }
.plan3d[data-etapes="3"] .piece.sejour, .plan3d[data-etapes="4"] .piece.sejour, .plan3d[data-etapes="5"] .piece.sejour { background: rgba(237,135,37,.10); }
.plan3d[data-etapes="4"] .piece.cuisine, .plan3d[data-etapes="5"] .piece.cuisine, .plan3d[data-etapes="5"] .piece.chambre { background: rgba(237,135,37,.16); }
.plan3d .mur { position: absolute; border: 1px solid rgba(237,135,37,.65); background: rgba(237,135,37,.16); backdrop-filter: blur(1px); opacity: 0; }
.plan3d .mur.leve { animation: var(--pli) 700ms var(--delai, 0ms) var(--sortie) both; }
@keyframes plan-tourne { from { transform: rotateZ(-44deg); } to { transform: rotateZ(-34deg); } }
@keyframes plan-mur-n { from { transform: rotateX(0deg); opacity: .35; } to { transform: rotateX(90deg); opacity: 1; } }
@keyframes plan-mur-s { from { transform: rotateX(0deg); opacity: .35; } to { transform: rotateX(-90deg); opacity: 1; } }
@keyframes plan-mur-o { from { transform: rotateY(0deg); opacity: .35; } to { transform: rotateY(-90deg); opacity: 1; } }
@keyframes plan-mur-e { from { transform: rotateY(0deg); opacity: .35; } to { transform: rotateY(90deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .plan3d .sol { animation: none; } .plan3d .mur.leve { animation-duration: 1ms; } }

/* ── Les apparitions au scroll : fondu, montée de 18 px, sortie de flou. Une fois, jamais en boucle ── */
[data-reveal] { opacity: 0; transform: translateY(18px); filter: blur(8px); transition: opacity .7s var(--sortie), transform .8s var(--sortie), filter .7s ease; transition-delay: calc(var(--i, 0) * 70ms); will-change: opacity, transform, filter; }
[data-reveal].vu { opacity: 1; transform: none; filter: blur(0); }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; } }
.carte.cliquable:hover { transform: translateY(-2px); }
.faq details[open] p { animation: entree .4s var(--sortie); }
.od-pied a, .od-entete .liens a { transition: color .18s ease, transform .18s ease; display: inline-block; }
.od-pied a:hover { transform: translateX(2px); }

/* ── Le tarif en carte sombre, sur l'accueil ── */
.tarif-sombre { position: relative; overflow: hidden; padding: 36px 32px !important; }
.tarif-sombre::before { content: ""; position: absolute; right: -60px; bottom: -80px; width: 280px; height: 322px; background: var(--creme); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 46'%3E%3Ccircle cx='20' cy='13' r='13'/%3E%3Cpolygon points='13,21 27,21 33,46 7,46'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 46'%3E%3Ccircle cx='20' cy='13' r='13'/%3E%3Cpolygon points='13,21 27,21 33,46 7,46'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .06; pointer-events: none; }
.tarif-sombre .surligne { color: var(--ocre-400); }
.tarif-sombre .prix { margin: 22px 0 0; color: rgba(251,248,243,.72); font-size: 17px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tarif-sombre .prix b { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 64px; letter-spacing: -0.03em; line-height: 1; color: var(--creme); }
.tarif-sombre .prix b small { font-size: 26px; font-weight: 600; margin-left: 4px; vertical-align: .55em; letter-spacing: 0; }
.tarif-sombre > p.offre-ligne { margin: 14px 0 0; color: rgba(251,248,243,.8); font-size: 17px; line-height: 1.5; max-width: 30ch; }
.tarif-sombre .coches { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; color: rgba(251,248,243,.86); font-size: 15px; }
.tarif-sombre .coches li { display: flex; gap: 10px; align-items: flex-start; }
.tarif-sombre .coches .serrure { margin-top: .25em; }
.tarif-sombre .btn { margin-top: 26px; }
.faq.numerotee summary { align-items: baseline; gap: 18px; font-size: 22px; }
.faq.numerotee summary .num { flex: none; font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .12em; color: var(--ocre-700); }
.faq.numerotee summary .q { flex: 1; }
.faq.numerotee details p { padding-left: 42px; }
.faq summary:hover .q { color: var(--ocre-700); }

/* ── FAQ : details natifs, la serrure pour puce ── */
.faq details { border-top: 1px solid var(--hairline); }
.faq details:last-child { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--cacao-200); display: grid; place-items: center; color: var(--cacao-600); transition: transform .25s ease, background .2s ease; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--creme-bande); }
.faq details p { margin: 0 0 22px; max-width: 70ch; color: var(--cacao-600); line-height: 1.6; }

/* ── Le comparatif (Pour qui) ── */
.comparatif { width: 100%; border-collapse: collapse; font-size: 14px; }
.comparatif th, .comparatif td { padding: 14px 16px; border-top: 1px solid var(--hairline); text-align: left; vertical-align: top; line-height: 1.45; }
.comparatif thead th { border-top: 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cacao-500); background: var(--creme-bande); }
.comparatif td:first-child { font-weight: 500; color: var(--cacao-800); }
.comparatif td { color: var(--cacao-600); }
.comparatif .nous { background: var(--ocre-50); color: var(--cacao-800); font-weight: 500; }
.comparatif thead .nous { color: var(--ocre-700); }
@media (max-width: 900px) { .comparatif-defile { overflow-x: auto; } .comparatif { min-width: 720px; } }

/* ── Pages légales : de la prose, lisible, sans effet ── */
.prose { max-width: 72ch; }
.prose h1 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 24px; }
.prose h2 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: 26px; letter-spacing: -0.01em; margin: 48px 0 12px; }
.prose h3 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: 20px; margin: 32px 0 8px; }
.prose p, .prose li { font-size: 16px; line-height: 1.65; color: var(--cacao-700); }
.prose ul, .prose ol { padding-left: 22px; }
.prose a { color: var(--ocre-700); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 20px 0; padding: 16px 20px; border-left: 3px solid var(--ocre-500); background: var(--carte); border-radius: 0 12px 12px 0; }
.prose blockquote p { margin: 0; color: var(--cacao-700); }
.prose table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 16px 0; }
.prose th, .prose td { border-top: 1px solid var(--hairline); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--cacao-500); }
.prose hr { border: 0; border-top: 1px solid var(--hairline); margin: 40px 0; }
.prose code { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .9em; background: var(--creme-bande); padding: 1px 5px; border-radius: 4px; }
.prose .a-completer { background: var(--avert-lavis); color: var(--avert-encre); padding: 0 6px; border-radius: 4px; font-weight: 600; }

/* ── L'accueil, après le récit : la strip de preuve, le tarif en une carte, trois questions ── */
.apres-recit { border-top: 1px solid var(--hairline); }
.preuves { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.preuves li { display: flex; align-items: flex-start; gap: 10px; padding: 4px 24px 4px 0; font-size: 15px; line-height: 1.4; color: var(--cacao-600); border-left: 1px solid var(--hairline); padding-left: 20px; text-wrap: balance; }
.preuves li .serrure { margin-top: .3em; }
.preuves li:first-child { border-left: 0; padding-left: 0; }
.grille-2 { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; margin-top: 56px; align-items: start; }
.grille-2 .carte.avant { padding: 32px; }
.prix { margin: 16px 0 0; font-size: 18px; color: var(--cacao-600); }
.prix b { font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: 48px; letter-spacing: -0.02em; color: var(--cacao-800); margin-right: 8px; line-height: 1; }
@media (max-width: 900px) { .preuves { grid-template-columns: 1fr 1fr; gap: 10px; } .preuves li { border-left: 0; padding-left: 0; } .grille-2 { grid-template-columns: 1fr; } }
.accordeon .visuel .app.tels-app { width: 100%; }
.accordeon .visuel .app { font-size: 16px; }
