/* ---------- Polices (auto-hébergées, aucun appel à Google) ---------- */
@font-face {
  font-family: "Lexend";
  src: url("assets/fonts/Lexend.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/SourceSans3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/SourceSans3-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Jetons de design (couleurs issues du logo) ---------- */
:root {
  --navy-900: #0b1324;
  --navy: #111b32;          /* marine du logo */
  --navy-700: #1f2b48;
  --navy-500: #4a5673;
  --orange: #f25c19;        /* orange du logo */
  --orange-600: #c2410c;    /* orange lisible sur fond clair (AA) */
  --orange-100: #ffeadf;
  --ink: #111b32;
  --text: #2b3550;
  --muted: #55607a;
  --line: #e3e7ef;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --on-dark: #e8ecf5;
  --on-dark-muted: #b6bfd3;

  --font-head: "Lexend", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(17, 27, 50, .06), 0 2px 8px rgba(17, 27, 50, .05);
  --shadow: 0 10px 30px -12px rgba(17, 27, 50, .25);

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 72px;
  --space-7: 104px;

  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--orange-600); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 var(--space-2); text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 var(--space-2); text-wrap: pretty; }
strong { color: var(--ink); font-weight: 600; }
address { font-style: normal; }

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

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--orange); color: var(--navy); box-shadow: 0 6px 18px -8px rgba(242, 92, 25, .7); }
.btn-primary:hover { background: #ff6a24; color: var(--navy); box-shadow: 0 10px 24px -10px rgba(242, 92, 25, .8); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; }
.btn-block { width: 100%; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: var(--space-3); min-height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { width: 168px; height: auto; }
.main-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; font-size: .98rem;
  color: var(--navy); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav-list a:hover { background: var(--bg-alt); }
.nav-list a[aria-current="true"] { color: var(--orange-600); background: var(--orange-100); }
.nav-toggle { display: none; }
.header-call { flex: none; }

/* ---------- Hero ---------- */
.hero { padding: var(--space-5) 0 var(--space-6); background:
  radial-gradient(900px 420px at 95% 0%, var(--orange-100), transparent 60%),
  linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-5); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange-600); margin-bottom: var(--space-2);
}
.eyebrow .icon { width: 1.1em; height: 1.1em; }
.accent { color: var(--orange); }
.hero h1 .accent { color: var(--orange-600); }
.lead { font-size: 1.25rem; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-3); }

.hero-media { position: relative; margin: 0; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 40% 50%;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.hero-media::before {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 60%; height: 60%;
  border: 3px dashed var(--orange); border-radius: var(--radius-lg); z-index: -1;
}
.hero-badge {
  position: absolute; left: -18px; bottom: 24px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; padding: 12px 18px 12px 14px; border-radius: var(--radius);
  box-shadow: var(--shadow); font-size: .95rem; color: var(--muted);
}
.hero-badge .icon { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--navy); color: var(--orange); }
.hero-badge strong { display: block; font-family: var(--font-head); color: var(--ink); }

.trust-strip {
  list-style: none; margin: var(--space-6) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2);
}
.trust-strip li {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; font-weight: 600; color: var(--ink); line-height: 1.3; font-size: 1rem;
}
.trust-strip .icon { width: 28px; height: 28px; color: var(--orange-600); }

/* Survol : encadré orange, soulèvement et icône mise en avant */
.trust-strip li {
  position: relative;
  transition: translate .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.trust-strip li .icon {
  box-sizing: content-box; padding: 6px; margin: -6px; border-radius: 10px;
  transition: background-color .25s var(--ease), color .25s var(--ease), scale .35s cubic-bezier(.34, 1.56, .64, 1);
}
.trust-strip li::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 3px;
  border-radius: 3px 3px 0 0; background: var(--orange);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease);
}
@media (hover: hover) {
  .trust-strip li:hover {
    translate: 0 -4px;
    border-color: var(--orange);
    background: #fffaf7;
    box-shadow: 0 0 0 1px var(--orange), 0 16px 30px -16px rgba(242, 92, 25, .55);
  }
  .trust-strip li:hover .icon { background: var(--orange); color: var(--navy); scale: 1.08; }
  .trust-strip li:hover::after { transform: scaleX(1); }
}

.pitch {
  margin-top: var(--space-5); padding: var(--space-4) var(--space-5);
  background: var(--navy); color: var(--on-dark); border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--space-4); align-items: center;
}
.pitch p { margin: 0; font-size: 1.15rem; }
.pitch strong { color: #fff; }
.signature { text-align: right; font-style: italic; color: var(--on-dark-muted); }
.signature span { display: inline-block; margin-top: 6px; font-family: var(--font-head); font-style: normal; font-weight: 700; font-size: 1.3rem; color: var(--orange); }

/* ---------- Sections ---------- */
.section { padding: var(--space-7) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: var(--space-5); }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-5); align-items: center; }
.split-media { margin: 0; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.situations { list-style: none; padding: 0; margin: 0 0 var(--space-3); display: grid; gap: 10px; }
.situations li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.1rem; color: var(--ink); }
.situations .icon { margin-top: 3px; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--orange); color: var(--navy); stroke-width: 3; }

.steps { list-style: none; padding: 0; margin: var(--space-6) 0 var(--space-3); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); counter-reset: none; position: relative; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: var(--space-4) var(--space-3) var(--space-3); border: 1px solid var(--line); }
.step p { margin: 0; color: var(--muted); }
.step-num {
  position: absolute; top: -22px; left: var(--space-3);
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; background: var(--navy); color: var(--orange);
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  box-shadow: 0 0 0 6px var(--bg-alt);
}
.steps-note { color: var(--ink); font-size: 1.15rem; }

/* Marques */
.brands { margin-top: var(--space-6); }
.brands-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-bottom: var(--space-2); }
.brands-head h3 { margin: 0; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.marquee {
  overflow: hidden; background: #fff; border-block: 1px solid var(--line); padding: 22px 0;
  -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; align-items: center; gap: 56px; width: max-content; margin: 0; padding: 0 28px; list-style: none; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; }
.marquee-track img { height: 64px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.marquee-track li:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Conditions */
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-3); }
.card {
  grid-column: span 2;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-4) var(--space-3);
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.card:hover { border-color: #cfd6e4; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.card:nth-child(4), .card:nth-child(5) { grid-column: span 3; }
.card p { margin: 0; }
.card-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--orange-100); color: var(--orange-600); margin-bottom: var(--space-2); }
.card-icon .icon { width: 26px; height: 26px; }
.card-feature { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.card-feature h3, .card-feature strong { color: #fff; }
.card-feature .card-icon { background: var(--orange); color: var(--navy); }
.card-feature:hover { border-color: var(--navy); }

/* Contact */
.section-dark { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; right: -10%; top: -30%; width: 640px; height: 640px; border-radius: 50%;
  border: 3px dashed rgba(242, 92, 25, .35); pointer-events: none;
}
.section-dark h2 { color: #fff; }
.eyebrow-light { color: var(--orange); }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--space-6); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: grid; gap: 12px; }
.contact-list a {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px;
  border-radius: var(--radius); background: var(--navy-700); border: 1px solid rgba(255,255,255,.06);
  color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem;
  transition: background-color .2s, transform .2s var(--ease);
}
.contact-list a:hover { background: #283658; transform: translateX(4px); }
.contact-list small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .9rem; color: var(--on-dark-muted); }
.contact-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: var(--navy); flex: none; }

.form-card { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: var(--space-4); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.form-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.form-intro { font-size: .95rem; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.field { margin-bottom: var(--space-2); }
.field label { display: block; font-weight: 600; font-size: .98rem; color: var(--ink); margin-bottom: 6px; }
.field label span { color: var(--orange-600); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #cdd3df; border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(242, 92, 25, .35); }
.field [aria-invalid="true"] { border-color: #b42318; }
.field-error { margin: 6px 0 0; font-size: .92rem; color: #b42318; font-weight: 600; }
.rgpd { font-size: .88rem; line-height: 1.5; color: var(--muted); margin: var(--space-1) 0 var(--space-2); }
.form-status { margin: 12px 0 0; font-size: .95rem; color: var(--ink); }
.form-status:empty { display: none; }

/* Pied de page */
.site-footer { background: var(--navy-900); color: var(--on-dark-muted); padding: var(--space-4) 0; font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-inner p, .footer-inner address { margin: 0; }
.footer-brand strong { color: #fff; font-family: var(--font-head); }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--orange); }

/* Mentions légales */
.mentions {
  width: min(760px, calc(100% - 32px)); max-height: min(86vh, 900px);
  padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: 0 40px 80px -20px rgba(0,0,0,.45);
  color: var(--text);
}
.mentions::backdrop { background: rgba(11, 19, 36, .6); backdrop-filter: blur(3px); }
.mentions[open] { display: flex; flex-direction: column; animation: dialog-in .25s var(--ease); }
.mentions-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.mentions-head h2 { margin: 0; font-size: 1.5rem; }
.mentions-body { padding: 8px 24px 24px; overflow-y: auto; font-size: 1rem; }
.mentions-body h3 { margin-top: var(--space-3); font-size: 1.05rem; }
.mentions-body ul { padding-left: 1.2em; }
.mentions-body li { margin-bottom: 6px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg-alt); color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--line); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* Bandeau cookies : Refuser et Accepter ont volontairement le même poids visuel */
.cookie-banner {
  position: fixed; z-index: 60; left: 16px; bottom: 16px;
  width: min(520px, calc(100% - 32px));
  padding: var(--space-3); background: #fff; color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(11, 19, 36, .45);
  font-size: 1rem; line-height: 1.5;
  animation: dialog-in .35s var(--ease);
}
.cookie-banner:focus { outline: none; }
.cookie-banner:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.cookie-title { font-size: 1.15rem; margin: 0 0 var(--space-1); }
.cookie-banner p { margin: 0 0 var(--space-2); }
.cookie-actions { display: flex; gap: 12px; }
.cookie-actions .btn { flex: 1 1 0; }
.link-btn { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.site-footer .link-btn { color: var(--on-dark); }
.site-footer .link-btn:hover { color: var(--orange); }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .header-call span { display: none; }
  .header-call { width: 48px; padding: 0; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .brand img { width: 136px; }
  .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px;
    border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer;
  }
  .nav-list {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: 14px 12px; border-radius: var(--radius-sm); font-size: 1.05rem; }
  .main-nav { order: 3; margin-left: 0; }
  .header-call { margin-left: auto; }

  .hero { padding-top: var(--space-4); }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .hero-media { order: -1; }
  .hero-badge { left: 12px; bottom: 12px; }
  .hero-media::before { display: none; }
  .pitch { grid-template-columns: 1fr; padding: var(--space-4) var(--space-3); }
  .signature { text-align: left; }
  .section { padding: var(--space-6) 0; }
  .steps { grid-template-columns: 1fr; gap: var(--space-4); }
  .cards { grid-template-columns: 1fr; }
  .card, .card:nth-child(4), .card:nth-child(5) { grid-column: auto; }
}

@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .container { padding-inline: 16px; }
  .trust-strip { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: var(--space-3) 18px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .marquee-track img { height: 52px; }
  .contact-list a { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 24px; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

/* =========================================================
   Animations immersives (pilotées par main.js)
   ========================================================= */

/* Route de progression : la voiture va de A à B au fil du défilement */
.road {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 4px;
  display: flex; align-items: center; pointer-events: none;
}
.road-track { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(17,27,50,.12) 0 10px, transparent 10px 18px); }
.road-fill {
  position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
  background: repeating-linear-gradient(90deg, var(--orange) 0 10px, transparent 10px 18px);
}
.road-car {
  position: absolute; left: 0; top: 50%;
  width: 30px; height: 30px; display: grid; place-items: center;
  margin-top: -15px;
  border-radius: 50%; background: var(--navy); color: var(--orange);
  box-shadow: 0 4px 12px -4px rgba(17,27,50,.5);
  left: calc(var(--progress, 0) * (100% - 30px));
  transition: box-shadow .2s;
}
.road-car .icon { width: 17px; height: 17px; }
.road-car.is-moving .icon { animation: car-bump .35s ease-in-out infinite alternate; }
@keyframes car-bump { from { transform: translateY(0); } to { transform: translateY(-1.5px); } }
.road-pin {
  position: absolute; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  display: grid; place-items: center; border-radius: 50% 50% 50% 0;
  font: 700 .62rem/1 var(--font-head); color: #fff; opacity: 0; transition: opacity .3s;
}
.road-pin-a { left: 4px; background: var(--navy); }
.road-pin-b { right: 4px; background: var(--orange); }
.site-header.is-scrolled .road-pin { opacity: 1; }
.site-header.is-scrolled .road-pin-a { opacity: 0; }

/* Entrée du hero */
.js-motion .hero .word { display: inline-block; opacity: 0; transform: translateY(.55em) rotate(2deg); }
.js-motion .hero h1:not(.is-split) { opacity: 0; }
.js-motion .hero-text > :not(h1) { opacity: 0; transform: translateY(16px); }
.js-motion .hero-media img { clip-path: inset(0 0 100% 0 round var(--radius-lg)); }
.js-motion .hero-badge { opacity: 0; transform: translateY(14px) scale(.94); }
.js-motion .trust-strip li { opacity: 0; transform: translateY(14px); }
.hero-badge.is-floating { animation: badge-float 5s ease-in-out infinite; }
@keyframes badge-float { 50% { transform: translateY(-6px); } }

/* Titres de section : mots révélés un à un */
.js-motion .split-title .word { display: inline-block; opacity: 0; transform: translateY(.5em); transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.js-motion .split-title.is-visible .word { opacity: 1; transform: none; }

/* Parallaxe légère des photos */
.parallax { overflow: hidden; border-radius: var(--radius-lg); }
.parallax img { will-change: transform; transform: translateY(var(--py, 0)) scale(1.08); }
.hero-photo { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero-photo img { box-shadow: none; }

/* Étapes : la route se trace, les numéros s'allument */
.steps::before {
  content: ""; position: absolute; top: 0; left: calc(var(--space-3) + 22px); right: calc(33.333% - 62px);
  height: 3px; margin-top: -1.5px; z-index: 2;
  background: repeating-linear-gradient(90deg, var(--orange) 0 12px, transparent 12px 20px);
  transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s var(--ease);
}
.steps.is-drawn::before { transform: scaleX(1); }
.step-num { z-index: 3; }
.js-motion .step-num { transform: scale(.4); opacity: 0; transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .3s; }
.js-motion .steps.is-drawn .step-num { transform: none; opacity: 1; }
.steps.is-drawn .step:nth-child(1) .step-num { transition-delay: .1s; }
.steps.is-drawn .step:nth-child(2) .step-num { transition-delay: .6s; }
.steps.is-drawn .step:nth-child(3) .step-num { transition-delay: 1.1s; }

/* Cartes : inclinaison 3D au survol (souris uniquement) */
.cards { perspective: 1200px; }
.card.tilt { transition: transform .15s ease-out, box-shadow .2s, border-color .2s; transform-style: preserve-3d; }
.card .card-glow {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 50%), rgba(242, 92, 25, .14), transparent 70%);
}
.card { position: relative; }
.card:hover .card-glow { opacity: 1; }

/* Icônes des cartes : petit rebond à l'apparition */
.js-motion .card.reveal .card-icon { transform: scale(.6) rotate(-12deg); transition: transform .6s cubic-bezier(.34,1.56,.64,1) .15s; }
.js-motion .card.reveal.is-visible .card-icon { transform: none; }

/* Bouton principal : effet aimanté + reflet */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
}
.btn-primary:hover::after { transition: transform .7s var(--ease); transform: translateX(120%) skewX(-20deg); }
.header-call .icon { transform-origin: 50% 50%; }
.header-call.ring .icon { animation: ring 1s ease-in-out; }
@keyframes ring { 10%, 30%, 50% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } 60% { transform: none; } }

/* Contact : le cercle pointillé tourne lentement */
.section-dark::before { animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.js-motion .contact-list li { opacity: 0; transform: translateX(-20px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js-motion .contact-info.is-visible .contact-list li { opacity: 1; transform: none; }
.contact-info.is-visible .contact-list li:nth-child(2) { transition-delay: .12s; }
.contact-info.is-visible .contact-list li:nth-child(3) { transition-delay: .24s; }

@media (max-width: 900px) {
  .steps::before { top: 0; bottom: 0; left: calc(var(--space-3) + 22px); right: auto; width: 3px; height: auto; margin: 0;
    background: repeating-linear-gradient(180deg, var(--orange) 0 12px, transparent 12px 20px); transform: scaleY(0); transform-origin: 50% 0; }
  .steps.is-drawn::before { transform: scaleY(1); }
  .steps::before { z-index: 0; }
  .step { position: relative; z-index: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .road-car { transition: none; }
  .steps::before { transform: none; }
  .parallax img { transform: none; }
  .section-dark::before { animation: none; }
}

/* Formulaire : envoi en cours et confirmation */
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.form-success { text-align: center; padding: var(--space-4) var(--space-2); outline: none; }
.form-success h4 { font-family: var(--font-head); font-size: 1.4rem; color: var(--ink); margin: var(--space-2) 0 var(--space-1); }
.form-success p { color: var(--muted); max-width: 40ch; margin-inline: auto; }
.form-success-icon {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--orange); color: var(--navy);
}
.form-success-icon .icon { width: 30px; height: 30px; stroke-width: 3; }
.js-motion .form-success:not([hidden]) .form-success-icon { animation: pop .5s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
