/* Outdoor Studio — système visuel « Balisage » (docs/design.md, docs/maquette-balisage.html).
   Polices auto-hébergées, aucun appel à un autre domaine. */

@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/bigshouldersdisplay-800.woff2') format('woff2'); }
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 900; font-display: swap; src: url('/assets/fonts/bigshouldersdisplay-900.woff2') format('woff2'); }
@font-face { font-family: 'Overpass'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/overpass-400.woff2') format('woff2'); }
@font-face { font-family: 'Overpass'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/overpass-600.woff2') format('woff2'); }
@font-face { font-family: 'Overpass'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/overpass-700.woff2') format('woff2'); }
@font-face { font-family: 'Overpass Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/overpassmono-500.woff2') format('woff2'); }
@font-face { font-family: 'Overpass Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/overpassmono-700.woff2') format('woff2'); }

:root {
  --papier: #EEF0EA;
  --papier-2: #E2E6DD;
  --encre: #16201B;
  --encre-2: #3B4A42;
  --gris-sentier: #4F5E56;
  --balise: #C8431F;
  --balise-texte: #B23A1B;
  --balise-claire: #F0A07E;
  --blanc: #FFFFFF;
  --encre-texte-2: #C9D3CC;   /* texte secondaire sur fond Encre */
  --encre-filet: #3A4A41;     /* filets sur fond Encre */
  --f-titre: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --f-texte: 'Overpass', system-ui, sans-serif;
  --f-mono: 'Overpass Mono', 'Courier New', monospace;
  --radius: 2px;
  --pointe: 26px;
  --ombre: 0 30px 60px -30px rgba(22, 32, 27, .45);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--f-texte);
  font-size: 16px;
  line-height: 1.5;
  color: var(--encre);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
/* L'attribut hidden l'emporte toujours, même sur les éléments qui fixent leur display (plaques, grilles). */
[hidden] { display: none !important; }
picture { display: block; }
figure { margin: 0; }
a { color: var(--balise-texte); text-decoration-thickness: 2px; }
a:hover { color: var(--encre); }
:focus-visible { outline: 3px solid var(--balise-texte); outline-offset: 2px; }
.reperes :focus-visible, .site-footer :focus-visible,
footer :focus-visible, .process-step-encre:focus-visible { outline-color: var(--balise-claire); }

h1, h2, h3, h4 {
  font-family: var(--f-titre);
  font-weight: 900;
  line-height: .95;
  text-transform: uppercase;
  margin: 0 0 .5em;
}
h1 { letter-spacing: -.01em; }
/* Accueil : la maquette garde l'interligne par défaut là où elle n'en fixe pas */
.accueil { line-height: normal; }
.accueil .form-box { line-height: 1.5; }
p { margin: 0 0 1em; max-width: 65ch; }
.mono { font-family: var(--f-mono); }
.lede { font-size: 1.15rem; color: var(--encre-2); }
.hint { font-size: .875rem; color: var(--gris-sentier); }

.wrap { max-width: 1320px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 640px) {
  .wrap, .container { padding-left: 20px; padding-right: 20px; }
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--encre); color: var(--papier); padding: 10px 16px;
}
.skip-link:focus { left: 10px; top: 10px; color: var(--papier); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 13px 22px;
  font-family: var(--f-texte); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 0; border-radius: var(--radius); cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--balise); color: var(--blanc); }
.btn-primary:hover { background: var(--balise-texte); color: var(--blanc); }
.btn-ghost { background: var(--encre); color: var(--papier); }
.btn-ghost:hover { background: var(--encre-2); color: var(--papier); }
.btn[disabled], .btn.disabled { opacity: .55; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ---------- Plaque fléchée ---------- */
.plaque {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 16px calc(var(--pointe) + 18px) 16px 22px;
  text-decoration: none; border: 0; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--pointe)) 0, 100% 50%, calc(100% - var(--pointe)) 100%, 0 100%);
}
.plaque-action { background: var(--balise); color: var(--blanc); }
.plaque-neutre { background: var(--blanc); color: var(--encre); border-left: 6px solid var(--encre); }
a.plaque:hover, button.plaque:hover { color: inherit; }
a.plaque-action:hover { color: var(--blanc); }
.plaque-label {
  font-family: var(--f-titre); font-weight: 800; font-size: 26px;
  letter-spacing: .02em; text-transform: uppercase;
}
.plaque-value { font-family: var(--f-mono); font-weight: 700; font-size: 17px; white-space: nowrap; }
a.plaque:active, button.plaque:active { transform: translateY(1px); }
/* Mouvement : retour d'action au survol (la pointe avance de 6 px) */
@media (prefers-reduced-motion: no-preference) {
  a.plaque, button.plaque { transition: transform .18s ease-out; }
  a.plaque:hover, button.plaque:hover { transform: translateX(6px); }
  a.plaque:hover:active, button.plaque:hover:active { transform: translateX(6px) translateY(1px); }
}
/* État de départ des animations du haut de page, posé par le script d'en-tête (voir motion.js) */
.motion-pending .hero-plates .plaque { opacity: 0; }
.titre-masque { display: block; }

/* Balisage décoratif : blanc au-dessus de rouge, 2 × 18 px, 120 px */
.balisage-decor { display: flex; flex-direction: column; width: 120px; }
.balisage-decor > span { height: 18px; background: var(--blanc); }
.balisage-decor > span + span { background: var(--balise); }

/* ---------- Matière (docs/design.md, « Matière ») ---------- */
/* Grain : noir à 0-7 % d'opacité déjà calculé dans l'image (équivaut au bruit en multiplication à 7 %). */
.grain { background-image: url('/assets/img/grain.png'); background-size: 256px 256px; }
/* Lignes de niveau : à poser en fond des sections Papier marquantes, jamais derrière un texte courant sans plaque. */
.lignes-niveau {
  background-image: url('/assets/img/lignes-niveau.svg'), url('/assets/img/grain.png');
  background-size: cover, 256px 256px; background-position: center, 0 0; background-repeat: no-repeat, repeat;
}

/* ---------- Menu fixe ---------- */
:root { --hauteur-menu: 80px; }
html { scroll-padding-top: calc(var(--hauteur-menu) + 8px); }
.masthead {
  position: sticky; top: 0; z-index: 50;
  background-color: var(--papier); border-bottom: 1px solid var(--papier-2);
}
.masthead-inner {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo nav cta";
  align-items: center; gap: 12px 32px; min-height: var(--hauteur-menu); padding-top: 12px; padding-bottom: 12px;
}
.logo { grid-area: logo; display: inline-flex; align-items: center; min-height: 44px; }
.logo img { height: 28px; width: auto; }
.nav { grid-area: nav; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 28px; align-items: center; font-weight: 600; font-size: 15px; }
.nav a { color: var(--encre); text-decoration: none; padding: 12px 0; }
.nav a:hover { color: var(--balise-texte); }
.nav-cta { grid-area: cta; min-height: 56px; padding: 12px calc(var(--pointe) + 16px) 12px 20px; }
.nav-cta .plaque-label { font-size: 22px; }
/* Accueil : le menu fait partie de la nuit (fond Encre, logo clair). */
.masthead-nuit { background-color: var(--encre); border-bottom-color: var(--encre-filet); }
.masthead-nuit .nav a { color: var(--papier); }
.masthead-nuit .nav a:hover { color: var(--balise-claire); }
.masthead-nuit :focus-visible { outline-color: var(--balise-claire); }
/* Tablette et téléphone : logo et plaque sur la première ligne, les 5 liens sur une seule ligne en dessous. */
@media (max-width: 1023px) {
  :root { --hauteur-menu: 112px; }
  .masthead-inner {
    grid-template-columns: 1fr auto; grid-template-areas: "logo cta" "nav nav";
    gap: 4px 12px; padding-top: 8px; padding-bottom: 0;
  }
  .nav { justify-content: flex-start; gap: 0 28px; }
  .nav a { padding: 11px 0; white-space: nowrap; }
}
/* Téléphone : si les liens ne tiennent pas sur la largeur, la ligne défile horizontalement (jamais sur deux lignes). */
@media (max-width: 767px) {
  .logo img { height: 24px; }
  .nav {
    flex-wrap: nowrap; justify-content: space-between; gap: 0 18px; font-size: 15px;
    overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-right: calc(-1 * var(--marge, 20px)); padding-right: var(--marge, 20px);
    /* Fondu sur le bord droit : signale la suite de la ligne ; en fin de défilement, il ne couvre que la marge. */
    -webkit-mask-image: linear-gradient(to left, transparent 0, #000 24px); mask-image: linear-gradient(to left, transparent 0, #000 24px);
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex-shrink: 0; }
  .nav-cta { min-height: 56px; padding-left: 16px; padding-right: calc(var(--pointe) + 10px); }
  .nav-cta .plaque-label { font-size: 20px; }
}
@media (max-width: 359px) {
  .nav { font-size: 14px; }
  .logo img { height: 20px; }
}

/* ---------- Bandeau Repères ---------- */
.reperes { background-color: var(--encre); color: var(--papier); }
.reperes-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  row-gap: 32px; column-gap: 32px; padding-top: 56px; padding-bottom: 56px;
}
/* 3 colonnes : la marge intérieure de 32 px de part et d'autre du filet sépare déjà les colonnes (rendu de la maquette) */
@media (min-width: 860px) { .reperes-grid { column-gap: 0; } }
.repere { display: flex; flex-direction: column; gap: 8px; padding: 0 32px; border-right: 1px solid var(--encre-filet); }
.repere:first-child { padding-left: 0; }
.repere:last-child { padding-right: 0; border-right: 0; }
.repere-n { font-family: var(--f-mono); font-weight: 700; font-size: 64px; line-height: 1; }
.repere-n-accent { color: var(--balise-claire); }
.repere-l { font-size: 16px; line-height: 1.45; color: var(--encre-texte-2); max-width: 30ch; }
@media (max-width: 859px) {
  .repere { padding: 0; border-right: 0; }
}

/* ---------- Sections ---------- */
.section { display: flex; flex-direction: column; padding-top: 112px; padding-bottom: 104px; }
.titre-section { margin: 0; font-size: clamp(44px, 5.6vw, 80px); line-height: .95; }
.section-head { display: flex; flex-direction: column; gap: 18px; }
.section-intro { margin: 0; font-size: 18px; line-height: 1.55; color: var(--encre-2); max-width: 52ch; }
.note { margin: 0; font-size: 14px; color: var(--gris-sentier); max-width: 70ch; }

/* Réalisations (dans #resultats) */
.realisations-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.real-main { flex: 3 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.real-main img { width: 100%; height: auto; box-shadow: var(--ombre); }
.real-caption { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: baseline; font-size: 18px; }
.real-nom { font-weight: 700; font-size: 18px; }
.real-caption s { color: var(--gris-sentier); }
.real-caption strong { color: var(--balise-texte); }
.real-mobile { margin-top: 48px; flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.real-mobile img { box-sizing: content-box; width: 260px; max-width: 100%; height: auto; border: 10px solid var(--encre); border-radius: 28px; }
.real-mobile-caption { display: flex; flex-direction: column; gap: 4px; }
.real-mobile-caption .mono { font-size: 15px; color: var(--encre-2); }

/* Styles */
.styles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.style-card { display: flex; flex-direction: column; background: var(--blanc); }
.style-sample { position: relative; overflow: hidden; height: 220px; padding: 22px; display: flex; font-size: 15px; }
.style-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.style-nom { margin: 0; font-size: 32px; line-height: normal; }
.style-body p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--encre-2); }
/* Échantillons des styles proposés aux clients (seule exception à la palette, voir design.md) */
.style-topo { background: #EDE6D6; align-items: flex-end; }
.style-topo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.style-topo > span { position: relative; color: #23251F; background: #EDE6D6; padding: 4px 0; }
.style-topo > .topo-repere { position: absolute; left: 58%; top: 26%; padding: 0; background: none; }
.style-altitude > span { position: relative; }
.altitude-crete { position: absolute; left: 0; bottom: 0; width: 100%; height: 46%; }
.pulse-bande-2 { position: absolute; left: -20%; top: 108px; width: 140%; height: 16px; background: #FF5A36; transform: rotate(-8deg); }
.pulse-pastille { position: absolute; right: 22px; top: 18px; width: 40px; height: 40px; border-radius: 50%; background: #FF5A36; }
.marque-nuancier { position: absolute; left: 22px; bottom: 22px; display: flex; gap: 6px; }
.marque-nuancier > span { width: 18px; height: 18px; background: var(--encre); }
.marque-nuancier > span:nth-child(2) { background: var(--balise); }
.marque-nuancier > span:nth-child(3) { background: var(--encre-2); }
.marque-nuancier > span:nth-child(4) { background: var(--blanc); box-shadow: inset 0 0 0 1px var(--encre-2); }
.style-altitude { background: #F6F7F8; flex-direction: column; justify-content: space-between; border-bottom: 1px solid #DCE3E8; }
.style-altitude-trait { height: 1px; width: 40%; background: #1C2630; }
.style-altitude > span:last-child { color: #1C2630; letter-spacing: .14em; text-transform: uppercase; }
.style-pulse { background: #141414; align-items: flex-end; }
.style-pulse-bande { position: absolute; left: -20%; top: 46px; width: 140%; height: 46px; background: #F4D03F; transform: rotate(-8deg); }
.style-pulse > span:last-child { position: relative; font-weight: 700; color: #F4D03F; }
.style-marque { background: var(--papier-2); align-items: center; justify-content: center; gap: 12px; }
.style-marque-rond { width: 72px; height: 72px; border: 2px dashed var(--encre-2); border-radius: 50%; }
.style-marque-bandes { display: flex; flex-direction: column; gap: 6px; }
.style-marque-bandes > span { width: 34px; height: 14px; background: var(--encre); }
.style-marque-bandes > span + span { background: var(--balise); }

/* ---------- Éléments communs v3 ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sur-titre {
  display: inline-flex; align-items: center; gap: 12px; margin: 0;
  font-family: var(--f-mono); font-weight: 700; font-size: 14px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--balise-texte);
}
/* Petite marque de balisage devant le sur-titre (blanc au-dessus de rouge). */
.sur-titre::before {
  content: ""; flex-shrink: 0; width: 28px; height: 12px;
  background: linear-gradient(to bottom, var(--blanc) 50%, var(--balise) 50%);
  box-shadow: 0 0 0 1px rgba(22, 32, 27, .12);
}
/* Mot géant : Big Shoulders Display 900, Balise texte, interligne 0,86 (un par section, trois au plus). */
.mot-geant {
  display: block; font-family: var(--f-titre); font-weight: 900; line-height: .86;
  letter-spacing: -.01em; text-transform: uppercase; color: var(--balise-texte);
}
/* Plaque qui n'est pas un lien (repère, comme dans la vidéo). */
.plaque-fixe { display: inline-flex; width: fit-content; cursor: default; }
.plaque-fixe .plaque-label { white-space: nowrap; }
.insecable { white-space: nowrap; }
/* Balisage de transition entre sections : blanc au-dessus de rouge, sur toute la largeur (décor). */
.balisage-transition { display: flex; flex-direction: column; }
.balisage-transition > span { height: 8px; background: var(--blanc); }
.balisage-transition > span + span { background: var(--balise); }
.plaque-encre { background: var(--encre); color: var(--papier); border-left: 6px solid var(--balise); }

/* ---------- 1. Accroche (nuit) ---------- */
.accroche { background-color: var(--encre); color: var(--papier); }
.accroche :focus-visible, .video-longue :focus-visible { outline-color: var(--balise-claire); }
.accroche-grille {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 72px;
  min-height: min(calc(100svh - var(--hauteur-menu)), 820px);
}
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.accroche h1 { margin: 0; color: var(--blanc); font-size: clamp(56px, 5.8vw, 92px); line-height: .9; text-wrap: balance; }
.hero-intro { margin: 0; font-size: 20px; line-height: 1.5; max-width: 34ch; color: var(--encre-texte-2); }
.hero-plates { display: flex; flex-direction: column; gap: 10px; max-width: 440px; }
.boucle { position: relative; aspect-ratio: 16 / 9; background: #121b16; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.boucle-attente, .boucle-attente img, .boucle-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.boucle-video { opacity: 0; transition: opacity .6s ease-out; }
.boucle-video.lecture { opacity: 1; }
.boucle-lancer { position: absolute; left: 16px; bottom: 16px; font: inherit; }
.boucle-lancer .plaque-label { font-size: 22px; }
.boucle-bloc { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
/* Sous la vidéo, jamais dessus : la boucle porte son propre texte. Hauteur réservée : pas de décalage à l'apparition. */
.boucle-commandes { display: flex; justify-content: flex-end; min-height: 44px; }
.boucle-pause { min-height: 44px; padding: 8px calc(var(--pointe) + 8px) 8px 14px; font: inherit; }
.boucle-pause .plaque-label { font-size: 18px; }
@media (max-width: 1023px) {
  .accroche-grille { grid-template-columns: minmax(0, 1fr); gap: 36px; min-height: 0; }
}
/* Téléphone : boucle verticale, sous le titre et les plaques. */
@media (max-width: 767px) {
  .accroche-grille { padding-top: 24px; padding-bottom: 48px; gap: 28px; }
  .accroche h1 { font-size: 46px; }
  .hero-text { gap: 18px; }
  .hero-intro { font-size: 18px; }
  .boucle-bloc { width: min(100%, calc(85svh * 9 / 16)); margin-inline: auto; }
  .boucle { aspect-ratio: 9 / 16; }
}

/* ---------- 2. Problème ---------- */
.probleme { background-color: var(--papier); }
.probleme-inner { gap: 48px; }
.probleme-titre { max-width: 17ch; }
.douleurs {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px;
}
.douleur {
  display: flex; flex-direction: column; gap: 14px; padding: 28px 28px 30px;
  background: var(--blanc); border-left: 6px solid var(--encre); box-shadow: var(--ombre);
}
.douleur p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--encre-2); }
.douleur-n { font-family: var(--f-mono); font-weight: 700; font-size: clamp(48px, 5vw, 68px); line-height: 1; color: var(--encre); }
.douleur-n s { text-decoration-line: line-through; text-decoration-color: var(--balise); text-decoration-thickness: .09em; }
.douleur .douleur-mention { font-size: 14px; color: var(--gris-sentier); }
.pivot { margin: 24px 0 0; max-width: none; font-family: var(--f-titre); font-weight: 900; text-transform: uppercase; color: var(--encre); }
.pivot-ligne { display: block; font-size: clamp(32px, 4.4vw, 64px); line-height: .95; }
.pivot .mot-geant { font-size: clamp(88px, 16vw, 216px); margin: .04em 0 .02em; }

/* ---------- 3a. Module de réservation ---------- */
.module { background-color: var(--papier-2); }
.module-inner { gap: 64px; }
.module-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.module-text { display: flex; flex-direction: column; gap: 22px; }
.module-text .titre-section { font-size: clamp(40px, 4.6vw, 68px); }
.module-text > p { margin: 0; }
.module-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 54ch; }
.module-points li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.5; color: var(--encre-2); }
.module-points li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 10px; background: var(--balise);
  clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%);
}
.module-dispo { font-size: 15px; font-weight: 700; color: var(--balise-texte); max-width: 54ch; }
/* Ordinateur : l'aperçu à gauche, le texte à droite (comme le plan 3 de la vidéo) ; téléphone : le texte d'abord. */
@media (min-width: 1024px) { .module-grid .apercu { order: -1; } }
@media (max-width: 1023px) { .module-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; } }

/* Aperçu de l'interface (reconstruit d'après le plan 3 de la vidéo) */
.apercu { position: relative; max-width: 520px; width: 100%; margin: 0 auto; padding-top: 18px; }
.apercu-etiquette {
  position: absolute; top: 0; left: 0; z-index: 1; padding: 4px 12px;
  font-family: var(--f-mono); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--encre); color: var(--papier);
}
.apercu-carte { background: var(--blanc); box-shadow: 0 40px 70px -36px rgba(22, 32, 27, .55); }
.apercu-tete {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 26px 0 20px 20px; border-bottom: 1px solid var(--papier-2);
}
.apercu-tete img { width: 76px; height: 76px; object-fit: cover; }
.apercu-titre { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.apercu-nom { font-family: var(--f-titre); font-weight: 900; font-size: 34px; line-height: .95; text-transform: uppercase; }
.apercu-jour { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; color: var(--encre-2); }
.apercu-complet { --pointe: 16px; min-height: 40px; padding: 6px 30px 6px 14px; }
.apercu-complet .plaque-label { font-size: 22px; }
.apercu-jauge {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 22px; align-items: center;
  padding: 22px 20px 20px; border-bottom: 1px solid var(--papier-2);
}
.apercu-places { font-family: var(--f-mono); font-weight: 700; font-size: clamp(52px, 6vw, 72px); line-height: 1; }
.apercu-personnes { display: grid; grid-template-columns: repeat(4, 26px); gap: 8px 14px; color: var(--encre-2); }
.apercu-personnes svg { width: 26px; height: 26px; }
.apercu-personnes .personne-nouvelle { color: var(--balise); }
.apercu-barre { grid-column: 1 / -1; height: 10px; background: var(--papier-2); }
.apercu-barre > span { display: block; height: 100%; background: var(--balise); transform-origin: 0 50%; }
.apercu-acompte {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px;
  font-weight: 700; font-size: 18px; color: var(--encre);
}
.apercu-prevenir {
  display: flex; align-items: center; gap: 12px; margin: 0 20px 20px; padding: 16px 18px;
  background: var(--encre); color: var(--papier); font-weight: 700; font-size: 17px;
}
@media (max-width: 420px) {
  .apercu-tete { grid-template-columns: 60px minmax(0, 1fr); padding-right: 20px; }
  .apercu-tete img { width: 60px; height: 60px; }
  .apercu-complet { grid-column: 1 / -1; }
  .apercu-nom { font-size: 28px; }
}

/* ---------- 3c. Ton image (nuit : la vidéo et le logo du site servent d'exemple) ---------- */
.image { background-color: var(--encre); color: var(--papier); }
.image :focus-visible { outline-color: var(--balise-claire); }
.image-inner { gap: 56px; }
.image .sur-titre { color: var(--balise-claire); }
.image .titre-section { color: var(--blanc); max-width: 17ch; text-wrap: balance; }
.image .section-intro { color: var(--encre-texte-2); }
/* Trois produits, trois cellules de tailles différentes : le Clip (vertical) occupe toute la hauteur à droite. */
.image-grille {
  display: grid; gap: 20px;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  grid-template-areas: "identite clip" "film clip";
}
.image-identite { grid-area: identite; }
.image-clip { grid-area: clip; }
.image-film { grid-area: film; }
.image-carte { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--encre-filet); }
.image-carte-texte { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.image-carte h3 { margin: 0; font-size: 32px; line-height: 1; color: var(--blanc); }
.image-carte h3 .mono { font-size: .62em; font-weight: 700; color: var(--balise-claire); white-space: nowrap; }
.image-carte p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--encre-texte-2); max-width: 52ch; }
/* Identité : planche de la charte d'Outdoor Studio (logo complet, compact, icône, trois couleurs). */
.identite-planche {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "complet complet" "ligne pastilles";
  gap: 28px 24px; align-items: center; padding: 36px 32px 30px; background: var(--papier-2);
}
.identite-complet { grid-area: complet; width: min(100%, 520px); height: auto; min-height: 40px; }
.identite-ligne { grid-area: ligne; display: flex; align-items: center; gap: 22px; }
.identite-compact { height: 28px; width: auto; }
.identite-icone { width: 56px; height: 56px; }
.identite-pastilles { grid-area: pastilles; display: flex; gap: 8px; }
.identite-pastilles > span { width: 34px; height: 34px; box-shadow: inset 0 0 0 1px rgba(22, 32, 27, .25); }
.pastille-papier { background: var(--papier); }
.pastille-encre { background: var(--encre); }
.pastille-balise { background: var(--balise); }
/* Clip : la boucle verticale, lue sans le son au toucher, dans la carte. */
.clip-cadre { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #121b16; }
.clip-attente, .clip-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip-video { opacity: 0; transition: opacity .4s ease-out; }
.clip-video.lecture { opacity: 1; }
.clip-lancer { position: absolute; left: 16px; bottom: 16px; font: inherit; }
.clip-lancer .plaque-label { font-size: 20px; }
/* Film : l'image d'attente ouvre la vidéo longue. */
.film-ouvrir { position: relative; display: block; overflow: hidden; color: inherit; text-decoration: none; }
.film-attente { aspect-ratio: 16 / 9; }
.film-attente img { width: 100%; height: 100%; object-fit: cover; }
.film-plaque { position: absolute; left: 16px; bottom: 16px; min-width: 240px; }
.film-plaque .plaque-label { font-size: 22px; }
@media (prefers-reduced-motion: no-preference) {
  .film-attente img { transition: transform .4s ease-out; }
  .film-ouvrir:hover .film-attente img { transform: scale(1.02); }
  .film-plaque { transition: transform .18s ease-out; }
  .film-ouvrir:hover .film-plaque { transform: translateX(6px); }
}
.film-ouvrir:active .film-plaque { transform: translateY(1px); }
.film-ouvrir:focus-visible { outline-offset: -3px; }
.image-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.image-packs { margin: 0; font-size: 17px; line-height: 1.6; color: var(--papier); max-width: 62ch; }
.image-packs .mono { white-space: nowrap; color: var(--balise-claire); }
.image-commander { min-width: 300px; }
@media (max-width: 1023px) {
  .image-grille { grid-template-columns: minmax(0, 1fr); grid-template-areas: "identite" "clip" "film"; }
  .clip-cadre { width: min(100%, 380px); }
  .image-clip { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
  .image-clip .image-carte-texte { flex: 1 1 260px; }
}
@media (max-width: 767px) {
  .identite-planche { grid-template-columns: minmax(0, 1fr); grid-template-areas: "complet" "ligne" "pastilles"; padding: 28px 22px 24px; gap: 22px; }
  .film-attente { aspect-ratio: 4 / 5; }
  .clip-cadre { width: 100%; }
  .image-carte h3 { font-size: 28px; }
  .image-commander { min-width: 0; width: 100%; }
}

/* ---------- Un pro du terrain (photo de Tétard) ---------- */
.guide { background-color: var(--papier); }
.guide-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
/* Photo posée sur un aplat Encre décalé : un peu de profondeur, comme une plaque derrière la photo. */
.guide-photo { position: relative; isolation: isolate; max-width: 500px; margin-right: 24px; margin-bottom: 24px; }
.guide-photo::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; z-index: -1; background: var(--encre); }
.guide-photo img { width: 100%; height: auto; }
.guide-texte { display: flex; flex-direction: column; gap: 26px; }
.guide-texte .titre-section { max-width: 15ch; text-wrap: balance; }
.guide-recit { margin: 0; font-size: 20px; line-height: 1.55; color: var(--encre-2); max-width: 54ch; }
.guide-signature { display: flex; align-items: center; gap: 14px; margin: 0; font-family: var(--f-mono); font-weight: 700; font-size: 15px; line-height: 1.45; color: var(--encre); }
.guide-signature .balisage-decor { width: 36px; flex-shrink: 0; }
.guide-signature .balisage-decor > span { height: 8px; }
@media (max-width: 1023px) {
  .guide-inner { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .guide-photo { width: min(100% - 24px, 440px); }
}
@media (max-width: 767px) {
  .guide-recit { font-size: 18px; }
}

/* ---------- 3b. Ton site au goût du jour ---------- */
.site-inner { gap: 64px; }
.site-tete { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; }
.site-tete .titre-section { max-width: 16ch; }
.site-promesse { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.site-corps { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 64px; align-items: start; }
.styles { display: flex; flex-direction: column; gap: 18px; }
.styles-titre { margin: 0; font-size: clamp(32px, 3.4vw, 48px); }
.styles .section-intro { margin-bottom: 14px; }
.styles .styles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .styles .styles-grid { grid-template-columns: minmax(0, 1fr); } }
.style-altitude { justify-content: flex-start; gap: 22px; }
.style-altitude .altitude-crete { height: 38%; }
@media (max-width: 1023px) {
  .site-tete { grid-template-columns: minmax(0, 1fr); }
  .site-corps { grid-template-columns: minmax(0, 1fr); gap: 56px; }
}

/* Téléphone haute fidélité : le site d'un client, avec ses fiches d'activité */
.telephone {
  width: 300px; max-width: 100%; margin: 0 auto; height: 600px; overflow: hidden;
  border: 10px solid var(--encre); border-radius: 28px; background: #F4F3EE;
  box-shadow: 0 40px 70px -36px rgba(22, 32, 27, .6);
}
.telephone-ecran { display: flex; flex-direction: column; gap: 12px; padding: 14px 12px; }
.fiche { background: var(--blanc); border-radius: 10px; overflow: hidden; box-shadow: 0 6px 16px -10px rgba(22, 32, 27, .35); }
.fiche img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.fiche-corps {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 10px 12px 12px; color: #23251F;
}
.fiche-nom { font-family: var(--f-titre); font-weight: 900; font-size: 22px; line-height: 1; text-transform: uppercase; }
.fiche-prix { font-family: var(--f-mono); font-weight: 700; font-size: 16px; }
.fiche-infos { grid-column: 1 / -1; display: flex; gap: 14px; font-size: 13px; color: var(--encre-2); }
.fiche-places { grid-column: 1 / -1; font-size: 13px; font-weight: 700; color: var(--balise-texte); }
@media (max-width: 767px) { .telephone { width: 270px; height: 540px; } }

/* ---------- 4. Résultat ---------- */
.resultats { background-color: var(--papier-2); }
.resultats-inner { gap: 48px; padding-bottom: 72px; }
.resultats .section-head .titre-section { max-width: 16ch; }
.resultats-note { padding-top: 24px; padding-bottom: 72px; }

/* Parcours */
.process { gap: 36px; padding-top: 104px; padding-bottom: 40px; }
.process .titre-section { font-size: clamp(40px, 5vw, 72px); }
.process-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px;
}
.process-step {
  flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 8px;
  min-height: 150px; padding: 22px 44px 24px 22px; cursor: default;
}
.process-step-encre { background: var(--encre); color: var(--papier); }
.process-n { font-weight: 700; font-size: 15px; color: var(--balise-texte); }
.process-step-encre .process-n { color: var(--balise-claire); }
.plaque-action .process-n { color: var(--blanc); }
.process-titre { font-family: var(--f-titre); font-weight: 800; font-size: 26px; text-transform: uppercase; }
.process-texte { font-size: 15px; line-height: 1.45; color: var(--encre-2); }
.process-step-encre .process-texte { color: var(--encre-texte-2); }
.plaque-action .process-texte { color: var(--blanc); }

/* ---------- Tarifs et configurateur ---------- */
.pricing { gap: 36px; padding-top: 72px; padding-bottom: 112px; }
.offer-tabs { display: flex; flex-direction: column; gap: 12px; }
.offer-tab {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 12px 24px; align-items: center; width: 100%;
  padding: 24px 64px 24px 30px; font: inherit; text-align: left;
}
.offer-tab.plaque-neutre .offer-desc { color: var(--encre-2); }
.offer-nom { font-family: var(--f-titre); font-weight: 900; font-size: 44px; text-transform: uppercase; }
.offer-desc { font-size: 16px; line-height: 1.4; }
.offer-prix { font-family: var(--f-mono); font-weight: 700; font-size: 26px; white-space: nowrap; }
.offer-mode { justify-self: end; font-weight: 700; font-size: 15px; }
.offer-tab-secondaire {
  background: var(--papier-2); color: var(--encre); border-left: 6px solid var(--gris-sentier);
  padding-top: 18px; padding-bottom: 18px; gap: 8px 24px;
}
.offer-tab-secondaire .offer-nom { font-weight: 800; font-size: 30px; }
.offer-tab-secondaire .offer-desc { font-size: 15px; color: var(--encre-2); }
.offer-tab-secondaire .offer-prix { font-size: 22px; }
.offer-tab[aria-checked="true"] { box-shadow: inset 0 0 0 4px var(--encre); }
.offer-tab.plaque-action:focus-visible { outline-color: var(--encre); }

.configurator-panel {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  background: var(--blanc); box-shadow: 0 30px 60px -36px rgba(22, 32, 27, .5);
}
.config-options { padding: 36px; display: flex; flex-direction: column; gap: 22px; border-right: 1px solid var(--papier-2); }
.config-titre { margin: 0; font-weight: 800; font-size: 28px; line-height: normal; }
.config-total .config-titre { color: var(--papier); }
.offer-meta { margin: 0; font-size: 15px; color: var(--encre-2); }
#options-block { display: flex; flex-direction: column; gap: 22px; }
#options-block[hidden], #suivi-block[hidden] { display: none; }
.config-row {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  padding-bottom: 18px; border-bottom: 1px solid var(--papier-2); font-size: 16px; line-height: 1.45;
}
.config-row-label { max-width: 30ch; }
.qty-control { display: flex; align-items: center; }
.qty-control button {
  width: 44px; height: 44px; border: 2px solid var(--encre); background: var(--blanc); color: var(--encre);
  font: inherit; font-size: 20px; cursor: pointer; border-radius: 0;
}
.qty-control button:last-child { background: var(--encre); color: var(--papier); }
.qty-control button:disabled { opacity: .4; cursor: not-allowed; }
.qty-value { width: 48px; text-align: center; font-family: var(--f-mono); font-weight: 700; font-size: 18px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; font-size: 16px; line-height: 1.45; }
.checkbox-row.config-row { justify-content: flex-start; flex-wrap: nowrap; }
.checkbox-row input[type="checkbox"] { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--balise); }
.checkbox-row.disabled { color: var(--gris-sentier); cursor: not-allowed; }
#suivi-note { margin: 10px 0 0 36px; }
.config-sans-option { display: none; margin: 0; color: var(--encre-2); }
/* Famille Image de marque : les packs présélectionnent leur offre et leurs produits. */
.config-packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; margin: 0 0 22px; }
.config-pack {
  display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; min-height: 56px; text-align: left; cursor: pointer;
  font: inherit; color: var(--encre); background: var(--papier); border: 0; border-left: 6px solid var(--balise); border-radius: 2px;
  transition: transform .15s ease, background-color .15s ease;
}
.config-pack:hover { background: var(--papier-2); }
.config-pack:active { transform: translateY(1px); }
.config-pack-nom { font-family: var(--f-titre); font-weight: 800; font-size: 24px; line-height: 1; text-transform: uppercase; }
.config-pack-texte { font-size: 15px; line-height: 1.4; color: var(--encre-2); }
.config-pack-texte .mono { white-space: nowrap; }
#pack-phrase { margin: 0; color: var(--balise-texte); font-weight: 700; }
.config-options:has(#options-block[hidden]) .config-sans-option { display: block; }

.config-total { padding: 36px; background: var(--encre); color: var(--papier); display: flex; flex-direction: column; gap: 14px; }
.totals-block { display: grid; gap: 10px; font-family: var(--f-mono); font-size: 17px; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.total-row strong { font-family: var(--f-mono); font-weight: 700; }
.config-total .total-row > span { color: var(--encre-texte-2); }
.config-total .totals-block strong { font-weight: 500; }
.deposit-rows { display: grid; gap: 6px; border-top: 1px solid var(--encre-filet); padding-top: 16px; }
.deposit-rows[hidden] { display: none; }
.deposit-rows .total-row > span { font-family: var(--f-texte); font-size: 15px; }
.deposit-main strong { font-size: 30px; color: var(--balise-claire); }
.deposit-rows .total-row:not(.deposit-main) strong { font-size: 17px; font-weight: 500; }
.config-continuer { margin-top: 10px; width: 100%; font: inherit; }
.config-continuer .plaque-label { font-size: 24px; }
.config-continuer .plaque-value { font-size: 15px; }
.config-continuer:focus-visible { outline-color: var(--balise-claire); }
.config-continuer:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Formulaires ---------- */
.form-box { background: var(--blanc); padding: 36px; max-width: 720px; box-shadow: 0 30px 60px -36px rgba(22, 32, 27, .5); }
.form-box h3 { font-weight: 800; font-size: 28px; margin-bottom: 22px; }
.form-etape { margin: 0 0 8px; font-weight: 700; font-size: 15px; color: var(--balise-texte); }
.form-box .checkbox-row { margin: 8px 0 18px; }
.form-box .hint { margin: 12px 0 0; }
@media (max-width: 640px) { .form-box { padding: 28px 22px; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input {
  width: 100%; min-height: 50px; padding: 0 14px;
  font-family: var(--f-texte); font-size: 16px; color: var(--encre);
  background: var(--blanc); border: 2px solid var(--encre); border-radius: var(--radius);
}
.field input::placeholder { color: var(--gris-sentier); }
.form-feedback { margin-top: 14px; padding: 12px 14px; font-size: .95rem; }
.form-feedback.error { background: var(--papier-2); color: var(--balise-texte); border-left: 4px solid var(--balise-texte); }
.form-feedback.success { background: var(--papier-2); color: var(--encre); border-left: 4px solid var(--encre); }
.field-error { color: var(--balise-texte); font-size: .85rem; margin-top: 4px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 5. Logo et Audit éclair (Papier, lignes de niveau) ---------- */
.fin { background-color: var(--papier); }
.fin-inner { align-items: center; text-align: center; gap: 28px; padding-top: 104px; padding-bottom: 104px; }
.fin-logo { width: min(100%, 760px); }
.fin-logo img { width: 100%; height: auto; min-height: 40px; }
.fin-titre { display: flex; flex-direction: column; align-items: center; font-size: clamp(32px, 4.4vw, 64px); }
.fin-titre .mot-geant { font-size: clamp(52px, 11.5vw, 148px); margin-top: .06em; }
.fin-plaque { margin-top: 4px; }
.audit-panneau {
  width: min(100%, 880px); margin-top: 20px; padding: 36px; text-align: left;
  background: var(--blanc); border-left: 6px solid var(--encre); box-shadow: var(--ombre);
}
.audit-texte { margin: 0 0 24px; font-size: 17px; line-height: 1.55; color: var(--encre-2); max-width: 62ch; }
.audit-form { display: flex; flex-direction: column; gap: 14px; }
.audit-fields { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.audit-fields .field { margin: 0; }
.audit-fields .btn { min-height: 50px; padding: 0 22px; }
.audit-mention { margin: 0; font-size: 14px; line-height: 1.5; color: var(--gris-sentier); max-width: 76ch; }
@media (max-width: 860px) {
  .audit-fields { grid-template-columns: minmax(0, 1fr); }
  .audit-panneau { padding: 28px 22px; }
}

/* ---------- Fenêtre de la vidéo longue ---------- */
.video-longue {
  width: min(94vw, calc(84vh * 16 / 9)); max-width: none; max-height: none; padding: 0;
  border: 0; background: var(--encre); color: var(--papier); overflow: visible;
}
.video-longue::backdrop { background: rgba(22, 32, 27, .88); }
.video-longue-cadre { display: flex; flex-direction: column; }
.video-longue video { width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 84vh; background: #000; }
.video-longue-fermer { align-self: flex-end; order: -1; min-width: 120px; }
@media (max-width: 767px) {
  .video-longue { width: min(94vw, calc(78vh * 9 / 16)); }
  .video-longue video { aspect-ratio: 9 / 16; max-height: 78vh; }
}

/* ---------- Questions ---------- */
.faq { gap: 44px; }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 40px 64px; }
.faq-item { display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--encre); padding-top: 18px; }
.faq-item h3 { margin: 0; font-weight: 800; font-size: 24px; line-height: normal; }
.faq-item p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--encre-2); }

/* ---------- Pied de page ---------- */
footer, .site-footer {
  background: var(--encre) url('/assets/img/grain.png'); background-size: 256px 256px;
  color: var(--encre-texte-2); font-size: 14px;
}
.footer-logo { height: 24px; width: auto; flex-shrink: 0; }
footer a { color: var(--balise-claire); }
footer a:hover { color: var(--blanc); }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center;
  padding-top: 40px; padding-bottom: 40px;
}
.footer-id { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-block; padding: 12px 0; }
/* Ligne de présentation, sous l'identité et les liens. */
.footer-signature { order: 3; flex-basis: 100%; font-family: var(--f-mono); font-weight: 700; font-size: 14px; color: var(--papier); }

/* ---------- Pages secondaires ---------- */
.legal-page { padding: 40px 0 72px; }
.legal-page .container { max-width: 800px; }
.legal-page h1 { font-size: clamp(40px, 6vw, 64px); }
.legal-page h2 { font-size: 28px; margin-top: 2em; }
.legal-page h3 { font-size: 22px; margin-top: 1.4em; }
.legal-page table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1em 0; }
.legal-page th, .legal-page td { border: 1px solid var(--papier-2); padding: 8px 10px; text-align: left; }
/* Téléphone : les tableaux à 5 colonnes coupent leurs mots plutôt que de faire défiler la page en largeur. */
@media (max-width: 640px) {
  .legal-page table { font-size: .8rem; }
  .legal-page th, .legal-page td { padding: 6px; hyphens: auto; overflow-wrap: anywhere; }
}
.legal-page .back-link { display: inline-block; margin-bottom: 24px; }
.legal-page .version-note { color: var(--gris-sentier); font-size: .9rem; }
.audit-priorites { padding-left: 1.2em; }
.audit-priorites li { margin-bottom: 14px; }
.score-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.score-pill { text-align: center; background: var(--blanc); padding: 10px 4px; }
.score-pill .n { display: block; font-family: var(--f-mono); font-weight: 700; font-size: 1.4rem; color: var(--balise-texte); }
.score-pill .l { font-size: .75rem; color: var(--gris-sentier); }
.score-pill.pending .n { color: var(--gris-sentier); font-size: .85rem; }
.price-note { background: var(--encre); color: var(--papier); padding: 24px; }
.price-note .total-row { padding: 4px 0; }
.price-note .total-row > span { color: var(--encre-texte-2); }
.simple-page { min-height: 60vh; display: flex; align-items: center; padding: 48px 0 88px; }
.simple-page .container { width: 100%; max-width: 820px; margin: 0 auto; }
.simple-page h1 { font-size: clamp(44px, 6.4vw, 80px); line-height: .95; margin: 28px 0 24px; }
.simple-page .lede { font-size: 20px; }
.simple-page .balisage-decor { margin-left: -18px; }
.simple-page p > .btn { margin-top: 12px; }
@media (max-width: 640px) { .simple-page .balisage-decor { margin-left: -8px; } }

/* ---------- Mouvement : masques des titres (posés par motion.js, retirés à la fin) ---------- */
/* 0,16 em gardés au-dessus des capitales pour les accents (É, Ê, À). */
.ligne-masque { display: block; overflow: hidden; padding: .16em 0 .06em; margin: -.16em 0 -.06em; }
.ligne-interieur { display: block; }
.titre-avant { display: block; }

/* ---------- Cartes « Ton site, ton style » : une petite scène par style, au survol ----------
   Un bloc par style : remplacer ou ajouter un style ne touche pas aux autres.
   Seules transform et opacity bougent ; rien ne bouge si les animations sont réduites.
   Sur téléphone (pas de survol), motion.js ajoute .joue une fois quand la carte entre à l'écran. */
@media (prefers-reduced-motion: no-preference) {
  .style-sample > * { transition: transform .55s cubic-bezier(.34, 1.56, .64, 1), opacity .4s ease-out; }
  .style-card { transition: transform .3s ease-out, box-shadow .3s ease-out; }
  .style-card:hover, .style-card.joue { transform: translateY(-4px); box-shadow: var(--ombre); }

  /* Topo : les lignes de niveau glissent, le repère de rendez-vous se soulève. */
  .style-topo svg { transform-origin: 50% 60%; }
  .style-card:hover .style-topo svg, .style-card.joue .style-topo svg { transform: translate(-14px, 6px) scale(1.08); }
  .style-card:hover .topo-repere, .style-card.joue .topo-repere { transform: translateY(-10px) scale(1.18); }
  .style-card:hover .style-topo > span:last-child, .style-card.joue .style-topo > span:last-child { transform: translateX(6px); }

  /* Altitude : la crête monte, le trait s'allonge, le texte se pose. */
  .style-altitude-trait { transform-origin: 0 50%; }
  .altitude-crete { transform-origin: 50% 100%; }
  .style-card:hover .style-altitude-trait, .style-card.joue .style-altitude-trait { transform: scaleX(1.7); }
  .style-card:hover .altitude-crete, .style-card.joue .altitude-crete { transform: scaleY(1.35); }
  .style-card:hover .style-altitude > span:last-child, .style-card.joue .style-altitude > span:last-child { transform: translateY(-4px); }

  /* Pulse : les bandes traversent en sens contraire, la pastille rebondit. */
  .style-card:hover .style-pulse-bande, .style-card.joue .style-pulse-bande { transform: translateX(9%) rotate(-8deg); }
  .style-card:hover .pulse-bande-2, .style-card.joue .pulse-bande-2 { transform: translateX(-12%) rotate(-8deg); }
  .style-card:hover .pulse-pastille, .style-card.joue .pulse-pastille { transform: scale(1.35); }
  .style-card:hover .style-pulse > span:last-child, .style-card.joue .style-pulse > span:last-child { transform: translateY(-6px); }

  /* Ma marque : le logo tourne, les couleurs se rangent en nuancier. */
  .style-card:hover .style-marque-rond, .style-card.joue .style-marque-rond { transform: rotate(90deg) scale(1.1); }
  .style-card:hover .style-marque-bandes, .style-card.joue .style-marque-bandes { transform: translateX(8px); }
  .marque-nuancier > span { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
  .marque-nuancier > span:nth-child(2) { transition-delay: .06s; }
  .marque-nuancier > span:nth-child(3) { transition-delay: .12s; }
  .marque-nuancier > span:nth-child(4) { transition-delay: .18s; }
  .style-card:hover .marque-nuancier > span, .style-card.joue .marque-nuancier > span { transform: translateY(-8px); }
}

/* ---------- Questionnaire terrain (/questionnaire) ---------- */
.questionnaire-page { padding: 40px 0 96px; }
.questionnaire-page h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 20px; }
.q-progression { height: 6px; background: var(--papier-2); margin-bottom: 32px; }
.q-progression > span { display: block; height: 100%; background: var(--balise); transform-origin: 0 50%; transform: scaleX(0); transition: transform .3s ease-out; }
.q-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.q-nav { position: sticky; top: calc(var(--hauteur-menu) + 16px); }
.q-nav ol { list-style: none; margin: 0; padding: 0; counter-reset: etape; display: grid; gap: 2px; }
.q-nav li { counter-increment: etape; }
.q-nav button {
  width: 100%; min-height: 44px; padding: 10px 12px; text-align: left; font: inherit; font-size: 15px;
  background: none; border: 0; border-left: 4px solid transparent; color: var(--encre-2); cursor: pointer;
}
.q-nav button::before { content: counter(etape) ". "; font-family: var(--f-mono); font-weight: 700; }
.q-nav button[aria-current="step"] { border-left-color: var(--balise); background: var(--blanc); color: var(--encre); font-weight: 700; }
.q-statut { margin: 0 0 12px; min-height: 1.5em; }
.q-saut { display: none; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.q-saut select { min-height: 50px; padding: 0 12px; font: inherit; font-weight: 400; font-size: 16px; border: 2px solid var(--encre); border-radius: var(--radius); background: var(--blanc); color: var(--encre); }
.q-etape { background: var(--blanc); padding: 32px; box-shadow: var(--ombre); }
.q-etape > h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 0 0 4px; }
.q-etape > .hint { margin: 0 0 24px; }
.q-champ { margin-bottom: 26px; }
.q-champ textarea, .q-champ select, .q-lignes input, .q-lignes textarea {
  width: 100%; padding: 12px 14px; font-family: var(--f-texte); font-size: 16px; color: var(--encre);
  background: var(--blanc); border: 2px solid var(--encre); border-radius: var(--radius);
}
.q-champ select { min-height: 50px; }
.q-aide { margin: 0 0 8px; }
/* Les cases et boutons radio ne prennent pas le style des champs texte (.field input). */
.q-champ input[type="checkbox"], .q-champ input[type="radio"] { width: 22px; height: 22px; min-height: 0; padding: 0; border: 0; flex-shrink: 0; margin: 0; accent-color: var(--balise); }
.q-champ label.checkbox-row { display: flex; align-items: center; gap: 12px; margin-bottom: 0; font-weight: 400; font-size: 16px; }
.q-groupe { border: 0; margin: 0; padding: 0; min-width: 0; }
.q-groupe legend { padding: 0; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.q-option { margin: 8px 0; }
.q-aide-moi { margin-top: 10px; font-size: 14px; color: var(--encre-2); }
.q-aide-moi input { width: 18px; height: 18px; }
.q-declaration { font-weight: 600; }
.q-ligne { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 10px; align-items: end; margin-bottom: 10px; }
.q-ligne-champ { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--encre-2); }
.q-retirer { min-height: 44px; padding: 0 12px; font: inherit; font-size: 14px; background: none; border: 0; color: var(--balise-texte); text-decoration: underline; cursor: pointer; }
.q-ajouter { margin-top: 6px; }
.q-fichiers-liste { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; }
.q-fichiers-liste li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 10px; background: var(--papier); font-size: 14px; }
.q-choisir { display: block; margin-bottom: 6px; font-size: 14px; }
.q-activite { border: 2px solid var(--papier-2); border-left: 6px solid var(--encre); padding: 22px; margin: 0 0 20px; min-width: 0; }
.q-activite > legend { padding: 0 8px; font-family: var(--f-titre); font-weight: 800; font-size: 24px; text-transform: uppercase; }
.q-info { padding: 16px 18px; background: var(--papier); border-left: 4px solid var(--balise); margin-bottom: 24px; }
.q-info p { margin: 0 0 8px; }
.q-info p:last-child { margin: 0; }
.q-avertissement { padding: 14px 16px; background: var(--encre); color: var(--papier); font-weight: 700; }
.q-recap ul { padding-left: 1.2em; }
.q-lien { min-height: 44px; padding: 6px 0; font: inherit; background: none; border: 0; color: var(--balise-texte); text-decoration: underline; text-align: left; cursor: pointer; }
.q-envoye { padding: 14px 16px; background: var(--papier-2); border-left: 4px solid var(--encre); }
.q-boutons { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; }
@media (max-width: 860px) {
  .q-layout { grid-template-columns: minmax(0, 1fr); }
  .q-nav { position: static; }
  .q-nav ol { display: none; }
  .q-saut { display: flex; }
  .q-etape { padding: 22px 18px; }
  .q-ligne { grid-template-columns: minmax(0, 1fr); }
}

/* Impression (PDF des CGV) : sans menu, sans lien de retour ni liens de pied de page. */
@media print {
  .skip-link, .masthead .nav, .masthead .nav-cta, .back-link, .site-footer .footer-links { display: none !important; }
}
