/* ============================================================
   IDF Auto Dream — design system
   Flat design · base navy/charcoal + rouge action + ambre sécurité
   Oswald (titres) + Inter (texte) · mobile-first
   ============================================================ */

:root {
  --navy: #0b1220;
  --navy-2: #0f172a;
  --slate: #1e293b;
  --slate-2: #334155;
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --red: #dc2626;
  --red-dark: #b91c1c;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --green: #16a34a;

  --on-dark: #e6edf6;
  --on-dark-soft: #94a3b8;

  --radius: 12px;
  --radius-lg: 18px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .16);

  --maxw: 1160px;
  --gutter: clamp(16px, 5vw, 40px);

  --ff-title: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 72px;
}

/* ---------- reset léger ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
/* interlignage : les majuscules accentuées françaises (Î, É, À) ont besoin d'air */
h1, h2, h3, h4 { font-family: var(--ff-title); color: var(--ink); line-height: 1.16; margin: 0 0 .5em; font-weight: 700; letter-spacing: .2px; }
h1 { font-size: clamp(2rem, 5.4vw, 3.5rem); text-transform: uppercase; line-height: 1.14; }
h2 { font-size: clamp(1.6rem, 3.8vw, 2.5rem); text-transform: uppercase; line-height: 1.15; }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin: .35rem 0; }
strong { color: var(--ink); font-weight: 600; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 8vw, 96px); }
.section--tight { padding-block: clamp(36px, 5vw, 60px); }
.section--dark { background: var(--navy); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--slate { background: var(--surface-2); }
.eyebrow {
  font-family: var(--ff-title); text-transform: uppercase; letter-spacing: 2.5px;
  font-weight: 600; font-size: .8rem; color: var(--red);
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); display: inline-block; }
.section--dark .eyebrow { color: var(--amber); }
.section--dark .eyebrow::before { background: var(--amber); }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--body); max-width: 62ch; }
.section--dark .lead { color: var(--on-dark); }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-inline: auto; }
.center .eyebrow { justify-content: center; }
.mw-head { max-width: 720px; }
.center .mw-head { margin-inline: auto; }

/* ---------- boutons ---------- */
.btn {
  --_bg: var(--red); --_fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-title); text-transform: uppercase; letter-spacing: .6px; font-weight: 600;
  font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer;
  background: var(--_bg); color: var(--_fg); border: 2px solid var(--_bg);
  padding: 15px 26px; border-radius: var(--radius-sm); min-height: 52px;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.btn--amber { --_bg: var(--amber); --_fg: #1a1206; }
.btn--amber:hover { background: var(--amber-dark); border-color: var(--amber-dark); }
.btn--ghost { --_bg: transparent; --_fg: var(--ink); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.section--dark .btn--ghost, .hero .btn--ghost, .ctaband .btn--ghost { --_fg: #fff; color: #fff; border-color: rgba(255,255,255,.5); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover, .ctaband .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--lg { min-height: 58px; padding: 18px 32px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- topbar (urgence) ---------- */
.topbar { background: var(--navy); color: var(--on-dark-soft); font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; color: var(--amber); }
.topbar .topbar__badge { display: inline-flex; align-items: center; gap: 7px; }
.topbar__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(22,163,74,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(22,163,74,.55)} 70%{box-shadow:0 0 0 8px rgba(22,163,74,0)} 100%{box-shadow:0 0 0 0 rgba(22,163,74,0)} }
@media (max-width: 640px){ .topbar__hide-sm { display: none; } }

/* ---------- header / nav ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { height: 54px; width: auto; display: block; }
.brand__logo--footer { height: 62px; }
@media (max-width: 960px){ .brand__logo { height: 44px; } }
@media (max-width: 400px){ .brand__logo { height: 34px; } }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { font-family: var(--ff-title); text-transform: uppercase; line-height: .98; }
.brand__text b { display: block; font-weight: 700; font-size: 1.18rem; color: var(--ink); letter-spacing: .5px; }
.brand__text span { display: block; font-size: .62rem; letter-spacing: 3px; color: var(--red); font-weight: 600; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a { font-family: var(--ff-title); text-transform: uppercase; letter-spacing: .4px; font-weight: 500; font-size: .92rem; color: var(--slate); text-decoration: none; padding: 10px 11px; border-radius: 6px; transition: color .15s, background .15s; white-space: nowrap; }
.nav__links a:hover { color: var(--ink); background: var(--surface-2); }
.nav__links a[aria-current="page"] { color: var(--red); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__phone { display: inline-flex; align-items: center; gap: 9px; font-family: var(--ff-title); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; text-decoration: none; color: var(--ink); font-size: 1rem; white-space: nowrap; }
.nav__phone > span { display: inline-flex; flex-direction: column; line-height: 1.05; }
.nav__phone svg { width: 34px; height: 34px; color: var(--red); }
.nav__phone small { display: block; font-family: var(--ff-body); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: .68rem; color: var(--muted); }
.nav__toggle { display: none; }

/* menu déroulant Services */
.has-sub { position: relative; }
.has-sub > .sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s, transform .16s, visibility .16s; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub a { display: block; padding: 11px 12px; font-family: var(--ff-body); text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--slate); }
.sub a b { display: block; font-family: var(--ff-title); text-transform: uppercase; font-size: .9rem; color: var(--ink); letter-spacing: .3px; }
.sub a small { color: var(--muted); font-size: .82rem; }
.has-sub > a::after { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 7px; vertical-align: middle; opacity: .5; }

@media (max-width: 960px) {
  .nav__links, .nav__phone small { display: none; }
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--border); background: #fff; border-radius: 8px; cursor: pointer; color: var(--ink); }
  .nav__toggle svg { width: 26px; height: 26px; }
  .nav.is-open .nav__links { display: flex; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); padding: 12px var(--gutter) 20px; }
  .nav.is-open .nav__links a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--surface-2); }
  .nav.is-open .has-sub > .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 6px 14px; }
  .nav.is-open .has-sub > a::after { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--on-dark); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,18,32,.94) 0%, rgba(11,18,32,.82) 42%, rgba(11,18,32,.45) 100%); }
.hero__inner { position: relative; padding-block: clamp(56px, 10vw, 120px); max-width: 680px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .hl { color: var(--amber); }
.hero__lead { color: var(--on-dark); font-size: clamp(1.05rem, 2.1vw, 1.25rem); margin-bottom: 26px; max-width: 56ch; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; padding: 8px 14px; border-radius: 999px; font-size: .85rem; font-weight: 500; }
.badge svg { width: 16px; height: 16px; color: var(--amber); flex: none; }
.hero__pill { display: inline-flex; align-items: center; gap: 9px; background: rgba(220,38,38,.16); border: 1px solid rgba(220,38,38,.4); color: #fff; padding: 7px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; margin-bottom: 20px; }
.hero__pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(220,38,38,.6); animation: pulse-red 2s infinite; }
@keyframes pulse-red { 0%{box-shadow:0 0 0 0 rgba(220,38,38,.6)} 70%{box-shadow:0 0 0 7px rgba(220,38,38,0)} 100%{box-shadow:0 0 0 0 rgba(220,38,38,0)} }

/* bandeau stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stats--dark { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.14); }
.stat { background: var(--surface); padding: 22px 18px; text-align: center; }
.stats--dark .stat { background: var(--navy-2); }
.stat b { display: block; font-family: var(--ff-title); font-weight: 700; font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--ink); line-height: 1; }
.stats--dark .stat b { color: var(--amber); }
.stat > span { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; font-weight: 500; }
.stat b span { font: inherit; color: inherit; letter-spacing: inherit; text-transform: none; }
.stats--dark .stat > span { color: var(--on-dark-soft); }
@media (max-width: 620px){ .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- grilles / cartes ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){ .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.card__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--red); margin-bottom: 16px; }
.card__icon svg { width: 27px; height: 27px; }
.card--dark { background: var(--navy-2); border-color: rgba(255,255,255,.1); color: var(--on-dark); }
.card--dark h3 { color: #fff; }
.card--dark .card__icon { background: rgba(245,158,11,.14); color: var(--amber); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

/* carte service avec image */
.svc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc__img { aspect-ratio: 3 / 2; overflow: hidden; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc:hover .svc__img img { transform: scale(1.05); }
.svc__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.svc__body h3 { margin-bottom: 8px; }
.svc__link { margin-top: auto; padding-top: 14px; font-family: var(--ff-title); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; font-size: .9rem; color: var(--red); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.svc__link svg { width: 18px; height: 18px; transition: transform .18s; }
.svc:hover .svc__link svg { transform: translateX(4px); }

/* liste à puces coche */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--green); margin-top: 1px; }
.section--dark .checklist svg { color: var(--amber); }

/* split image + texte */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__media--tall img { aspect-ratio: 4/5; }
@media (max-width: 840px){ .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }

/* étapes process */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.step__num { counter-increment: step; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--ff-title); font-weight: 700; font-size: 1.2rem; display: grid; place-items: center; flex: none; }
.step__num::before { content: counter(step, decimal-leading-zero); }
.section--dark .step__num { background: var(--amber); color: #1a1206; }
.step h3 { margin-bottom: 4px; }

/* bande CTA */
.ctaband { position: relative; background: var(--navy); color: #fff; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(32px, 6vw, 60px); }
.ctaband__bg { position: absolute; inset: 0; opacity: .32; }
.ctaband__bg img { width: 100%; height: 100%; object-fit: cover; }
.ctaband::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,18,32,.95), rgba(11,18,32,.7)); }
.ctaband > * { position: relative; }
.ctaband h2 { color: #fff; }
.ctaband .lead { color: var(--on-dark); }

/* partenaires */
.logos { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.logo-chip { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 16px 22px; font-family: var(--ff-title); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; color: var(--slate); font-size: .95rem; box-shadow: var(--shadow-sm); }
.section--dark .logo-chip { background: var(--navy-2); border-color: rgba(255,255,255,.1); color: var(--on-dark); }

/* faq accordéon */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--ff-title); text-transform: uppercase; letter-spacing: .3px; font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.faq__q::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq__item.is-open .faq__q::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq__a-inner { padding: 0 0 22px; color: var(--body); }
.faq__item.is-open .faq__a { max-height: 400px; }

/* ---------- formulaire ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px){ .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field .req { color: var(--red); }
.field input, .field select, .field textarea { font-family: var(--ff-body); font-size: 1rem; padding: 13px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: #fff; color: var(--ink); min-height: 50px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(220,38,38,.14); }
.form__note { font-size: .85rem; color: var(--muted); }
.form__ok { display: none; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; padding: 16px; border-radius: var(--radius-sm); font-weight: 500; }
.form__ok.is-visible { display: block; }

/* infos contact */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-list li { display: grid; grid-template-columns: auto 1fr; gap: 15px; align-items: start; }
.info-list .ic { width: 46px; height: 46px; border-radius: 10px; background: rgba(220,38,38,.1); color: var(--red); display: grid; place-items: center; flex: none; }
.section--dark .info-list .ic { background: rgba(245,158,11,.15); color: var(--amber); }
.info-list .ic svg { width: 22px; height: 22px; }
.info-list b { display: block; font-family: var(--ff-title); text-transform: uppercase; letter-spacing: .4px; color: var(--ink); font-size: .95rem; }
.section--dark .info-list b { color: #fff; }
.info-list a { color: var(--red); text-decoration: none; font-weight: 600; }
.section--dark .info-list a { color: var(--amber); }

/* fil d'ariane */
.crumbs { font-size: .85rem; color: var(--on-dark-soft); padding-top: 6px; }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs .sep { margin: 0 8px; opacity: .5; }

/* prose (mentions légales) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose h3 { margin-top: 1.4rem; }
.prose a { color: var(--red); }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: var(--on-dark-soft); padding-block: clamp(48px, 7vw, 72px) 28px; }
.footer a { color: var(--on-dark-soft); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 860px){ .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 520px){ .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 1rem; letter-spacing: 1px; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 9px 0; }
.footer .brand__text b { color: #fff; }
.footer__desc { margin-top: 16px; max-width: 34ch; font-size: .92rem; }
.footer__contact { display: grid; gap: 10px; margin-top: 4px; }
.footer__contact a, .footer__contact span { display: inline-flex; gap: 9px; align-items: flex-start; font-size: .92rem; }
.footer__contact svg { width: 17px; height: 17px; color: var(--amber); flex: none; margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .82rem; }
.footer__made { color: var(--on-dark-soft); }
.footer__made a { color: var(--amber); }

/* ---------- barre d'appel mobile fixe ---------- */
.callbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; display: none; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--navy); box-shadow: 0 -6px 20px rgba(0,0,0,.18); padding-bottom: env(safe-area-inset-bottom); }
.callbar a { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 10px; font-family: var(--ff-title); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; text-decoration: none; color: #fff; font-size: .98rem; }
.callbar a svg { width: 20px; height: 20px; }
.callbar .call { background: var(--red); }
.callbar .quote { background: var(--slate); }
@media (max-width: 760px){ .callbar { display: grid; } body { padding-bottom: 62px; } }

/* ---------- utilitaires reveal ---------- */
/* Apparitions : SÛRES PAR CONCEPTION.
   Le contenu est visible par défaut ; il n'est masqué que si le JS a confirmé
   qu'il pilotera l'animation (classe .js-reveal posée en <head>). */
.reveal { opacity: 1; transform: none; transition: opacity .38s ease, transform .38s ease; }
html.js-reveal .reveal:not(.is-in) { opacity: 0; transform: translateY(14px); }
@media (prefers-reduced-motion: reduce){ html.js-reveal .reveal:not(.is-in) { opacity: 1; transform: none; } }
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.stack > * + * { margin-top: 1rem; }

/* ============================================================
   FIX CONTRASTE — gras lisible sur fonds sombres
   ============================================================ */
.section--dark strong, .hero strong, .hero__lead strong, .ctaband strong, .card--dark strong, .footer strong, .section--dark .info-list b, .hero .info-list b { color: #fff; }
.section--dark .checklist span, .hero .checklist span { color: var(--on-dark); }

/* ============================================================
   DYNAMISME — animations & micro-interactions
   ============================================================ */

/* Hero : Ken Burns + traînées lumineuses + halo */
.hero__media img { animation: kenburns 26s ease-in-out infinite alternate; transform-origin: 65% 60%; }
@keyframes kenburns { 0%{transform:scale(1.06) translateX(0)} 100%{transform:scale(1.16) translateX(-2%)} }
.hero__streaks { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero__streaks::before, .hero__streaks::after { content: ""; position: absolute; height: 2px; width: 40%; top: 42%; left: -40%;
  background: linear-gradient(90deg, transparent, rgba(245,158,11,.0) 10%, rgba(245,158,11,.85) 50%, rgba(255,120,80,.0)); filter: blur(.5px); opacity: .0; animation: streak 6.5s linear infinite; }
.hero__streaks::after { top: 63%; width: 55%; animation-delay: 3s; background: linear-gradient(90deg, transparent, rgba(220,38,38,.0) 10%, rgba(220,38,38,.7) 50%, transparent); }
@keyframes streak { 0%{left:-45%;opacity:0} 8%{opacity:.9} 45%{opacity:.9} 60%{opacity:0} 100%{left:110%;opacity:0} }
.hero__glow { position: absolute; z-index: 0; width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; right: -8%; top: 8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,.28), rgba(245,158,11,0) 62%); filter: blur(20px); animation: breathe 5s ease-in-out infinite; pointer-events: none; }
@keyframes breathe { 0%,100%{opacity:.55;transform:scale(1)} 50%{opacity:.95;transform:scale(1.08)} }
.hero__inner { z-index: 2; }
.hero .container { position: relative; z-index: 2; }

/* Bandeau hazard animé (séparateur signalétique) */
.hazard { height: 8px; background-image: repeating-linear-gradient(-45deg, var(--amber) 0 22px, #12203a 22px 44px); background-size: 62px 100%; animation: hazard-move 1.4s linear infinite; }
@keyframes hazard-move { to { background-position: 62px 0; } }

/* Compteurs animés */
.stat b { font-variant-numeric: tabular-nums; }

/* Marquee partenaires */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee .logo-chip { white-space: nowrap; }

/* Reveal en cascade */
html.js-reveal .stagger > .reveal { transition-delay: calc(var(--i, 0) * 55ms); }

/* Boutons : reflet au survol */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); transition: left .5s ease; }
.btn:hover::after { left: 140%; }
.btn--amber::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); }

/* Titres de section : soulignement animé au reveal */
.svc__img img, .split__media img { will-change: transform; }
.card__icon { transition: transform .25s ease, background .2s ease; }
.card--hover:hover .card__icon { transform: translateY(-2px) scale(1.06); }

/* Pastille de section (numéro process) légère pulsation à l'arrivée */
.step__num { box-shadow: 0 0 0 0 rgba(220,38,38,.35); }
.reveal.is-in .step__num { animation: ring 2.4s ease-out 1; }
@keyframes ring { 0%{box-shadow:0 0 0 0 rgba(220,38,38,.5)} 60%{box-shadow:0 0 0 12px rgba(220,38,38,0)} 100%{box-shadow:0 0 0 0 rgba(220,38,38,0)} }

/* vidéo hero */
.hero__media video { width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
  .hero__media img { animation: none; transform: scale(1.04); }
  .hero__streaks, .hero__glow, .hazard { animation: none; }
  .marquee__track { animation: none; }
  .reveal.is-in .step__num { animation: none; }
}

/* ============================================================
   COUCHE PREMIUM — profondeur, matière, raffinement
   ============================================================ */

/* Grain subtil sur les sections sombres */
.section--dark, .hero, .ctaband, .footer { position: relative; }
.section--dark::before, .footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}
.section--dark > *, .footer > * { position: relative; z-index: 1; }

/* Fonds sombres : dégradé plutôt qu'aplat */
.section--dark { background: linear-gradient(165deg, #0d1526 0%, #0b1220 55%, #101b30 100%); }
.footer { background: linear-gradient(180deg, #0b1220 0%, #080e1a 100%); }

/* Titres : accent dégradé */
.hl { background: linear-gradient(100deg, #fbbf24, #f59e0b 55%, #f97316); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Cartes premium : liseré lumineux + ombre douce */
.card, .svc {
  background-image: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,0) 42%);
  box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 10px 30px -12px rgba(15,23,42,.14);
}
.card--dark { background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.012)); border-color: rgba(255,255,255,.11); box-shadow: none; backdrop-filter: blur(6px); }
.card--hover:hover { box-shadow: 0 1px 2px rgba(15,23,42,.06), 0 26px 50px -20px rgba(15,23,42,.3); }
.card--accent { border-top: 3px solid var(--red); }

/* Eyebrow raffiné */
.eyebrow::before { width: 30px; height: 2px; border-radius: 2px; }

/* Badges hero : verre */
.badge { backdrop-filter: blur(8px); background: rgba(255,255,255,.07); }

/* Hero : dégradé plus profond + vignette */
.hero__media::after { background: linear-gradient(95deg, rgba(8,14,26,.96) 0%, rgba(9,15,28,.88) 38%, rgba(11,18,32,.5) 72%, rgba(11,18,32,.35) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 -80px 90px -50px rgba(8,14,26,.95), inset 0 60px 70px -50px rgba(8,14,26,.7); z-index: 1; }

/* Header : ombre à l'état scrollé */
.header.is-stuck { box-shadow: 0 8px 30px -12px rgba(15,23,42,.22); }

/* Stats premium */
.stat { position: relative; }
.stat::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--amber)); transform: translateX(-50%); transition: width .6s ease .2s; }
.reveal.is-in.stat::after { width: 46%; }

/* Timeline process */
.timeline { position: relative; display: grid; gap: 0; max-width: 880px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(180deg, var(--red), var(--amber)); opacity: .35; }
.section--dark .timeline::before { opacity: .55; }
.tl { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 16px 0; align-items: start; }
.tl__dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--border-strong); color: var(--red); font-family: var(--ff-title); font-weight: 700; font-size: 1.1rem; position: relative; z-index: 1; }
.section--dark .tl__dot { background: #101b30; border-color: rgba(255,255,255,.16); color: var(--amber); }
.tl h3 { margin-bottom: 4px; }
.tl p { margin: 0; }
@media (max-width: 560px){ .tl { grid-template-columns: 44px 1fr; gap: 14px; } .tl__dot { width: 44px; height: 44px; font-size: .95rem; } .timeline::before { left: 21px; } }

/* Tableau d'engagements */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.section--dark .table-wrap { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.03); }
table.eng { width: 100%; border-collapse: collapse; min-width: 520px; }
table.eng th, table.eng td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--border); font-size: .95rem; }
.section--dark table.eng th, .section--dark table.eng td { border-color: rgba(255,255,255,.1); }
table.eng th { font-family: var(--ff-title); text-transform: uppercase; letter-spacing: .5px; font-size: .82rem; color: var(--muted); background: var(--surface-2); }
.section--dark table.eng th { background: rgba(255,255,255,.05); color: var(--on-dark-soft); }
table.eng tr:last-child td { border-bottom: 0; }
table.eng td b { color: var(--ink); }
.section--dark table.eng td b { color: #fff; }

/* Témoignages */
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; position: relative; box-shadow: var(--shadow-sm); }
.quote::before { content: "\\201C"; position: absolute; top: -6px; left: 18px; font-family: Georgia, serif; font-size: 76px; color: var(--red); opacity: .16; line-height: 1; }
.quote p { font-size: 1.02rem; color: var(--body); }
.quote__by { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.quote__av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--slate), var(--navy)); color: #fff; display: grid; place-items: center; font-family: var(--ff-title); font-weight: 700; flex: none; }
.quote__by b { display: block; font-size: .95rem; color: var(--ink); }
.quote__by span { font-size: .84rem; color: var(--muted); }
.stars { display: flex; gap: 3px; margin-bottom: 10px; }
.stars svg { width: 16px; height: 16px; color: var(--amber); }

/* Encadré mise en avant */
.callout { border-left: 4px solid var(--amber); background: linear-gradient(90deg, rgba(245,158,11,.09), rgba(245,158,11,0)); padding: 18px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.section--dark .callout { background: linear-gradient(90deg, rgba(245,158,11,.14), rgba(245,158,11,0)); }
.callout p:last-child { margin-bottom: 0; }

/* Séparateur fin dégradé */
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--border-strong), transparent); border: 0; margin: 0; }

/* Boutons premium */
.btn { box-shadow: 0 8px 20px -10px rgba(220,38,38,.55); }
.btn--ghost { box-shadow: none; }
.btn--amber { box-shadow: 0 8px 20px -10px rgba(245,158,11,.6); }
.pill-note { display:inline-flex; align-items:center; gap:8px; background:var(--surface-2); border:1px solid var(--border); border-radius:999px; padding:7px 14px; font-size:.82rem; font-weight:500; color:var(--slate); }
.pill-note svg{ width:15px;height:15px;color:var(--green); }

/* le sélecteur .footer a écrasait la couleur du texte des boutons : on rétablit */
.footer .btn { color: var(--_fg); }
.footer .btn--amber { color: #1a1206; }
.footer .btn--amber:hover { color: #1a1206; }
.footer a.btn:hover { color: var(--_fg); }
.footer .btn--amber:hover { color:#1a1206; }

/* ============================================================
   ARTICLES (conseils) — mise en page éditoriale
   ============================================================ */
.hero--article .hero__media img { animation: none; transform: scale(1.04); }
.hero--article .hero__inner { padding-block: clamp(40px, 7vw, 76px); }
.article-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; color: var(--on-dark-soft); font-size: .9rem; }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta svg { width: 16px; height: 16px; color: var(--amber); }
.article-meta__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--on-dark-soft); }

.article-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px){ .article-grid { grid-template-columns: 1fr; } }

.article-body { max-width: none; font-size: 1.06rem; line-height: 1.8; color: #3a4658; }
.article-lead { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.6; color: var(--ink); font-weight: 500; padding-bottom: 8px; border-bottom: 1px solid var(--border); margin-bottom: 26px; }
.article-body h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin: 2.2rem 0 .8rem; padding-left: 16px; position: relative; }
.article-body h2::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 4px; border-radius: 4px; background: linear-gradient(var(--red), var(--amber)); }
.article-body p { margin: 0 0 1.15rem; }
.article-body ul { list-style: none; padding: 0; margin: 0 0 1.3rem; }
.article-body ul li { position: relative; padding-left: 28px; margin: .6rem 0; }
.article-body ul li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.article-body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.article-body a:hover { color: var(--red-dark); }
.article-body strong { color: var(--ink); }
.article-body .callout { margin: 1.6rem 0; }

.article-signature { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.article-signature svg { width: 52px; height: 52px; flex: none; }
.article-signature b { display: block; font-family: var(--ff-title); text-transform: uppercase; letter-spacing: .4px; color: var(--ink); }
.article-signature span { font-size: .92rem; color: var(--muted); }

.article-aside { position: sticky; top: 96px; display: grid; gap: 14px; }
.article-cta { background: linear-gradient(180deg, var(--surface), var(--surface-2)); }
.article-cta .btn, .article-cta .btn--ghost { width: 100%; font-size: .9rem; letter-spacing: .3px; padding-inline: 12px; }
.article-cta .btn svg { width: 18px; height: 18px; }
@media (max-width: 900px){ .article-aside { position: static; } }

/* numéros de téléphone : jamais coupés en fin de ligne */
a[href^="tel:"] { white-space: nowrap; }

/* sommaire de l'article */
.article-toc { padding: 20px 22px; }
.article-toc__title { font-family: var(--ff-title); text-transform: uppercase; letter-spacing: 1.2px; font-size: .78rem; color: var(--red); margin: 0 0 12px; }
.article-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.article-toc li { counter-increment: toc; margin: 0; }
.article-toc a { display: flex; gap: 10px; padding: 8px 0; font-size: .92rem; color: var(--slate); text-decoration: none; border-top: 1px solid var(--border); line-height: 1.35; }
.article-toc li:first-child a { border-top: 0; }
.article-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--ff-title); font-weight: 700; color: var(--amber); flex: none; }
.article-toc a:hover { color: var(--red); }
.article-body h2 { scroll-margin-top: 96px; }

/* lettrine sur le chapô-suivant */
.article-lead + p::first-letter { font-family: var(--ff-title); font-weight: 700; font-size: 3.1em; line-height: .82; float: left; margin: .04em .12em 0 0; color: var(--red); }

/* cartes avec lien : le lien se cale toujours en bas → alignement des rangées */
.card { display: flex; flex-direction: column; }
.card > .svc__link { margin-top: auto; }

/* ============================================================
   PARTENAIRES — cartes uniformes (logos officiels + noms)
   ============================================================ */
.pgrid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 940px; margin: 8px auto 0; }
.pcard { flex: 0 1 210px; }
@media (max-width: 560px){ .pcard { flex: 0 1 44%; } }
.pcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); min-height: 96px; display: flex; align-items: center; justify-content: center; padding: 18px 20px; text-align: center; transition: transform .18s ease, box-shadow .18s ease; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pcard img { max-height: 52px; max-width: 100%; width: auto; object-fit: contain; }
.pcard span { font-family: var(--ff-title); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; font-size: .98rem; color: var(--slate); line-height: 1.2; }
.section--dark .pcard { background: #fff; border-color: transparent; }
