/* Serruprox — feuille de style commune
   Identité : plaque de numéro émaillée bruxelloise (bleu cobalt + filet blanc) et laiton. */

:root {
  --enamel: #1F3F8F;        /* bleu émail des plaques de numéro */
  --enamel-deep: #142554;   /* nuit bruxelloise */
  --paper: #F7F8FA;         /* fond clair, froid */
  --ink: #1A2233;           /* texte */
  --muted: #536079;         /* texte secondaire */
  --brass: #C9973A;         /* laiton (décor uniquement) */
  --brass-text: #7E5713;    /* laiton lisible sur fond clair */
  --brass-light: #F6D98A;   /* laiton clair sur fond sombre */
  --line: #D6DBE4;
  --white: #FFFFFF;

  --font: "Archivo", "Arial Narrow", Arial, sans-serif;
  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 4.2vw, 2.9rem);
  --step-4: clamp(2.3rem, 5.6vw, 3.9rem);
  --gutter: 16px;
  --measure: 66ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--enamel); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 760px) { :root { --gutter: 32px; } }

h1, h2, h3 { font-family: var(--font); line-height: 1.08; margin: 0; color: var(--ink); }
h1 { font-size: var(--step-4); font-weight: 850; font-stretch: 112%; font-variation-settings: "wdth" 112; letter-spacing: -0.02em; }
h2 { font-size: var(--step-3); font-weight: 800; font-stretch: 108%; font-variation-settings: "wdth" 108; letter-spacing: -0.015em; margin-bottom: 0.6em; }
h3 { font-size: var(--step-1); font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; max-width: var(--measure); }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); color: var(--muted); }

/* ---------- La plaque émaillée : signature du site ---------- */
.plaque {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px;
  background: var(--enamel); color: var(--white); text-decoration: none;
  border-radius: 12px; padding: 12px 22px 14px;
  box-shadow: inset 0 0 0 4px var(--enamel), inset 0 0 0 6.5px var(--white), 0 6px 18px rgba(20, 37, 84, .25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.plaque:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 4px var(--enamel), inset 0 0 0 6.5px var(--white), 0 10px 24px rgba(20, 37, 84, .32); }
.plaque:active { transform: translateY(1px); }
.plaque .plaque-label { font-size: var(--step--1); font-weight: 500; opacity: .9; }
.plaque .plaque-num {
  font-size: clamp(1.6rem, 4.6vw, 2.3rem); font-weight: 750; line-height: 1.05;
  font-stretch: 125%; font-variation-settings: "wdth" 125; font-variant-numeric: tabular-nums; letter-spacing: .01em;
}
.plaque--small { padding: 7px 14px 8px; border-radius: 9px; box-shadow: inset 0 0 0 3px var(--enamel), inset 0 0 0 5px var(--white); }
.plaque--small .plaque-num { font-size: 1.05rem; }
.plaque--small:hover { box-shadow: inset 0 0 0 3px var(--enamel), inset 0 0 0 5px var(--white); }

.link-mail { font-weight: 600; }

/* ---------- En-tête ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 850; font-size: 1.35rem; font-stretch: 115%; font-variation-settings: "wdth" 115; }
.logo img { width: 34px; height: 34px; }
.nav { display: none; gap: 24px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 550; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--enamel); text-decoration: underline; text-decoration-thickness: 2px; }
@media (min-width: 980px) { .nav { display: flex; } }

/* ---------- Héros ---------- */
.hero { padding: 40px 0 56px; }
.hero .wrap { display: grid; gap: 36px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: 28px 0 22px; }
.hero-art { max-width: 320px; justify-self: center; width: 100%; }
@media (min-width: 900px) { .hero-art { max-width: 460px; } }
.hero-art img { border-radius: 28px; box-shadow: 0 30px 60px -20px rgba(20, 37, 84, .45); }
@media (min-width: 900px) {
  .hero { padding: 64px 0 80px; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; gap: 56px; }
}
.hero--zone .hero-art { max-width: 300px; }

/* Engagements : liste simple, pas de badges */
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.facts li { display: flex; gap: 10px; align-items: baseline; }
.facts li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--brass); transform: translateY(-1px); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--white { background: var(--white); border-block: 1px solid var(--line); }
.section--night { background: var(--enamel-deep); color: #E6EBF5; }
.section--night h2, .section--night h3 { color: var(--white); }
.section--night a { color: var(--brass-light); }
.section-intro { color: var(--muted); font-size: var(--step-1); line-height: 1.5; margin-bottom: 32px; }
.section--night .section-intro { color: #B9C4DB; }

/* Réponse directe (AEO) */
.answer { border-left: 6px solid var(--brass); padding: 4px 0 4px 20px; font-size: var(--step-1); line-height: 1.5; max-width: 60ch; }

/* ---------- Tarifs : tableau d'affichage à points de conduite ---------- */
.tarifs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 56px; }
@media (min-width: 900px) { .tarifs { grid-template-columns: 1fr 1fr; } }
.tarif { padding: 18px 0; border-bottom: 1px solid var(--line); }
.tarif-head { display: flex; align-items: baseline; gap: 10px; }
.tarif-head h3 { font-size: 1.15rem; }
.tarif-head .leader { flex: 1; border-bottom: 2px dotted #AEB6C4; transform: translateY(-5px); min-width: 24px; }
.tarif-head .prix { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); }
.tarif-head .prix small { font-weight: 500; color: var(--muted); font-size: .8em; }
.tarif p { margin: 6px 0 0; color: var(--muted); font-size: .98rem; max-width: 52ch; }
.tarif--supplement .prix { color: var(--brass-text); }
.tarifs-note { margin-top: 24px; }

/* ---------- Étapes (séquence réelle) ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 28px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 44px; height: 38px; display: grid; place-items: center;
  background: var(--enamel); color: var(--white); font-weight: 750; border-radius: 7px;
  box-shadow: inset 0 0 0 3px var(--enamel), inset 0 0 0 5px var(--white);
  font-stretch: 125%; font-variation-settings: "wdth" 125;
}
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: #B9C4DB; }

/* ---------- Pourquoi nous ---------- */
.reasons { display: grid; gap: 28px 48px; }
@media (min-width: 760px) { .reasons { grid-template-columns: 1fr 1fr; } }
.reasons h3 { margin-bottom: 6px; }
.reasons p { margin: 0; color: var(--muted); }

/* ---------- Zones ---------- */
.zones { display: grid; gap: 36px; }
@media (min-width: 900px) { .zones { grid-template-columns: repeat(3, 1fr); } }
.zone h3 { margin-bottom: 8px; }
.zone p { color: var(--muted); font-size: .98rem; }
.zone .zone-link { font-weight: 700; }
.communes { columns: 2; column-gap: 24px; padding: 0; list-style: none; margin: 0 0 1em; color: var(--muted); }
@media (min-width: 760px) { .communes--wide { columns: 3; } }
.communes li { break-inside: avoid; padding: 2px 0; }

/* ---------- Conseils ---------- */
.tips { padding-left: 1.2em; max-width: 70ch; }
.tips li { margin-bottom: 10px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-weight: 700; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
  border-right: 3px solid var(--enamel); border-bottom: 3px solid var(--enamel);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* ---------- Appel final ---------- */
.final .wrap { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .final .wrap { grid-template-columns: 1.3fr 1fr; } }
.final-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

/* Bloc néerlandais */
.nl { border: 1px solid var(--line); background: var(--white); border-radius: 12px; padding: 20px 22px; max-width: 70ch; }
.nl h3 { margin-bottom: 6px; }
.nl p { margin: 0; }

/* Fil d'Ariane */
.crumbs { font-size: var(--step--1); color: var(--muted); padding-top: 20px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #AEB6C4; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--enamel-deep); color: #B9C4DB; padding: 48px 0 110px; font-size: .98rem; }
.site-footer a { color: var(--white); }
.site-footer .wrap { display: grid; gap: 32px; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; } .site-footer { padding-bottom: 48px; } }
.site-footer h2 { color: var(--white); font-size: 1.1rem; margin-bottom: 10px; font-stretch: 100%; font-variation-settings: "wdth" 100; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer address { font-style: normal; display: grid; gap: 6px; }

/* ---------- Barre d'appel mobile ---------- */
.callbar {
  position: fixed; inset: auto 0 0 0; z-index: 30; display: flex; justify-content: center;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(247, 248, 250, .96); border-top: 1px solid var(--line);
}
.callbar .plaque { width: 100%; max-width: 420px; align-items: center; padding: 8px 16px 10px; }
.callbar .plaque-num { font-size: 1.45rem; }
@media (min-width: 760px) { .callbar { display: none; } }
