/* =========================================================
   Atela Garage — feuille de styles
   Identité : bleu nuit + orange cuivre, Archivo / Public Sans
   ========================================================= */
:root {
  --ink: #141414;
  --ink-2: #1f1f1f;
  --ink-3: #2e2e2e;
  --paper: #ffffff;
  --paper-2: #f4f4f4;
  --white: #ffffff;
  --accent: #d11a1e;
  --accent-d: #a8121a;
  --accent-soft: #fdecec;
  --line: #e5e5e5;
  --line-dk: rgba(255, 255, 255, .14);
  --text: #141414;
  --muted: #5e5e5e;
  --ok: #2b7a4b;
  --err: #b42318;

  --f-head: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r: 10px;
  --r-lg: 16px;
  --wrap: 1180px;
  --gut: 16px;
  --shadow: 0 1px 2px rgba(20,20,20,.06), 0 8px 24px rgba(20,20,20,.07);
  --hdr-h: 68px;
}
@media (min-width: 720px) { :root { --gut: 28px; --hdr-h: 78px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: 72px; /* barre mobile */
}
@media (min-width: 960px) { body { font-size: 1.09rem; padding-bottom: 0; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--f-head); font-stretch: 112%; font-weight: 750;
  line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 6.2vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 4.2vw, 2.45rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.35rem); font-stretch: 105%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; border-radius: var(--r); }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: clamp(56px, 9vw, 104px) 0; }
.sec--tight { padding: clamp(40px, 6vw, 64px) 0; }
.sec--white { background: var(--white); }
.sec--ink { background: var(--ink); color: #e3e3e3; }
.sec--ink h2, .sec--ink h3 { color: #fff; }
.sec--sand { background: var(--paper-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font: 700 .8rem/1 var(--f-head); font-stretch: 115%; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-d);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--accent); border-radius: 2px; }
.sec--ink .eyebrow, .hero .eyebrow { color: #ff5a5f; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.sec--ink .lead { color: #bdbdbd; }
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.ico { flex: none; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: var(--r);
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd);
  font: 700 1rem/1.1 var(--f-head); font-stretch: 108%; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--accent { --bg: var(--accent); --bd: var(--accent); }
.btn--accent:hover { --bg: var(--accent-d); --bd: var(--accent-d); }
.btn--line { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--line:hover { --bg: var(--ink); --fg: #fff; }
.btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.45); }
.btn--ghost:hover { --bd: #fff; --bg: rgba(255,255,255,.08); }
.btn--sm { min-height: 46px; padding: 0 18px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent-d); text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- En-tête ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hdr.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(20,20,20,.06); }
.hdr__in { display: flex; align-items: center; gap: 20px; height: var(--hdr-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 40px; height: 40px; }
.brand__txt { display: flex; flex-direction: column; font: 600 1.28rem/1 var(--f-head); font-stretch: 115%; letter-spacing: -.01em; }
.brand__txt strong { font-weight: 800; }
.brand__txt { display: block; }
.brand__txt small { display: block; margin-top: 4px; font: 500 .72rem/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.brand--inv { color: #fff; }
.brand--inv .brand__txt small { color: #a6a6a6; }
.brand--inv .logo-mark rect { fill: var(--ink-2); }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav__item > a { display: block; padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: .98rem; text-decoration: none; color: var(--ink); }
.nav__item > a:hover, .nav__item > a[aria-current] { background: var(--paper-2); }
.nav__item > a[aria-current] { box-shadow: inset 0 -3px 0 var(--accent); border-radius: 8px 8px 0 0; background: transparent; }
.nav__item--sub { position: relative; }
.nav__sub { list-style: none; position: absolute; top: calc(100% + 6px); left: -10px; min-width: 280px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.nav__item--sub:hover .nav__sub, .nav__item--sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; }
.nav__sub a:hover { background: var(--paper); }
.nav__sub .ico { color: var(--accent); }
.nav__mob { display: none; }
.hdr__cta { display: flex; align-items: center; gap: 14px; }
.hdr__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--ink); white-space: nowrap; }
.hdr__tel .ico { color: var(--accent); }
.burger { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); cursor: pointer; }

@media (max-width: 1080px) { .hdr__tel span { display: none; } .hdr__tel { width: 46px; height: 46px; justify-content: center; border: 1px solid var(--line); border-radius: var(--r); background: #fff; } }
@media (max-width: 959px) {
  .burger { display: inline-flex; }
  .hdr__cta .btn { display: none; }
  .hdr__cta { margin-left: auto; gap: 8px; }
  .nav { position: fixed; inset: var(--hdr-h) 0 0 0; background: var(--paper); padding: 16px var(--gut) 32px; overflow-y: auto; opacity: 0; transform: translateY(-10px); transition: opacity .22s ease, transform .22s ease, visibility .22s; visibility: hidden; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item > a { padding: 16px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__item > a[aria-current] { box-shadow: none; color: var(--accent-d); }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; background: transparent; padding: 4px 0 8px 4px; min-width: 0; }
  .nav__sub a { padding: 10px 4px; }
  .nav__mob { display: grid; gap: 10px; margin-top: 24px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Fil d'Ariane ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 0; font-size: .9rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs--inv ol { color: #a6a6a6; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #cfcfcf; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 85% 10%, rgba(70,70,70,.9), transparent 60%), radial-gradient(40% 50% at 0% 100%, rgba(209,26,30,.16), transparent 70%); }
.hero__in { position: relative; display: grid; gap: 40px; padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 88px); }
@media (min-width: 960px) { .hero__in { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; } }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 8vw, 4.4rem); font-stretch: 118%; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { color: #c8c8c8; font-size: clamp(1.12rem, 2.4vw, 1.3rem); margin-bottom: 28px; }
.hero__ticks { list-style: none; display: grid; gap: 10px; margin: 28px 0 0; }
@media (min-width: 560px) { .hero__ticks { grid-template-columns: 1fr 1fr; } }
.hero__ticks li { display: flex; gap: 10px; align-items: flex-start; color: #ebebeb; font-weight: 500; }
.hero__ticks .ico { color: var(--accent); margin-top: 3px; }
.hero__visual { position: relative; }

/* Élément signature : la route qui mène l'atelier jusqu'à la maison */
.route { position: relative; width: 100%; aspect-ratio: 16 / 11; }
.route > svg { width: 100%; height: 100%; overflow: visible; }
.route__path { stroke-dasharray: 2 14; stroke-dashoffset: 0; }
.route__draw { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.4s .4s cubic-bezier(.6,.1,.2,1) forwards; }
.route__van { animation: drive 2.4s .4s cubic-bezier(.6,.1,.2,1) both; offset-path: var(--route); offset-rotate: 0deg; }
.route__pin { opacity: 0; transform-origin: center bottom; transform-box: fill-box; animation: pin .5s 2.6s cubic-bezier(.3,1.6,.6,1) forwards; }
.route__card { position: absolute; right: 0; bottom: 0; max-width: 260px; padding: 14px 16px; border-radius: var(--r-lg); background: #fff; color: var(--text); box-shadow: 0 18px 40px rgba(0,0,0,.28); opacity: 0; transform: translateY(10px); animation: card .6s 2.9s ease forwards; font-size: .92rem; }
.route__card strong { display: block; font: 700 1rem/1.25 var(--f-head); color: var(--ink); }
.route__card span { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--ok); font-weight: 600; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drive { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes pin { from { opacity: 0; transform: translateY(-14px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes card { to { opacity: 1; transform: none; } }

/* Hero des pages intérieures */
.phero { background: var(--ink); color: #c8c8c8; position: relative; overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 0%, rgba(70,70,70,.85), transparent 60%); }
.phero__in { position: relative; padding-top: 8px; padding-bottom: clamp(44px, 7vw, 76px); }
.phero .crumbs { padding-left: 0; padding-right: 0; }
.phero .crumbs ol { color: #a6a6a6; padding-bottom: clamp(24px, 4vw, 40px); }
.phero h1 { color: #fff; max-width: 20ch; }
.phero .lead { color: #c8c8c8; }
.phero__grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .phero__grid { grid-template-columns: 1.3fr .7fr; align-items: end; } }
.phero__aside { background: var(--ink-2); border: 1px solid var(--line-dk); border-radius: var(--r-lg); padding: 22px; }
.phero__aside p { margin: 0 0 4px; color: #a6a6a6; font-size: .9rem; }
.phero__price { font: 800 2.2rem/1 var(--f-head); font-stretch: 112%; color: #fff; margin: 4px 0 6px; }
.phero__price small { font-size: .9rem; font-weight: 600; color: #a6a6a6; }

/* ---------- Bande de réassurance ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; padding: 26px var(--gut); }
@media (min-width: 960px) { .trust__list { grid-template-columns: repeat(5, 1fr); } }
.trust__list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; line-height: 1.35; }
.trust__list strong { display: block; font-family: var(--f-head); font-stretch: 108%; color: var(--ink); font-size: 1rem; }
.trust__ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-d); }

/* ---------- Cartes prestations ---------- */
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.card__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--ink); color: #fff; margin-bottom: 18px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 16px; }
.card__list { list-style: none; display: grid; gap: 6px; margin-bottom: 18px; font-size: .96rem; }
.card__list li { display: flex; gap: 8px; }
.card__list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .62em; border-radius: 50%; background: var(--accent); }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.card__price { font-size: .9rem; color: var(--muted); }
.card__price b { font: 800 1.25rem/1 var(--f-head); color: var(--ink); }
.card--feature { background: var(--ink); border-color: var(--ink); color: #c8c8c8; }
.card--feature h3 { color: #fff; }
.card--feature p { color: #bdbdbd; }
.card--feature .card__ico { background: var(--accent); }
.card--feature .card__foot { border-color: var(--line-dk); }
.card--feature .link { color: #ff5a5f; }

/* ---------- Étapes ---------- */
.steps { list-style: none; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; position: relative; padding: 26px 22px 22px; background: var(--ink-2); border: 1px solid var(--line-dk); border-radius: var(--r-lg); }
.steps li::before { content: "0" counter(s); display: block; font: 800 2.4rem/1 var(--f-head); font-stretch: 120%; color: var(--accent); margin-bottom: 14px; }
.steps h3 { color: #fff; margin-bottom: 6px; }
.steps p { margin: 0; color: #bdbdbd; font-size: .98rem; }
.sec--white .steps li, .sec--sand .steps li { background: #fff; border-color: var(--line); }
.sec--white .steps h3, .sec--sand .steps h3 { color: var(--ink); }
.sec--white .steps p, .sec--sand .steps p { color: var(--muted); }

/* ---------- Split / photo ---------- */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split--rev > :first-child { order: 2; } }
.ph { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--empty { display: grid; place-items: center; text-align: center; padding: 24px; color: #a6a6a6; font-size: .85rem; letter-spacing: .02em;
  background: repeating-linear-gradient(135deg, var(--ink-2) 0 22px, #262626 22px 44px); }
.ph--empty .ico { margin: 0 auto 10px; color: var(--accent); width: 34px; height: 34px; }
.ph--empty span { max-width: 32ch; }
.ph__tag { position: absolute; left: 16px; bottom: 16px; display: inline-flex; gap: 8px; align-items: center; padding: 9px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: .88rem; box-shadow: var(--shadow); }
.ph__tag .ico { color: var(--accent); }

.checks { list-style: none; display: grid; gap: 12px; margin: 22px 0 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ico { flex: none; width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-d); margin-top: 1px; }
.sec--ink .checks .ico { background: rgba(209,26,30,.18); color: #ff5a5f; }
.sec--ink .checks li { color: #ebebeb; }

/* ---------- Bloc professionnels ---------- */
.proband { display: grid; gap: 32px; padding: clamp(28px, 5vw, 56px); border-radius: 22px; background: var(--ink); color: #c8c8c8; position: relative; overflow: hidden; }
.proband::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 48px solid rgba(209,26,30,.12); }
@media (min-width: 960px) { .proband { grid-template-columns: 1.2fr .8fr; align-items: center; } }
.proband h2 { color: #fff; }
.proband > * { position: relative; z-index: 1; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { padding: 18px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line-dk); }
.stat b { display: block; font: 800 1.15rem/1.2 var(--f-head); color: #fff; margin-bottom: 4px; }
.stat span { font-size: .9rem; color: #a6a6a6; }

/* ---------- Tarifs ---------- */
.ptable { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.ptable caption { text-align: left; padding: 0 0 12px; font: 750 1.3rem/1.2 var(--f-head); font-stretch: 110%; color: var(--ink); }
.ptable th, .ptable td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable thead th { background: var(--paper-2); font: 700 .78rem/1.2 var(--f-head); font-stretch: 110%; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ptable tbody tr:last-child td, .ptable tbody tr:last-child th { border-bottom: 0; }
.ptable tbody th { font-weight: 600; color: var(--ink); }
.ptable tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.ptable .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ptable .num b { font: 800 1.1rem/1 var(--f-head); color: var(--ink); }
.ptable .from { display: block; font-size: .75rem; color: var(--muted); }
.ptable .quote { font-weight: 600; color: var(--accent-d); }
.ptable a { text-decoration: none; }
.ptable a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .ptable thead { display: none; }
  .ptable tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .ptable tbody tr:last-child { border-bottom: 0; }
  .ptable th, .ptable td { padding: 0; border: 0; }
  .ptable td.dur { grid-column: 1; font-size: .86rem; color: var(--muted); }
  .ptable td.num { grid-row: 1; grid-column: 2; }
}
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); margin-bottom: 28px; }
.toggle button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; font: 700 .95rem/1 var(--f-head); font-stretch: 108%; color: var(--muted); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.note { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r); background: var(--accent-soft); color: #6b0e12; border-left: 4px solid var(--accent); font-size: .97rem; }
.note .ico { color: var(--accent-d); margin-top: 2px; }
.note p:last-child { margin: 0; }
.note--info { background: #f2f2f2; color: var(--ink-2); border-color: var(--ink-3); }
.note--info .ico { color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; font: 700 1.04rem/1.35 var(--f-head); font-stretch: 104%; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { flex: none; color: var(--accent); transition: transform .2s; }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 20px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Zones / villes ---------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li, .chips a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .93rem; font-weight: 500; text-decoration: none; }
.chips a:hover { border-color: var(--ink); }
.chips .is-key { background: var(--ink); color: #fff; border-color: var(--ink); }
.sec--ink .chips li { background: var(--ink-2); border-color: var(--line-dk); color: #e3e3e3; }
.citycard h3 { display: flex; align-items: center; gap: 10px; }
.citycard h3 .ico { color: var(--accent); }

/* ---------- CTA final ---------- */
.ctaband { background: var(--accent); color: #fff; }
.ctaband__in { display: grid; gap: 24px; align-items: center; padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(40px, 6vw, 64px); }
@media (min-width: 900px) { .ctaband__in { grid-template-columns: 1fr auto; } }
.ctaband h2 { color: #fff; margin-bottom: 8px; }
.ctaband p { margin: 0; color: #ffe3e3; font-size: 1.1rem; }
.ctaband .btn { --bg: var(--ink); --bd: var(--ink); }
.ctaband .btn:hover { --bg: #000; --bd: #000; }
.ctaband .btn--ghost { --bg: transparent; --bd: rgba(255,255,255,.6); }

/* ---------- Contenu éditorial ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 3vw, 1.85rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .35em; }
.layout-aside { display: grid; gap: 40px; }
@media (min-width: 1000px) { .layout-aside { grid-template-columns: 1fr 340px; gap: 56px; align-items: start; } .layout-aside aside { position: sticky; top: calc(var(--hdr-h) + 20px); } }
.boxcta { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.boxcta h3 { margin-bottom: 6px; }
.boxcta p { color: var(--muted); font-size: .97rem; }
.boxcta .btn + .btn { margin-top: 10px; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 18px; }
.f-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .f-row--2 { grid-template-columns: 1fr 1fr; } .f-row--3 { grid-template-columns: 1fr 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field > label, .field > .lbl { font-weight: 650; color: var(--ink); font-size: .98rem; }
.field .opt { font-weight: 400; color: var(--muted); font-size: .88rem; }
.field .hint { font-size: .87rem; color: var(--muted); margin: 0; }
.input, .select, .textarea {
  width: 100%; min-height: 54px; padding: 13px 15px; border: 1.5px solid #cfcfcf; border-radius: var(--r);
  background: #fff; color: var(--text); font: inherit; font-size: 1.05rem; transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%2310202b' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20,20,20,.12); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--err); }
.f-err { display: none; color: var(--err); font-size: .88rem; font-weight: 600; margin: 0; }
.field.has-error .f-err { display: block; }
.plate { display: flex; align-items: stretch; max-width: 380px; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; background: #fff; }
.plate__eu { display: grid; place-items: center; gap: 2px; width: 46px; background: #1f47b8; color: #fff; font: 700 .9rem/1 var(--f-head); }
.plate__eu svg { width: 20px; height: 20px; }
.plate input { flex: 1; min-width: 0; border: 0; padding: 0 14px; min-height: 60px; font: 800 1.6rem/1 var(--f-head); font-stretch: 112%; letter-spacing: .08em; text-transform: uppercase; text-align: center; color: var(--ink); background: transparent; }
.plate input:focus { outline: none; }
.plate:focus-within { box-shadow: 0 0 0 4px rgba(20,20,20,.15); }
.plate__dep { width: 46px; background: #1f47b8; }
.choice { display: grid; gap: 10px; }
@media (min-width: 640px) { .choice--2 { grid-template-columns: 1fr 1fr; } .choice--3 { grid-template-columns: repeat(3, 1fr); } }
.opt-card { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 15px 16px; border: 1.5px solid #cfcfcf; border-radius: var(--r); background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.opt-card input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card__box { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border: 2px solid #bdbdbd; border-radius: 6px; background: #fff; color: transparent; transition: .15s; }
.opt-card input[type="radio"] ~ .opt-card__box { border-radius: 50%; }
.opt-card__txt { display: grid; gap: 2px; line-height: 1.35; }
.opt-card__txt b { font-weight: 650; color: var(--ink); }
.opt-card__txt small { color: var(--muted); font-size: .86rem; }
.opt-card:hover { border-color: var(--ink-3); }
.opt-card:has(input:checked) { border-color: var(--ink); background: #f5f5f5; box-shadow: inset 0 0 0 1px var(--ink); }
.opt-card input:checked ~ .opt-card__box { background: var(--accent); border-color: var(--accent); color: #fff; }
.opt-card input:focus-visible ~ .opt-card__box { outline: 3px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }

/* Parcours de devis */
.qwrap { display: grid; gap: 28px; }
@media (min-width: 1000px) { .qwrap { grid-template-columns: 1fr 340px; gap: 48px; align-items: start; } .qwrap aside { position: sticky; top: calc(var(--hdr-h) + 20px); } }
.qcard { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.qprog { padding: 18px clamp(18px, 4vw, 32px); background: var(--paper); border-bottom: 1px solid var(--line); }
.qprog__top { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.qprog__top b { color: var(--ink); font-family: var(--f-head); font-stretch: 108%; }
.qprog__bar { height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.qprog__bar i { display: block; height: 100%; width: 20%; background: var(--accent); border-radius: 6px; transition: width .35s ease; }
.qprog__dots { list-style: none; display: none; justify-content: space-between; margin-top: 12px; font-size: .82rem; color: var(--muted); }
@media (min-width: 720px) { .qprog__dots { display: flex; } }
.qprog__dots li.is-done, .qprog__dots li.is-cur { color: var(--ink); font-weight: 650; }
.qstep { padding: clamp(22px, 4vw, 36px); }
.qstep[hidden] { display: none; }
.qstep h2 { font-size: clamp(1.4rem, 3.4vw, 1.8rem); margin-bottom: 6px; }
.qstep > p.sub { color: var(--muted); margin-bottom: 24px; }
.qnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.qnav .btn--back { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.qnav .btn--back:hover { --bd: var(--ink); }
.qnav .btn:only-child { margin-left: auto; }
.switch-link { margin-top: 14px; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--accent-d); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.qgroup + .qgroup { margin-top: 26px; }
.qgroup > .lbl { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font: 750 1.05rem/1.2 var(--f-head); font-stretch: 108%; color: var(--ink); }
.qgroup > .lbl .ico { color: var(--accent); }
.recap { display: grid; gap: 12px; }
.recap section { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.recap header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.recap h3 { margin: 0; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.recap button { background: none; border: 0; font: inherit; font-size: .9rem; font-weight: 600; color: var(--accent-d); cursor: pointer; text-decoration: underline; }
.recap p, .recap ul { margin: 0; color: var(--ink); }
.recap ul { padding-left: 1.1em; }
.zonemsg { margin-top: 10px; font-size: .92rem; font-weight: 600; }
.zonemsg.ok { color: var(--ok); }
.zonemsg.ko { color: var(--accent-d); }
.qdone { padding: clamp(32px, 6vw, 56px); text-align: center; }
.qdone__ico { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: #e3f1e8; color: var(--ok); }
.qdone__ico .ico { width: 36px; height: 36px; }
.qdone p { max-width: 52ch; margin-inline: auto; color: var(--muted); }
.side-steps { list-style: none; display: grid; gap: 14px; margin: 16px 0 0; }
.side-steps li { display: flex; gap: 12px; font-size: .95rem; color: var(--muted); }
.side-steps .ico { color: var(--accent); margin-top: 2px; }
.side-steps b { display: block; color: var(--ink); }
.tabs-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.tabs-mode a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: var(--r); border: 1.5px solid var(--line); background: #fff; font: 700 1rem/1.2 var(--f-head); font-stretch: 106%; text-decoration: none; color: var(--muted); text-align: center; padding: 6px 10px; }
.tabs-mode a[aria-current] { border-color: var(--ink); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.tabs-mode a .ico { color: var(--accent); }

/* ---------- Pied de page ---------- */
.ftr { background: #0a0a0a; color: #a6a6a6; font-size: .95rem; }
.ftr__grid { display: grid; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
@media (min-width: 720px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .ftr__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.ftr ul { list-style: none; display: grid; gap: 9px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr__brand p { margin: 18px 0; max-width: 36ch; }
.ftr__contact li, .ftr__contact a { display: flex; align-items: center; gap: 10px; }
.ftr__contact .ico { color: var(--accent); }
.ftr__h { font: 700 .82rem/1 var(--f-head); font-stretch: 112%; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.ftr__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .86rem; }
.ftr__legal p { margin: 0; }

/* ---------- Barre mobile ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20,20,20,.08); }
.mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: var(--r); font: 700 1rem/1 var(--f-head); font-stretch: 106%; text-decoration: none; }
.mbar__tel { padding: 0 18px; border: 2px solid var(--ink); color: var(--ink); }
.mbar__cta { background: var(--accent); color: #fff; }
@media (min-width: 960px) { .mbar { display: none; } }
body.is-quote .mbar { display: none; }
body.is-quote { padding-bottom: 0; }

/* ---------- Apparition au défilement ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.is-in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  .route__draw { stroke-dashoffset: 0; }
  .route__van { offset-distance: 100%; }
  .route__pin, .route__card { opacity: 1; transform: none; }
}

/* Utilitaires */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.stack > * + * { margin-top: 16px; }
.f-err[data-consent-err], .f-err[data-send-err] { margin-top: 8px; }
.qstep legend h2 { margin-bottom: 6px; }
.van { width: 100%; height: auto; }
.crumbs { padding: 0; }
.qstep > legend { float: left; width: 100%; }
.qstep > legend + * { clear: both; }
@media (max-width: 480px) { .toggle { display: flex; } .toggle button { padding: 0 14px; font-size: .88rem; white-space: nowrap; flex: 1; } }
.phero__aside .ico { display: inline-block; vertical-align: -3px; margin-right: 4px; }

/* Contrats d'entretien */
.plan__name { font: 800 1.5rem/1 var(--f-head); font-stretch: 115%; color: var(--ink); margin-bottom: 10px; }
.card--feature .plan__name { color: #fff; }
.plan__base { font-weight: 700; color: var(--ink); margin: 0 0 -8px; }
.card--feature .plan__base { color: #ff5a5f; }
.plan .checks { margin: 14px 0 20px; font-size: .96rem; }
.card--feature .checks li { color: #ebebeb; }
.card--feature .checks .ico { background: rgba(209,26,30,.18); color: #ff5a5f; }
.card .plan__name { color: var(--ink); }
.card.card--feature .plan__name, .card--feature .card__price b { color: #fff; }
.card .plan__base { color: var(--ink); }
.card.card--feature .plan__base { color: #ff5a5f; }

/* ===== Identité noir / blanc / rouge ===== */
:root { --accent-l: #ff5a5f; }
.brand__logo { display: block; height: 42px; width: auto; }
@media (min-width: 720px) { .brand__logo { height: 48px; } }
.ftr .brand__logo { height: 52px; }
.hdr { background: rgba(255,255,255,.96); border-bottom-color: var(--line); }
.hdr.is-scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.nav__item > a:hover { background: var(--paper-2); }
.nav__item > a[aria-current] { box-shadow: inset 0 -3px 0 var(--accent); background: transparent; }
.hero { background: #0e0e0e; }
.hero::before { background: radial-gradient(60% 80% at 88% 12%, rgba(255,255,255,.07), transparent 60%), radial-gradient(45% 60% at 0% 100%, rgba(209,26,30,.18), transparent 70%); }
.phero { background: #0e0e0e; }
.phero::before { background: radial-gradient(60% 120% at 100% 0%, rgba(255,255,255,.06), transparent 60%); }
/* Titres : l'italique appuyé du logo, réservé aux accents */
.hero h1 { font-stretch: 112%; font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; font-size: clamp(2.4rem, 7.4vw, 4.3rem); line-height: 1; }
.hero h1 em { font-style: italic; color: var(--accent); }
.eyebrow { font-weight: 800; }
.eyebrow::before { width: 26px; height: 4px; border-radius: 0; transform: skewX(-25deg); }
.card__ico { background: var(--ink); }
.card--feature .card__ico, .steps li::before { color: var(--accent); }
.card--feature .card__ico { background: var(--accent); color: #fff; }
.btn { border-radius: 8px; text-transform: uppercase; letter-spacing: .04em; font-size: .92rem; font-weight: 800; }
.btn--sm { font-size: .84rem; }
.mbar a { text-transform: uppercase; letter-spacing: .03em; font-size: .9rem; font-weight: 800; }
.ctaband { background: var(--accent); }
.ctaband p { color: #ffe3e3; }
.sec--white + .sec:not(.sec--ink):not(.sec--sand), .sec:not(.sec--ink):not(.sec--sand):not(.sec--white) + .sec--white { border-top: 1px solid var(--line); }
.trust { border-bottom-color: var(--line); }
.trust__ico { background: var(--accent-soft); color: var(--accent); }
.steps li { background: #1a1a1a; }
.ftr { background: #0a0a0a; }

.card--wide { grid-column: 1 / -1; }
@media (min-width: 960px) { .card--wide { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0 28px; } .card--wide .card__ico { margin: 0; } .card--wide h3 { margin: 0; } .card--wide p { margin: 4px 0 0; grid-column: 2; } .card--wide h3 { grid-column: 2; } .card--wide .card__ico { grid-row: 1 / 3; } .card--wide .card__foot { grid-column: 3; grid-row: 1 / 3; border: 0; padding: 0; margin: 0; flex-direction: column; align-items: flex-end; gap: 6px; } }
/* Avis d'achat */
.verdicts { display: grid; gap: 12px; }
.verdict { display: grid; gap: 4px; padding: 20px 22px; border-radius: var(--r-lg); background: #1a1a1a; border: 1px solid var(--line-dk); border-left: 6px solid; }
.verdict b { font: 800 1.15rem/1.2 var(--f-head); font-stretch: 110%; text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.verdict span { color: #bdbdbd; font-size: .97rem; }
.verdict--ok { border-left-color: #2f9e5b; }
.verdict--warn { border-left-color: #e0a100; }
.verdict--ko { border-left-color: var(--accent); }
.ptable td.dur { white-space: nowrap; }
