/* Mr. Green Wall · page d'audit. Palette Ciel (identite-mr-green-wall/passation-page-audit/tokens.css). */

@font-face {
  font-family: "Funnel Display";
  src: url("fonts/funnel-display-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  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: "Funnel Sans";
  src: url("fonts/funnel-sans-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  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;
}

:root {
  --ciel: #CDE2F3;
  --blanc: #F7F8F7;
  --anthracite: #1B1D1E;
  --ardoise: #34383A;
  --beton-brut: #4B4F4E;
  --beton-clair: #D3D6D4;
  --bourgeon: #8DC24A;
  --bourgeon-appuye: #7FB23F;
  --feuille: #3A922A;

  --surface: var(--ciel);
  --ink: var(--anthracite);
  --muted: #3A3F40;
  --rule: var(--anthracite);
  --accent: var(--bourgeon);
  --on-accent: var(--anthracite);
  --erreur: #A12B1C; /* messages d'erreur du questionnaire (5,6:1 sur le ciel) */
  --mark: var(--bourgeon); /* 09/10, Gotcha : les pixels prennent le vert des boutons « Réserver ». */
  --focus: var(--anthracite);

  --font-display: "Funnel Display", system-ui, sans-serif;
  --font-text: "Funnel Sans", system-ui, sans-serif;

  --container: 1328px;
  --gutter: 56px;
  --section: 120px;

  color-scheme: light;
  accent-color: var(--bourgeon);
}

/* Surfaces : chaque bloc redéfinit ses rôles, les composants n'utilisent que les rôles. */
.panel { background: var(--blanc); --muted: var(--beton-brut); }
.deep {
  background: var(--ardoise);
  color: var(--blanc);
  --ink: var(--blanc);
  --muted: var(--beton-clair);
  --rule: var(--beton-brut);
  --mark: var(--bourgeon);
  --focus: var(--blanc);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 18px/28px var(--font-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  caret-color: var(--feuille);
}
::selection { background: var(--bourgeon); color: var(--anthracite); }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; }

.w { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--section) 0; }
/* Juste sous l'accroche : 40 px de moins, pour voir le bloc suivant sans faire défiler. */
.suite > .sec:first-child { padding-top: max(48px, calc(var(--section) - 40px)); }

.lien-evitement {
  position: absolute; left: 12px; top: -80px; z-index: 10;
  background: var(--anthracite); color: var(--blanc); padding: 12px 16px; font-weight: 600;
}
.lien-evitement:focus { top: 12px; }

/* --- Signes de la marque ------------------------------------------------- */
.px { display: inline-block; width: .17em; height: .17em; background: var(--mark); margin-left: .07em; vertical-align: .6em; }
.nw { white-space: nowrap; }
.air { font-weight: 300; }
.puce { display: inline-flex; align-items: center; gap: 10px; font: 500 15px/20px var(--font-text); color: var(--muted); }
.puce::before { content: ""; width: 8px; height: 8px; background: var(--mark); flex: none; }

.logo { display: inline-flex; align-items: baseline; padding: 11px 0; white-space: nowrap; font-family: var(--font-display); letter-spacing: -.035em; line-height: 1; text-decoration: none; font-size: 28px; }
.logo .mr { font-weight: 300; }
.logo .sq { display: inline-block; width: .17em; height: .17em; background: var(--feuille); /* logo du kit d'identité : vert inchangé */ margin: 0 .2em 0 .04em; }
.logo .gw { font-weight: 800; }

/* --- Typographie --------------------------------------------------------- */
.surtitre { font: 600 13px/18px var(--font-text); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.h1 { font: 800 84px/.98 var(--font-display); letter-spacing: -.045em; text-wrap: pretty; }
.h2 { font: 800 60px/1 var(--font-display); letter-spacing: -.035em; }
.h3 { font: 800 26px/1.1 var(--font-display); letter-spacing: -.02em; }
.chapeau { font-size: 21px; line-height: 31px; max-width: 34em; }
.texte-sec { color: var(--muted); }
.mesure { max-width: 38em; }

/* --- Boutons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 44px; padding: 22px 28px;
  background: var(--accent); color: var(--on-accent);
  font: 700 19px/1 var(--font-text); text-decoration: none;
  transition: background-color .18s cubic-bezier(.2, .8, .2, 1);
}
.btn:hover { background: var(--bourgeon-appuye); text-decoration: none; }
.btn:active { background: var(--feuille); color: var(--blanc); }
.btn .fl { transition: transform .18s cubic-bezier(.2, .8, .2, 1); }
.btn:hover .fl { transform: translateX(3px); }
.action { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

/* --- En-tête ------------------------------------------------------------- */
.entete { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gutter); border-bottom: 1px solid var(--rule); }
.entete nav { display: flex; align-items: center; gap: 36px; font: 500 16px/1 var(--font-text); }
.entete nav a:not(.btn) { text-decoration: none; padding: 14px 0; }
.entete nav a:not(.btn):hover { text-decoration: underline; }
.entete .btn { padding: 12px 18px; }

/* --- Accroche ------------------------------------------------------------ */
.accroche { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 760px; }
.accroche-texte {
  display: flex; flex-direction: column; justify-content: center;
  padding: 56px 56px 56px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
/* Le portrait rond à côté de la signature : on voit tout de suite qui dit « je ». */
.auteur { display: flex; align-items: center; gap: 14px; }
.avatar { flex: none; }
.avatar img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.accroche .h1 { margin-top: 20px; }
.accroche .chapeau { margin-top: 22px; }
.accroche .action { margin-top: 40px; }
.accroche-photo { position: relative; min-height: 440px; }
.accroche-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* Après le choix, sur deux colonnes : le bouton et « Satisfait ou remboursé » descendent jusqu'au bas de la photo.
   La marge du bas devient un espace au-dessus du bouton : la hauteur de l'accroche ne change pas. */
.accroche-espace { display: none; }
@media (min-width: 1081px) {
  .choisi .accroche-espace { display: block; flex: 1 0 56px; }
  .choisi .accroche-texte { padding-bottom: 0; }
}
/* « Réalisation Neogarden » : une signature discrète posée sur les photos de murs, sans fond. */
.signature { margin: 0; pointer-events: none; position: absolute; right: 16px; bottom: 12px; color: var(--blanc); font: 500 13px/18px var(--font-text); text-shadow: 0 1px 3px rgb(0 0 0 / .55); opacity: .9; }
.porte-photo, .realisations figure { position: relative; }

/* --- Bande des chiffres -------------------------------------------------- */
.chiffres .w { display: flex; flex-wrap: wrap; gap: 12px 48px; padding-top: 22px; padding-bottom: 22px; font: 500 15px/20px var(--font-text); }
.chiffres b { font: 800 18px/20px var(--font-display); margin-right: .4em; }

/* --- Deux portes --------------------------------------------------------- */
.portes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.porte { display: flex; flex-direction: column; }
.porte img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.porte-corps { padding: 32px 32px 36px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.porte-toiture img { object-position: 50% 25%; }
.porte .h3 { font-size: 34px; }
.porte-liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--beton-clair); }
.porte-liste li { padding: 12px 0; border-bottom: 1px solid var(--beton-clair); color: var(--muted); }
.porte-lien { font: 600 17px/1 var(--font-text); text-decoration: none; align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; }
.porte-lien:hover { text-decoration: underline; }

/* --- Étapes -------------------------------------------------------------- */
.etapes { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.etape { padding: 32px 32px 0 0; }
.etape-num { font: 300 64px/1 var(--font-display); letter-spacing: -.04em; }
.etape .h3 { margin-top: 20px; }
.etape p { margin-top: 10px; color: var(--muted); font-size: 17px; line-height: 26px; }

/* --- Qui est Gotcha ------------------------------------------------------ */
.qui { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.qui-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }
.qui .h2 + p { margin-top: 28px; }
.frise { display: grid; grid-template-columns: 170px minmax(0, 1fr); row-gap: 22px; column-gap: 24px; margin: 40px 0 0; padding-top: 28px; border-top: 1px solid var(--rule); }
.frise dt { font: 800 28px/1 var(--font-display); letter-spacing: -.02em; }
.frise dd { margin: 0; color: var(--muted); }
.qui .action { margin-top: 40px; }

.realisations-titre { font-size: 40px; margin-top: 120px; }
.realisations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 300px; gap: 12px; margin-top: 48px; }
.realisations figure { margin: 0; position: relative; overflow: hidden; }
.realisations picture, .realisations img { width: 100%; height: 100%; }
.realisations img { object-fit: cover; }
.realisations .signature { right: 12px; bottom: 8px; font-size: 12px; }
/* Sur téléphone, les petites vignettes (deux par ligne) n'ont pas la place : signature sur les grandes seulement. */
@media (max-width: 760px) {
  .realisations figure:not(.grande):not(.large):not(.derniere) .signature { display: none; }
}
.realisations .grande { grid-column: span 2; grid-row: span 2; }
.realisations .haute { grid-row: span 2; }
.realisations .large { grid-column: span 2; }

/* --- L'histoire d'un mur ------------------------------------------------- */
.histoire-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.histoire-tete p { margin-top: 16px; color: var(--muted); }
.histoire-tete a { font: 600 17px/1 var(--font-text); text-decoration: none; padding: 14px 0; }
.histoire-tete a:hover { text-decoration: underline; }
.histoire { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; position: relative; }
.histoire li { display: flex; flex-direction: column; }
.histoire img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.histoire-repere { position: relative; height: 1px; background: var(--rule); margin: 20px 0 16px; }
.histoire-repere::after { content: ""; position: absolute; left: 0; top: -4px; width: 9px; height: 9px; background: var(--mark); }
.histoire time { font: 800 20px/1.2 var(--font-display); letter-spacing: -.01em; }
.histoire li p { margin-top: 4px; color: var(--muted); font-size: 16px; line-height: 24px; }
/* Le temps passe : les repères se colorent un à un au défilement (navigateurs compatibles). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .histoire-repere::before { content: ""; position: absolute; inset: 0; background: var(--mark); transform-origin: left; transform: scaleX(0); animation: pousse linear both; animation-timeline: view(); animation-range: entry 60% cover 45%; }
    .histoire li:nth-child(2) .histoire-repere::before { animation-range: entry 75% cover 50%; }
    .histoire li:nth-child(3) .histoire-repere::before { animation-range: entry 90% cover 55%; }
    .histoire li:nth-child(4) .histoire-repere::before { animation-range: entry 100% cover 60%; }
  }
}
@keyframes pousse { to { transform: scaleX(1); } }

/* --- Prix ---------------------------------------------------------------- */
.prix { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: end; }
.prix-montant { font: 800 184px/.9 var(--font-display); letter-spacing: -.05em; white-space: nowrap; }
.prix-garantie { font: 300 36px/1.1 var(--font-display); letter-spacing: -.02em; margin-top: 16px; }
.inclus { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.inclus li { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.prix .action { margin-top: 32px; }

/* --- Et si votre projet se concrétise ? --------------------------------- */
.concretise .w { max-width: var(--container); }
.concretise-corps { max-width: 880px; display: grid; gap: 28px; }
.concretise-corps p { font-size: 21px; line-height: 32px; }

/* --- Questions fréquentes ------------------------------------------------ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq-liste { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 24px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .h3 { font-size: 22px; line-height: 1.2; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px; background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat; transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover .h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); }

/* --- Dernier bouton ------------------------------------------------------ */
.final { border-top: 1px solid var(--rule); }
.final-corps { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 72px; align-items: end; }
.final-corps p { margin-top: 20px; color: var(--muted); }

/* --- Pied de page -------------------------------------------------------- */
.pied { padding: 64px 0 48px; }
.pied .w { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.logo-bloc { display: inline-flex; flex-direction: column; font-family: var(--font-display); text-transform: uppercase; line-height: .8; letter-spacing: -.02em; }
.logo-bloc .l1 { font-weight: 300; font-size: 73px; }
.logo-bloc .l1 i { display: inline-block; width: .17em; height: .17em; background: var(--mark); margin-left: .05em; }
.logo-bloc .l2 { font-weight: 800; font-size: 58px; }
.logo-bloc .l3 { font-weight: 800; font-size: 72px; }
.pied-infos { display: flex; flex-direction: column; gap: 6px; font: 400 15px/22px var(--font-text); color: var(--muted); }
.pied-infos ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 24px; }
.pied-infos a { color: var(--ink); display: inline-block; padding: 11px 0; }

/* --- Barre de réservation (mobile) -------------------------------------- */
.barre { display: none; }

/* --- Mobile -------------------------------------------------------------- */
@media (max-width: 760px) {
  :root { --gutter: 20px; --section: 72px; }
  body { font-size: 17px; line-height: 27px; }
  .h1 { font-size: 44px; line-height: 1; }
  .h2 { font-size: 38px; }
  .h3 { font-size: 24px; }
  .btn { width: 100%; padding: 22px 20px; }
  .entete { height: 72px; }
  .entete nav { gap: 0; }
  .entete nav a:not(.btn) { display: none; }
  .entete .btn { width: auto; padding: 0 16px; min-height: 44px; }

  .accroche { grid-template-columns: 1fr; min-height: 0; }
  .accroche-texte { padding: 32px var(--gutter) 40px; }
  .accroche .h1 { margin-top: 16px; }
  .avatar img { width: 44px; height: 44px; }
  .accroche .chapeau { margin-top: 20px; font-size: 19px; line-height: 28px; }
  .accroche .action { margin-top: 28px; align-items: stretch; }
  .accroche-photo { min-height: 0; height: 380px; }

  .portes { grid-template-columns: 1fr; margin-top: 36px; }
  .porte-corps { padding: 24px 20px 28px; }
  .porte .h3 { font-size: 28px; }
  .etapes { grid-template-columns: 1fr; margin-top: 36px; }
  .etape { padding: 24px 0; border-bottom: 1px solid var(--rule); }
  .etape-num { font-size: 48px; }
  .qui { grid-template-columns: 1fr; gap: 36px; }
  .frise { grid-template-columns: 1fr; row-gap: 4px; }
  .frise dt:not(:first-child) { margin-top: 18px; }
  .realisations-titre { font-size: 32px; margin-top: 72px; }
  .realisations { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 8px; margin-top: 32px; }
  .realisations .grande { grid-column: span 2; grid-row: span 1; }
  .realisations .haute { grid-row: span 1; }
  .realisations .large, .realisations .derniere { grid-column: span 2; }
  .histoire { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; margin-top: 36px; }
  .histoire time { font-size: 17px; }
  .prix { grid-template-columns: 1fr; gap: 32px; }
  .prix-montant { font-size: 96px; }
  .prix-garantie { font-size: 28px; }
  .concretise-corps p { font-size: 19px; line-height: 29px; }
  .faq { grid-template-columns: 1fr; gap: 28px; }
  .faq details p { padding-right: 0; }
  .final-corps { grid-template-columns: 1fr; }
  .action { align-items: stretch; }

  .barre {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--ciel); border-top: 1px solid var(--anthracite);
    transform: translateY(110%); transition: transform .28s cubic-bezier(.2, .8, .2, 1);
  }
  .barre .btn { padding: 18px 20px; }
  .barre.visible { transform: none; }
  body.avec-barre { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (max-width: 400px) {
  .entete .logo { font-size: 22px; }
  .entete .btn { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .barre, .btn, .btn .fl, .faq summary::after { transition: none; }
}

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

/* --- Aiguillage ---------------------------------------------------------- */
.aiguillage { margin-top: 28px; display: grid; gap: 22px; }
.aig-etape { display: grid; gap: 14px; }
.aig-question { font: 800 26px/1.1 var(--font-display); letter-spacing: -.02em; }
.aig-choix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 620px; }
.choix {
  min-height: 64px; padding: 16px 20px; text-align: left;
  background: transparent; color: var(--ink); border: 2px solid var(--anthracite); border-radius: 0;
  font: 700 18px/1.25 var(--font-text); cursor: pointer;
  transition: background-color .18s cubic-bezier(.2, .8, .2, 1), color .18s cubic-bezier(.2, .8, .2, 1);
}
.choix:hover { background: var(--blanc); }
.choix[aria-pressed="true"] { background: var(--anthracite); color: var(--blanc); }
.aig-etape[hidden] { display: none; }
/* Rappel du choix, à la place des deux questions : « Vous avez choisi : » et « Modifier »,
   puis les deux options en texte simple (des étiquettes donnaient envie de cliquer). */
.aig-resume { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding-bottom: 8px; color: var(--muted); font: 500 15px/20px var(--font-text); }
/* Les options sont séparées par un point ; quand l'une passe à la ligne, son point est masqué à gauche. */
.aig-options { flex-basis: 100%; display: flex; flex-wrap: wrap; overflow: hidden; color: var(--ink); font: 600 18px/26px var(--font-text); }
.aig-option { margin: 0 1.2em 0 -1.2em; white-space: nowrap; }
.aig-option::before { content: "·"; display: inline-block; width: 1.2em; text-align: center; color: var(--muted); font-weight: 500; }
.aig-resume .aig-modifier { position: relative; min-height: 0; padding: 0; }
.aig-resume .aig-modifier::after { content: ""; position: absolute; inset: -12px -8px; }
.aig-modifier { background: none; border: 0; padding: 10px 0; min-height: 44px; font: 600 15px/20px var(--font-text); color: var(--ink); text-decoration: underline; text-underline-offset: .22em; cursor: pointer; }

/* Avant le choix : l'accroche seule. Sans JavaScript, la page complète reste lisible. */
html:not(.js) .aiguillage, html:not(.js) .aig-resume { display: none; }
.js:not(.choisi) .suite,
.js:not(.choisi) .apres-choix,
.js:not(.choisi) #action-accroche,
.js:not(.choisi) .barre { display: none; }
.js.choisi .aiguillage { display: none; }
.js.choisi .entete nav { visibility: visible; }

/* Après le choix : ce qui ne concerne pas le visiteur disparaît. */
html[data-situation="projet"] [data-pour~="mur"],
html[data-situation="mur"] [data-pour~="projet"],
html[data-public="particulier"] [data-pour~="pro"],
html[data-public="pro"] [data-pour~="particulier"] { display: none; }

/* Une seule porte : photo et texte côte à côte. */
.choisi .portes { grid-template-columns: 1fr; }
@media (min-width: 761px) {
  .choisi .porte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .choisi .porte .porte-photo, .choisi .porte picture, .choisi .porte img { height: 100%; }
  .choisi .porte img { aspect-ratio: auto; min-height: 420px; }
}
.porte-salon img { object-position: 50% 30%; }

@media (max-width: 760px) {
  .aiguillage { margin-top: 24px; gap: 22px; }
  .aig-question { font-size: 22px; }
  .aig-choix { grid-template-columns: 1fr; }
  .choix { min-height: 56px; }
}

/* Le bouton tient sur une ligne ; l'accroche passe en une colonne dès que deux colonnes l'étouffent. */
.btn { white-space: nowrap; }
@media (min-width: 761px) and (max-width: 1080px) {
  .accroche { grid-template-columns: 1fr; min-height: 0; }
  .accroche-texte { padding: 48px var(--gutter) 56px; max-width: 760px; }
  .accroche-photo { min-height: 0; height: 480px; }
  .h1 { font-size: 64px; }
  .entete nav a:not(.btn) { display: none; }
}
.qui .btn { white-space: normal; text-align: left; }
@media (max-width: 380px) {
  .btn { font-size: 17px; padding-left: 14px; padding-right: 14px; gap: 8px; }
}

/* --- L'histoire d'un mur : la vidéo et les étapes ------------------------ */
.histoire-grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.histoire-video { container-type: inline-size; }
.histoire-video video { display: block; width: 100%; height: auto; aspect-ratio: 1; background: var(--ardoise); }
/* Bandeau sous la vidéo : la frise, le lieu et la date, sur le fond de la page (même bleu, au pixel près). */
/* Aligné sur les bords de la vidéo ; la frise est rentrée de 10 px pour que le pixel ne déborde pas au départ. */
.histoire-bandeau { padding: 0; }
.fil { position: relative; height: 34px; margin: 18px 10px 0; }
.fil-ligne { position: absolute; left: 0; right: 0; top: 16px; height: 2px; background: rgb(27 29 30 / .3); }
.fil-mois { position: absolute; top: 12px; width: 2px; height: 10px; margin-left: -1px; background: rgb(27 29 30 / .3); }
.fil-plein { position: absolute; left: 0; right: 0; top: 13px; height: 8px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.fil-pixel { position: absolute; left: -10px; top: 7px; width: 20px; height: 20px; background: var(--accent); }
.fil-lieu { margin-top: 14px; font: 600 max(14px, 3.3cqw)/1.2 var(--font-text); color: var(--muted); }
.fil-date { margin-top: 6px; font: 800 max(28px, 8cqw)/1.05 var(--font-display); letter-spacing: -.02em; }
.histoire-texte .texte-sec { margin-top: 20px; }
.histoire-etapes { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.histoire-etapes li { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.histoire-etapes time { font: 800 22px/1.2 var(--font-display); letter-spacing: -.01em; }
.histoire-etapes span { color: var(--muted); }
.histoire-lien { display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px; font: 500 15px/20px var(--font-text); color: var(--muted); }
@media (max-width: 760px) {
  .histoire-grille { grid-template-columns: 1fr; gap: 0; }
  .histoire-video { order: 2; margin-top: 32px; }
  .histoire-texte { display: contents; }
  .histoire-texte h2 { order: 0; }
  .histoire-texte .texte-sec { order: 1; }
  .histoire-etapes { order: 3; margin-top: 32px; }
  .histoire-etapes li { grid-template-columns: 1fr; }
  .histoire-lien { order: 4; }
}

/* --- Portes : les points de l'audit en grille ---------------------------- */
.porte-corps { gap: 0; }
.porte .h3 { margin-bottom: 18px; }
.porte-intro { font-size: 20px; line-height: 30px; color: var(--ink); max-width: 36em; }
.porte-annonce { margin-top: 28px; font: 600 15px/20px var(--font-text); color: var(--muted); }
.points { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 32px; }
.points li { display: flex; flex-direction: column; gap: 6px; padding: 18px 0 22px; border-top: 2px solid var(--anthracite); }
.points strong { font: 800 22px/1.15 var(--font-display); letter-spacing: -.015em; color: var(--ink); }
.points span { color: var(--muted); font-size: 16px; line-height: 24px; }
.porte-conclusion { margin-top: 12px; font-size: 16px; line-height: 24px; color: var(--ink); }
.porte-lien {
  margin-top: 32px; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px;
  border: 2px solid var(--anthracite); color: var(--ink); text-decoration: none;
  font: 700 17px/1 var(--font-text);
  transition: background-color .18s cubic-bezier(.2, .8, .2, 1), color .18s cubic-bezier(.2, .8, .2, 1);
}
.porte-lien:hover { background: var(--anthracite); color: var(--blanc); text-decoration: none; }
@media (min-width: 761px) {
  .choisi .porte-corps { padding: 48px 48px 44px; justify-content: center; }
  .choisi .porte .h3 { font-size: 42px; }
}
@media (max-width: 760px) {
  .porte-intro { font-size: 18px; line-height: 28px; }
  .points { grid-template-columns: 1fr; }
  .porte-lien { align-self: stretch; justify-content: center; }
}

/* Accroche en une colonne (tablette, fenêtre étroite) : la photo garde une hauteur fixe. */
@media (max-width: 1080px) {
  .accroche-photo { display: flex; flex-direction: column; height: auto; }
  .accroche-photo picture { position: relative; height: 420px; }
  .accroche-photo img { position: absolute; inset: 0; }

}
@media (max-width: 760px) {
  .accroche-photo picture { height: 360px; }
}

/* --- Mouvement (skill animate) ------------------------------------------- */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* 1. Retour d'appui sur tous les boutons : on sent le bouton s'enfoncer, au doigt comme à la souris. */
.btn, .choix, .porte-lien, .aig-modifier {
  transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out);
}
.btn:active, .choix:active, .porte-lien:active { transform: scale(0.97); }
.choix[aria-pressed="true"] { transition: background-color 120ms ease, color 120ms ease, transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .choix:hover { background: var(--blanc); }
  .choix[aria-pressed="true"]:hover { background: var(--anthracite); }
}
@media (hover: none) {
  .choix:hover { background: transparent; }
  .choix[aria-pressed="true"] { background: var(--anthracite); }
}

/* 2. L'aiguillage : la deuxième question, puis le bouton de réservation, arrivent au lieu d'apparaître d'un coup. */
@keyframes entree {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
/* La deuxième question se déroule en hauteur (script de l'aiguillage) : la page ne saute plus. */

/* 3. Au défilement, dosé : chaque grand titre se découvre de bas en haut, puis son pixel se pose ;
   les listes (étapes, points de l'audit, ce qui est inclus) arrivent en cascade. Une seule fois. */
.anime [data-reveal="titre"] {
  clip-path: inset(-0.4em -0.1em 100% -0.1em);
  transition: clip-path 600ms var(--ease-in-out);
}
.anime [data-reveal="titre"][data-visible] { clip-path: inset(-0.4em -0.1em -0.3em -0.1em); }
.anime [data-reveal="titre"] .px {
  opacity: 0;
  transform: translateY(-0.5em) scale(1.8);
  transition: opacity 200ms var(--ease-out) 480ms, transform 420ms var(--ease-out) 480ms;
}
.anime [data-reveal="titre"][data-visible] .px { opacity: 1; transform: none; }
.anime [data-reveal="liste"] > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out);
}
.anime [data-reveal="liste"][data-visible] > * { opacity: 1; transform: none; }
.anime [data-reveal="liste"] > :nth-child(2) { transition-delay: 70ms; }
.anime [data-reveal="liste"] > :nth-child(3) { transition-delay: 140ms; }
.anime [data-reveal="liste"] > :nth-child(4) { transition-delay: 210ms; }
.anime [data-reveal="liste"] > :nth-child(n + 5) { transition-delay: 280ms; }

/* 4. Le pixel du titre principal : il tombe de plus haut, plus grand, et se pose après le titre. */
@keyframes pixel-pose {
  0% { opacity: 0; transform: translateY(-2.4em) scale(2.6); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
.accroche .h1 .px { animation: pixel-pose 900ms var(--ease-out) 450ms both; }

@media (prefers-reduced-motion: reduce) {
  .btn:active, .choix:active, .porte-lien:active { transform: none; }
  .accroche .h1 .px { animation: none; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===================================================================
   Questionnaire avant paiement (/questionnaire) et dossier (/dossier)
   =================================================================== */
[hidden] { display: none !important; }
.q { max-width: 760px; margin: 0 auto; padding: 64px var(--gutter) 120px; }
.q-tete { display: grid; gap: 18px; }
.q-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.q-intro { font-size: 20px; line-height: 30px; max-width: 34em; }
.q-avis { display: flex; align-items: baseline; gap: 10px; max-width: 34em; padding: 14px 18px; background: var(--blanc); font: 500 16px/24px var(--font-text); color: var(--ink); }
.q-avis::before { content: ""; width: 8px; height: 8px; background: var(--mark); flex: none; transform: translateY(-1px); }
.q-etat { margin-top: 40px; color: var(--muted); }

.q-form { margin-top: 48px; display: grid; gap: 40px; }
.q-champ, .q-groupe { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
.q-label, .q-legende { padding: 0; font: 800 22px/1.2 var(--font-display); letter-spacing: -.015em; color: var(--ink); }
.q-aide { color: var(--muted); font-size: 16px; line-height: 24px; }
.q-input {
  width: 100%; min-height: 56px; padding: 14px 16px;
  background: var(--blanc); color: var(--ink); border: 2px solid var(--anthracite); border-radius: 0;
  font: 400 18px/26px var(--font-text);
  -webkit-appearance: none; appearance: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.q-input:focus { outline: none; box-shadow: 0 0 0 3px var(--ciel), 0 0 0 6px var(--anthracite); }
.q-texte { min-height: 150px; resize: vertical; }
.q-invalide .q-input { border-color: var(--erreur); }
.q-erreur { display: flex; align-items: baseline; gap: 10px; color: var(--erreur); font: 600 15px/22px var(--font-text); }
.q-erreur::before { content: ""; width: 8px; height: 8px; background: var(--erreur); flex: none; transform: translateY(-1px); }
.q-erreur-envoi { margin-top: 4px; }

/* Profil : rappel du choix, ou les deux questions si le visiteur arrive sans avoir choisi. */
.q-profil { display: grid; gap: 28px; }
.q-suite { display: grid; gap: 40px; }
/* Tant que le profil n'est pas choisi, seules les deux questions s'affichent (textes et champs en dépendent). */
.js:not(.profil-ok) .q-suite, .js:not(.profil-ok) .q-envoi { display: none; }
.q-legende { margin-bottom: 12px; }
.q-resume { padding-bottom: 0; }
.q-choix-groupes { display: grid; gap: 28px; }
.q-choix { display: flex; align-items: center; cursor: pointer; }
.q-choix input { position: absolute; opacity: 0; pointer-events: none; }
.q-choix:has(input:checked) { background: var(--anthracite); color: var(--blanc); }
.q-choix:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Dimensions : deux champs côte à côte, l'unité dans le champ. */
.q-paire { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 420px; }
.q-mesure { display: grid; gap: 6px; }
.q-mesure-nom { font: 600 15px/20px var(--font-text); color: var(--muted); }
.q-unite-champ { position: relative; display: block; }
.q-unite-champ .q-input { padding-right: 40px; }
.q-unite { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font: 500 17px/1 var(--font-text); pointer-events: none; }
.q-prerempli { display: flex; align-items: center; gap: 10px; font: 500 15px/22px var(--font-text); color: var(--ink); }
.q-prerempli::before { content: ""; width: 8px; height: 8px; background: var(--mark); flex: none; }

/* Photos */
.q-consignes { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.q-consignes li { display: flex; align-items: baseline; gap: 10px; color: var(--muted); font-size: 16px; line-height: 24px; }
.q-consignes li::before { content: ""; width: 8px; height: 8px; background: var(--mark); flex: none; transform: translateY(-2px); }
.q-vignettes { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.q-vignettes:empty { display: none; }
.q-vignette { display: grid; gap: 0; }
.q-vignette img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--beton-clair); }
.q-retirer { min-height: 44px; padding: 0; background: none; border: 0; text-align: left; font: 600 15px/20px var(--font-text); color: var(--ink); text-decoration: underline; text-underline-offset: .22em; cursor: pointer; }
.q-ajout {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 20px; margin-top: 8px;
  border: 2px solid var(--anthracite); cursor: pointer; font: 700 17px/1.2 var(--font-text);
  transition: background-color 160ms ease, color 160ms ease;
}
.q-ajout:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.q-ajout-plus { position: relative; width: 16px; height: 16px; flex: none; background: linear-gradient(currentColor, currentColor) center / 16px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 16px no-repeat; }
.q-compte { margin-left: auto; color: var(--muted); font: 500 15px/20px var(--font-text); }
@media (hover: hover) and (pointer: fine) {
  .q-ajout:hover { background: var(--anthracite); color: var(--blanc); }
  .q-ajout:hover .q-compte { color: var(--beton-clair); }
}
.q-ajout:active { transform: scale(0.98); }
.q-sans { margin-top: 2px; }

/* Envoi */
.q-envoi { display: grid; gap: 14px; justify-items: start; }
.q-bouton { border: 0; cursor: pointer; }
.q-bouton:disabled { opacity: .55; cursor: progress; }
.q-progression { width: 100%; max-width: 420px; display: grid; gap: 8px; font: 500 15px/20px var(--font-text); color: var(--muted); }
.q-barre { height: 6px; background: rgb(27 29 30 / .15); overflow: hidden; }
.q-barre span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); transition: transform 200ms var(--ease-out, ease-out); }
.q-ok { display: flex; align-items: center; gap: 10px; font: 600 16px/22px var(--font-text); outline: none; }
.q-ok::before { content: ""; width: 8px; height: 8px; background: var(--mark); flex: none; }

/* Fin */
.q-fin { display: grid; gap: 20px; justify-items: start; outline: none; }
.q-fin > div { display: grid; gap: 20px; justify-items: start; }
.q-numero { font: 800 44px/1 var(--font-display); letter-spacing: -.02em; }
.q-lien { display: grid; gap: 12px; width: 100%; max-width: 40em; padding: 18px; background: var(--blanc); }
.q-lien-texte { font: 400 16px/24px var(--font-text); }
.q-lien-ligne { display: flex; }
.q-lien-champ { min-width: 0; flex: 1; font-size: 15px; border-right: 0; }
.q-copier { flex: none; min-height: 56px; padding: 0 20px; background: var(--anthracite); color: var(--blanc); border: 2px solid var(--anthracite); font: 700 16px/1 var(--font-text); cursor: pointer; transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.q-copier:hover { background: var(--ardoise); }
.q-copier:active { transform: scale(0.97); }

@media (max-width: 760px) {
  .q { padding: 36px var(--gutter) 96px; }
  .q-intro { font-size: 18px; line-height: 28px; }
  .q-form { margin-top: 36px; gap: 34px; }
  .q-suite { gap: 34px; }
  .q-label, .q-legende { font-size: 20px; }
  .q-envoi { justify-items: stretch; }
  .q-vignettes { gap: 8px; }
  .q-numero { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .q-input, .q-ajout, .q-barre span, .q-copier { transition: none; }
  .q-copier:active { transform: none; }
  .q-ajout:active { transform: none; }
}

/* Pages légales (mentions, CGV, confidentialité) : titre sur le ciel, texte long sur une feuille blanche. */
.legal .retour { font: 500 16px/1 var(--font-text); padding: 14px 0; text-decoration: none; }
.legal .retour:hover { text-decoration: underline; }
.legal-tete { padding: 80px 0 64px; }
.legal-tete .maj { margin-top: 20px; font-size: 15px; line-height: 22px; color: var(--muted); }
.sommaire { margin-top: 44px; max-width: 52em; }
.sommaire ol { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 48px; counter-reset: art; }
.sommaire li { counter-increment: art; break-inside: avoid; display: flex; gap: 12px; font: 400 16px/22px var(--font-text); }
.sommaire li::before { content: counter(art); min-width: 1.4em; font-variant-numeric: tabular-nums; color: var(--muted); padding: 9px 0; }
.sommaire a { display: block; padding: 9px 0; text-decoration: none; }
.sommaire a:hover { text-decoration: underline; }
.legal-feuille { padding: 80px 0 112px; }
.legal-texte { max-width: 40em; }
.legal-texte a { overflow-wrap: anywhere; }
.article { scroll-margin-top: 24px; }
.article + .article { margin-top: 64px; }
.article h2 { display: flex; align-items: baseline; gap: 14px; font: 700 28px/1.15 var(--font-display); letter-spacing: -.02em; margin-bottom: 18px; }
.article .num { flex: none; min-width: 1.15em; font-weight: 300; font-variant-numeric: tabular-nums; color: var(--feuille); }
.article p + p, .article p + ul, .article ul + p, .article .encadre + p, .article p + .encadre { margin-top: 16px; }
.article ul { list-style: none; margin: 0; padding: 0; }
.article li { position: relative; padding-left: 24px; }
.article li + li { margin-top: 8px; }
.article li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 7px; height: 7px; background: var(--mark); }
.encadre { padding: 24px 28px; background: var(--ciel); font-size: 16px; line-height: 26px; }
.encadre p + p { margin-top: 6px; }
@media (max-width: 760px) {
  .legal-tete { padding: 48px 0 40px; }
  .sommaire { margin-top: 32px; }
  .sommaire ol { columns: 1; }
  .legal-feuille { padding: 48px 0 72px; }
  .article + .article { margin-top: 48px; }
  .article h2 { font-size: 23px; gap: 10px; }
  .encadre { padding: 20px; }
}
@media print {
  .legal .entete, .legal .pied, .sommaire { display: none; }
  .legal-tete, .legal-feuille { padding: 0 0 24px; background: none; }
}
