/* =====================================================================
   Boniso Automation, direction « Nuit de chantier »
   CSS pur : aucune installation, compatible avec la règle de sécurité du site.
   ===================================================================== */
/* Polices hébergées sur le serveur (aucun appel à Google) */
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 800; font-display: swap; src: url("/polices/big-shoulders-display-800.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 900; font-display: swap; src: url("/polices/big-shoulders-display-900.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/polices/instrument-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/polices/instrument-sans-500.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/polices/instrument-sans-600.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/polices/jetbrains-mono-400.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/polices/jetbrains-mono-500.woff2") format("woff2"); }

:root {
  --anthracite: #111315;
  --nuit: #0C0E0F;
  --acier: #1B1F22;
  --ligne: #2C3236;
  --beton: #ECEDEA;
  --gris: #C4C9CC;
  --sourdine: #9AA0A4;
  --encre-claire: #3A4045;
  --securite: #C8AE88;
  --securite-survol: #D5BE9C;
  --titre: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --texte: "Instrument Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --marge: clamp(20px, 4vw, 64px);
  --section: clamp(64px, 9vw, 120px);
  --rayon: 3px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body { background: var(--anthracite); color: var(--beton); font: 400 17px/1.55 var(--texte); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; }
a { color: var(--beton); text-underline-offset: 4px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--securite); outline-offset: 3px; }
::selection { background: var(--securite); color: var(--anthracite); }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1312px; margin: 0 auto; padding-inline: var(--marge); }
.section { border-top: 1px solid var(--ligne); }
.section > .wrap { padding-block: var(--section); }
.fond-acier { background: var(--acier); }
.accent { color: var(--securite); }
.gris { color: var(--gris); }
.petit { font-size: 14px; color: var(--sourdine); }

/* Titres de type signalétique */
.t-xl { font: 900 clamp(56px, min(7.6vw, 13vh), 128px)/.88 var(--titre); text-transform: uppercase; }
.t-l  { font: 900 clamp(44px, 5.6vw, 80px)/.92 var(--titre); text-transform: uppercase; }
.t-m  { font: 900 clamp(40px, 4.4vw, 64px)/.92 var(--titre); text-transform: uppercase; }
.t-s  { font: 600 21px/1.3 var(--texte); }

/* Boutons : un seul libellé d'action sur tout le site */
.btn { display: inline-block; background: var(--securite); color: var(--anthracite); text-decoration: none; font: 600 15px/1.2 var(--texte); padding: 12px 20px; border-radius: var(--rayon); border: 0; cursor: pointer; transition: background .2s, transform .1s; }
.btn:hover { background: var(--securite-survol); color: var(--anthracite); }
.btn:active { transform: scale(.98); }
.btn-grand { font-size: 17px; padding: 18px 28px; }
.btn-sombre { background: var(--anthracite); color: var(--beton); }
.btn-sombre:hover { background: #000; color: #fff; }

/* ---------- Barre du haut ---------- */
.barre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 900 30px/1 var(--titre); letter-spacing: .06em; text-decoration: none; color: var(--beton); }
.logo svg { width: 26px; height: 26px; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.nav-lien { color: var(--gris); text-decoration: none; }
.nav-lien:hover { color: var(--beton); }
@media (max-width: 1023px) { .nav-lien { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; opacity: .22; filter: saturate(.5); }
.hero-voile { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17,19,21,.97) 0%, rgba(17,19,21,.88) 34%, rgba(17,19,21,.4) 68%, rgba(17,19,21,.12) 100%), linear-gradient(0deg, rgba(17,19,21,.95) 0%, rgba(17,19,21,0) 38%); }
@media (max-width: 760px) {
  .hero-photo { object-position: 62% 60%; }
  .hero-voile { background: linear-gradient(180deg, rgba(17,19,21,.4) 0%, rgba(17,19,21,.72) 40%, rgba(17,19,21,.97) 82%); }
}
.hero-corps { flex: 1; display: flex; flex-wrap: wrap; align-content: center; align-items: flex-end; gap: 48px; padding-top: clamp(32px, 6vh, 72px); padding-bottom: clamp(56px, 10vh, 112px); }
.hero-texte { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-suite { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 1100px) {
  .hero-corps { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "titre titre" "suite resume"; column-gap: 64px; row-gap: 40px; align-content: center; align-items: start; }
  .hero-texte { display: contents; }
  .hero-texte h1 { grid-area: titre; }
  .hero-suite { grid-area: suite; }
  .resume { grid-area: resume; }
}
.chapo { max-width: 30em; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--gris); }
.resume { flex: 0 1 380px; min-width: 0; background: rgba(27,31,34,.95); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 24px; }
.resume-tete { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; font: 400 12px/1.4 var(--mono); color: var(--sourdine); }
.resume ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.resume li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
.resume li:first-child { padding-top: 0; }
.resume li:last-child { border-bottom: 0; padding-bottom: 0; }
.resume b { font-weight: 600; }

/* ---------- Film : se lance tout seul ---------- */
.film { background: var(--nuit); border-top: 1px solid var(--ligne); }
.film .wrap { display: flex; flex-direction: column; gap: 18px; padding-block: clamp(40px, 6vw, 72px); }
.ecran { position: relative; border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; background: var(--anthracite); }
.ecran video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lecteur-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 2px; padding: 28px 14px 10px; background: linear-gradient(to top, rgba(12,14,15,.7), rgba(12,14,15,0)); opacity: 1; transition: opacity .3s; }
.lecteur-bar.cache { opacity: 0; pointer-events: none; }
.lb-plein { margin-left: auto; }
.lb-plein .i-out { display: none; }
.ecran:fullscreen .lb-plein .i-in, .ecran:-webkit-full-screen .lb-plein .i-in { display: none; }
.ecran:fullscreen .lb-plein .i-out, .ecran:-webkit-full-screen .lb-plein .i-out { display: block; }
.ecran:fullscreen, .ecran:-webkit-full-screen { display: flex; align-items: center; background: #000; border: 0; border-radius: 0; }
.ecran:fullscreen video, .ecran:-webkit-full-screen video { width: 100%; height: 100%; object-fit: contain; }
.lb { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; background: none; border: 0; border-radius: 50%; color: var(--beton); opacity: .85; cursor: pointer; transition: opacity .2s, color .2s; }
.lb:hover { opacity: 1; color: var(--securite); }
.lb svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#film-lecture .i-play { fill: currentColor; stroke: none; display: none; }
#film-lecture.en-pause .i-play { display: block; }
#film-lecture.en-pause .i-pause { display: none; }
#film-son .i-off { display: none; }
#film-son[aria-pressed="false"] .i-off { display: block; }
#film-son[aria-pressed="false"] .i-on { display: none; }
.lb-vol { -webkit-appearance: none; appearance: none; width: 72px; height: 2px; margin-left: 4px; background: linear-gradient(to right, var(--beton) var(--v, 80%), rgba(236,237,234,.25) var(--v, 80%)); border-radius: 2px; cursor: pointer; }
.lb-vol::-webkit-slider-thumb { -webkit-appearance: none; width: 10px; height: 10px; border-radius: 50%; background: var(--beton); }
.lb-vol::-moz-range-thumb { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--beton); }
@media (max-width: 560px) { .lecteur-bar { gap: 0; padding: 16px 4px 2px; } .lb { width: 30px; height: 30px; } .lb svg { width: 15px; height: 15px; } .lb-vol { display: none; } }

/* ---------- Douleurs ---------- */
.douleurs { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 48px; }
.douleur-phare { flex: 1 1 520px; min-width: 0; background: var(--securite); color: var(--anthracite); border-radius: var(--rayon); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.douleur-phare p { font-size: 19px; line-height: 1.5; max-width: 28em; }
.douleurs-liste { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; }
.douleurs-liste > div { border-top: 1px solid var(--ligne); padding: 24px 0; display: flex; flex-direction: column; gap: 8px; }
.douleurs-liste > div:last-child { padding-bottom: 0; }
.douleurs-liste p { color: var(--gris); }

/* ---------- Relances : frise animée + lecteur de réponses ---------- */
.intro { display: flex; flex-direction: column; gap: 20px; max-width: 46em; }
.intro p { font-size: 19px; color: var(--gris); }

.piste { position: relative; margin-top: 64px; --duree: 2.6s; }
.piste-rail { position: absolute; left: 12px; right: calc((100% - 72px) / 4 - 12px); top: 11px; height: 3px; background: var(--ligne); border-radius: 2px; overflow: hidden; }
.piste-rail i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--beton) 0 22%, var(--securite) 22% 100%); transform-origin: left center; }
.piste-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.piste-points li { position: relative; display: flex; flex-direction: column; gap: 6px; padding-top: 44px; }
.point { position: absolute; left: 0; top: 0; width: 25px; height: 25px; border-radius: 50%; background: var(--acier); border: 3px solid var(--securite); box-sizing: border-box; }
.piste-points li:first-child .point { border-color: var(--beton); }
.piste-points b { font: 900 48px/1 var(--titre); color: var(--securite); }
.piste-points li:first-child b { color: var(--beton); }
.piste-points em { font: 400 12px/1.4 var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .08em; color: var(--sourdine); }
.piste-points p { color: var(--gris); max-width: 22em; }

@media (max-width: 760px) {
  .piste-rail { left: 11px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; background: var(--ligne); }
  .piste-rail i { background: linear-gradient(180deg, var(--beton) 0 18%, var(--securite) 18% 100%); transform-origin: center top; }
  .piste-points { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .piste-points li { padding-top: 0; padding-left: 48px; }
}

/* États animés : seulement si le script tourne et si l'appareil accepte les animations */
@media (prefers-reduced-motion: no-preference) {
  .js .piste-rail i { transform: scaleX(0); transition: transform var(--duree) cubic-bezier(.65,0,.35,1); }
  .js .piste li { opacity: .25; transform: translateY(10px); transition: opacity .5s ease, transform .5s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i) * (var(--duree) / 3.4)); }
  .js .piste .point { transform: scale(.5); transition: transform .5s cubic-bezier(.34,1.56,.64,1); transition-delay: calc(var(--i) * (var(--duree) / 3.4)); }
  .js .piste.actif .piste-rail i { transform: none; }
  .js .piste.actif li { opacity: 1; transform: none; }
  .js .piste.actif .point { transform: none; }
  .js .piste.actif li:last-child .point { animation: pouls 2.4s ease-out calc(var(--duree) + .3s) infinite; }
  .js .piste.reset .piste-rail i, .js .piste.reset li, .js .piste.reset .point { transition: none; }
  @keyframes pouls { 0% { box-shadow: 0 0 0 0 rgba(200,174,136,.55); } 70% { box-shadow: 0 0 0 14px rgba(200,174,136,0); } 100% { box-shadow: 0 0 0 0 rgba(200,174,136,0); } }
  @media (max-width: 760px) { .js .piste-rail i { transform: scaleY(0); } }
}

.lecteur { margin-top: 72px; display: flex; flex-direction: column; gap: 16px; }
.lecteur-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; }
.lecteur-choix { display: flex; gap: 8px; flex-wrap: wrap; }
.lecteur-choix button { background: transparent; color: var(--gris); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 10px 16px; font: 500 13px/1 var(--mono); cursor: pointer; min-height: 40px; }
.lecteur-choix button:hover { color: var(--beton); border-color: var(--sourdine); }
.lecteur-choix button[aria-pressed="true"] { color: var(--anthracite); background: var(--beton); border-color: var(--beton); }
.lecteur-scene { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .7fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: clamp(20px, 3vw, 32px); background: var(--anthracite); border: 1px solid var(--ligne); border-radius: var(--rayon); min-height: 190px; }
@media (max-width: 900px) { .lecteur-scene { grid-template-columns: minmax(0, 1fr); } }
.mail-client { display: flex; flex-direction: column; gap: 12px; }
.mail-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font: 400 12px/1.4 var(--mono); color: var(--sourdine); }
.bulle { position: relative; background: var(--beton); color: var(--anthracite); border-radius: 14px 14px 14px 3px; padding: 16px 20px; font-size: 18px; font-weight: 500; line-height: 1.4; }
.analyse { display: flex; flex-direction: column; gap: 10px; font: 400 12px/1.4 var(--mono); color: var(--sourdine); }
.analyse-barre { display: block; height: 3px; background: var(--ligne); border-radius: 2px; overflow: hidden; }
.analyse-barre i { display: block; height: 100%; width: 100%; background: var(--securite); transform-origin: left center; }
.verdict { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.verdict-tampon { display: inline-block; padding: 8px 14px; border: 3px solid currentColor; border-radius: 6px; font: 900 30px/1 var(--titre); text-transform: uppercase; letter-spacing: .05em; transform: rotate(-6deg); }
.verdict-tampon[data-ton="ok"] { color: var(--securite); }
.verdict-tampon[data-ton="report"] { color: var(--beton); }
.verdict-tampon[data-ton="doute"] { color: var(--gris); }
.verdict p { color: var(--gris); font-size: 16px; }

@media (prefers-reduced-motion: no-preference) {
  .js .lecteur-scene .bulle,
  .js .lecteur-scene .verdict { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .5s cubic-bezier(.16,1,.3,1); }
  .js .lecteur-scene .analyse-barre i { transform: scaleX(0); }
  .js .lecteur-scene .verdict-tampon { transform: rotate(-6deg) scale(1.6); opacity: 0; transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .2s ease; }
  .js .lecteur-scene.etape-q .bulle,
  .js .lecteur-scene.etape-l .bulle,
  .js .lecteur-scene.etape-v .bulle { opacity: 1; transform: none; }
  .js .lecteur-scene.etape-l .analyse-barre i,
  .js .lecteur-scene.etape-v .analyse-barre i { transform: none; transition: transform 1.3s cubic-bezier(.65,0,.35,1); }
  .js .lecteur-scene.etape-v .verdict { opacity: 1; transform: none; }
  .js .lecteur-scene.etape-v .verdict-tampon { opacity: 1; transform: rotate(-6deg) scale(1); }
}

/* ---------- Sur mesure ---------- */
.deux-col { display: flex; flex-wrap: wrap; gap: 48px; }
.deux-col > .gauche { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.deux-col > .gauche p { color: var(--gris); max-width: 26em; }
.deux-col > .droite { flex: 1.5 1 520px; min-width: 0; display: flex; flex-direction: column; }
.ligne-service { display: flex; flex-wrap: wrap; gap: 6px 32px; border-top: 1px solid var(--ligne); padding: 22px 0; }
.ligne-service:last-child { border-bottom: 1px solid var(--ligne); }
.ligne-service h3 { flex: 0 1 240px; font: 600 20px/1.3 var(--texte); }
.ligne-service p { flex: 1 1 280px; color: var(--gris); }

/* ---------- Méthode ---------- */
.verbes { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 48px; }
.verbes > div { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.verbes span { font: 900 52px/1 var(--titre); text-transform: uppercase; }
.verbes > div:first-child span { color: var(--securite); }
.verbes p { color: var(--gris); }

/* ---------- Prix : présenté comme un vrai devis papier ---------- */
.prix { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); margin-top: 56px; align-items: start; }
@media (max-width: 980px) { .prix { grid-template-columns: minmax(0, 1fr); } }
.devis-papier { position: relative; background: var(--beton); color: var(--anthracite); border-radius: var(--rayon); padding: clamp(24px, 4vw, 48px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04); display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 981px) and (prefers-reduced-motion: no-preference) { .devis-papier { transform: rotate(-.6deg); transition: transform .4s cubic-bezier(.16,1,.3,1); } .devis-papier:hover { transform: rotate(0); } }
.dp-tete { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-bottom: 22px; border-bottom: 2px solid var(--anthracite); }
.dp-emetteur, .dp-ref { display: flex; flex-direction: column; gap: 2px; font: 400 13px/1.5 var(--mono); color: var(--encre-claire); }
.dp-emetteur b { font: 900 26px/1 var(--titre); letter-spacing: .04em; text-transform: uppercase; color: var(--anthracite); margin-bottom: 6px; }
.dp-ref { text-align: right; }
.dp-num { font-size: 15px; color: var(--anthracite); }
.dp-num b { color: #7A5F3C; font-weight: 500; }
.dp-objet { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 18px; font-weight: 600; }
.dp-objet span { font: 400 13px/1.9 var(--mono); color: var(--encre-claire); text-transform: uppercase; letter-spacing: .08em; }
.dp-table { position: relative; display: flex; flex-direction: column; }
.dp-entete { display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid #B9BEC1; font: 400 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--encre-claire); }
.dp-ligne { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 32px; padding: 22px 0; border-bottom: 1px solid #B9BEC1; }
.dp-ligne h3 { font: 600 20px/1.3 var(--texte); margin-bottom: 10px; }
.dp-ligne ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; color: var(--encre-claire); }
.dp-ligne li { padding-left: 18px; position: relative; }
.dp-ligne li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--securite); }
.dp-montant { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.dp-montant strong { font: 900 clamp(38px, 4vw, 52px)/1 var(--titre); }
.dp-montant span { font: 400 13px/1.4 var(--mono); color: var(--encre-claire); }
@media (max-width: 560px) { .dp-ligne { grid-template-columns: minmax(0, 1fr); } .dp-montant { align-items: flex-start; text-align: left; } .dp-ref { text-align: left; } }
.dp-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-top: 18px; padding: 18px 20px; background: var(--anthracite); color: var(--beton); border-radius: var(--rayon); }
.dp-total span { font: 400 13px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--gris); }
.dp-total strong { font: 900 clamp(26px, 2.6vw, 34px)/1.1 var(--titre); }
.dp-total em { font-style: normal; color: var(--securite); }
.dp-tampon { position: absolute; left: 34%; bottom: -14px; transform: rotate(-9deg); padding: 9px 15px; border: 3px solid #7A5F3C; border-radius: 6px; color: #7A5F3C; font: 900 21px/.95 var(--titre); text-transform: uppercase; text-align: center; letter-spacing: .06em; opacity: .9; mix-blend-mode: multiply; pointer-events: none; }
.dp-pied { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
.dp-accord { position: relative; flex: 1 1 220px; display: flex; flex-direction: column; gap: 28px; font: 400 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--encre-claire); }
.dp-accord i { display: block; border-bottom: 1px dashed var(--encre-claire); }
.dp-pied p { flex: 1 1 240px; font-size: 15px; font-style: italic; color: var(--encre-claire); text-align: right; }
.prix-cote { display: flex; flex-direction: column; gap: 20px; }
.garantie { position: relative; background: var(--securite); color: var(--anthracite); border-radius: var(--rayon); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.garantie-mot { font: 900 clamp(44px, 4.6vw, 64px)/.9 var(--titre); text-transform: uppercase; }
.garantie p { font-size: 18px; line-height: 1.45; }
.mesure { border: 1px solid var(--ligne); border-radius: var(--rayon); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; background: var(--acier); }
.mesure-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mesure-liste li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
.mesure-liste li:first-child { border-top: 1px solid var(--ligne); }
.mesure-liste em { font: 400 12px/1.4 var(--mono); font-style: normal; color: var(--securite); white-space: nowrap; }
.mesure > p { color: var(--gris); font-size: 15px; }
.mesure .btn { align-self: flex-start; }

/* ---------- Questions ---------- */
.faq { flex: 1.6 1 520px; min-width: 0; display: flex; flex-direction: column; }
.faq details { border-top: 1px solid var(--ligne); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--ligne); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; font: 600 20px/1.35 var(--texte); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--ligne); border-radius: var(--rayon); color: var(--securite); font: 500 20px/1 var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: #fff; }
.faq details p { margin-top: 12px; color: var(--gris); max-width: 60ch; }

/* ---------- Rendez-vous ---------- */
.rdv { background: var(--securite); color: var(--anthracite); }
.rdv .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px; padding-block: clamp(64px, 9vw, 112px); }
.rdv-texte { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.rdv-texte h2 { font: 900 clamp(48px, 6.4vw, 96px)/.88 var(--titre); text-transform: uppercase; }
.rdv-texte p { font-size: 19px; max-width: 30em; }
.rdv-actions { flex: 0 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.btn-rdv { display: inline-flex; align-items: center; justify-content: center; gap: 12px; }
.btn-rdv svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.rdv-note { font-size: 15px; line-height: 1.45; opacity: .8; margin: 2px 0 4px; }
.rdv-wa { display: flex; align-items: center; gap: 10px; color: var(--anthracite); font: 600 16px/1.2 var(--texte); text-decoration: none; padding: 12px 0; border-top: 1px solid rgba(17,19,21,.25); }
.rdv-wa svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.rdv-wa span { margin-left: auto; transition: transform .2s; }
.rdv-wa:hover span { transform: translateX(4px); }
.rdv-actions .btn { text-align: center; }
.rdv-coords { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 16px; font-size: 15px; font-weight: 500; }
.rdv-coords a { color: var(--anthracite); }

/* ---------- Pied de page ---------- */
.pied { background: var(--nuit); border-top: 1px solid var(--ligne); font-size: 15px; color: var(--sourdine); }
.pied-grille { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-block: clamp(56px, 7vw, 88px) 48px; }
.pied-marque { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 34ch; }
.pied-marque p { margin: 0; line-height: 1.55; }
.pied .logo { font-size: 26px; color: var(--beton); }
.pied-contact { display: flex; flex-direction: column; gap: 6px; }
.pied a { color: var(--gris); text-decoration: none; transition: color .15s; }
.pied a:hover { color: var(--securite); }
.pied-titre { margin: 0 0 20px; font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--securite); }
.pied-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pied-bas { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px 28px; font: 400 12px/1.5 var(--mono); letter-spacing: .04em; }

.pied-bas::before { content: ""; position: absolute; top: 0; left: var(--marge); right: var(--marge); border-top: 1px solid var(--ligne); }
@media (max-width: 860px) { .pied-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .pied-marque { grid-column: 1 / -1; } }
@media (max-width: 420px) { .pied-grille { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* ---------- Page « modèles de relance » ---------- */
.barre-page { border-bottom: 1px solid var(--ligne); }
.guide-tete { padding-block: clamp(40px, 6vw, 80px) clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 24px; border-bottom: 1px solid var(--ligne); }
.guide-titre { display: flex; flex-direction: column; gap: 14px; text-transform: uppercase; font-family: var(--titre); font-weight: 900; }
.h1-a { font-size: clamp(52px, 7.4vw, 108px); line-height: .88; max-width: 13em; }
.h1-b { font-size: clamp(28px, 3.4vw, 48px); line-height: 1; color: var(--securite); }
.guide-tete .chapo { max-width: 40em; }
.fil { font: 400 13px/1.4 var(--mono); color: var(--sourdine); display: flex; gap: 10px; flex-wrap: wrap; }
.fil a { color: var(--sourdine); text-decoration: none; }
.fil a:hover { color: var(--securite); }
.guide-grille { display: grid; grid-template-columns: minmax(0, 270px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.guide-cote { position: sticky; top: 24px; padding-top: clamp(48px, 7vw, 80px); display: flex; flex-direction: column; gap: 28px; }
.guide-corps { min-width: 0; max-width: 780px; }
.sommaire { display: flex; flex-direction: column; gap: 14px; }
.sommaire-titre { font: 400 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--sourdine); }
.sommaire ol { list-style: none; margin: 0; padding: 0; counter-reset: s; display: flex; flex-direction: column; border-left: 1px solid var(--ligne); }
.sommaire li { counter-increment: s; }
.sommaire a { display: flex; gap: 12px; padding: 9px 0 9px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--gris); text-decoration: none; font-size: 15px; line-height: 1.35; }
.sommaire a::before { content: counter(s, decimal-leading-zero); font: 500 12px/1.6 var(--mono); color: var(--securite); }
.sommaire a:hover { color: var(--beton); border-left-color: var(--securite); }
.cote-cta { border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--acier); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.cote-cta p { font-size: 15px; color: var(--gris); }
.cote-cta .btn { align-self: flex-start; }
@media (max-width: 980px) {
  .guide-grille { grid-template-columns: minmax(0, 1fr); }
  .guide-cote { position: static; padding-top: 32px; }
  .cote-cta { display: none; }
}
.bloc { padding-block: clamp(48px, 7vw, 80px); border-top: 1px solid var(--ligne); }
.bloc:first-of-type { border-top: 0; }
.bloc h2 { margin-bottom: 24px; }
.prose { display: grid; gap: 16px; color: var(--gris); max-width: 68ch; }
.prose ul { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; }
.prose li::marker { color: var(--securite); }
.prose b { color: var(--beton); }
.cadence { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 20px; }
.cadence > div { flex: 1 1 200px; min-width: 0; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--acier); padding: 18px; display: grid; gap: 8px; }
.cadence b { font: 900 34px/1 var(--titre); color: var(--securite); }
.cadence p { color: var(--gris); font-size: 16px; }
.modele { border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; margin-top: 22px; }
.modele-tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: var(--acier); font: 500 13px/1.4 var(--mono); color: var(--beton); }
.modele-tete em { font-style: normal; color: var(--securite); margin-right: 10px; }
.copier { background: transparent; color: var(--beton); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 8px 14px; font: 600 13px/1 var(--texte); cursor: pointer; }
.copier:hover { border-color: var(--securite); }
.copier.fait { color: var(--securite); border-color: var(--securite); }
.modele-corps { background: var(--beton); color: var(--anthracite); padding: 20px 22px; display: grid; gap: 12px; line-height: 1.6; }
.modele-corps .objet { font-weight: 600; padding-bottom: 10px; border-bottom: 1px dashed #B9BEC1; }
.reponses-cas { display: flex; flex-wrap: wrap; gap: 14px; }
.reponses-cas > div { flex: 1 1 300px; min-width: 0; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 18px; display: grid; gap: 10px; background: var(--acier); }
.reponses-cas q { font-weight: 600; }
.reponses-cas p { color: var(--gris); font-size: 16px; }
.cta-boite { border: 1px solid var(--ligne); border-radius: var(--rayon); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; background: linear-gradient(160deg, rgba(200,174,136,.14), var(--acier) 55%); }
.cta-boite .actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }

/* ---------- Animations d'entrée (coupées si l'appareil demande moins d'animations) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .monte { animation: monte .8s cubic-bezier(.16, 1, .3, 1) both; animation-delay: var(--d, 0ms); }
  @keyframes monte { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
.rdv-coords a { display: inline-block; padding: 6px 0; }
@media (max-width: 560px) { .dp-accord { margin-bottom: 40px; } .dp-tampon { left: 28%; font-size: 18px; } }
@media (max-width: 900px) { .lecteur-scene { min-height: 440px; align-content: start; } }
@media (max-width: 760px) { .piste-rail { bottom: 70px; } }

/* Page des conditions générales */
.t-art { margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px; font: 900 clamp(28px, 2.6vw, 38px)/1 var(--titre); text-transform: uppercase; }
.art-num { font: 500 12px/1.4 var(--mono); letter-spacing: .1em; color: var(--securite); }
.guide-corps .bloc:has(.t-art) { padding-block: clamp(32px, 4vw, 48px); }
.sommaire-serre a { padding-block: 5px; font-size: 14px; }
.tarif { width: 100%; border-collapse: collapse; font-size: 16px; }
.tarif th { text-align: left; font: 400 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--sourdine); padding: 0 0 10px; border-bottom: 1px solid var(--ligne); }
.tarif td { padding: 12px 0; border-bottom: 1px solid var(--ligne); color: var(--gris); vertical-align: top; }
.tarif td + td, .tarif th + th { text-align: right; padding-left: 16px; color: var(--beton); white-space: nowrap; }
@media (min-width: 981px) { .guide-grille:has(.t-art) .guide-cote { padding-top: clamp(32px, 4vw, 48px); } }
/* Tableau de la politique de confidentialité : défile sur petit écran */
.tab-defile { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tab-rgpd { min-width: 640px; font-size: 15px; }
.tab-rgpd td, .tab-rgpd th { padding-right: 14px; }
.tab-rgpd td + td, .tab-rgpd th + th { text-align: left; white-space: normal; color: var(--gris); padding-left: 0; }
.tab-rgpd td:first-child { color: var(--beton); font-weight: 500; }
@media (max-width: 700px) {
  .tab-rgpd { min-width: 0; }
  .tab-rgpd thead { display: none; }
  .tab-rgpd, .tab-rgpd tbody, .tab-rgpd tr, .tab-rgpd td { display: block; width: 100%; }
  .tab-rgpd tr { padding: 16px 0; border-bottom: 1px solid var(--ligne); }
  .tab-rgpd td { border: 0; padding: 4px 0; }
  .tab-rgpd td::before { content: attr(data-label); display: block; font: 400 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--sourdine); }
  .tab-rgpd td:first-child { font-size: 17px; }
  .tab-rgpd td:first-child::before { display: none; }
}

/* anciens styles en ligne (supprimés pour une politique de sécurité stricte) */
.d1 { --d: 120ms; } .d2 { --d: 220ms; } .d3 { --d: 360ms; }
.t-etroit { max-width: 14em; }
.piste .i0 { --i: 0; } .piste .i1 { --i: 1; } .piste .i2 { --i: 2; } .piste .i3 { --i: 3; }
.mt18 { margin-top: 18px; }
