/* Cap Douze · direction artistique « signalisation routière ».
   Asphalte anthracite, marquage blanc et jaune, rose du permis de conduire en accent secondaire.
   Overpass, cousine libre des caractères de panneaux, en graisses franches ; Overpass Mono pour les repères.
   Les composants empruntent au code de la route : panneaux à listel, bornes, cartouches, passage piéton,
   ligne discontinue qui guide la lecture, et le compteur de 12 pastilles comme signature. */

:root {
  --asphalt: #1c2023;
  --asphalt-2: #262b2f;
  --asphalt-3: #30363b;
  --marking: #f5f3ec;
  --yellow: #f6c700;
  --yellow-2: #ffd73a;
  --pink: #f6d3dc;
  --pink-line: #e2a8b8;
  --pink-ink: #9c1f4d;
  --blue: #1f5aa6;
  --red: #c8102e;
  --concrete: #e6e4dd;
  --on-dark: #d4d8db;
  --on-dark-muted: #a9b0b5;

  --bg: #f3f2ee;
  --surface: #ffffff;
  --surface-2: #ebe9e3;
  --ink: #1c2023;
  --ink-2: #3a4147;
  --muted: #5b636a;
  --line: #d5d3cb;
  --accent: #f6c700;
  --accent-ink: #1c2023;
  --accent-soft: #fdf3c4;
  --on-accent: #1c2023;
  --font-body: "Overpass", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-head: "Overpass", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: "Overpass Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --head-weight: 800;
  --head-tracking: -0.015em;
  --radius: 10px;
  --radius-btn: 8px;
  --shadow: 0 1px 0 rgba(28, 32, 35, .06), 0 14px 30px -16px rgba(28, 32, 35, .35);
  --maxw: 1200px;
  --header-bg: #1c2023;
  --header-ink: #f5f3ec;
  --footer-bg: #15181a;
  --footer-ink: #b9bec2;
  --footer-strong: #f5f3ec;

  --dash-y: repeating-linear-gradient(90deg, var(--yellow) 0 26px, transparent 26px 44px);
  --dash-w: repeating-linear-gradient(90deg, var(--marking) 0 26px, transparent 26px 44px);
  --grain: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1.3px), radial-gradient(rgba(0, 0, 0, .28) 1px, transparent 1.3px);
  --sign: inset 0 0 0 6px #fff, inset 0 0 0 8.5px var(--ink);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%231c2023' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
body { background: var(--bg); font-size: 17px; line-height: 1.65; font-feature-settings: "kern", "liga"; }
h1, h2, h3, h4 { line-height: 1.1; }
a { color: var(--ink); text-decoration-color: #c99a00; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.sec-dark :focus-visible, .hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .lead-head :focus-visible, .page-head :focus-visible { outline-color: var(--yellow); }
section[id] { scroll-margin-top: 80px; }
.eyebrow { font: 600 12.5px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }

/* ---------- Boutons ---------- */
.btn { font: 800 16px/1.2 var(--font-body); letter-spacing: .01em; padding: 13px 20px 11px; min-height: 48px; border-radius: var(--radius-btn); background: var(--yellow); border-color: var(--yellow); color: var(--ink); box-shadow: 0 3px 0 rgba(0, 0, 0, .22); transition: background-color .15s, transform .15s, box-shadow .15s; }
.btn::after { content: ""; width: 8px; height: 8px; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; transform: rotate(45deg); margin: -1px 2px 0 2px; flex: none; }
.btn:hover { filter: none; background: var(--yellow-2); border-color: var(--yellow-2); transform: translateY(-1px); box-shadow: 0 4px 0 rgba(0, 0, 0, .22); }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(0, 0, 0, .22); }
.btn-big { padding: 16px 26px 14px; font-size: 17px; min-height: 56px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-ghost:hover { background: rgba(28, 32, 35, .06); border-color: var(--ink); }
.hero .btn-ghost, .sec-dark .btn-ghost { color: var(--marking); border-color: rgba(245, 243, 236, .7); }
.hero .btn-ghost:hover, .sec-dark .btn-ghost:hover { background: rgba(245, 243, 236, .08); border-color: var(--marking); }
.btn-dark, .cta-box .btn { background: var(--ink); border-color: var(--ink); color: var(--yellow); }
.btn-dark:hover, .cta-box .btn:hover { background: #000; border-color: #000; }

/* ---------- En-tête ---------- */
.site-header { background: var(--asphalt); color: var(--marking); border-bottom: 0; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--dash-y); }
.header-in { min-height: 74px; }
.brand { gap: 12px; }
.brand-logo { width: 42px; height: 42px; }
.brand-name { font-weight: 900; font-size: 22px; letter-spacing: -.01em; }
.brand-tagline { font: 600 11px/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--on-dark-muted); margin-top: 2px; }
.nav { gap: 26px; }
.nav a { font-weight: 600; font-size: 15.5px; opacity: 1; color: var(--on-dark); padding: 6px 0 3px; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { color: var(--marking); border-bottom-color: var(--yellow); }
.nav a.btn { color: var(--ink); padding: 11px 18px 9px; min-height: 44px; border-bottom: 2px solid var(--yellow); }
.nav-toggle { border-color: rgba(245, 243, 236, .35); border-radius: 8px; height: 44px; }
@media (max-width: 940px) {
  .nav { background: var(--asphalt); border-bottom: 0; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .5); padding: 8px 16px 20px; top: calc(100% - 0px); }
  .nav a { border-bottom: 1px solid rgba(245, 243, 236, .12); padding: 14px 4px 12px; }
  .nav a:not(.btn):hover { border-bottom-color: rgba(245, 243, 236, .12); color: var(--yellow); }
  .nav a.btn { margin-top: 14px; }
  .brand-logo { width: 38px; height: 38px; }
  .brand-name { font-size: 20px; }
}

/* ---------- Pied de page ---------- */
.site-footer { position: relative; padding: 60px 0 30px; background-image: var(--grain); background-size: 7px 7px, 11px 11px; background-position: 0 0, 3px 5px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--dash-w); opacity: .8; }
.footer-title { font: 600 12.5px/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--yellow); margin-bottom: 14px; }
.brand-footer .brand-name { font-size: 22px; }
.site-footer li { margin: 8px 0; }
.site-footer a:hover { text-decoration-color: var(--yellow); }
.disclaimer { border-top-color: rgba(245, 243, 236, .14); opacity: 1; color: #9aa1a7; }
.legal-links a { color: #c9cdd0; display: inline-block; padding: 12px 0; }
.legal-links { margin-top: 2px; gap: 0 22px; }
.site-footer li a { display: inline-block; padding: 3px 0; }

/* ---------- Accueil : héros ---------- */
.hero, .sec-dark { background-color: var(--asphalt); background-image: var(--grain); background-size: 7px 7px, 11px 11px; background-position: 0 0, 3px 5px; color: var(--marking); }
.hero { position: relative; overflow: hidden; padding-top: 56px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; padding-bottom: 60px; }
.hero-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0; font: 600 12.5px/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--on-dark-muted); }
.cartouche { font: 900 14px/1 var(--font-body); letter-spacing: .02em; background: var(--yellow); color: var(--ink); padding: 6px 9px 4px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 1.5px var(--yellow); }
.hero h1 { font-weight: 900; font-size: clamp(42px, 5.6vw, 82px); line-height: .98; letter-spacing: -.028em; margin: 20px 0 22px; color: var(--marking); }
.h1-kicker { display: block; font-weight: 800; font-size: clamp(15px, 1.5vw, 19px); line-height: 1.3; letter-spacing: .05em; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px; }
.trait { text-decoration: underline dashed var(--yellow); text-decoration-thickness: .075em; text-underline-offset: .14em; text-decoration-skip-ink: none; }
.hero-lede { font-size: 19px; line-height: 1.6; color: var(--on-dark); max-width: 33em; margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14.5px; font-weight: 600; color: #e3e6e8; }
.hero-facts li { display: flex; align-items: center; gap: 9px; }
.hero-facts li::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--yellow); flex: none; margin-top: -2px; }
.hero-sign { margin: 0; }
.hero-sign svg { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 0 0 auto; }
.hero-sign figcaption { font-size: 13.5px; line-height: 1.5; color: var(--on-dark-muted); max-width: 440px; margin: 10px 0 0 auto; text-align: center; padding-right: 40px; }
.poteau { fill: #858c92; }
.sg-label { font-family: var(--font-body); font-weight: 800; font-size: 24px; letter-spacing: 3px; fill: var(--ink); }
.sg-num { font-family: var(--font-body); font-weight: 900; font-size: 70px; fill: var(--ink); }
.sg-sur { font-size: 30px; font-weight: 800; fill: #5b636a; }
.sg-txt { font-family: var(--font-body); font-weight: 600; font-size: 21px; fill: var(--ink-2); }
.sg-plus { font-family: var(--font-body); font-weight: 900; font-size: 24px; fill: var(--ink); }
.sg-pano { font-family: var(--font-body); font-weight: 800; font-size: 20px; letter-spacing: 2px; fill: var(--ink); }
.pn { animation: pn-fill .45s ease-out both; }
.pn1 { animation-delay: .9s; } .pn2 { animation-delay: 1.25s; } .pn3 { animation-delay: 1.6s; } .pn4 { animation-delay: 1.95s; }
.n0 { animation: sg-out .3s 2.35s both; }
.n1 { animation: sg-in .3s 2.35s both; }
@keyframes pn-fill { from { fill: #f7f6f2; } to { fill: #f6c700; } }
@keyframes sg-out { to { opacity: 0; } }
@keyframes sg-in { from { opacity: 0; } to { opacity: 1; } }
.zebra { height: 36px; background: repeating-linear-gradient(90deg, var(--marking) 0 36px, transparent 36px 72px); opacity: .9; }

/* ---------- Bandeau des bornes ---------- */
.bornes { background: var(--concrete); padding: 46px 0 42px; border-bottom: 1px solid var(--line); }
.bornes-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.bornes-list li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.borne { width: 96px; height: 122px; border: 3px solid var(--ink); border-radius: 48px 48px 10px 10px; background: linear-gradient(var(--yellow) 0 40px, var(--ink) 40px 43px, #fff 43px); display: flex; flex-direction: column; align-items: center; box-shadow: 0 7px 0 -3px rgba(28, 32, 35, .2); flex: none; }
.borne-cap { font: 600 10.5px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .05em; margin-top: 19px; height: 21px; }
.borne-n { font-weight: 900; font-size: 46px; line-height: 1; margin-top: 16px; letter-spacing: -.02em; }
.borne-n-sm { font-size: 33px; margin-top: 21px; }
.borne-txt { font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--ink-2); max-width: 210px; }

/* ---------- Sections et ligne discontinue ---------- */
.sec { padding: 84px 0; position: relative; }
.sec-light { background: var(--bg); color: var(--ink); }
.sec-concrete { background: var(--concrete); color: var(--ink); }
.sec-yellow { background: var(--yellow); color: var(--ink); }
.sec-in { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 0 36px; }
.rail { position: relative; display: flex; justify-content: center; align-items: flex-start; }
.rail::before { content: ""; position: absolute; left: 50%; top: -84px; bottom: -84px; width: 5px; margin-left: -2.5px; background: repeating-linear-gradient(180deg, currentColor 0 30px, transparent 30px 54px); opacity: .35; }
.sec-dark .rail::before { opacity: .75; }
.sec-yellow .rail::before { opacity: .55; }
.pk { position: sticky; top: 100px; z-index: 1; font: 900 16px/1 var(--font-body); letter-spacing: .02em; background: var(--yellow); color: var(--ink); padding: 8px 10px 6px; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 4px var(--bg); }
.sec-concrete .pk { box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 4px var(--concrete); }
.sec-dark .pk { box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 4px var(--asphalt); }
.sec-yellow .pk { background: #fff; box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 4px var(--yellow); }
.sec-body { min-width: 0; }
.sec-body > h2, .duo h2 { font-weight: 900; font-size: clamp(30px, 3.7vw, 48px); line-height: 1.04; letter-spacing: -.022em; margin: 0 0 18px; max-width: 19em; }
.sec-lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 44em; margin: 0 0 34px; }
.sec-body > p:not(.eyebrow):not(.sec-lede) { max-width: 46em; }
.sec-dark .eyebrow { color: var(--yellow); }
.sec-dark .sec-lede { color: var(--on-dark); }
.sec-yellow .eyebrow { color: var(--ink-2); }

/* Prestations */
.presta-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; }
.presta { background: var(--surface); border-radius: 14px; padding: 28px 30px; box-shadow: inset 0 0 0 2px var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.presta img { width: 64px; height: 64px; margin-bottom: 6px; }
.presta-tag { font: 600 12px/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0; }
.presta h3 { font-weight: 800; font-size: 24px; line-height: 1.15; margin: 0; }
.presta p { margin: 0; color: var(--ink-2); }
.presta-link { margin-top: auto; padding-top: 10px; font-weight: 800; font-size: 15.5px; }
.presta-main { grid-row: 1 / span 2; background-color: var(--asphalt); background-image: var(--grain); background-size: 7px 7px, 11px 11px; color: var(--marking); box-shadow: none; padding: 36px; }
.presta-main img { width: 92px; height: 92px; }
.presta-main .presta-tag { color: var(--yellow); }
.presta-main h3 { font-size: clamp(28px, 2.6vw, 36px); font-weight: 900; letter-spacing: -.015em; }
.presta-main p { color: var(--on-dark); font-size: 17.5px; }
.presta-main .presta-link { color: var(--marking); text-decoration-color: var(--yellow); }
.mini-compteur { display: flex; flex-wrap: wrap; gap: 7px; margin: auto 0 0; padding-top: 30px; }
.mini-compteur span { width: 31px; height: 31px; border-radius: 50%; background: var(--marking); }
.mini-legende { font-size: 14px !important; color: var(--on-dark-muted) !important; margin: 4px 0 0 !important; }
.presta-main .presta-link { margin-top: 0; }
.mini-compteur .st { background: var(--yellow); box-shadow: 0 0 0 3px rgba(246, 199, 0, .25); }
.presta-facts { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.presta-facts li { font-weight: 700; font-size: 14px; padding: 7px 13px 5px; border-radius: 999px; border: 2px solid rgba(245, 243, 236, .4); }
.presta-facts li:first-child { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.presta-main::after { content: ""; align-self: stretch; height: 5px; margin-top: 22px; background: var(--dash-w); opacity: .45; }

/* Frise des étapes, posée sur une route */
.frise { list-style: none; margin: 40px 0 44px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; position: relative; }
.frise::before { content: ""; position: absolute; left: -14px; right: -14px; top: 106px; height: 46px; background: repeating-linear-gradient(90deg, var(--marking) 0 26px, transparent 26px 46px) 0 50% / 100% 4px no-repeat, var(--asphalt-3); border-top: 2px solid rgba(245, 243, 236, .75); border-bottom: 2px solid rgba(245, 243, 236, .75); }
.step { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.step::before { content: ""; position: absolute; left: 33px; top: 68px; width: 6px; height: 40px; background: #858c92; }
.step-sign { width: 72px; height: 72px; position: relative; z-index: 1; }
.step-n { position: relative; z-index: 1; width: 34px; height: 34px; margin: 40px 0 0 19px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 900; font-size: 17px; display: grid; place-items: center; padding-top: 3px; box-shadow: 0 0 0 3px var(--asphalt-3); }
.step-txt { margin-top: 26px; }
.step h3 { font-weight: 800; font-size: 19px; line-height: 1.2; margin: 0 0 8px; color: var(--marking); }
.step p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--on-dark); }
.transparence { max-width: 880px; padding: 24px 28px 24px 84px; border-radius: 12px; position: relative; background: rgba(245, 243, 236, .05); box-shadow: inset 0 0 0 2px rgba(245, 243, 236, .22); }
.transparence::before { content: "i"; position: absolute; left: 24px; top: 24px; width: 40px; height: 40px; border-radius: 7px; background: var(--blue); color: #fff; font: 900 24px/40px Georgia, serif; text-align: center; box-shadow: inset 0 0 0 2px var(--blue), inset 0 0 0 4px #fff; }
.transparence-title { font: 600 12.5px/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--yellow); margin: 0 0 6px; }
.transparence p:last-child { margin: 0; color: var(--on-dark); }

/* Éligibilité et carte rose */
.duo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.duo > div > p:not(.eyebrow) { color: var(--ink-2); font-size: 18px; max-width: 34em; }
.checks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 44px; color: var(--ink-2); }
.checks li strong { color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow) var(--check) center / 18px no-repeat; box-shadow: inset 0 0 0 2px var(--ink); }
.permis-card { background: var(--pink) url("/assets/guilloche.svg") repeat; border-radius: 18px; padding: 24px 28px 22px; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--pink-line), 0 22px 44px -26px rgba(156, 31, 77, .55); transform: rotate(-1.2deg); margin-top: 8px; }
.permis-head { display: flex; justify-content: space-between; align-items: center; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1.5px solid var(--pink-line); font: 600 12px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--pink-ink); }
.permis-cat { width: 32px; height: 32px; border-radius: 6px; background: var(--pink-ink); color: #fff; font: 900 17px/1 var(--font-body); display: grid; place-items: center; padding-top: 2px; letter-spacing: 0; }
.permis-card h3 { font-weight: 900; font-size: 25px; margin: 0 0 8px; }
.permis-card ul { list-style: none; padding: 0; margin: 0 0 14px; }
.permis-card li { position: relative; padding: 10px 0 9px 32px; border-bottom: 1px dashed var(--pink-line); line-height: 1.45; }
.permis-card li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 4px; box-shadow: inset 0 0 0 2px var(--pink-ink); background: #fff var(--check) center / 13px no-repeat; }
.permis-note { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin: 0; }

/* Tarifs sur fond jaune */
.prix-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 20px; margin: 10px 0 26px; max-width: 920px; }
.prix-panneau { background: #fff; border-radius: 14px; padding: 24px 28px 22px; box-shadow: var(--sign); }
.prix-label { font: 600 12.5px/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--ink-2); margin: 0; }
.prix-val { font-weight: 900; font-size: clamp(40px, 4.6vw, 60px); line-height: 1; letter-spacing: -.025em; margin: 12px 0 12px; }
.prix-val small { display: block; font-size: 16px; font-weight: 700; letter-spacing: 0; color: var(--ink-2); margin-bottom: 6px; }
.prix-note { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 0; }
.prix-txt { font-size: 18px; margin: 0 0 26px; }

/* Engagements : rubalise et panneaux d'interdiction */
.limites { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.limites li { position: relative; overflow: hidden; background: var(--surface); border-radius: 12px; padding: 30px 24px 22px 80px; border: 2px solid var(--line); color: var(--ink-2); }
.limites li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--red) 0 10px, #fff 10px 20px); }
.limites li::before { content: ""; position: absolute; left: 24px; top: 32px; width: 40px; height: 40px; box-sizing: border-box; border-radius: 50%; border: 5px solid var(--red); background: linear-gradient(135deg, transparent 43%, var(--red) 43% 57%, transparent 57%), #fff; }
.limites strong { display: block; color: var(--ink); font-size: 19px; font-weight: 800; line-height: 1.25; margin-bottom: 6px; }

/* Guides, FAQ et sources dans l'accueil */
.sec-guides .related, .sec-faq .faq { margin-top: 0; }
.maj { font-size: 14px; color: var(--muted); margin: 26px 0 0; max-width: 46em; }
.maj .updated { font-weight: 700; color: var(--ink-2); }

/* ---------- Pages standard ---------- */
.page-head { background-color: var(--asphalt); background-image: var(--grain); background-size: 7px 7px, 11px 11px; background-position: 0 0, 3px 5px; color: var(--marking); border-bottom: 0; padding: 34px 0 52px; position: relative; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--dash-y); }
@media (min-width: 1280px) { .page-head { background-image: url("/assets/pastilles.svg"), var(--grain), var(--grain); background-size: 250px auto, 7px 7px, 11px 11px; background-position: right max(40px, calc((100% - 1200px) / 2 + 24px)) bottom 46px, 0 0, 3px 5px; background-repeat: no-repeat, repeat, repeat; } }
.page-head h1 { font-weight: 900; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.04; letter-spacing: -.022em; margin: 14px 0 14px; color: var(--marking); max-width: 920px; }
.crumbs { font: 600 12px/1.5 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--on-dark-muted); }
.crumbs a { color: var(--on-dark-muted); text-decoration-color: rgba(246, 199, 0, .7); }
.page-head .meta { color: var(--on-dark-muted); font: 600 12px/1.5 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }
.page-head .lede { color: var(--on-dark); font-size: 19px; line-height: 1.6; }
.page-head .lede strong { color: var(--marking); }
.content-wrap { padding-top: 44px; padding-bottom: 64px; }
.prose { font-size: 17.5px; }
.prose h2 { font-weight: 900; font-size: clamp(26px, 2.6vw, 32px); letter-spacing: -.018em; margin: 52px 0 14px; }
.prose h2::before { content: ""; display: block; width: 56px; height: 6px; margin-bottom: 16px; background: repeating-linear-gradient(90deg, var(--yellow) 0 22px, transparent 22px 34px); }
.prose h3 { font-weight: 800; font-size: 21px; }
.prose li::marker { color: var(--ink); font-weight: 800; }
.prose strong { font-weight: 800; }
.prose blockquote { border-left-color: var(--yellow); background: var(--accent-soft); }

/* Tableaux */
.table-wrap { border: 2px solid var(--ink); border-radius: 12px; background: var(--surface); margin: 6px 0 24px; }
table { font-size: 15.5px; }
th { background: var(--asphalt); color: var(--marking); font-weight: 800; font-size: 14px; letter-spacing: .02em; padding: 12px 14px 10px; border-bottom: 0; }
td { padding: 12px 14px 10px; border-bottom: 1px solid var(--line); }
tbody tr:nth-child(even) td { background: #f8f7f3; }
td:first-child { font-weight: 600; color: var(--ink); }

/* Encadrés */
.bref { background: var(--pink) url("/assets/guilloche.svg") repeat; border: 0; border-radius: 14px; padding: 20px 24px 18px; margin: 0 0 30px; box-shadow: inset 0 0 0 1.5px var(--pink-line); }
.bref-title { font: 600 12.5px/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--pink-ink); margin: 0 0 8px; }
.bref ul { list-style: none; padding: 0; }
.bref li { position: relative; padding-left: 24px; margin: 8px 0; line-height: 1.55; }
.bref li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--pink-ink); }
.cta-box { background: var(--yellow); border: 0; border-radius: 14px; padding: 24px 28px; margin: 34px 0; box-shadow: inset 0 0 0 6px var(--yellow), inset 0 0 0 8.5px var(--ink); gap: 18px; }
.cta-title { font-weight: 800; font-size: 19px; line-height: 1.3; flex: 1 1 260px; max-width: none; }
.sidebar { top: 104px; }
.side-box { background-color: var(--asphalt); background-image: url("/assets/pastilles.svg"); background-repeat: no-repeat; background-position: 26px 26px; background-size: 200px auto; color: var(--marking); border: 0; border-radius: 14px; padding: 62px 26px 26px; box-shadow: inset 0 0 0 6px var(--asphalt), inset 0 0 0 8px rgba(245, 243, 236, .8), var(--shadow); gap: 14px; }
.side-title { font-weight: 900; font-size: 23px; line-height: 1.15; }
.side-text { color: var(--on-dark); }
.side-link { color: var(--marking); font-weight: 700; text-decoration-color: var(--yellow); }
.side-box .btn { width: 100%; }

/* Cartes, FAQ, sources */
.related h2, .faq h2, .sources h2 { font-weight: 900; letter-spacing: -.018em; }
.related h2, .faq h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 24px; }
.sources h2 { font-size: 22px; }
.cards { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.card { border: 2px solid var(--line); border-radius: 12px; padding: 20px 22px 22px; gap: 8px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.card:hover { border-color: var(--ink); box-shadow: 0 5px 0 -1px var(--ink); transform: translateY(-2px); }
.card-kind { align-self: flex-start; font: 600 11px/1 var(--font-mono); letter-spacing: .07em; color: var(--ink); background: var(--yellow); padding: 6px 8px 4px; border-radius: 4px; }
.card-tool .card-kind { background: var(--blue); color: #fff; }
.card-service .card-kind { background: var(--pink); color: var(--pink-ink); box-shadow: inset 0 0 0 1px var(--pink-line); }
.card-title { font-weight: 800; font-size: 18.5px; line-height: 1.25; }
.card-desc { color: var(--muted); font-size: 15px; }
.faq details { border: 2px solid var(--line); border-radius: 12px; margin-bottom: 12px; transition: border-color .15s; }
.faq details[open] { border-color: var(--ink); }
.faq summary { font-weight: 800; padding: 17px 64px 15px 20px; line-height: 1.35; }
.faq summary::after { content: ""; top: 50%; right: 16px; width: 30px; height: 30px; margin-top: -15px; border-radius: 7px; background: linear-gradient(var(--ink), var(--ink)) center / 14px 3px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 3px 14px no-repeat, var(--yellow); box-shadow: inset 0 0 0 2px var(--ink); }
.faq details[open] summary::after { content: ""; background: linear-gradient(var(--ink), var(--ink)) center / 14px 3px no-repeat, var(--yellow); }
.faq details > div { padding: 0 20px 18px; }
.sources ul { list-style: none; padding: 0; }
.sources li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px dashed var(--line); }
.sources li::before { content: ""; position: absolute; left: 0; top: 15px; width: 12px; height: 12px; border-radius: 3px; background: var(--blue); }

/* ---------- Formulaire ---------- */
.lead { background-color: var(--asphalt); background-image: var(--grain); background-size: 7px 7px, 11px 11px; color: var(--marking); border-top: 0; padding: 84px 0 80px; position: relative; scroll-margin-top: 74px; }
.lead::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 36px; background: repeating-linear-gradient(90deg, var(--marking) 0 36px, transparent 36px 72px); opacity: .9; }
.lead h2 { font-weight: 900; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.04; letter-spacing: -.022em; color: var(--marking); margin-top: 12px; }
.lead-intro { color: var(--on-dark); font-size: 17.5px; }
.lead-points { gap: 12px; }
.lead-points li { padding-left: 34px; color: #eceeef; font-weight: 600; }
.lead-points li::before { top: 2px; width: 22px; height: 22px; background: var(--yellow) var(--check) center / 15px no-repeat; }
.lead-form { border: 0; border-radius: 16px; padding: 34px 32px 28px; box-shadow: var(--sign), 0 30px 60px -30px rgba(0, 0, 0, .7); color: var(--ink); }
.fields { gap: 16px 18px; }
.field label { font-weight: 700; font-size: 14.5px; line-height: 1.35; }
.field input, .field select, .field textarea, .tool input:not([type=radio]):not([type=checkbox]), .tool select { border: 2px solid #b4b8bb; border-radius: 8px; min-height: 48px; padding: 11px 12px 9px; color: var(--ink); font-family: var(--font-body); }
.field input:focus, .field select:focus, .field textarea:focus, .tool input:not([type=radio]):not([type=checkbox]):focus, .tool select:focus { border-color: var(--ink); outline: 3px solid var(--yellow); outline-offset: 1px; }
.consent { color: var(--ink-2); }
.consent input { accent-color: var(--ink); }
.btn-submit { font-size: 18px; }
.form-success { background: #e8f3eb; border: 2px solid #2e7d4f; color: var(--ink); }
.success-title { color: #1e6b3f; font-weight: 900; }

/* ---------- Calculateur ---------- */
.tool { border: 0; border-radius: 16px; padding: 30px 30px 28px; background: var(--surface); box-shadow: var(--sign), var(--shadow); margin: 10px 0 36px; }
.tool::before { content: ""; display: block; width: 226px; height: 20px; margin-bottom: 18px; background: url("/assets/pastilles-encre.svg") 0 0 / contain no-repeat; }
.tool h2::before { display: none; }
.tool h2:first-of-type { font-weight: 900; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.018em; margin: 0 0 22px; }
.tool .q > label, .tool .q-label { font-weight: 800; }
.choices { gap: 10px; }
.choices label { border: 2px solid #b4b8bb; border-radius: 8px; padding: 10px 15px 8px; min-height: 46px; font-weight: 600; background: #fff; }
.choices label:hover { border-color: var(--ink); }
.choices input { accent-color: var(--ink); }
.choices label:has(input:checked) { background: var(--yellow); border-color: var(--ink); }
.choices label:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.tool .hint { font-size: 14px; line-height: 1.5; }
.tool #pp-calculer { margin-top: 6px; }
.result { border: 0; border-left: 8px solid var(--ink); border-radius: 10px; padding: 22px 24px; background: #f7f6f2; margin-top: 24px; }
.result.ok { background: #e8f3eb; border-left-color: #2e7d4f; }
.result.warn { background: #fff4cc; border-left-color: #d4a000; }
.result.ko { background: #fbe4e8; border-left-color: var(--red); }
.result-title { font-weight: 800; font-size: 20px; }
.result-big { font-weight: 900; font-size: clamp(30px, 4vw, 42px); letter-spacing: -.02em; color: var(--ink); }
.result .hint { color: var(--ink-2); }
.result ul { padding-left: 22px; }
.result li { margin: 6px 0; }
.compteur { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0 !important; margin: 14px 0 8px !important; }
.compteur li { width: 24px; height: 24px; margin: 0 !important; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2.5px var(--ink); }
.compteur li.pt { background: var(--ink); }
.compteur li.st { background: var(--yellow); }
.compteur-legende { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--ink-2); margin: 0 0 14px; }
.compteur-legende span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; box-shadow: inset 0 0 0 2px var(--ink); }
.compteur-legende .lg-pt::before { background: var(--ink); }
.compteur-legende .lg-st::before { background: var(--yellow); }
.compteur-legende .lg-vide::before { background: #fff; }

/* Tableau des tarifs (page /tarifs) */
.prix-ligne { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 8px 0 26px; }
.prix-ligne .prix-panneau { padding: 22px 22px 20px; }
.prix-ligne .prix-val { font-size: clamp(26px, 2.3vw, 34px); white-space: nowrap; }
.prix-ligne .prix-panneau:first-child { background: var(--yellow); box-shadow: inset 0 0 0 6px var(--yellow), inset 0 0 0 8.5px var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .frise { grid-template-columns: 1fr; gap: 0; margin: 30px 0 36px; }
  .frise::before { left: 34px; right: auto; top: 12px; bottom: 60px; width: 4px; height: auto; border: 0; background: repeating-linear-gradient(180deg, rgba(245, 243, 236, .7) 0 18px, transparent 18px 32px); }
  .step { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 20px; padding-bottom: 26px; }
  .step::before { display: none; }
  .step-sign { grid-row: 1; grid-column: 1; }
  .step-n { position: absolute; left: 50px; top: 48px; width: 28px; height: 28px; margin: 0; font-size: 14px; box-shadow: 0 0 0 3px var(--asphalt); }
  .step-txt { grid-row: 1; grid-column: 2; margin-top: 4px; }
}
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 36px; }
  .hero-sign svg { margin: 0 auto; max-width: 460px; }
  .hero-sign figcaption { margin: 10px auto 0; padding: 0; }
  .duo { grid-template-columns: 1fr; gap: 40px; }
  .permis-card { transform: none; }
  .presta-grid { grid-template-columns: 1fr; }
  .presta-main { grid-row: auto; }
}
@media (max-width: 900px) {
  .sec { padding: 60px 0; }
  .sec-in { display: block; }
  .rail { justify-content: flex-start; align-items: center; gap: 14px; margin-bottom: 20px; }
  .rail::before { position: static; order: 2; flex: 1; width: auto; height: 5px; margin: 0; background: repeating-linear-gradient(90deg, currentColor 0 26px, transparent 26px 46px); }
  .pk { position: static; }
  .bornes-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .bornes-list li:last-child { grid-column: 1 / -1; }
  .limites { grid-template-columns: 1fr; }
  .prix-grid, .prix-ligne { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .hero { padding-top: 36px; }
  .hero-in { padding-bottom: 44px; }
  .hero-lede, .sec-lede { font-size: 17.5px; }
  .hero-cta .btn { width: 100%; }
  .hero-facts { flex-direction: column; gap: 8px; }
  .zebra { height: 26px; background-size: 52px 100%; background-image: repeating-linear-gradient(90deg, var(--marking) 0 26px, transparent 26px 52px); }
  .borne { width: 84px; height: 110px; border-radius: 42px 42px 9px 9px; background: linear-gradient(var(--yellow) 0 36px, var(--ink) 36px 39px, #fff 39px); }
  .borne-cap { margin-top: 17px; }
  .borne-n { font-size: 40px; margin-top: 14px; }
  .borne-n-sm { font-size: 29px; margin-top: 19px; }
  .borne-txt { font-size: 14px; }
  .presta, .presta-main { padding: 24px 22px; }
  .presta-main img { width: 76px; height: 76px; }
  .mini-compteur { gap: 4px; padding-top: 18px; flex-wrap: nowrap; }
  .mini-compteur span { width: 20px; height: 20px; flex: none; }
  .transparence { padding: 76px 22px 22px; }
  .transparence::before { left: 22px; top: 22px; }
  .limites li { padding: 30px 20px 20px 70px; }
  .limites li::before { left: 18px; top: 30px; width: 36px; height: 36px; }
  .permis-card { padding: 20px 20px 18px; }
  .prix-panneau { padding: 22px 22px 20px; }
  .tool { padding: 24px 18px 22px; }
  .result { padding: 18px 16px 18px 16px; border-left-width: 6px; }
  .result ul { padding-left: 18px; }
  .page-head .lede { font-size: 17.5px; }
  .page-head { padding: 26px 0 40px; }
  .tool #pp-calculer { width: 100%; }
  .lead { padding: 68px 0 60px; }
  .lead::before { height: 26px; background: repeating-linear-gradient(90deg, var(--marking) 0 26px, transparent 26px 52px); }
  .lead-form { padding: 26px 20px 22px; }
  .cta-box { padding: 22px; }
  .cta-box .btn { width: 100%; }
  .faq summary { padding-left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pn, .n0, .n1 { animation: none; }
  .n0 { opacity: 0; }
  .btn, .card, .faq details { transition: none; }
  .btn:hover, .btn:active, .card:hover { transform: none; }
}
