/* ============================================================
   PALETTE — Feu & nuit (figee)
   Bleu nuit de la page de maintenance + orange feu + blanc.
   Le sombre est un degrade, jamais un aplat.
   ============================================================ */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef0f3;
  --ink: #142335;
  --ink-soft: #62707f;
  --accent: #d43a0f;
  --accent-2: #a52d0b;
  --accent-pale: #f4c8ba;
  --on-accent: #ffffff;
  --deep: #142335;
  --deep-2: #1d3149;
  --hair: rgba(20, 35, 53, .14);
  --warm: #e0552a;
  --font-display: 'Barlow Condensed', 'Manrope', system-ui, sans-serif;
  --font-solid: 'Manrope', system-ui, sans-serif;   /* pour les petits elements ou le condense fatigue */
  --font-body: 'DM Sans', system-ui, sans-serif;
  --shell: min(1180px, 100% - 40px);
  --t: 170ms cubic-bezier(.2, .7, .3, 1);
  --plate-blue: #0b3ea8;
  --ok: var(--accent);
  /* rayons : une seule echelle pour tout le site */
  --r-s: 8px;    /* boutons, champs, jetons */
  --r-m: 14px;   /* cartes, formulaire, avis */
  --r-l: 20px;   /* grands panneaux */
  /* rythme des sections : une section sur deux prend ce fond */
  --ton: #eff1f5;
  /* trame de fond : perforation fine, facon tole ajouree d'atelier.
     Faite en degrades, pas en image : aucune requete, aucune couleur en dur,
     nette a toutes les densites d'ecran.
     Un point couvre environ dix fois moins de surface qu'un trait continu :
     l'opacite peut donc remonter sans que le fond paraisse sale. */
  --trame-pas: 22px;
  --trame-encre: rgba(20, 35, 53, .055);
  --trame-clair: rgba(255, 255, 255, .05);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background var(--t), color var(--t);
}
h1, h2 { margin: 0; font-family: var(--font-display); letter-spacing: -.005em; line-height: .98; }
h1 { font-size: clamp(3rem, 7.4vw, 5.6rem); font-weight: 800; text-transform: uppercase; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.shell { width: var(--shell); margin-inline: auto; }


/* ---------- header V6 : bandeau de preuves + telephone objet ---------- */
/* Le header colle avec un decalage negatif egal a la hauteur du bandeau :
   en scrollant, le bandeau sort naturellement par le haut et la barre
   blanche reste visible. Aucune hauteur ne change, donc aucun rebond. */
.site-header { position: sticky; top: -38px; z-index: 60; }
.site-header .util {
  overflow: hidden; height: 38px;
  color: #cfd6e2; background: linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 100%); font-size: .78rem;
}
.util-in { display: flex; align-items: center; gap: 22px; height: 38px; }
.util-in .push { margin-left: auto; }
.util-in b { color: #fff; }

/* ---------- bandeau : l'argument tourne a gauche ----------
   Les six messages sont empiles dans une grille. La largeur du bloc est
   celle du plus long, fixe : rien ne respire autour quand ils defilent.
   Aucun JavaScript, six animation-delay en cascade. */
.util-roule { display: flex; align-items: center; gap: 9px; margin: 0; }
.roule {
  display: inline-grid; height: 1.5em; overflow: hidden;
  font-weight: 700; color: #fff;
}
.roule b {
  grid-area: 1 / 1; align-self: center;
  white-space: nowrap; opacity: 0;
  /* « both » : pendant son delai, chaque message tient explicitement
     l'image a 0 %, donc invisible. Sans ce mode, il existe une fenetre
     — premier rendu, animation non encore appliquee — ou les six
     s'empilent et deviennent illisibles. */
  animation: roule 15s linear infinite both;
}
.roule b:nth-child(2) { animation-delay: 2.5s; }
.roule b:nth-child(3) { animation-delay: 5s; }
.roule b:nth-child(4) { animation-delay: 7.5s; }
.roule b:nth-child(5) { animation-delay: 10s; }
.roule b:nth-child(6) { animation-delay: 12.5s; }

@keyframes roule {
  0%        { opacity: 0; transform: translateY(80%); }
  1.6%      { opacity: 1; transform: none; }
  14.4%     { opacity: 1; transform: none; }
  16%, 100% { opacity: 0; transform: translateY(-80%); }
}

/* ---------- bandeau : la note Google a droite ---------- */
.util-note {
  display: flex; align-items: center; gap: 9px;
  color: inherit; text-decoration: none; white-space: nowrap;
}
.util-note .etoiles { color: #f5a623; letter-spacing: .06em; }
.util-note b { color: #fff; }
.util-badge {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .17);
  font-size: .92em; font-weight: 700;
  transition: background var(--t), box-shadow var(--t);
}
.util-badge svg { width: 13px; height: 13px; flex: 0 0 auto; }
.util-note:hover .util-badge {
  background: rgba(255, 255, 255, .18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34);
}
/* l'eclat : un reflet traverse la pastille toutes les six secondes */
.util-badge::after {
  position: absolute; inset: 0; pointer-events: none; content: "";
  background: linear-gradient(100deg,
    transparent 42%,
    rgba(255, 255, 255, .55) 50%,
    transparent 58%);
  background-size: 260% 100%;
  animation: eclat 6s linear 1.5s infinite;
}
@keyframes eclat {
  0%        { background-position: 150% 0; opacity: 0; }
  3%        { opacity: 1; }
  22%       { opacity: 1; }
  25%, 100% { background-position: -50% 0; opacity: 0; }
}

/* sous 820 px le bandeau ne tient plus a deux : la preuve sociale passe
   avant l'argumentaire, elle reste seule. */
@media (max-width: 820px) {
  .util-roule { display: none; }
  .util-note { margin-left: 0; }
}
@media (max-width: 420px) {
  .util-badge { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .roule b { animation: none; opacity: 0; }
  .roule b:first-child { opacity: 1; }
  .util-badge::after { animation: none; opacity: 0; }
}
.header-main { background: var(--surface); border-bottom: 1px solid var(--hair); }
.header-in { display: flex; align-items: center; gap: 22px; height: 80px; }
.brand { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 24px; margin-inline: auto; }
.nav a { color: var(--ink-soft); font-size: .89rem; font-weight: 500; text-decoration: none; transition: color var(--t); }
.nav a:hover { color: var(--ink); }
.hphone { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.hphone .ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--on-accent); background: var(--accent); transition: transform var(--t); }
.hphone:hover .ico { transform: scale(1.06); }
.hphone .ico svg { width: 19px; height: 19px; }
.hphone small { display: block; color: var(--ink-soft); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hphone strong { font-family: var(--font-display); font-size: 1.32rem; font-weight: 800; letter-spacing: -.03em; }
.hcta {
  display: inline-flex; align-items: center; padding: 12px 20px; border: 0; border-radius: var(--r-s);
  color: var(--on-accent); background: var(--accent);
  font-family: var(--font-body); font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background var(--t), transform var(--t);
}
.hcta:hover { background: var(--accent-2); transform: translateY(-1px); }
/* ---------- bouton menu et panneau lateral ---------- */
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.burger {
  display: none; place-items: center;
  width: 46px; height: 46px; padding: 0;
  border: 0; border-radius: var(--r-s);
  background: var(--surface-2); color: var(--ink); cursor: pointer;
  transition: background var(--t);
}
.burger:hover { background: var(--hair); }
.burger-traits { display: grid; gap: 5px; width: 20px; }
.burger-traits i { display: block; height: 2px; border-radius: 1px; background: currentColor; transition: transform .26s cubic-bezier(.2,.7,.3,1), opacity .18s; }
.burger[aria-expanded="true"] .burger-traits i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-traits i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger-traits i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-voile {
  position: fixed; inset: 0; z-index: 85;
  background: rgba(9, 16, 26, .55);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}
.menu-mobile {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; flex-direction: column;
  width: min(360px, 87vw); padding: 20px 22px calc(22px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  color: #fff;
  background-image:
    radial-gradient(var(--trame-clair) 1.4px, transparent 1.5px),
    linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 100%);
  background-size: var(--trame-pas) var(--trame-pas), auto;
  box-shadow: -18px 0 60px rgba(0, 0, 0, .4);
  transform: translateX(100%); visibility: hidden;
  transition: transform .32s cubic-bezier(.2, .7, .3, 1), visibility .32s;
}
.menu-ouvert .menu-voile { opacity: 1; visibility: visible; }
.menu-ouvert .menu-mobile { transform: none; visibility: visible; }
/* le document ne defile plus derriere le panneau */
.menu-ouvert body, body.menu-ouvert { overflow: hidden; }

.menu-haut { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo-menu { height: 34px; color: #fff; --logo-accent: var(--warm); }
.menu-fermer {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 42px; height: 42px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  color: #fff; background: rgba(255, 255, 255, .1);
  transition: background var(--t);
}
.menu-fermer:hover { background: rgba(255, 255, 255, .2); }
.menu-fermer svg { width: 20px; height: 20px; }

.menu-liens { display: flex; flex-direction: column; margin: 26px 0; }
.menu-liens a {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .11);
  color: #fff; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  letter-spacing: -.02em; text-decoration: none;
  transition: color var(--t), padding-left var(--t);
}
.menu-liens a:hover { color: var(--accent-pale); padding-left: 6px; }

.menu-pied { margin-top: auto; display: grid; gap: 16px; }
.menu-pied .btn { width: 100%; }
.menu-tel { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.menu-tel .ico { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .12); }
.menu-tel .ico svg { width: 18px; height: 18px; }
.menu-tel small { display: block; color: rgba(255, 255, 255, .6); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.menu-tel strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.28rem; font-weight: 800; letter-spacing: -.03em; }

@media (prefers-reduced-motion: reduce) {
  .menu-mobile, .menu-voile, .burger-traits i { transition: none; }
}

@media (max-width: 1050px) {
  .nav { display: none; }
  .hphone { margin-left: auto; }
  .burger { display: grid; }
}
@media (max-width: 900px) {
  .util-in span:not(.first) { display: none; }
  .header-in { gap: 12px; height: 68px; }
  .hphone small { display: none; }
  .hphone strong { font-size: 1.05rem; }
  .hcta { display: none; }
}
@media (max-width: 420px) { .hphone strong { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 16px 28px; border: 0; border-radius: var(--r-s);
  color: var(--on-accent); background: var(--accent);
  font-family: var(--font-body); font-size: 1rem; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: background var(--t), transform var(--t), opacity var(--t);
}
.btn:hover, .btn:focus-visible { background: var(--accent-2); transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-line { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px var(--hair); }
.btn-line:hover { color: var(--bg); background: var(--ink); }

.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 72px) 0 clamp(30px, 4vw, 52px); }
.hero::before {
  position: absolute; inset: 0; z-index: 0; opacity: .55;
  background-image: linear-gradient(var(--hair) 1px, transparent 1px), linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 76% 64% at 60% 18%, #000 0%, transparent 72%);
          mask-image: radial-gradient(ellipse 76% 64% at 60% 18%, #000 0%, transparent 72%);
  content: "";
}
.hero .shell { position: relative; z-index: 1; }

/* ---------- fond video (optionnel) ---------- */
/* Fond neutre derriere la video : le temps qu'elle arrive, on ne montre pas
   une couleur de marque qui donnerait un premier ecran different du second.
   Le noir est ce qu'il y a autour d'une image, pas une couleur choisie. */
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #000 center/cover no-repeat; }
/* Aucun traitement sur la sequence : ni virage, ni assombrissement, ni
   couche de couleur. L'image passe telle qu'elle a ete tournee. Le seul
   effet est un flou uniforme, pose plus bas par .revele. */
.hero-media video {
  width: 100%; height: 100%; object-fit: cover;
}
/* Diaporama du fond : deux photos empilees, fondu croise et zoom lent.
   Deux animations distinctes plutot qu'une seule — elles ne touchent pas
   la meme propriete, donc elles cohabitent au lieu de s'ecraser.
   La seconde vue demarre a mi-cycle par un delai negatif : elle est en
   place des la premiere image, sans attendre un tour complet. */
.bande-diapo { position: relative; }
.bande-diapo .bande-img {
  position: absolute; inset: 0;
  animation: hero-fondu 16s linear infinite, hero-souffle 16s ease-in-out infinite;
}
.bande-diapo .bande-img:nth-child(2) { animation-delay: -8s, -8s; }

@keyframes hero-fondu {
  0%, 44%  { opacity: 1; }
  50%, 94% { opacity: 0; }
  100%     { opacity: 1; }
}
@keyframes hero-souffle {
  0%   { transform: scale(1.02); }
  50%  { transform: scale(1.10); }
  100% { transform: scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
  /* plus de bascule : la premiere vue reste, la seconde disparait */
  .bande-diapo .bande-img { animation: none; transform: none; }
  .bande-diapo .bande-img:nth-child(2) { display: none; }
}
/* video brute : aucun voile, aucun filtre. La lisibilite du texte
   repose sur l'ombre portee des titres. */
.hero-media::after { display: none; }
/* sur le fond sombre, l'accent reste l'accent : c'est la rencontre
   du rouge et du marine qui fait le caractere de la marque */
.hero.has-video::before { opacity: 0; }
.hero.has-video h1, .hero.has-video .eyebrow { color: #fff; }
/* le mot-cle en lettres evidees : plein contre creux, c'est l'affiche.
   Trait a l'orange de marque, le meme que le bouton et le logo : un rose
   delave a cet endroit cassait la seule couleur qu'on s'autorise. */
/* Lettres evidees. « color: transparent » vide l'interieur, mais text-shadow
   est dessine a partir de la FORME de la lettre et non de sa couleur : l'ombre
   heritee du h1 repeignait donc le creux en noir, et le mot redevenait plein.
   On coupe l'ombre ici et on la refait en drop-shadow, qui lui travaille sur
   ce qui est reellement peint — c'est-a-dire le seul contour orange. */
.hero.has-video h1 em {
  color: transparent;
  -webkit-text-stroke: 2.5px var(--accent);
  text-shadow: none;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .55));
}
@supports not (-webkit-text-stroke: 1px #000) { .hero.has-video h1 em { color: var(--accent); } }
.hero.has-video .eyebrow::before { background: var(--accent-pale); }
.hero.has-video .hero-lede { color: rgba(255, 255, 255, .82); }
/* la carte reste claire : c'est elle qui doit attirer l'oeil */
.hero.has-video .quote { box-shadow: 0 40px 90px rgba(0, 0, 0, .55); }
/* sans voile, l'ombre portee fait toute la lisibilite */
.hero.has-video h1 { text-shadow: 0 2px 6px rgba(0,0,0,.55), 0 6px 34px rgba(0,0,0,.6); }
.hero.has-video .hero-lede { text-shadow: 0 1px 4px rgba(0,0,0,.6), 0 3px 18px rgba(0,0,0,.55); }
/* Une seule rangee, les deux colonnes etirees a la meme hauteur : c'est le
   formulaire qui la fixe, puisqu'il est le plus haut. Le texte est ensuite
   centre verticalement dans sa colonne, en face de la carte. */
.hero-grid {
  display: grid; gap: clamp(26px, 4vw, 54px);
  /* Colonnes volontairement inegales. A parts egales, la carte du
     formulaire occupait la moitie de l'ecran utile et prenait le pas sur la
     marque et sur la promesse — le visiteur voyait un formulaire avant de
     voir a qui il parle. Environ 12 % rendus a la colonne de gauche : assez
     pour retablir la hierarchie, trop peu pour affaiblir l'appel a l'action. */
  grid-template-columns: 1.14fr .86fr;
  align-items: stretch;
}
.hero-top {
  display: flex; flex-direction: column; justify-content: center;
}
@media (max-width: 1000px) {
  /* Sur mobile le formulaire doit venir juste apres le titre : l'action
     avant l'argumentaire. display:contents fait remonter les enfants de
     .hero-top au rang de cellules, on peut alors glisser la carte entre
     l'accroche et les jetons. */
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero-top { display: contents; }
  .hero-top h1  { order: 1; }
  .hero .hero-lede { order: 2; }
  .quote        { order: 3; }
  .hero .accroche  { order: 4; margin-top: 4px; }
  .hero .jetons    { order: 5; }
  .long { display: none; }                 /* phrase secondaire : desktop seulement */
  .hero-lede { font-size: 1rem; }
  h1 { font-size: clamp(2.1rem, 8.4vw, 3rem); }
}
/* etiquette de section = cartouche de plaque : bande bleue, cadre, fond blanc */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin-bottom: 16px; padding: 5px 12px 5px 6px;
  color: var(--ink); background: #fff;
  border: 2px solid var(--ink); border-radius: var(--r-s);
  font-family: var(--font-solid); font-size: .67rem; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 13px; align-self: stretch; border-radius: 2.5px; background: var(--plate-blue); }

/* ---------- signe de vie : le seul endroit ou le chaud entre ---------- */
.live {
  display: inline-flex; align-items: center; gap: 9px;
  margin-bottom: 16px; padding: 7px 14px 7px 11px;
  background: var(--surface-2);
  color: var(--ink-soft); font-size: .79rem; font-weight: 500;
}
.live b { color: var(--ink); font-weight: 700; }
/* Pastille de tete du bandeau : une coche, pas un point.
   Le point rouge qui pulse est le vocabulaire du direct — « en cours »,
   « enregistrement », « alerte ». Ici chaque message est un engagement tenu :
   le signe juste est la validation, et sa couleur est le vert. */
.beat {
  position: relative; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 15px; height: 15px; border-radius: 50%;
  background: #2fbe74; color: #06240f;
  font-size: 9px; font-weight: 900; line-height: 1;
}
.beat::before { content: "\2713"; }
/* l'onde reste, mais elle ne clignote plus comme un voyant : elle confirme */
.beat::after {
  position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(47, 190, 116, .55);
  animation: beat 2.6s ease-out infinite; content: "";
}
@keyframes beat { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(2.1); opacity: 0; } }
.hero.has-video .live { color: rgba(255,255,255,.82); background: rgba(255,255,255,.1); backdrop-filter: blur(6px); }
.hero.has-video .live b { color: #fff; }
@media (prefers-reduced-motion: reduce) { .beat::after { animation: none; } }
h1 em { color: var(--accent); font-style: normal; }
.hero-lede { max-width: 44ch; margin-top: 18px; color: var(--ink-soft); font-size: 1.06rem; }
.tick { flex: 0 0 auto; width: 16px; height: 16px; color: var(--accent); }

.quote { position: relative; padding: 22px; background: var(--surface); border-radius: var(--r-l); box-shadow: 0 34px 80px rgba(0,0,0,.13), 0 2px 6px rgba(0,0,0,.05); }
.quote-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.quote-top h2 { font-size: 1.28rem; }
.quote-top span { color: var(--ink-soft); font-size: .75rem; font-weight: 700; }
.progress { display: flex; gap: 5px; margin: 15px 0 19px; }
.progress i { flex: 1; height: 3px; background: var(--hair); transition: background var(--t); }
.progress i.on { background: var(--accent); }

/* ---------- LA PLAQUE ---------- */
/* ---------- rassurer AVANT de demander quoi que ce soit ---------- */
.accroche { margin: 2px 0 14px; color: var(--ink-soft); font-size: .88rem; }
.accroche b { color: var(--ink); }
.jetons { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.jetons span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  color: var(--ink-soft); background: var(--surface-2);
  font-size: .74rem; font-weight: 700;
}
.jetons span::before { color: var(--ok); font-weight: 800; content: "\2713"; }

/* ============================================================
   JETONS DU HERO
   Sortis de la carte du formulaire pour l'alleger, ils tiennent
   maintenant la colonne de gauche. Sur la video il leur faut
   leur propre habillage : le gris clair du formulaire y est
   illisible.
   ============================================================ */
.hero .accroche { margin: 20px 0 10px; }
.hero .jetons { margin-bottom: 0; max-width: 46ch; }

/* ---------- sceau d'anciennete ----------
   L'or n'apparait nulle part ailleurs : l'orange est la couleur de l'action
   (boutons, accents), le bleu celle de la marque. Une troisieme couleur
   employee une seule fois se remarque sans avoir a crier.
   Legerement de travers et debordant sur la carte : un cachet appose apres
   coup, pas un element de maquette aligne au pixel. */
.sceau {
  position: absolute; top: -16px; right: -16px; z-index: 3;
  width: clamp(70px, 6.7vw, 90px); height: auto;
  transform: rotate(-9deg);
  filter: drop-shadow(0 5px 13px rgba(0, 0, 0, .34));
  pointer-events: none;
}
/* Le cachet mord le coin haut droit de la carte, ou se trouve « Etape 1 / 2 ».
   On lui reserve la place plutot que de le laisser recouvrir le reperage :
   l'indication recule vers la gauche, le coin appartient au sceau. */
@media (min-width: 901px) { .quote-top { padding-right: 62px; } }
.sceau text { fill: #5a3f08; font-family: var(--font-solid); text-anchor: middle; }
.sceau-arc { font-size: 10.5px; font-weight: 800; letter-spacing: 2.6px; }
/* « +20 » compte un signe de plus que « 17 » : le corps descend et le
   creusement augmente, sinon le nombre touche la couronne. */
.sceau-n   { font-size: 30px;   font-weight: 800; letter-spacing: -1.6px; }
.sceau-ans { font-size: 11.5px; font-weight: 800; letter-spacing: 3.4px; }

.anciennete {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 16px; padding: 6px 13px 6px 11px;
  color: #6b5011; border-radius: 999px;
  background: linear-gradient(112deg, #fdf4dc 0%, #f7e6b4 52%, #fdf6e2 100%);
  box-shadow: inset 0 0 0 1px rgba(160, 121, 25, .34), 0 2px 10px rgba(120, 88, 12, .14);
  font-family: var(--font-solid); font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; white-space: nowrap;
}
.anciennete b { color: #4d3906; font-size: .95rem; font-weight: 800; letter-spacing: 0; }
/* petite etoile pleine, dessinee sans image */
.anciennete::before {
  content: "\2605";
  color: #b8891a; font-size: .9rem; line-height: 1;
}
/* sur la video l'or clair devient un aplat lumineux : on inverse le rapport,
   fond sombre translucide et texte dore, pour rester dans la nuit du hero */
.hero.has-video .anciennete {
  color: #f6dfa4;
  background: rgba(18, 26, 40, .5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(233, 195, 108, .5);
}
.hero.has-video .anciennete b { color: #ffe9b6; }
.hero.has-video .anciennete::before { color: #ffd473; }

/* Un seul des deux a la fois : le cachet sur grand ecran, la ligne de texte
   en dessous de 900 px, ou un sceau de 110 px viendrait mordre le titre. */
.anciennete { display: none; }
@media (max-width: 900px) {
  .sceau { display: none; }
  .anciennete { display: inline-flex; }
}

/* ---------- bandeau de reassurance, sous les deux colonnes ----------
   Les trois craintes qui restent apres le titre : negociation sur place,
   frais caches, paperasse. Une ligne chacune, sous le formulaire, la ou le
   regard retombe apres l'avoir parcouru. */
.hero-preuves {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
  margin: 28px 0 0; padding: 0; list-style: none;
}
/* Chaque promesse est une carte, pas une puce dans une liste. Une puce se
   parcourt ; une carte se regarde. Le pictogramme fait le travail que le
   texte ne peut pas faire en une seconde — la main serree, le plateau,
   les billets, la carte grise tamponnee. */
.hero-preuves li {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 13px; border-radius: var(--r-m);
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .3s ease, transform .3s cubic-bezier(.2,.7,.3,1);
}
.hero-preuves li:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }

.pv-ico {
  position: relative; flex: 0 0 auto;
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 11px;
  color: var(--accent-pale);
  background: rgba(212, 58, 15, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 140, 100, .28);
}
.pv-ico svg { width: 21px; height: 21px; }
/* le « 0 € » est pose en pastille sur le plateau : c'est l'information,
   le camion n'est que le contexte */
.pv-zero {
  position: absolute; right: -5px; bottom: -5px;
  padding: 1px 4px; border-radius: 6px;
  color: #08210f; background: #2fbe74;
  font-family: var(--font-solid); font-size: .56rem; font-weight: 800; line-height: 1.35;
}

.pv-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pv-txt b     { color: #fff; font-size: .8rem; font-weight: 700; line-height: 1.2; }
.pv-txt small { color: rgba(255, 255, 255, .6); font-size: .69rem; line-height: 1.25; }

/* hors video, fond clair : on inverse les valeurs */
.hero:not(.has-video) .hero-preuves li {
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair);
}
.hero:not(.has-video) .pv-txt b     { color: var(--ink); }
.hero:not(.has-video) .pv-txt small { color: var(--ink-soft); }
.hero:not(.has-video) .pv-ico       { color: var(--accent); }

@media (max-width: 1000px) {
  .hero-preuves { order: 6; grid-template-columns: 1fr 1fr; margin-top: 20px; }
}
@media (max-width: 560px) {
  /* a deux colonnes les sous-titres se hachent : une colonne, une ligne
     chacune, et on garde les quatre promesses */
  .hero-preuves { grid-template-columns: 1fr; gap: 8px; }
  .hero-preuves li { padding: 9px 11px; gap: 10px; }
  .pv-ico { width: 33px; height: 33px; border-radius: 9px; }
  .pv-ico svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-preuves li { transition: none; }
  .hero-preuves li:hover { transform: none; }
}

.hero.has-video .accroche { color: rgba(255, 255, 255, .74); text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.hero.has-video .accroche b { color: #fff; }
.hero.has-video .jetons span {
  color: rgba(255, 255, 255, .88);
  background: rgba(255, 255, 255, .11);
  backdrop-filter: blur(3px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13);
}
.hero.has-video .jetons span::before { color: var(--accent-pale); }

/* Balayage : chaque jeton s'allume a son tour, puis six secondes de repos.
   C'est ce qui remplace la ligne qui tournait — meme mouvement, mais porte
   par l'element qui dit deja la chose, donc plus rien en double. */
.hero.has-video .jetons span { animation: jeton 9s linear infinite; }
.hero.has-video .jetons span:nth-child(2) { animation-delay: .34s; }
.hero.has-video .jetons span:nth-child(3) { animation-delay: .68s; }
.hero.has-video .jetons span:nth-child(4) { animation-delay: 1.02s; }
.hero.has-video .jetons span:nth-child(5) { animation-delay: 1.36s; }
.hero.has-video .jetons span:nth-child(6) { animation-delay: 1.70s; }
.hero.has-video .jetons span:nth-child(7) { animation-delay: 2.04s; }
.hero.has-video .jetons span:nth-child(8) { animation-delay: 2.38s; }
.hero.has-video .jetons span:nth-child(9) { animation-delay: 2.72s; }

@keyframes jeton {
  0%, 7%, 100% {
    color: rgba(255, 255, 255, .88);
    background: rgba(255, 255, 255, .11);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13);
  }
  2.5% {
    color: #fff;
    background: rgba(255, 255, 255, .24);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero.has-video .jetons span { animation: none; }
}

/* ============================================================
   BALAYAGE DES BOUTONS
   Meme langage que la brillance du logo. Pas de masque ici : le
   bouton est un rectangle plein, le degrade suffit.
   .btn-line en est exclu — fond transparent, un reflet blanc sur
   fond blanc ne se voit pas.
   ============================================================ */
.btn:not(.btn-line), .hcta { position: relative; overflow: hidden; }
.btn:not(.btn-line)::after, .hcta::after {
  position: absolute; inset: 0; pointer-events: none; content: "";
  background: linear-gradient(100deg,
    transparent 40%,
    rgba(255, 255, 255, .3) 50%,
    transparent 60%);
  background-size: 250% 100%;
  background-position: 150% 0;
  opacity: 0;
}
.btn:not(.btn-line):hover::after,
.btn:not(.btn-line):focus-visible::after,
.hcta:hover::after,
.hcta:focus-visible::after { animation: balayage .75s ease-out; }

@keyframes balayage {
  0%   { background-position: 150% 0; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { background-position: -50% 0; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .btn::after, .hcta::after { animation: none; }
}
.aide {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  margin-top: 14px; padding: 13px 15px; border-radius: var(--r-s);
  background: var(--surface-2);
  font-size: .84rem;
}
.aide b { color: var(--ink); }
.aide a {
  margin-left: auto; padding: 8px 14px;
  color: var(--on-accent); background: var(--accent);
  font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background var(--t);
}
.aide a:hover { background: var(--accent-2); }
@media (max-width: 480px) { .aide a { width: 100%; margin-left: 0; text-align: center; } }

.plate-label { display: block; margin-bottom: 9px; font-size: .78rem; font-weight: 700; }
.plate {
  position: relative; display: flex; align-items: stretch; overflow: hidden;
  height: 72px; border-radius: 7px; background: #fff;
  box-shadow: inset 0 0 0 2px #c3c9d4;
  transition: box-shadow var(--t);
}
.plate:focus-within { box-shadow: inset 0 0 0 2px var(--plate-blue), 0 0 0 4px color-mix(in srgb, var(--plate-blue) 18%, transparent); }
.plate.is-locked { animation: lock .42s cubic-bezier(.2,.7,.3,1); }
@keyframes lock { 40% { transform: scale(1.018); } 100% { transform: scale(1); } }
.plate-band { flex: 0 0 44px; display: grid; align-content: center; justify-items: center; gap: 5px; background: var(--plate-blue); }
.plate-band .stars { width: 19px; height: 19px; }
.plate-band .cc { color: #fff; font-family: var(--font-display); font-size: .76rem; font-weight: 700; }
.plate input {
  flex: 1; width: 100%; min-width: 0; padding: 0 12px; border: 0; background: transparent; color: #10151f;
  font-family: var(--font-display); font-size: clamp(1.6rem, 5vw, 2.25rem); font-weight: 800;
  letter-spacing: .07em; text-align: center; text-transform: uppercase;
}
.plate input::placeholder { color: #b9c0cc; }
.plate input:focus { outline: 0; }
.plate-screw { position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #eef1f5, #9aa3b1); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); transition: transform .42s cubic-bezier(.2,.7,.3,1); }
.plate-screw::after { position: absolute; inset: 3px 1px; background: #7d8695; content: ""; }
.plate-screw.left { left: 56px; }
.plate-screw.right { right: 11px; }
.plate.is-locked .plate-screw { transform: rotate(160deg); }
.plate::after {
  position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.85), transparent);
  opacity: 0; pointer-events: none; content: "";
}
.plate.is-locked::after { animation: sweep .75s ease-out .06s 1; }
@keyframes sweep { 0% { left: -60%; opacity: 0; } 12% { opacity: 1; } 100% { left: 115%; opacity: 0; } }
.plate-hint { display: flex; align-items: center; gap: 7px; min-height: 22px; margin-top: 9px; color: var(--ink-soft); font-size: .78rem; }
.plate-hint.ok { color: var(--ok); font-weight: 700; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 13px; }
@media (max-width: 480px) { .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: .78rem; font-weight: 700; }
/* Hauteur imposee, pas deduite du contenu : un <select> et un <input> ne
   calculent pas leur boite de la meme facon, et la colonne des listes
   depassait celle des champs texte d'environ 3 px. Avec `height` + padding
   horizontal seul, les deux font exactement la meme case. */
.field input, .field select {
  width: 100%; height: 54px; padding: 0 14px;
  border: 1px solid var(--hair); border-radius: var(--r-s);
  color: var(--ink); background-color: var(--bg);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.2;
  transition: border-color var(--t), box-shadow var(--t), background-color var(--t);
}
/* La fleche native impose ses propres metriques et sa propre allure selon le
   systeme : on la remplace par un chevron dessine, identique partout. */
.field select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2362707f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
}
.field select::-ms-expand { display: none; }
.field input:focus, .field select:focus { border-color: var(--accent); outline: 0; background-color: var(--surface); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent); }
.quote .btn { width: 100%; margin-top: 15px; }
.quote-foot { margin-top: 11px; color: var(--ink-soft); font-size: .73rem; text-align: center; }

/* vehicule trop ancien : sortie douce, pas un mur */
.old-note { display: none; margin-top: 12px; padding: 14px 15px; border-left: 3px solid var(--accent); border-radius: 0 var(--r-s) var(--r-s) 0; background: var(--surface-2); color: var(--ink-soft); font-size: .85rem; }
.old-note.show { display: block; }

/* ---------- ecrans ---------- */
.pane { display: none; }
.pane.on { display: block; }
.pane.on.anim { animation: fade .32s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }

/* ---------- prise en charge (etapes reelles) ---------- */
.work { padding: 8px 0 4px; }
.work li {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid var(--hair);
  color: var(--ink-soft); font-size: .93rem;
  opacity: .35; transition: opacity .3s ease, color .3s ease;
}
.work li:last-child { border-bottom: 0; }
.work li.done { opacity: 1; color: var(--ink); }
.work ul { margin: 0; padding: 0; list-style: none; }
.dotmark { position: relative; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--hair); }
.work li.done .dotmark { background: var(--ok); box-shadow: none; }
.work li.done .dotmark::after {
  position: absolute; top: 5px; left: 6px; width: 5px; height: 9px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(42deg); content: "";
}
.work li.busy .dotmark { box-shadow: inset 0 0 0 2px var(--accent); animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.86); } }

/* ---------- confirmation ---------- */
.done-head { display: flex; align-items: center; gap: 13px; }
.done-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: var(--ok); font-size: 1.15rem; }
.why { margin-top: 14px; color: var(--ink-soft); font-size: .92rem; }
.why b { color: var(--ink); }
.ref { margin-top: 16px; padding: 16px; border-left: 3px solid var(--accent); border-radius: 0 var(--r-m) var(--r-m) 0; background: var(--surface-2); }
.ref > span { color: var(--ink-soft); font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.ref > b { display: block; margin-top: 5px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; }
.ref > p { margin-top: 8px; color: var(--ink-soft); font-size: .83rem; }
.ref-call { width: 100%; margin-top: 13px; padding: 12px 16px; font-size: .9rem; background: var(--surface); }
.timeline { margin: 18px 0 0; padding: 0; list-style: none; }
.timeline li { position: relative; padding: 0 0 20px 26px; border-left: 1px solid var(--hair); }
.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline li::before { position: absolute; top: 4px; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); content: ""; }
.timeline b { display: block; font-size: .95rem; }
.timeline span { color: var(--ink-soft); font-size: .87rem; }
.timeline .when { display: inline-block; margin-bottom: 3px; color: var(--accent); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.upload { margin-top: 18px; padding: 17px; border: 1px dashed var(--hair); border-radius: var(--r-m); background: var(--bg); transition: border-color var(--t), background var(--t); }
.upload.drag { border-color: var(--accent); border-style: solid; background: color-mix(in srgb, var(--accent) 6%, var(--bg)); }
.upload b { display: block; font-size: .95rem; }
.upload p { margin-top: 5px; color: var(--ink-soft); font-size: .84rem; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 9px; margin-top: 13px; }
.shot { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: var(--r-s); background: var(--surface-2); animation: pop .26s cubic-bezier(.2,.7,.3,1); }
@keyframes pop { from { opacity: 0; transform: scale(.9); } }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot .kill {
  position: absolute; top: 5px; right: 5px;
  display: grid; place-items: center; width: 23px; height: 23px;
  border: 0; border-radius: 50%; color: #fff; background: rgba(12, 21, 36, .72);
  font-size: .82rem; line-height: 1; cursor: pointer;
  transition: background var(--t);
}
.shot .kill:hover { background: #c0392b; }
.shot .tag { position: absolute; right: 0; bottom: 0; left: 0; padding: 3px 6px; color: #fff; background: linear-gradient(transparent, rgba(12,21,36,.8)); font-size: .64rem; font-weight: 700; }
.shot-add {
  display: grid; place-items: center; gap: 3px; aspect-ratio: 1;
  border: 1px dashed var(--hair); border-radius: var(--r-s); background: var(--surface);
  color: var(--ink-soft); font-family: var(--font-body); font-size: .68rem; font-weight: 700;
  cursor: pointer; transition: border-color var(--t), color var(--t), background var(--t);
}
.shot-add:hover { border-color: var(--accent); color: var(--accent); background: var(--bg); }
.shot-add em { font-size: 1.5rem; font-style: normal; font-weight: 400; line-height: 1; }
.shots-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; color: var(--ink-soft); font-size: .78rem; }
.shots-foot b { color: var(--ink); }
.hidden-file { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ============================================================
   AVIS — note seule, jamais le nombre. Defilement continu.
   ============================================================ */
.avis { padding: clamp(60px, 7vw, 96px) 0 clamp(56px, 6vw, 86px); }
.avis-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 26px 44px; margin: 0 0 clamp(28px, 3.5vw, 40px); }
.avis-head h2 { flex: 1 1 380px; font-size: clamp(2.3rem, 4.6vw, 3.5rem); }
.avis-head .sub { margin-top: 13px; max-width: 52ch; color: var(--ink-soft); }
.note-bloc { flex: 0 0 auto; padding-left: 26px; border-left: 3px solid var(--accent); }
.note-bloc .etoiles { color: #f5a623; font-size: 1.16rem; letter-spacing: .16em; }
.note-bloc .chiffre { margin-top: 4px; font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.note-bloc small { display: block; margin-top: 6px; color: var(--ink-soft); font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }

/* slider par crans : une carte glisse, pause de 5 s, ca repart */
.piste { position: relative; }
.fenetre { overflow: hidden; }
.rail { display: flex; gap: 16px; transition: transform .62s cubic-bezier(.2, .7, .3, 1); }
.fleche {
  position: absolute; top: 50%; z-index: 3;
  display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px;
  border: 0; border-radius: 50%;
  color: var(--ink); background: var(--surface);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .16), inset 0 0 0 1px var(--hair);
  cursor: pointer;
  transition: background var(--t), color var(--t), transform var(--t);
}
.fleche:hover { color: var(--on-accent); background: var(--accent); transform: scale(1.06); }
.fleche svg { width: 17px; height: 17px; }
.fleche.prev { left: -14px; }
.fleche.next { right: -14px; }
@media (max-width: 760px) { .fleche.prev { left: 2px; } .fleche.next { right: 2px; } }
.avis-carte {
  display: flex; flex-direction: column; flex: 0 0 auto; padding: 24px;
  background: var(--surface); border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--hair);
}
.goog { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); font-size: .74rem; font-weight: 700; }
.goog svg { width: 15px; height: 15px; }
.note-bloc .goog { margin-top: 10px; }
.goog-lien { text-decoration: none; box-shadow: 0 1px 0 var(--hair); transition: color var(--t), box-shadow var(--t); }
.goog-lien:hover { color: var(--ink); box-shadow: 0 1px 0 var(--accent); }
.avis-carte .etoiles { color: #f5a623; font-size: .88rem; letter-spacing: .16em; }
.avis-carte p { margin: 12px 0 16px; font-size: .96rem; }
.avis-carte footer { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.pastille { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--on-accent); background: var(--accent); font-family: var(--font-display); font-size: .82rem; font-weight: 800; }
.avis-carte cite { display: block; font-size: .88rem; font-style: normal; font-weight: 700; }
.avis-carte time { display: block; color: var(--ink-soft); font-size: .78rem; }
@media (max-width: 560px) { .note-bloc { padding-left: 18px; } }
@media (prefers-reduced-motion: reduce) { .rail { transition: none; } }

/* ============================================================
   COMMENT CA MARCHE — 3 scenes SVG animees au scroll.
   Tout est en currentColor / var(--accent) : ca suit la palette,
   ce qu'un Lottie ne sait pas faire.
   ============================================================ */
.etapes { padding: clamp(52px, 6vw, 84px) 0; }
.etapes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1050px) { .etapes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .etapes-grid { grid-template-columns: 1fr; } }
.etape { background: var(--surface); border-radius: var(--r-m); overflow: hidden; box-shadow: inset 0 0 0 1px var(--hair); }
/* fond blanc pour les quatre scenes : meme code couleur partout, blanc + bleu + noir */
.vue { display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; border-bottom: 1px solid var(--hair); }
.scene {
  width: 100%; height: 100%; color: #0c1524;
  --i2: rgba(12, 21, 36, .45);   /* encre a mi-ton  */
  --i3: rgba(12, 21, 36, .12);   /* encre tres pale */
  --i4: rgba(12, 21, 36, .06);   /* ombre portee    */
}
.corps { padding: 22px 24px 26px; }
.num { color: var(--accent); font-family: var(--font-display); font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.etape h3 { margin: 9px 0 0; font-family: var(--font-display); font-size: 1.14rem; font-weight: 700; letter-spacing: -.02em; }
.etape p { margin-top: 9px; color: var(--ink-soft); font-size: .94rem; }

/* --- scenes : sequence de 8 s en boucle, tracé simple, rythme lent --- */
.scene [class^="s1-"], .scene [class^="s2-"], .scene [class^="s3-"], .scene [class^="s4-"] { transform-box: fill-box; transform-origin: center; }
.scene .cadre { stroke-dasharray: 700; stroke-dashoffset: 700; }
.scene .masque { opacity: 0; }

/* cycles communs */
@keyframes cadreLoop { 0% { stroke-dashoffset: 700; opacity: 1; } 14%, 90% { stroke-dashoffset: 0; opacity: 1; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes fondLoop  { 0%, 15% { opacity: 0; } 21%, 90% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes okLoop    { 0%, 52% { opacity: 0; transform: scale(.3); } 58%, 88% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(1); } }
.play .cadre-anim { animation: cadreLoop 8s linear infinite; }
.play .fond-anim  { animation: fondLoop 8s linear infinite; }
.play .ok-anim    { animation: okLoop 8s cubic-bezier(.2, 1.6, .4, 1) infinite; }

/* scene 1 : la plaque se tape toute seule */
.play .s1-cache { animation: s1cache 8s steps(1) infinite; }
@keyframes s1cache { 0%, 26% { transform: scaleX(0); } 32% { transform: scaleX(.32); } 38% { transform: scaleX(.65); } 44%, 88% { transform: scaleX(1); } 95%, 100% { transform: scaleX(0); } }
.play .s1-curseur { animation: s1curseur 8s steps(1) infinite, s1clign .7s steps(2) infinite; }
@keyframes s1curseur { 0%, 26% { transform: translateX(0); } 32% { transform: translateX(51px); } 38% { transform: translateX(103px); } 44%, 90% { transform: translateX(155px); } 96%, 100% { transform: translateX(0); } }
@keyframes s1clign { 50% { opacity: 0; } }
/* reflet qui balaie la plaque une fois par cycle */
.play .s1-reflet { opacity: 0; animation: s1reflet 8s ease-in-out infinite; }
@keyframes s1reflet {
  0%, 47%   { transform: skewX(-18deg) translateX(0); opacity: 0; }
  50%       { opacity: .5; }
  63%       { transform: skewX(-18deg) translateX(300px); opacity: .5; }
  66%, 100% { transform: skewX(-18deg) translateX(300px); opacity: 0; }
}

/* scene 2 : le dossier se remplit, la loupe passe */
.play .s2-ligne { animation: s2ligne 8s ease infinite; animation-delay: var(--d); }
@keyframes s2ligne { 0%, 18% { opacity: 0; transform: translateX(-7px); } 27%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
.play .s2-loupe { animation: s2loupe 5.4s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes s2loupe { 0%, 100% { transform: translate(74px, 46px); } 33% { transform: translate(146px, 62px); } 66% { transform: translate(86px, 92px); } }

/* scene 3 : les billets se posent l'un apres l'autre */
.play .s4-billet { opacity: 0; animation: s4billet 8s cubic-bezier(.2, .9, .3, 1) infinite; animation-delay: var(--d); }
@keyframes s4billet {
  0%, 18%  { opacity: 0; transform: translate(-26px, 26px) rotate(-24deg) scale(.9); }
  27%, 84% { opacity: 1; transform: translate(0, 0) rotate(var(--rot)) scale(1); }
  92%, 100% { opacity: 0; transform: translate(0, 0) rotate(var(--rot)) scale(1); }
}

/* scene 4 : la voiture monte sur le plateau, doucement */
/* --- etape 04 : le camion s en va avec la voiture. Le sens est immediat,
       aucune choregraphie a comprendre : ca roule, donc ca part. --- */
.scene [class^="s5-"] { transform-box: fill-box; transform-origin: center; }
.play .s5-route { animation: s5route 2.4s linear infinite; }
@keyframes s5route { to { stroke-dashoffset: -46; } }
.play .s5-roue { animation: s5roue 2.2s linear infinite; }
@keyframes s5roue { to { transform: rotate(360deg); } }
.play .s5-camion { animation: s5bob 1.7s ease-in-out infinite; }
@keyframes s5bob { 50% { transform: translateY(-1.6px); } }
.play .s5-gyro { animation: s5gyro 1.1s steps(1) infinite; }
@keyframes s5gyro { 0%, 45% { opacity: 1; } 50%, 100% { opacity: .25; } }

@media (prefers-reduced-motion: reduce) {
  .scene .cadre { stroke-dashoffset: 0; }
  .scene .masque { opacity: 1; }
  .scene * { animation: none !important; transform: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; }
}

/* ============================================================
   CE QU ON RACHETE — les cas, et les pages de service derriere
   ============================================================ */
.cas { padding: clamp(52px, 6vw, 84px) 0; background: var(--surface); border-block: 1px solid var(--hair); }
.cas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1050px) { .cas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .cas-grid { grid-template-columns: 1fr; } }
.cas-carte {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px 22px 22px;
  background: var(--bg); border-radius: var(--r-m);
  box-shadow: inset 0 0 0 1px var(--hair);
  text-decoration: none;
  transition: box-shadow var(--t), transform var(--t), background var(--t);
}
.cas-carte:hover, .cas-carte:focus-visible {
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--accent), 0 18px 40px rgba(0, 0, 0, .09);
  transform: translateY(-3px);
}
.cas-ico {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-s);
  color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent);
  transition: background var(--t), transform var(--t);
}
.cas-carte:hover .cas-ico { background: var(--accent); color: var(--on-accent); transform: rotate(-4deg) scale(1.04); }
.cas-ico svg { width: 25px; height: 25px; }
.cas-carte h3 { margin: 0; font-family: var(--font-display); font-size: 1.04rem; font-weight: 700; letter-spacing: -.02em; }
.cas-carte p { color: var(--ink-soft); font-size: .89rem; }
.cas-fleche { display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 6px; color: var(--accent); font-size: .78rem; font-weight: 700; }
.cas-fleche span { transition: transform var(--t); }
.cas-carte:hover .cas-fleche span { transform: translateX(4px); }
.cas-pied { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 26px; padding: 20px 22px; background: var(--bg); border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--hair); }
/* Sans base de flexion, le paragraphe reclame sa largeur maximale, pousse le
   bouton a la ligne, puis s'etale sur toute la largeur laissee libre : on se
   retrouve avec un bouton seul sur une deuxieme ligne et un grand vide.
   Une base de 320 px le rend compressible, les deux tiennent sur une ligne. */
.cas-pied p { flex: 1 1 320px; color: var(--ink-soft); font-size: .93rem; }
.cas-pied .btn { flex: 0 0 auto; margin-left: auto; }
@media (max-width: 700px) { .cas-pied .btn { width: 100%; margin-left: 0; } }

.rise { opacity: 0; transform: translateY(16px); transition: opacity .52s ease, transform .52s cubic-bezier(.2,.7,.3,1); }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  .plate.is-locked, .plate.is-locked::after, .plate.is-locked .plate-screw { animation: none; transform: none; }
  .pane.on.anim, .work li.busy .dotmark { animation: none; }
}

/* ============================================================
   DERNIERES REPRISES
   Fond nuit : il fait ressortir des vignettes de 222 px et pardonne
   leur definition modeste. Six colonnes de 188 px sur grand ecran —
   la source est donc reduite, jamais agrandie.
   ============================================================ */
.reprises {
  padding: clamp(52px, 6vw, 84px) 0;
  color: #fff;
  background-image:
    radial-gradient(var(--trame-clair) 1.4px, transparent 1.5px),
    linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 100%);
  background-size: var(--trame-pas) var(--trame-pas), auto;
}
.reprises .eyebrow { color: var(--ink); }
.reprises h2 em { color: var(--warm); font-style: normal; }
.reprises .sub { color: rgba(255, 255, 255, .72); }

/* Le discours a gauche, le volume a droite. Quatre colonnes qui glissent en
   sens contraires : ce contre-mouvement fait lire un flux continu la ou une
   grille figee aurait fait catalogue, et une bande horizontale de plus
   aurait fait comme tout le monde. */
.reprises-grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(26px, 4vw, 54px);
}
.reprises-dit h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
.reprises-dit .sub { margin-top: 14px; max-width: 46ch; }
.reprises-dit .btn { margin-top: 22px; }

.reprises-mur {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  /* « start » et non l'etirement par defaut : une colonne etiree ferait la
     hauteur du mur, et le deplacement de -50 % porterait alors sur cette
     hauteur-la au lieu de celle des vignettes. La boucle sauterait. */
  align-items: start;
  height: clamp(330px, 34vw, 470px);
  border-radius: var(--r-m);
  /* « clip » et non « hidden » : hidden ferait de ce bloc un conteneur de
     defilement, avec la barre fantome et le saut d'ancre qui vont avec. */
  overflow: hidden;
  overflow: clip;
  /* le mur n'a ni haut ni bas : il s'efface dans le fond nuit */
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 13%, #000 87%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 13%, #000 87%, transparent);
}

/* Chaque colonne contient DEUX fois la meme liste et se deplace d'exactement
   la moitie de sa hauteur : au moment ou la boucle repart, l'image affichee
   est la meme, la reprise est invisible. Pour que cette moitie tombe juste,
   l'espacement vertical est porte par la vignette (margin-bottom) et non par
   « gap » — sinon il manquerait un intervalle sur les deux listes. */
.reprises-col {
  display: flex; flex-direction: column;
  will-change: transform;
  animation: rac-monte 44s linear infinite;
}
.reprises-col:nth-child(2) { animation-name: rac-descend; animation-duration: 53s; }
.reprises-col:nth-child(3) { animation-duration: 38s; }
.reprises-col:nth-child(4) { animation-name: rac-descend; animation-duration: 59s; }
.reprises-mur:hover .reprises-col { animation-play-state: paused; }

.reprises-col img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 222 / 150; object-fit: cover;
  margin-bottom: 12px;
  border-radius: var(--r-s);
  background: rgba(255, 255, 255, .06);
  /* contour et non box-shadow interieur : sur une image opaque, l'ombre
     interieure passe derriere le pixel et ne se voit pas */
  outline: 1px solid rgba(255, 255, 255, .1); outline-offset: -1px;
}

@keyframes rac-monte   { from { transform: translateY(0);    } to { transform: translateY(-50%); } }
@keyframes rac-descend { from { transform: translateY(-50%); } to { transform: translateY(0);    } }

@media (max-width: 900px) {
  .reprises-grille { grid-template-columns: 1fr; gap: 30px; }
  .reprises-dit .sub { max-width: none; }
  .reprises-mur { height: clamp(250px, 52vw, 330px); gap: 10px; }
  .reprises-col img { margin-bottom: 10px; }
}
@media (max-width: 560px) {
  /* a trois colonnes les vignettes restent lisibles ; la quatrieme sortirait
     a 70 px de large, ce qui ne montre plus rien */
  .reprises-mur { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reprises-col:nth-child(4) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  /* plus de glissement : le mur se fige en grille courte, entiere et lisible */
  .reprises-col { animation: none; }
  .reprises-mur { height: auto; -webkit-mask-image: none; mask-image: none; }
  .reprises-col img:nth-child(n+4) { display: none; }
}

/* ============================================================
   TOUTES MARQUES — bandeau de logos qui defile
   Le rail contient deux fois la meme liste et translate de -50 % :
   quand le premier lot sort a gauche, le second occupe exactement
   sa place. La boucle ne se voit pas.
   ============================================================ */
.marques { padding: clamp(52px, 6vw, 84px) 0 clamp(40px, 5vw, 60px); overflow: hidden; }

.marques-piste {
  position: relative;
  /* cale sur la largeur du contenu, comme tout le reste de la page :
     en pleine largeur le bandeau sortait du cadre general */
  width: var(--shell); margin-inline: auto; overflow: hidden;
  /* les bords s'estompent : sans ca les logos apparaissent et
     disparaissent d'un coup contre le bord du cadre */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marques-rail {
  display: flex; width: max-content;
  animation: defile 42s linear infinite;
}
.marques-piste:hover .marques-rail { animation-play-state: paused; }

/* ============================================================
   ACCENT DES TITRES
   Regle unique du site : dans un titre de section, la premiere
   ligne pose le sujet, la seconde porte la promesse — et c'est
   elle qui prend l'orange. Meme mecanique que le hero avec
   « Payée avant. ».
   ============================================================ */
.avis-head h2 em { color: var(--accent); font-style: normal; }
/* sur les blocs nuit, l'orange de marque tombe sous le seuil de
   lisibilite : meme teinte, plus lumineuse */
.final h2 em,
.traitement h2 em { color: var(--warm); font-style: normal; }

/* colonne d'appel a l'action des pages de service */
.service-cote h2 em { color: var(--accent); font-style: normal; }

/* Le titre des pages de service vient de la base : impossible d'y placer
   un <em> au bon endroit. Un trait orange sous le titre joue le meme role
   et fonctionne quel que soit le libelle. */
.service-hero h1::after {
  display: block; width: 56px; height: 4px;
  margin-top: clamp(14px, 2vw, 20px);
  border-radius: 2px; background: var(--accent); content: "";
}

.marques-lot {
  --m-gap: clamp(34px, 5vw, 68px);
  display: flex; align-items: center; gap: var(--m-gap);
  margin: 0; padding: 0 calc(var(--m-gap) / 2); list-style: none;
}
.marques-lot li { position: relative; flex: 0 0 auto; }

/* un plot orange entre chaque logo : le seul point de couleur du
   bandeau, et il donne au defilement une cadence lisible */
.marques-lot li::before {
  position: absolute; top: 50%; left: calc(-1 * var(--m-gap) / 2);
  width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px;
  border-radius: 50%; background: var(--accent); opacity: .5;
  content: "";
}
.marques-lot img {
  display: block; width: auto; height: clamp(30px, 3.4vw, 42px);
  /* une rangee de logos multicolores fait patchwork : on les ramene
     tous a la meme valeur, la couleur revient au survol */
  filter: grayscale(1) contrast(.85);
  opacity: .52;
  transition: opacity var(--t), filter var(--t);
}
.marques-lot img:hover { filter: none; opacity: 1; }

@keyframes defile { to { transform: translateX(-50%); } }

.marques-note {
  margin-top: clamp(26px, 3.5vw, 40px);
  color: var(--ink-soft); font-size: .78rem;
}

@media (prefers-reduced-motion: reduce) {
  /* plus de defilement : la liste se replie sur plusieurs lignes et le
     second lot, redondant, disparait */
  .marques-piste { -webkit-mask-image: none; mask-image: none; }
  .marques-rail { width: auto; animation: none; }
  .marques-rail .marques-lot:last-child { display: none; }
  .marques-lot { flex-wrap: wrap; justify-content: center; row-gap: 26px; }
  /* en grille repliee, les plots tomberaient en debut de ligne */
  .marques-lot li::before { display: none; }
}

/* ============================================================
   ZONE D'INTERVENTION
   ============================================================ */
.zone { padding: clamp(52px, 6vw, 84px) 0; }
.zone-grid {
  display: grid; gap: clamp(26px, 4vw, 48px);
  grid-template-columns: 1fr 1fr; align-items: center;
}
.zone-vue { overflow: hidden; border-radius: var(--r-l); background: var(--surface-2); }
.zone-vue img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.zone-regions { display: grid; gap: 20px 26px; grid-template-columns: 1fr 1fr; }
.zone-regions h3 {
  margin: 0 0 6px; padding-left: 12px; position: relative;
  font-family: var(--font-solid); font-size: .7rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase; color: var(--ink);
}
.zone-regions h3::before {
  position: absolute; top: 2px; bottom: 2px; left: 0;
  width: 3px; border-radius: 2px; background: var(--accent); content: "";
}
.zone-regions p { color: var(--ink-soft); font-size: .89rem; }

.zone-pied {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px;
  margin-top: clamp(28px, 3.5vw, 42px); padding: 20px 22px;
  border-radius: var(--r-m); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.zone-pied p { flex: 1 1 320px; color: var(--ink-soft); font-size: .93rem; }
.zone-pied .btn { flex: 0 0 auto; margin-left: auto; }

@media (max-width: 900px) {
  .zone-grid { grid-template-columns: 1fr; }
  .zone-pied .btn { width: 100%; margin-left: 0; }
}
@media (max-width: 520px) { .zone-regions { grid-template-columns: 1fr; } }

/* ============================================================
   BARRE D'ACTION MOBILE
   ============================================================ */
.barre-mobile { display: none; }

@media (max-width: 900px) {
  .barre-mobile {
    position: fixed; right: 0; bottom: 0; left: 0; z-index: 70;
    display: grid; grid-template-columns: 1fr 1.35fr; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(20, 35, 53, .95);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 -10px 34px rgba(0, 0, 0, .3);
  }
  .barre-mobile a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 50px; border-radius: var(--r-s);
    font-family: var(--font-body); font-size: .95rem; font-weight: 700;
    text-decoration: none;
  }
  .bm-tel { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .34); }
  .bm-tel svg { width: 18px; height: 18px; }
  .bm-cta { color: var(--on-accent); background: var(--accent); }

  /* la barre mange le bas de page, on rend la hauteur au document */
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }

  /* clavier ouvert : la barre recouvrirait le champ en cours de saisie */
  body:has(input:focus, select:focus, textarea:focus) .barre-mobile { display: none; }
  /* menu ouvert : la barre ferait doublon avec les actions du panneau */
  body.menu-ouvert .barre-mobile { display: none; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-bloc { padding: clamp(52px, 6vw, 84px) 0; }

/* Deux colonnes : le titre et le renvoi telephonique tiennent la gauche,
   les questions la droite. En une seule colonne large, la liste laissait
   la moitie de la page vide. */
.faq-grid {
  display: grid; gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: start;
}
.faq-tete { position: sticky; top: 104px; }
.faq-tete .sub { max-width: 34ch; margin-top: 14px; color: var(--ink-soft); }

/* renvoi telephonique : le seul bloc colore de la section */
.faq-aide {
  display: flex; align-items: center; gap: 14px;
  margin-top: 26px; padding: 16px 18px;
  border-radius: var(--r-m); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hair);
  text-decoration: none;
  transition: box-shadow var(--t), transform var(--t);
}
.faq-aide:hover { box-shadow: inset 0 0 0 1px var(--accent), 0 16px 34px rgba(0,0,0,.08); transform: translateY(-2px); }
.faq-aide .ico {
  display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px;
  border-radius: 50%; color: var(--on-accent); background: var(--accent);
}
.faq-aide .ico svg { width: 20px; height: 20px; }
.faq-aide small { display: block; color: var(--ink-soft); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.faq-aide strong { display: block; margin: 2px 0 1px; color: var(--ink); font-family: var(--font-display); font-size: 1.24rem; font-weight: 800; letter-spacing: -.03em; }
.faq-aide em { color: var(--ink-soft); font-size: .8rem; font-style: normal; }

/* chaque question devient une carte : les filets nus donnaient un tableau,
   pas une section */
.faq details {
  margin-bottom: 10px; overflow: hidden;
  border-radius: var(--r-m); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hair);
  transition: box-shadow var(--t);
}
.faq details[open] { box-shadow: inset 0 0 0 1px var(--accent-pale), 0 16px 36px rgba(0, 0, 0, .07); }

.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 17px 18px;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
/* le contour de focus suivait le rectangle pleine largeur et debordait de
   la carte : on le rentre a l'interieur, au meme rayon */
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; border-radius: var(--r-m); }

.faq summary::after {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 28px; height: 28px; border-radius: 50%;
  color: var(--ink); background: var(--surface-2);
  font-family: var(--font-body); font-size: 1.1rem; font-weight: 400; line-height: 1;
  content: "+";
  transition: background var(--t), color var(--t);
}
.faq details[open] summary::after { color: var(--on-accent); background: var(--accent); content: "–"; }

.faq details p {
  padding: 0 18px 18px 18px;
  color: var(--ink-soft); font-size: .96rem;
}

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-tete { position: static; }
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.final { padding: clamp(56px, 7vw, 92px) 0; color: #fff; background: linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 100%); text-align: center; }
.final h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.final p { max-width: 52ch; margin: 16px auto 0; color: rgba(255, 255, 255, .74); }
.final-actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-top: 28px; }
.final .btn-line { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.final .btn-line:hover { color: var(--deep); background: #fff; }

/* ============================================================
   PAGES DE SERVICE
   ============================================================ */
.service-hero { padding: clamp(44px, 6vw, 70px) 0 clamp(30px, 4vw, 46px); border-bottom: 1px solid var(--hair); background: var(--surface); }
.service-hero .eyebrow { margin-bottom: 12px; }
.service-hero h1 { max-width: 22ch; font-size: clamp(2rem, 4.6vw, 3.2rem); }
.service-hero .fil { margin-bottom: 18px; color: var(--ink-soft); font-size: .82rem; }
.service-hero .fil a { color: var(--ink-soft); text-decoration: none; }
.service-hero .fil a:hover { color: var(--ink); }
.service-corps { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: start; padding: clamp(40px, 5vw, 64px) 0 clamp(52px, 6vw, 84px); }
@media (max-width: 900px) { .service-corps { grid-template-columns: 1fr; } }
/* ---------- pages locales ----------
   Meme ossature que les pages de service, en-tete plus court : sur une page
   de ville l'utile arrive plus vite, il n'y a pas de photo a admirer. */
.ville-hero { padding: clamp(34px, 4.5vw, 56px) 0 clamp(26px, 3.5vw, 40px); border-bottom: 1px solid var(--hair); background: var(--surface); }
.ville-hero .fil { margin-bottom: 16px; color: var(--ink-soft); font-size: .82rem; }
.ville-hero .fil a { color: var(--ink-soft); text-decoration: none; }
.ville-hero .fil a:hover { color: var(--ink); }
.ville-hero .eyebrow { margin-bottom: 12px; }
.ville-hero h1 { max-width: 20ch; font-size: clamp(2rem, 4.4vw, 3rem); }
.ville-hero h1::after {
  display: block; width: 62px; height: 4px; margin-top: 16px;
  border-radius: 3px; background: var(--accent); content: "";
}
.ville-trajet { max-width: 56ch; margin-top: 16px; color: var(--ink-soft); font-size: 1.02rem; }
.ville-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* Les communes voisines en jetons : une phrase de huit noms separes par des
   virgules ne se lit pas, elle se saute. En jetons, l'oeil trouve le sien. */
.ville-communes { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 16px; padding: 0; list-style: none; }
.ville-communes li {
  padding: 6px 12px; border-radius: 999px;
  color: var(--ink); background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--hair);
  font-size: .82rem; font-weight: 600;
}

.ville-liens { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.ville-liens a {
  display: block; padding: 11px 14px; border-radius: var(--r-s);
  color: var(--ink); background: var(--surface); text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--hair);
  font-size: .88rem; font-weight: 600;
  transition: box-shadow var(--t), color var(--t);
}
.ville-liens a:hover { color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }

.ville-etapes { margin: 0 0 16px; padding-left: 20px; color: var(--ink-soft); }
.ville-etapes li { margin-bottom: 10px; }
.ville-etapes b { color: var(--ink); }

.service-texte h2 { margin: 34px 0 12px; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.service-texte h2:first-child { margin-top: 0; }
.service-texte p { margin: 0 0 14px; color: var(--ink-soft); }
.service-texte ul { margin: 0 0 14px; padding-left: 20px; color: var(--ink-soft); }
.service-texte li { margin-bottom: 7px; }
.service-texte b, .service-texte strong { color: var(--ink); }
.service-cote { position: sticky; top: 104px; padding: 26px; background: var(--surface); border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--hair); }
.service-cote h2 { font-size: 1.2rem; }
.service-cote p { margin: 10px 0 0; color: var(--ink-soft); font-size: .92rem; }
.service-cote .btn { width: 100%; margin-top: 18px; }
.service-cote .btn-line { margin-top: 10px; }
.service-points { margin: 18px 0 0; padding: 0; list-style: none; }
.service-points li { display: flex; align-items: center; gap: 9px; padding: 8px 0; color: var(--ink-soft); font-size: .9rem; }
.service-points .tick { flex: 0 0 auto; width: 16px; height: 16px; color: var(--accent); }

/* ============================================================
   AUDIT UI/UX — corrections transverses
   ============================================================ */
/* suppression du delai de 300 ms au tap, sans casser le zoom */
a, button, input, select, summary, label { touch-action: manipulation; }

/* les ancres ne se cachent plus sous le header colle */
section[id], [id="plaque"], [id="contenu"], [id="quote"] { scroll-margin-top: 92px; }
@media (max-width: 900px) { section[id], [id="plaque"], [id="contenu"], [id="quote"] { scroll-margin-top: 80px; } }

/* sans JavaScript, la page reste entierement visible */
html.no-js .rise { opacity: 1; transform: none; }
html.no-js .scene .masque { opacity: 1; }
html.no-js .scene .cadre { stroke-dashoffset: 0; }

/* champs obligatoires / facultatifs */
.req { color: var(--accent); text-decoration: none; }
.opt { color: var(--ink-soft); font-weight: 500; }

/* cibles tactiles : minimum confortable */
.shot .kill {
  width: 34px; height: 34px;
  font-size: .95rem;
}
.back { padding: 14px 0; min-height: 44px; }

/* lisibilite des petites mentions */
.quote-foot { font-size: .78rem; }


/* ============================================================
   MISE AU POINT — une zone nette dans un fond depoli.
   Une seule video : la couche ci-dessous floute ce qui est
   derriere elle (backdrop-filter) et on y perce une ellipse
   avec un masque radial. Zero octet en plus.
   ============================================================ */
/* .phare (cone de lumiere qui suivait la souris) supprime : il etait deja
   neutralise (opacite 0 dans les deux etats) et ne servait plus rien. */
.revele {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  /* Point de mise au point. Hors du cadre tant que la souris n'a pas bouge :
     la page s'ouvre donc entierement depolie, et la zone nette est une
     recompense au geste, pas un etat par defaut. */
  --mx: 50%;
  --my: -40%;
}

/* Flou plein cadre, perce d'une ellipse nette sous le curseur.
   Le flou est porte par cette couche et non par la balise <video> : le
   navigateur floute le rendu compose, sans recreer une passe de filtre par
   image sur le flux lui-meme.
   Le masque retire la couche la ou se trouve le curseur — c'est donc la
   video d'origine qui apparait, sans aucun traitement. Les bords sont
   degrades sur pres de 200 px : une decoupe nette ferait tache de lampe. */
.hero.has-video .revele {
  /* Le fond passe en noir et blanc. La couleur — les feux, les enseignes —
     ne revient que sous le curseur, dans l'ellipse percee par le masque.
     C'est la desaturation qui porte l'effet : le flou seul ne se voyait pas
     sur une sequence deja sombre. */
  -webkit-backdrop-filter: grayscale(1) blur(16px) brightness(.78);
          backdrop-filter: grayscale(1) blur(16px) brightness(.78);
  -webkit-mask-image: radial-gradient(circle 380px at var(--mx) var(--my), transparent 25%, #000 92%);
          mask-image: radial-gradient(circle 380px at var(--mx) var(--my), transparent 25%, #000 92%);
}

/* Sur mobile le fond n'est pas une video mais une photo fixe, et
   backdrop-filter n'a rien a flouter derriere lui : la couche est donc
   inutile. Le titre repose sur l'ombre portee, comme avant la video. */
@media (hover: none), (prefers-reduced-motion: reduce) {
  .revele { display: none; }
}

/* numeros geants evides derriere les etapes */
.etape { position: relative; }
.etape::after {
  content: attr(data-n);
  position: absolute; top: 6px; right: 12px;
  color: transparent; -webkit-text-stroke: 1.5px rgba(12, 21, 36, .14);
  font-family: var(--font-display); font-size: clamp(3rem, 4.5vw, 4.2rem);
  font-weight: 800; line-height: 1; pointer-events: none;
}
@supports not (-webkit-text-stroke: 1px #000) { .etape::after { color: var(--surface-2); } }

/* ============================================================
   VOLUME MAX
   ============================================================ */

.cas { position: relative; overflow: hidden; }

/* --- parallaxe : la video recule quand on scrolle --- */
.hero-media video { will-change: transform; transform: translateY(var(--py, 0)) scale(1.22); }
@media (prefers-reduced-motion: reduce) { .hero-media video { transform: none; } }

/* ============================================================
   DISCIPLINE COULEUR — l'orange n'apparait que la ou l'on decide.
   Boutons, point de vie, dossier ouvert. Le reste est encre.
   ============================================================ */
.cas-fleche, .num, .plate-hint.ok, .goog-lien:hover, .faq summary::after { color: var(--ink); }
.cas-ico { color: var(--ink); background: var(--surface-2); }
.cas-carte:hover .cas-ico { color: #fff; background: var(--ink); }
.cas-carte:hover, .cas-carte:focus-visible { box-shadow: inset 0 0 0 1px var(--ink), 0 18px 40px rgba(0, 0, 0, .09); }
.progress i.on, .steps span.on { background: var(--ink); }
.note-bloc { border-left-color: var(--ink); }
.ref { border-left-color: var(--accent); }
.fleche:hover { background: var(--ink); }
.hphone .ico { background: var(--ink); }
.hphone:hover .ico { background: var(--accent); }
.site-footer .brand span { color: var(--accent-pale); }
.devise { color: #fff; }

/* lien d'evitement : invisible jusqu'au focus clavier */
.skip {
  position: absolute; top: -60px; left: 14px; z-index: 200;
  padding: 12px 18px;
  color: var(--on-accent); background: var(--accent);
  font-weight: 700; text-decoration: none;
  transition: top var(--t);
}
.skip:focus { top: 12px; }

/* ============================================================
   PAGES GENERIQUES ET 404
   ============================================================ */
.page-simple { max-width: 800px; padding: clamp(40px, 5vw, 64px) 20px clamp(52px, 6vw, 84px); }
.erreur-404 { padding: clamp(70px, 10vw, 130px) 0; }
.erreur-404 h1 em { color: var(--accent); font-style: normal; }
.erreur-404 .sub { max-width: 46ch; margin-top: 16px; color: var(--ink-soft); }
.erreur-404 .sub a { color: var(--ink); }

/* message d'erreur du formulaire */
.form-msg {
  margin-top: 14px; padding: 12px 14px;
  border-left: 3px solid #c0392b; border-radius: 0 var(--r-s) var(--r-s) 0;
  background: color-mix(in srgb, #c0392b 8%, var(--surface));
  color: var(--ink); font-size: .87rem;
}

/* ============================================================
   PRELOADER — premiere page de la session uniquement.
   Invisible par defaut ; html.charge l'affiche ; html.pret l'efface.
   Ne bloque jamais plus de 1,2 s (garde-fou dans le script).
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 600;
  display: none;
  place-items: center;
  background: linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 100%);
  transition: opacity .42s ease, visibility .42s;
}
html.charge .preloader { display: grid; }
html.charge.pret .preloader { opacity: 0; visibility: hidden; pointer-events: none; }
html.charge:not(.pret) body { overflow: hidden; }
.preloader-in { width: min(320px, 80vw); text-align: center; }
.preloader .logo { height: 34px; margin: 0 auto 30px; }
.preloader .logo-reprise { fill: #fff; }
.preloader .logo-cartouche { fill: var(--accent); }
.preloader-route { position: relative; height: 96px; overflow: hidden; }
.preloader-auto { position: absolute; bottom: 14px; left: 50%; width: 170px; transform: translateX(-50%); animation: route-rebond 1.1s ease-in-out infinite; }
.preloader-sol { position: absolute; right: 0; bottom: 0; left: 0; height: 12px; border-top: 2px solid rgba(255,255,255,.22); }
.preloader-sol i {
  position: absolute; top: 4px; left: 0; width: 200%; height: 3px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.7) 0 26px, transparent 26px 60px);
  animation: preloader-defile .8s linear infinite;
}
@keyframes preloader-defile { to { transform: translateX(-60px); } }
@media (prefers-reduced-motion: reduce) {
  html.charge .preloader { display: none; }
  html.charge:not(.pret) body { overflow: auto; }
}

/* ============================================================
   ECRAN DE PRISE EN CHARGE — plein ecran, remplace la page le
   temps du traitement, puis bascule vers /merci/
   ============================================================ */
.traitement {
  position: fixed; inset: 0; z-index: 500;
  display: grid; place-items: center;
  padding: 24px;
  color: #fff;
  background: linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 100%);
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.traitement.on { opacity: 1; pointer-events: auto; }
.traitement-in { width: min(520px, 100%); }
.traitement .logo { height: 34px; margin-bottom: 34px; }
.traitement .logo-reprise { fill: #fff; }
.traitement .logo-cartouche { fill: var(--accent); }
.traitement .eyebrow { color: var(--accent-pale); background: transparent; border-color: rgba(255,255,255,.3); }
.traitement .eyebrow::before { background: var(--accent-pale); }
.traitement h2 { margin: 6px 0 26px; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.005em; line-height: 1; text-transform: uppercase; }
.traitement .work li { color: rgba(255,255,255,.55); border-bottom-color: rgba(255,255,255,.12); font-size: 1rem; }
.traitement .work li.done { color: #fff; }
.traitement .dotmark { box-shadow: inset 0 0 0 2px rgba(255,255,255,.3); }
.traitement .work li.done .dotmark { background: var(--accent); }
.traitement .work li.busy .dotmark { box-shadow: inset 0 0 0 2px var(--accent-pale); }
.traitement-barre { height: 3px; margin-top: 26px; background: rgba(255,255,255,.14); overflow: hidden; }
.traitement-barre i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .45s cubic-bezier(.2,.7,.3,1); }
.traitement-note { margin-top: 16px; color: rgba(255,255,255,.62); font-size: .86rem; }
.traitement .route-auto { position: static; width: 170px; margin: 0 auto 26px; display: block; transform: none; animation: route-rebond-fixe 1.1s ease-in-out infinite; }
@keyframes route-rebond-fixe { 50% { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .traitement { transition: none; } .traitement .route-auto { animation: none; } }

/* ============================================================
   PAGE /merci/ — dossier ouvert
   ============================================================ */
/* Page d'arrivee : rien a vendre, tout a rassurer. On remonte le contenu —
   un espace de 80 px avant un titre qui confirme une action deja faite fait
   attendre pour rien. */
.merci { padding: clamp(24px, 3vw, 44px) 0 clamp(56px, 6vw, 90px); }
.merci-tete { display: flex; align-items: flex-start; gap: 18px; margin-bottom: clamp(22px, 3vw, 36px); }
.merci-tete .done-mark { flex: 0 0 auto; width: 54px; height: 54px; font-size: 1.4rem; margin-top: 6px; }
.merci-tete h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
.merci-tete h1 em { color: var(--accent); font-style: normal; }
.merci-grille { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .merci-grille { grid-template-columns: 1fr; } }
.merci .ref { margin-top: 0; }
.merci .why { margin-top: 22px; }
.merci .timeline { margin-top: 18px; }

/* ---------- compteur d'avancement ----------
   Trois segments, pas une jauge continue. Une jauge se lit comme un
   pourcentage de reussite et promet une fin ; trois segments se lisent
   comme un parcours administratif — on est a la deuxieme porte sur trois,
   ce qui ne dit rien de ce qu'il y a derriere la troisieme. */
.merci .compteur {
  margin-top: 26px; padding: 15px 17px;
  border-radius: var(--r-m); background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.compteur-tete {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  margin: 0;
}
.compteur-tete b {
  font-family: var(--font-solid); font-size: .74rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
}
.compteur-tete span { color: var(--ink); font-size: .95rem; font-weight: 700; }
.compteur-barre { display: flex; gap: 5px; margin-top: 11px; }
.compteur-barre i {
  flex: 1; height: 5px; border-radius: 999px;
  background: var(--hair);
  transition: background .45s ease;
}
.compteur-barre i.on { background: var(--accent); }
.compteur-quand { margin: 11px 0 0; color: var(--ink); font-size: .87rem; line-height: 1.5; }
.compteur-quand b { color: var(--accent); font-weight: 800; }
.compteur-reste { color: var(--ink-soft); font-weight: 500; }
/* passe l'echeance, la barre respire au lieu de se figer sur un retard */
.compteur-imminent .compteur-barre i:last-child { background: var(--accent); animation: compteur-pulse 1.8s ease-in-out infinite; }
@keyframes compteur-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .compteur-imminent .compteur-barre i:last-child { animation: none; } }
.compteur-fait { color: #1f7a4b; font-weight: 700; }
.compteur-note { margin: 10px 0 0; color: var(--ink-soft); font-size: .76rem; }
/* Le collant portait sur le seul encadre photos : la photo posee dessous
   restait, elle, dans le flux — en remontant, les deux se croisaient et se
   chevauchaient. C'est la COLONNE entiere qui doit etre collante, pour que
   l'encadre et l'illustration voyagent ensemble. */
.merci-grille > .merci-col:last-child { position: sticky; top: 104px; }

/* Encadre photos : c'est la seule chose que le visiteur peut encore faire
   sur cette page, et elle accelere reellement son offre. Il ne doit pas
   ressembler a une carte de plus — bordure a l'accent, fond teinte, et le
   pointille reserve a la zone de depot. */
.merci .upload {
  margin-top: 0; padding: 22px;
  border: 2px solid var(--accent); border-radius: var(--r-m);
  background: color-mix(in srgb, var(--accent) 5%, var(--surface));
  box-shadow: 0 12px 30px rgba(212, 58, 15, .1);
}
.merci .upload > b { font-size: 1.02rem; }
/* etiquette d'appel : dit pourquoi ca vaut le detour, en deux mots */
.merci .upload::before {
  display: inline-block; margin-bottom: 9px; padding: 3px 9px;
  border-radius: 999px; background: var(--accent); color: #fff;
  font-family: var(--font-solid); font-size: .63rem; font-weight: 800;
  letter-spacing: .11em; text-transform: uppercase;
  content: "Traité en priorité";
}
/* ---------- confirmation d'envoi ----------
   Le doute du client n'est pas « est-ce que le fichier est valide », c'est
   « est-ce que c'est parti ». On repond avec un changement d'etat visible a
   deux metres : l'encadre passe de l'orange au vert, l'etiquette change de
   mot, chaque vignette prend sa coche. Rien ne disparait, rien ne se
   verrouille — on peut retirer ou ajouter une photo a tout moment, et l'etat
   se recalcule. */
.merci .upload.encours { border-color: #c9922c; background: color-mix(in srgb, #e0a83a 7%, var(--surface)); }
.merci .upload.encours::before { background: #b8891a; content: "Envoi en cours…"; }

.merci .upload.envoye {
  border-color: #2fbe74;
  background: color-mix(in srgb, #2fbe74 7%, var(--surface));
  box-shadow: 0 12px 30px rgba(47, 190, 116, .14);
}
.merci .upload.envoye::before { background: #1f9c5c; content: "\2713  Photos reçues"; }
.merci .upload.envoye .shot-add { border-color: color-mix(in srgb, #2fbe74 55%, var(--hair)); color: #1f9c5c; }
.merci .upload.envoye .shot-add:hover { background: color-mix(in srgb, #2fbe74 10%, var(--surface)); }

.merci .upload.echoue { border-color: #c0392b; background: color-mix(in srgb, #c0392b 6%, var(--surface)); }
.merci .upload.echoue::before { background: #c0392b; content: "Envoi incomplet"; }

/* coche verte sur la vignette, en bas a gauche pour ne pas gener la croix */
.shot-etat { position: absolute; bottom: 5px; left: 5px; display: none; }
.shot-ok .shot-etat, .shot-ko .shot-etat {
  display: grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%;
  color: #fff; font-size: .68rem; font-weight: 900; line-height: 1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}
.shot-ok .shot-etat { background: #2fbe74; }
.shot-ok .shot-etat::before { content: "\2713"; }
.shot-ko .shot-etat { background: #c0392b; }
.shot-ko .shot-etat::before { content: "!"; }
.shot-ok { box-shadow: inset 0 0 0 2px #2fbe74; }
.shot-ko { box-shadow: inset 0 0 0 2px #c0392b; }

.merci .upload.envoye .shots-foot { color: #1f7a4b; font-weight: 700; }
.merci .upload .shots-foot #shot-weight { transition: color .3s ease; }

/* la zone de depot devient la cible evidente du bloc */
.merci .shot-add {
  grid-column: span 2; aspect-ratio: auto; min-height: 92px;
  border: 2px dashed color-mix(in srgb, var(--accent) 45%, var(--hair));
  color: var(--accent); background: var(--surface);
}
.merci .shot-add:hover { border-style: solid; background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.merci .shot-add em { font-size: 1.9rem; }

@media (max-width: 900px) {
  /* colonne unique : plus rien a coller, et l'encadre remonte juste sous
     la reference de dossier, la ou l'action est encore fraiche */
  .merci-grille > .merci-col:last-child { position: static; }
}

/* ============================================================
   LOGO — emblème + mot-symbole, pose une fois en <symbol>.
   Deux leviers seulement : `color` pour l'encre, --logo-accent pour
   l'orange. Un selecteur CSS n'entre pas dans l'arbre d'un <use>.
   ============================================================ */
.logo {
  display: block; height: 46px; width: auto;
  color: var(--deep);
  --logo-accent: var(--accent);
}
/* la barre du header fait 80 px : a 46 px il reste 17 px d'air de chaque
   cote. En dessous de 1100 px on redescend, sinon le logo pousse le
   telephone et l'appel a l'action hors de la ligne. */
@media (max-width: 1100px) { .logo { height: 38px; } }

/* sur fond nuit : encre en blanc, et un orange plus lumineux — meme teinte,
   mais #d43a0f sur du #142335 tombe sous le seuil de lisibilite */
.logo-footer,
.logo-preloader,
.logo-traitement {
  color: #fff;
  --logo-accent: var(--warm);
}

.logo-footer { height: 48px; }
@media (max-width: 900px) { .logo { height: 32px; } }

/* ============================================================
   BRILLANCE DU LOGO
   Un reflet balaie le tracé en diagonale. Le dégradé est
   découpé à la forme exacte du logo par un masque SVG : sans
   lui, on verrait passer un rectangle lumineux sur le fond.
   Le masque est blanc opaque, donc lisible aussi bien en alpha
   qu'en luminance selon le moteur.
   ============================================================ */
.brand { position: relative; display: inline-flex; }
.brand::after {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; content: "";
  background: linear-gradient(100deg,
    transparent 42%,
    rgba(255, 255, 255, .92) 50%,
    transparent 58%);
  background-size: 260% 100%;
  background-position: 150% 0;
  -webkit-mask: url(../media/logo-masque.svg) left center / contain no-repeat;
  mask: url(../media/logo-masque.svg) left center / contain no-repeat;
  mask-mode: alpha;
  opacity: 0;
  /* Boucle de 8 s : le reflet met 2,4 s a traverser, puis 5,6 s de repos.
     Le delai initial laisse passer le préchargeur. */
  animation: brillance 8s linear 1100ms infinite;
}
/* nom d'animation different : c'est ce qui permet de la relancer au survol */
.brand:hover::after,
.brand:focus-visible::after { animation: brillance-survol 2.4s ease-in-out; }

/* Le balayage tient dans les 30 premiers pour cent, le reste du cycle est
   la pause. La position revient a son point de depart pendant que l'opacite
   est a zero : le saut ne se voit pas. */
@keyframes brillance {
  0%        { background-position: 150% 0; opacity: 0; }
  4%        { opacity: 1; }
  26%       { opacity: 1; }
  30%, 100% { background-position: -50% 0; opacity: 0; }
}
@keyframes brillance-survol {
  0%   { background-position: 150% 0; opacity: 0; }
  8%   { opacity: 1; }
  88%  { opacity: 1; }
  100% { background-position: -50% 0; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .brand::after, .brand:hover::after { animation: none; opacity: 0; }
}

/* ============================================================
   BANDE ANIMEE avant le pied de page — reprise de la page de
   maintenance, avec son bleu nuit. La voiture prend l'accent du site.
   ============================================================ */
.route-bande {
  position: relative; height: 190px; overflow: hidden;
  border-top: 4px solid var(--accent);
  background: linear-gradient(180deg, #142335 0%, #1d3149 100%);
}
.route-ciel { position: absolute; inset: 0; opacity: .5; }
.route-ciel i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff;
  animation: route-scintille 3.2s ease-in-out infinite;
}
.route-ciel i:nth-child(1) { top: 22%; left: 12%; animation-delay: 0s; }
.route-ciel i:nth-child(2) { top: 38%; left: 31%; animation-delay: .7s; }
.route-ciel i:nth-child(3) { top: 16%; left: 58%; animation-delay: 1.4s; }
.route-ciel i:nth-child(4) { top: 44%; left: 76%; animation-delay: .3s; }
.route-ciel i:nth-child(5) { top: 27%; left: 89%; animation-delay: 2.1s; }
.route-auto {
  position: absolute; bottom: 38px; left: 50%; width: 250px;
  transform: translateX(-50%);
  animation: route-rebond 1.1s ease-in-out infinite;
}
.route-roue { transform-box: fill-box; transform-origin: center; animation: route-roule .75s linear infinite; }
.route-sol {
  position: absolute; right: 0; bottom: 0; left: 0; height: 44px;
  border-top: 2px solid rgba(255, 255, 255, .22); background: #0d1a29;
}
.route-tirets {
  position: absolute; top: 20px; left: 0; width: 200%; height: 4px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .75) 0 42px, transparent 42px 92px);
  animation: route-defile 1.1s linear infinite;
}
@keyframes route-roule     { to { transform: rotate(-360deg); } }
@keyframes route-defile    { to { transform: translateX(-92px); } }
@keyframes route-rebond    { 50% { transform: translateX(-50%) translateY(-3px); } }
@keyframes route-scintille { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .route-auto, .route-roue, .route-tirets, .route-ciel i { animation: none; } }

/* ============================================================
   PIED DE PAGE
   ============================================================ */
.site-footer { padding: clamp(48px, 6vw, 72px) 0 28px; color: rgba(255, 255, 255, .72); background: linear-gradient(180deg, var(--deep-2) 0%, var(--deep) 100%); }
.site-footer .brand { color: #fff; font-size: 1.16rem; }
.site-footer .brand span { color: var(--accent-pale); }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1.15fr 1fr 1fr; gap: 34px 30px; }
.foot-marque .devise { display: block; margin-top: 16px; color: #fff; font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; }

/* la note Google : preuve sociale au bas de chaque page */
.foot-note {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 10px;
  margin-top: 18px; padding: 9px 13px;
  border-radius: 999px; background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  font-size: .84rem; text-decoration: none;
  transition: background var(--t), box-shadow var(--t);
}
.foot-note:hover { background: rgba(255, 255, 255, .13); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.foot-note .etoiles { color: #f5a623; letter-spacing: .05em; }
.foot-note b { color: #fff; }
.foot-goog { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .66); font-size: .8rem; }
.foot-goog svg { width: 13px; height: 13px; }

/* le telephone en objet, comme dans l'en-tete */
.foot-tel { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; text-decoration: none; }
.foot-tel .ico {
  display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px;
  border-radius: 50%; color: #fff; background: var(--accent);
  transition: transform var(--t);
}
.foot-tel:hover .ico { transform: scale(1.06); }
.foot-tel .ico svg { width: 17px; height: 17px; }
.foot-tel small { display: block; color: rgba(255, 255, 255, .6); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.foot-tel strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; }

@media (max-width: 1050px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { margin: 0 0 13px; color: #fff; font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a, .site-footer p { color: rgba(255, 255, 255, .72); font-size: .92rem; text-decoration: none; }
.site-footer p { margin-top: 14px; max-width: 36ch; }
.site-footer a:hover { color: #fff; }
.foot-bas {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  margin-top: clamp(32px, 4vw, 46px); padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .8rem;
}
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; } }

/* ============================================================
   RYTHME DES SECTIONS
   Une section sur deux prend le fond --ton. Les cartes restent
   blanches : elles se detachent au lieu de se fondre.
   Sequence : hero (nuit) - avis (ton) - etapes (blanc) -
   rachat (ton) - faq (blanc) - final (nuit).
   Les deux sections a cartes tombent sur le ton : les cartes
   blanches y gagnent du relief.
   ============================================================ */
.avis      { background: var(--ton); }
.etapes    { background: var(--bg); }
.cas       { background: var(--ton); border-block: 0; }
.marques   { background: var(--bg); }
.zone      { background: var(--bg); }
.faq-bloc  { background: var(--ton); }

/* section blanche : le panneau d'illustration prend le ton,
   sinon la carte blanche se perd sur le fond blanc */
.etapes .vue { background: var(--ton); }

/* ============================================================
   SEPARATEUR DE SECTION
   Un filet a la largeur du contenu, interrompu au centre par
   trois traits de marquage au sol. Pose sur la couture, donc
   lisible quel que soit le fond des deux cotes.
   ============================================================ */
.etapes, .cas, .marques, .faq-bloc, .zone { position: relative; }

.etapes::before,
.cas::before,
.marques::before,
.faq-bloc::before,
.zone::before {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: var(--shell); height: 1px; content: ""; pointer-events: none;
  background: linear-gradient(90deg,
    var(--hair) 0 calc(50% - 46px),
    transparent calc(50% - 46px) calc(50% + 46px),
    var(--hair) calc(50% + 46px) 100%);
}

.etapes::after,
.cas::after,
.marques::after,
.faq-bloc::after,
.zone::after {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 56px; height: 3px; content: ""; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--accent) 0 14px, transparent 14px 21px);
}

/* le marquage deborde d'1px vers le haut : plus de decoupe sur .cas
   (le ruban qui justifiait overflow:hidden a ete retire) */
.cas { overflow: visible; }

/* ============================================================
   TRAME DE FOND
   Une seule trame, deux versions : encre sur les sections claires
   teintees, blanche sur les blocs nuit. Elle ne va que sur les
   sections au ton, jamais sur les blanches : c'est ce qui la garde
   discrete, une page entiere tramee devient sale.
   ============================================================ */
.avis, .cas, .faq-bloc {
  background-image: radial-gradient(var(--trame-encre) 1.4px, transparent 1.5px);
  background-size: var(--trame-pas) var(--trame-pas);
}

/* le degrade nuit doit rester : on empile la trame par-dessus, dans la
   meme declaration, sinon background-image l'ecrase. */
.final {
  background-image:
    radial-gradient(var(--trame-clair) 1.4px, transparent 1.5px),
    linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 100%);
  background-size: var(--trame-pas) var(--trame-pas), auto;
}
.site-footer {
  background-image:
    radial-gradient(var(--trame-clair) 1.4px, transparent 1.5px),
    linear-gradient(180deg, var(--deep-2) 0%, var(--deep) 100%);
  background-size: var(--trame-pas) var(--trame-pas), auto;
}

/* ============================================================
   PHOTOS
   Rien ici ne s'applique tant qu'une image n'existe pas : les
   gabarits n'emettent la classe .a-photo que si le fichier est la.
   Toutes les images portent width et height dans le HTML et un
   cadre a ratio fixe en CSS : aucun saut de mise en page au
   chargement.
   ============================================================ */
.cas-img, .bande-img, .service-img, .img-404, .merci-img { display: block; max-width: 100%; }

/* --- cartes « ce qu'on rachete » --- */
.cas-carte.a-photo { padding-top: 0; overflow: hidden; }
.cas-carte.a-photo .cas-ico { display: none; }  /* la photo dit deja de quoi il s'agit */
.cas-media {
  display: block; margin: 0 -22px 2px; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--surface-2);
}
.cas-img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.3,1); }
.cas-carte.a-photo:hover .cas-img,
.cas-carte.a-photo:focus-visible .cas-img { transform: scale(1.045); }

/* --- bandeau entre deux sections ---
   Cale sur la largeur du contenu, pas sur celle de l'ecran : la source fait
   1536 px, l'etirer a 1920 ne cree aucun detail, ca ne fait que flouter. */
.bande-photo {
  display: block; width: var(--shell);
  margin: 0 auto clamp(44px, 5vw, 70px);
  height: clamp(190px, 24vw, 340px);
  overflow: hidden; border-radius: var(--r-l); background: var(--surface-2);
}
.bande-img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }

/* --- en-tete des pages de service --- */
.service-hero.a-photo {
  position: relative; overflow: hidden;
  min-height: clamp(260px, 26vw, 360px);
  display: flex; align-items: flex-end;
}
.service-media { position: absolute; inset: 0; z-index: 0; }
.service-img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
/* degrade lateral, pas un filtre sur l'image : le tiers droit reste net */
.service-hero.a-photo::after {
  position: absolute; inset: 0; z-index: 1; content: "";
  background: linear-gradient(90deg,
    var(--surface) 0%,
    color-mix(in srgb, var(--surface) 86%, transparent) 40%,
    transparent 80%);
}
.service-hero.a-photo .shell { position: relative; z-index: 2; width: var(--shell); }

@media (max-width: 760px) {
  /* trop etroit pour poser du texte sur l'image : on empile */
  .service-hero.a-photo { display: block; min-height: 0; padding-top: 0; }
  .service-hero.a-photo::after { display: none; }
  .service-media { position: static; margin-bottom: clamp(20px, 4vw, 30px); }
  .service-img { height: clamp(160px, 44vw, 240px); }
}

/* --- 404 et page dossier --- */
.bloc-404 { max-width: 700px; margin: 34px 0 0; }
.img-404 { width: 100%; height: auto; border-radius: var(--r-m); }
.merci-visuel { margin: 18px 0 0; }
.merci-img { width: 100%; height: auto; border-radius: var(--r-m); }
.merci-visuel figcaption { margin-top: 10px; color: var(--ink-soft); font-size: .82rem; }

@media (prefers-reduced-motion: reduce) {
  .cas-img { transition: none; }
  .cas-carte.a-photo:hover .cas-img { transform: none; }
}