/* ============================================================
   CUSTOM.CODING : carbone & argent, monochrome premium
   Mobile first : HTML/CSS/JS vanilla
   ============================================================ */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-var-v2.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-var-v2.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/JetBrainsMono-var-v2.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  /* Couleurs */
  --bg: #0a0b0d;
  --panel: #101215;
  --panel-2: #15181c;
  --line: #23272e;
  --line-2: #313640;
  --txt: #edeff2;
  --silver: #c6cbd2;
  --muted: #8b919b;
  --dim: #7b828d;
  --grad-silver: linear-gradient(160deg, #eceef1 0%, #b9bfc8 55%, #8f959e 100%);

  /* Typo */
  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Espacements */
  --s-1: .5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2.5rem;
  --s-5: 4rem;
  --s-6: 6rem;
  --radius: 14px;
  --nav-h: 68px;
  --wrap: 1160px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--silver);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--txt); text-decoration: none; }
h1, h2, h3 { font-family: var(--f-display); color: var(--txt); line-height: 1.12; margin: 0 0 var(--s-2); letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 5.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 var(--s-2); }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--txt); outline-offset: 3px; border-radius: 4px; }

section[id], footer[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--txt); color: var(--bg);
  padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip:focus { left: 8px; }

/* ---------- Boutons & icônes ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--f-display); font-weight: 600; font-size: .95rem;
  padding: .85rem 1.5rem; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-silver); color: #0a0b0d;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 24px rgba(0,0,0,.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 12px 28px rgba(0,0,0,.55); }
.btn-primary .ic { fill: #0a0b0d; }
.btn-ghost { border-color: var(--line-2); color: var(--txt); background: transparent; }
.btn-ghost:hover { border-color: var(--silver); background: rgba(255,255,255,.04); }
.btn-full { width: 100%; }
.ic { width: 18px; height: 18px; fill: currentColor; flex: none; }
.ic-lg { width: 30px; height: 30px; fill: var(--silver); color: var(--silver); margin-bottom: var(--s-2); }

.eyebrow {
  font-family: var(--f-mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  margin-bottom: var(--s-2);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  background: transparent; border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.nav.sc {
  background: rgba(10,11,13,.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav-in {
  max-width: var(--wrap); height: 100%; margin: 0 auto; padding: 0 var(--s-3);
  display: flex; align-items: center; gap: var(--s-3);
}
.brand {
  font-family: var(--f-display); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .06em; color: var(--txt); margin-right: auto;
}
.brand-dot { color: var(--muted); }
.nav-links { display: none; }
.btn-nav { display: none; }
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer;
}
.burger span { display: block; height: 2px; width: 100%; background: var(--txt); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(10,11,13,.97);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--s-4);
  padding: calc(var(--nav-h) + var(--s-3)) var(--s-3) var(--s-4);
}
.mmenu[hidden] { display: none; }
.mmenu-links { display: flex; flex-direction: column; align-items: center; gap: var(--s-2); }
.mmenu-links a { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; padding: .35rem .8rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + var(--s-5)) 0 var(--s-5);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(198,203,210,.07), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.014) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.014) 0 2px, transparent 2px 6px),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-in {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s-3);
  display: grid; gap: var(--s-4);
}
.hero h1 em { font-style: normal; background: var(--grad-silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.06rem; color: var(--muted); max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-3) 0 var(--s-1); }
.hero-note { font-size: .85rem; color: var(--dim); }
.hero-vis { display: grid; gap: var(--s-2); }
.hero-card {
  margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.hero-card img { width: 100%; }

/* Terminal : élément signature */
.term {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); overflow: hidden;
  font-family: var(--f-mono);
}
.term-bar {
  display: flex; align-items: center; gap: 6px;
  padding: .55rem .9rem; border-bottom: 1px solid var(--line); background: var(--panel-2);
}
.term-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.term-bar p { margin: 0 0 0 auto; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.term-body {
  margin: 0; padding: .9rem 1rem; min-height: 9.2em;
  font-size: .78rem; line-height: 1.75; color: var(--silver); white-space: pre-wrap;
}
.term-body .ok { color: var(--txt); font-weight: 600; }
.term-caret { display: inline-block; width: .55em; height: 1em; background: var(--silver); vertical-align: -0.15em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- Trust bar ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--panel); }
.trust-in {
  max-width: var(--wrap); margin: 0 auto; padding: var(--s-3);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3);
}
.trust-in li { display: grid; gap: .15rem; }
.trust-in strong { font-family: var(--f-display); font-size: 1.35rem; font-weight: 700; color: var(--txt); letter-spacing: -.01em; }
.trust-in span { font-size: .82rem; color: var(--muted); }

/* ---------- Sections ---------- */
.sec { padding: var(--s-6) 0; }
.sec-alt { background: var(--panel); border-block: 1px solid var(--line); }
.sec + .sec-alt, .sec-alt + .sec { border-top: 0; }
.sec-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s-3); }
.sec-narrow { max-width: 820px; }
.sec-sub { color: var(--muted); max-width: 40rem; margin-bottom: var(--s-4); }

/* Prestations */
.prest-grid { display: grid; gap: var(--s-2); grid-template-columns: 1fr; }
.prest {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
  padding: var(--s-3); transition: border-color .2s ease, transform .2s ease;
}
.prest:hover { border-color: var(--line-2); transform: translateY(-3px); }
.prest p { color: var(--muted); font-size: .92rem; margin: 0; }
.prest-wide {
  margin-top: var(--s-3); border: 1px solid var(--line-2); border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  padding: var(--s-4) var(--s-3);
  display: grid; gap: var(--s-3); align-items: center;
}
.prest-wide p { color: var(--muted); margin: 0; max-width: 44rem; }

/* Tarifs */
.price-grid { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
.price {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
  padding: var(--s-4) var(--s-3); display: flex; flex-direction: column; gap: var(--s-2);
}
.price-hl { border-color: var(--line-2); background: linear-gradient(170deg, var(--panel-2), var(--bg)); position: relative; }
.price-tag { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0; }
.price-num { font-family: var(--f-display); color: var(--txt); font-weight: 700; font-size: 1.4rem; margin: 0; }
.price-num span { font-size: 3.4rem; letter-spacing: -.03em; background: var(--grad-silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-num small { font-size: .95rem; font-weight: 500; color: var(--muted); }
/* Prix par marque (v9) : une ligne par famille, filet fin entre les deux */
.price-lignes { display: grid; margin: 0; }
.price-ligne { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-2); margin: 0; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.price-ligne:first-child { padding-top: 0; }
.price-marque { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.45; }
.price-ligne .price-num { white-space: nowrap; flex: none; }
.price-ligne .price-num span { font-size: 2.9rem; }
.price ul { display: grid; gap: .55rem; margin-bottom: var(--s-2); }
.price li { position: relative; padding-left: 1.4rem; font-size: .95rem; }
.price li::before {
  content: ""; position: absolute; left: 0; top: .48em; width: .65rem; height: .38rem;
  border-left: 2px solid var(--silver); border-bottom: 2px solid var(--silver); transform: rotate(-45deg);
}
.price .btn { margin-top: auto; }

/* Process */
.steps { display: grid; gap: var(--s-3); counter-reset: none; margin-top: var(--s-4); }
.steps li { border-left: 1px solid var(--line-2); padding-left: var(--s-3); position: relative; }
.steps li::before {
  content: ""; position: absolute; left: -4.5px; top: .4rem; width: 8px; height: 8px;
  border-radius: 50%; background: var(--silver);
}
.step-n { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .18em; color: var(--dim); margin-bottom: .35rem; }
.steps h3 { margin-bottom: .35rem; }
.steps p:last-child { color: var(--muted); font-size: .95rem; margin: 0; }

/* Témoignages */
.quotes {
  display: flex; gap: var(--s-2);
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding-bottom: 4px;
}
.quotes::-webkit-scrollbar { display: none; }
.quote {
  flex: 0 0 86%; scroll-snap-align: center;
  margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
  padding: var(--s-3);
}
.stars { width: 108px; height: 18px; fill: var(--silver); margin-bottom: var(--s-2); }
.quote blockquote { margin: 0 0 var(--s-2); font-family: var(--f-display); font-size: 1.15rem; font-weight: 500; color: var(--txt); }
.quote figcaption { font-size: .84rem; color: var(--muted); }
.dots { display: flex; justify-content: center; gap: 7px; margin-top: var(--s-2); }
.dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--line-2); transition: width .25s ease, background-color .25s ease; }
.dots i.on { width: 22px; background: var(--silver); }
.social-proof { margin-top: var(--s-3); font-size: .9rem; color: var(--dim); text-align: center; }

/* FAQ */
.faq-list { display: grid; gap: var(--s-1); margin-top: var(--s-3); }
.faq { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-2);
  padding: 1rem 1.15rem; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-weight: 600; color: var(--txt);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .25s ease; fill: var(--muted); }
.faq[open] summary .ic { transform: rotate(180deg); }
.faq p { padding: 0 1.15rem 1.1rem; margin: 0; color: var(--muted); font-size: .95rem; }

/* Contact */
.contact-grid { display: grid; gap: var(--s-4); }
.contact-info > p { color: var(--muted); max-width: 30rem; }
.contact-list { display: grid; gap: var(--s-2); margin: var(--s-3) 0; }
.contact-list li { display: flex; align-items: center; gap: .8rem; }
.contact-list .ic { fill: var(--muted); }
.contact-list a { font-weight: 500; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.socials { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.socials a {
  display: inline-flex; align-items: center; gap: .55rem;
  border: 1px solid var(--line-2); border-radius: 99px; padding: .5rem 1rem;
  font-size: .88rem; color: var(--silver); transition: border-color .2s ease, color .2s ease;
}
.socials a:hover { border-color: var(--silver); color: var(--txt); }
.socials .ic { fill: currentColor; }

.form {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
  padding: var(--s-3); display: grid; gap: var(--s-2);
}
.form-row { display: grid; gap: var(--s-2); }
.field { display: grid; gap: .35rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--txt); letter-spacing: .02em; }
.field input, .field textarea {
  width: 100%; background: var(--panel); border: 1px solid var(--line-2); border-radius: 9px;
  color: var(--txt); font: inherit; padding: .7rem .85rem;
  transition: border-color .2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--silver); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field.invalid input, .field.invalid textarea { border-color: #c96a6a; }
.err { font-size: .8rem; color: #d98c8c; margin: 0; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; margin: 0; overflow: hidden; }
.form-note { font-size: .78rem; color: var(--dim); margin: 0; }
.form-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--panel); padding-top: var(--s-5); }
.footer-in {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s-3) var(--s-4);
  display: grid; gap: var(--s-4);
}
.footer-col p { color: var(--muted); font-size: .92rem; }
.brand-ft { margin-bottom: var(--s-2); color: var(--txt); font-size: 1.05rem; }
.footer-h { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: var(--s-2); }
.footer-col ul { display: grid; gap: .5rem; }
.footer-col ul a { color: var(--muted); font-size: .92rem; }
.footer-col ul a:hover { color: var(--txt); }
.footer-legal {
  border-top: 1px solid var(--line);
  max-width: var(--wrap); margin: 0 auto; padding: var(--s-3);
  display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: space-between;
  font-size: .8rem; color: var(--dim);
}
.footer-legal p { margin: 0; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--txt); }

/* ---------- Pages légales ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: calc(var(--nav-h) + var(--s-5)) var(--s-3) var(--s-6); }
.legal h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.legal h2 { font-size: 1.25rem; margin-top: var(--s-4); }
.legal p, .legal li { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 1.2rem; display: grid; gap: .4rem; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

/* Page merci */
.merci {
  min-height: 100svh; display: grid; place-items: center; text-align: center;
  padding: var(--s-4) var(--s-3);
}
.merci-in { max-width: 480px; display: grid; gap: var(--s-2); justify-items: center; }
.merci .ic-lg { width: 52px; height: 52px; margin: 0; }
.merci p { color: var(--muted); }

/* ============================================================
   Desktop
   ============================================================ */
@media (min-width: 760px) {
  .trust-in { grid-template-columns: repeat(4, 1fr); }
  .prest-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .prest-wide { grid-template-columns: 1fr auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quotes { overflow: visible; }
  .quote { flex: 1 1 0; }
  .dots { display: none; }
}

@media (min-width: 1020px) {
  .nav-links { display: flex; gap: var(--s-3); }
  .nav-links a { font-size: .92rem; font-weight: 500; color: var(--silver); transition: color .2s ease; }
  .nav-links a:hover { color: var(--txt); }
  .btn-nav { display: inline-flex; padding: .6rem 1.1rem; font-size: .88rem; }
  .burger { display: none; }
  .hero-in { grid-template-columns: 1.05fr .95fr; align-items: center; gap: var(--s-5); }
  .prest-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: .9fr 1.1fr; align-items: start; }
}

/* ============================================================
   V2 : matière, animations, section réseaux
   ============================================================ */

/* Bordure métal brossé (dégradé) */
.gb {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(150deg, #4a5058, #1b1e23 40%, #14161a 60%, #5a616b) border-box;
}

/* Tissage carbone renforcé sur sections alternées */
.sec-alt {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.016) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.016) 0 2px, transparent 2px 5px),
    var(--panel);
}

/* Reflet animé sur le mot clé du hero */
.hero { overflow: hidden; }
.hero h1 em {
  background: linear-gradient(110deg, #9aa0a9 0%, #f7f8fa 22%, #9aa0a9 44%, #9aa0a9 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 5.5s linear infinite;
}
@keyframes sheen { to { background-position: -250% 0; } }

/* Balayage lumineux ambiant du hero */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(232,235,240,.045) 50%, transparent 58%);
  background-size: 260% 100%;
  animation: sweep 9s ease-in-out infinite;
}
@keyframes sweep { 0% { background-position: 130% 0; } 100% { background-position: -130% 0; } }

/* Ligne de scan sur le visuel hero */
.hero-card { position: relative; }
.scanline {
  position: absolute; left: 0; right: 0; top: -22%; height: 20%;
  background: linear-gradient(180deg, transparent, rgba(235,238,242,.09), transparent);
  animation: scan 4.5s linear infinite; pointer-events: none;
}
@keyframes scan { to { top: 122%; } }

/* Reflet au survol des CTA argentés */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg); transition: left .5s ease;
}
.btn-primary:hover::after { left: 130%; }

/* Liseré argent au survol des cartes prestations */
.prest { position: relative; overflow: hidden; }
.prest::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-silver);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.prest:hover::before { transform: scaleX(1); }

/* Texte argenté utilitaire */
.silver-txt { background: var(--grad-silver); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Révélation au scroll */
.rev { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.rev.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rev { opacity: 1; transform: none; } }

/* ---------- Bandeau photo ---------- */
.band {
  position: relative;
  background: url("../img/band-coding-v1.webp") center 40% / cover no-repeat;
  border-block: 1px solid var(--line);
}
.band::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,11,13,.94), rgba(10,11,13,.7) 50%, rgba(10,11,13,.94)),
    repeating-linear-gradient(45deg, rgba(0,0,0,.14) 0 2px, transparent 2px 6px);
}
.band-in { position: relative; max-width: var(--wrap); margin: 0 auto; padding: var(--s-6) var(--s-3); }
.band-mono { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; color: var(--silver); margin-bottom: var(--s-2); }
.band-title {
  font-family: var(--f-display); font-weight: 600; color: var(--txt);
  font-size: clamp(1.4rem, 3.6vw, 2.2rem); line-height: 1.25; max-width: 46rem; margin: 0;
}

/* ---------- Section réseaux ---------- */
.reseaux-grid { display: grid; gap: var(--s-5); }
.reseaux-txt h2 { margin-bottom: var(--s-2); }
.soc-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin: var(--s-3) 0; }
.soc-tab {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-display); font-weight: 600; font-size: .9rem;
  color: var(--muted); background: var(--panel); border: 1px solid var(--line-2);
  border-radius: 99px; padding: .55rem 1.15rem; cursor: pointer;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.soc-tab .ic { fill: currentColor; }
.soc-tab:hover { color: var(--txt); border-color: var(--silver); }
.soc-tab.on { color: #0a0b0d; background: var(--grad-silver); border-color: transparent; }

.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; z-index: 1;
  width: min(300px, 82vw); border-radius: 44px; padding: 12px;
  background:
    linear-gradient(var(--panel-2), var(--panel-2)) padding-box,
    linear-gradient(150deg, #6a717b, #1a1d22 40%, #14161a 62%, #454b54) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 38%; height: 22px; background: #08090b; border-radius: 0 0 14px 14px; z-index: 2;
}
.phone-screen { border-radius: 33px; overflow: hidden; background: #0c0d10; min-height: 520px; }
.pp { padding: 2.7rem .95rem 1rem; display: grid; gap: .9rem; }
.pp-head { display: grid; justify-items: center; text-align: center; gap: .15rem; }
.pp-avatar { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--line-2); }
.pp-name { font-family: var(--f-display); font-weight: 700; color: var(--txt); margin: .5rem 0 0; }
.pp-handle { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); margin: 0; }
.pp-stats { display: flex; gap: 1.1rem; margin: .5rem 0 0; font-size: .78rem; color: var(--muted); }
.pp-stats b { color: var(--txt); font-weight: 700; }
.pp-bio { font-size: .74rem; color: var(--dim); line-height: 1.5; margin: .2rem 0 0; }
.pp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.tile {
  position: relative; aspect-ratio: 3 / 4; display: grid; place-items: center;
  background: linear-gradient(160deg, #1a1d22, #101216);
}
.tile:nth-child(2n) { background: linear-gradient(200deg, #1e2127, #0e1013); }
.tile:nth-child(3n) { background: linear-gradient(140deg, #22262c, #111318); }
.tile svg { width: 16px; height: 16px; fill: var(--dim); }
.tile i { position: absolute; left: 6px; bottom: 5px; font-family: var(--f-mono); font-style: normal; font-size: .6rem; color: var(--silver); }
.phone-glow {
  position: absolute; inset: auto 0 -10% 0; height: 55%; z-index: 0; pointer-events: none;
  filter: blur(60px);
  background: radial-gradient(50% 60% at 50% 60%, rgba(198,203,210,.15), transparent 70%);
}

@media (min-width: 1020px) {
  .reseaux-grid { grid-template-columns: 1.05fr .95fr; align-items: center; }
}

/* Téléphone plus compact */
:root { --alu: linear-gradient(100deg, #e9ebee 0%, #b7bdc6 28%, #eef0f3 52%, #9aa1aa 76%, #d8dbe0 100%); }
.phone-screen { min-height: 0; }
.pp { padding: 2.6rem .9rem 1rem; gap: .8rem; }
.pp-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
.tile { border-radius: 6px; }

.pp-platform svg { width: 15px; height: 15px; fill: #14161a; }

.phone-hint { font-size: .68rem; color: var(--dim); text-align: center; margin: .1rem 0 0; }

/* ---------- Alu brossé : accents ---------- */
/* Barre alu sous les titres de section */
.sec h2::after, .reseaux-txt h2::after {
  content: ""; display: block; width: 54px; height: 3px;
  margin-top: .65rem; border-radius: 2px;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.07) 0 1px, transparent 1px 3px),
    var(--alu);
}

/* Numéros d'étapes en plaques alu */
.step-n {
  display: inline-block; padding: .18rem .55rem; border-radius: 6px;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.06) 0 1px, transparent 1px 3px),
    var(--alu);
  color: #14161a; font-weight: 600; letter-spacing: .14em;
}

/* Chiffres clés en dégradé argent */
.trust-in strong {
  background: var(--grad-silver);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Pastilles du terminal en alu */
.term-bar span { background: linear-gradient(160deg, #b7bdc6, #6d737d); }

/* Chevron FAQ argenté à l'ouverture */
.faq[open] summary .ic { fill: var(--silver); }

/* Étoiles des avis en dégradé argent (masque SVG conservé) */
.quote { border-top: 2px solid transparent; }
.quote:hover { border-top-color: var(--line-2); }

/* ============================================================
   V4 : vidéo dans le téléphone, modale réseaux, chips, CarPlay
   ============================================================ */

/* Grille prestations : 3 colonnes (9 cartes) */
@media (min-width: 1020px) {
  .prest-grid { grid-template-columns: repeat(3, 1fr); }
}

.reseaux-follow { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* Vidéo dans l'écran du téléphone */
.phone-screen { position: relative; }
.phone-video { display: block; width: 100%; height: auto; background: #0c0d10; }
.phone-tap {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 1.1rem;
  background: linear-gradient(180deg, transparent 62%, rgba(8,9,11,.68));
  border: 0; cursor: pointer;
}
.phone-tap-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-display); font-weight: 600; font-size: .82rem; color: #14161a;
  padding: .55rem 1.05rem; border-radius: 99px;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px),
    var(--alu);
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  transition: transform .2s ease;
}
.phone-tap-pill .ic { width: 13px; height: 13px; fill: #14161a; }
.phone-tap:hover .phone-tap-pill { transform: translateY(-3px); }
.phone-tap:focus-visible { outline: 2px solid var(--txt); outline-offset: -6px; border-radius: 30px; }

/* Modale de choix réseaux */
.smodal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: var(--s-3); }
.smodal[hidden] { display: none; }
.smodal-back {
  position: absolute; inset: 0;
  background: rgba(8,9,11,.72);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.smodal-card {
  position: relative; z-index: 1;
  width: min(400px, 100%); border-radius: var(--radius);
  padding: var(--s-4) var(--s-3) var(--s-3);
  box-shadow: 0 40px 100px rgba(0,0,0,.65);
  animation: smodal-pop .28s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes smodal-pop { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.smodal-x {
  position: absolute; top: .8rem; right: .8rem;
  display: grid; place-items: center; width: 38px; height: 38px;
  background: transparent; border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--muted); cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.smodal-x:hover { color: var(--txt); border-color: var(--silver); }
.smodal-x .ic { fill: currentColor; }
.smodal-title { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; color: var(--txt); margin: 0 0 .4rem; }
.smodal-sub { color: var(--muted); font-size: .92rem; margin: 0 0 var(--s-3); }
.smodal-btns { display: grid; gap: var(--s-1); }
.smodal-btns .btn { width: 100%; }

/* ============================================================
   V5 : hero photo, marques, téléphone réaliste, dropdowns,
        accordéons burger, recherche
   ============================================================ */

/* Ancres : dégagement sous la nav pour toutes les cibles */
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* ---------- Hero : BMW bleue en fond + composition ---------- */
.hero {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(198,203,210,.07), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.014) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.014) 0 2px, transparent 2px 6px),
    var(--bg);
}

/* Chips marques */
.marques { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: var(--s-3); }
@media (max-width: 759px) {
  .marq-btn { font-size: .62rem; padding: .38rem .7rem; letter-spacing: .1em; }
}
.marq-btn {
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; color: var(--silver);
  border: 1px solid var(--line-2); border-radius: 99px; padding: .42rem .95rem;
  background: rgba(16,18,21,.6); cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.marq-btn:hover { border-color: var(--silver); color: var(--txt); }
.marq-btn.on {
  color: #14161a; border-color: transparent;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px),
    var(--alu);
}

/* ---------- Tarifs : intérieur MINI en fond ---------- */
/* Tarifs mobile : la MINI se révèle en bande sous les cartes */
#tarifs {
  background:
    linear-gradient(180deg, rgba(13,14,17,.97) 0%, rgba(13,14,17,.94) 50%, rgba(13,14,17,.38) 80%, rgba(13,14,17,.72) 100%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.014) 0 2px, transparent 2px 5px),
    url("../img/mini-noir-v1.webp") center bottom / cover no-repeat,
    var(--panel);
  padding-bottom: calc(var(--s-6) + 130px);
}
@media (min-width: 760px) {
  #tarifs {
    background:
      linear-gradient(180deg, rgba(13,14,17,.95), rgba(13,14,17,.9)),
      repeating-linear-gradient(45deg, rgba(255,255,255,.014) 0 2px, transparent 2px 5px),
      url("../img/mini-noir-v1.webp") center 62% / cover no-repeat,
      var(--panel);
    padding-bottom: var(--s-6);
  }
}

/* ---------- Téléphone : proportions réalistes ---------- */
.phone { width: min(268px, 76vw); border-radius: 50px; padding: 10px; }
.phone-screen { aspect-ratio: 9 / 19.3; border-radius: 40px; }
.phone-video { width: 100%; height: 100%; object-fit: cover; }
.phone-notch {
  top: 20px; width: 88px; height: 25px;
  border-radius: 99px;
}

/* ---------- Dropdowns nav desktop ---------- */
.nl { position: relative; }
.nl > a { display: inline-flex; align-items: center; gap: .3rem; }
.ic-ch { width: 13px; height: 13px; fill: var(--dim); transition: transform .2s ease; }
.nl:hover .ic-ch, .nl:focus-within .ic-ch { transform: rotate(180deg); fill: var(--silver); }
.dd {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px; padding: .5rem; margin-top: 10px;
  display: grid; gap: 2px;
  background: rgba(13,15,18,.97);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.dd::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nl:hover .dd, .nl:focus-within .dd {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dd a {
  display: block; padding: .55rem .75rem; border-radius: 8px;
  font-size: .86rem; font-weight: 500; color: var(--muted); white-space: nowrap;
  transition: color .15s ease, background-color .15s ease;
}
.dd a:hover, .dd a:focus-visible { color: var(--txt); background: rgba(255,255,255,.06); }

/* Bouton recherche nav */
.search-btn {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; flex: none;
  background: transparent; border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--silver); cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.search-btn:hover { color: var(--txt); border-color: var(--silver); }
.search-btn .ic { fill: currentColor; }

/* ---------- Accordéons du menu mobile ---------- */
.mmenu { justify-content: flex-start; overflow-y: auto; }
.mmenu-links { width: min(420px, 100%); align-items: stretch; gap: .15rem; }
.mgrp { border-bottom: 1px solid var(--line); }
.mrow { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
.mrow > a { flex: 1; font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; padding: .8rem .4rem; }
.macc {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none;
  background: transparent; border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--muted); cursor: pointer; transition: transform .25s ease, color .2s ease;
}
.macc .ic { fill: currentColor; }
.macc[aria-expanded="true"] { transform: rotate(180deg); color: var(--txt); }
.msub { display: grid; gap: .1rem; padding: 0 0 .8rem .4rem; }
.msub a { display: block; font-size: .98rem; color: var(--muted); padding: .45rem .5rem; }
.msub a:hover { color: var(--txt); }
.mmenu-cta { margin-top: var(--s-3); align-self: center; }

/* ---------- Overlay de recherche ---------- */
.search { position: fixed; inset: 0; z-index: 130; display: grid; justify-items: center; align-items: start; padding: min(14vh, 130px) var(--s-3) var(--s-3); }
.search[hidden] { display: none; }
.search-back {
  position: absolute; inset: 0;
  background: rgba(8,9,11,.74);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.search-card {
  position: relative; z-index: 1;
  width: min(560px, 100%); border-radius: var(--radius);
  padding: var(--s-2);
  box-shadow: 0 40px 100px rgba(0,0,0,.65);
  animation: smodal-pop .25s cubic-bezier(.2, .9, .3, 1.2);
}
.search-field { display: flex; align-items: center; gap: .7rem; padding: .2rem .2rem .2rem .6rem; }
.search-field > .ic { fill: var(--dim); flex: none; }
.search-field input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: none;
  color: var(--txt); font: inherit; font-size: 1.05rem; padding: .7rem 0;
}
.search-field input::placeholder { color: var(--dim); }
.search-field .smodal-x { position: static; }
.search-results { display: grid; gap: 2px; max-height: min(46vh, 420px); overflow-y: auto; margin-top: .4rem; }
.search-results li { list-style: none; }
.search-results button {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-2);
  width: 100%; text-align: left;
  background: transparent; border: 0; border-radius: 9px; cursor: pointer;
  padding: .7rem .75rem; color: var(--silver); font: inherit; font-size: .95rem;
  transition: background-color .15s ease, color .15s ease;
}
.search-results button:hover, .search-results button:focus-visible { background: rgba(255,255,255,.06); color: var(--txt); }
.search-results .cat { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); flex: none; }
.search-empty { padding: .8rem .75rem; color: var(--dim); font-size: .92rem; }
.search-hint { margin: .5rem .2rem 0; font-size: .72rem; color: var(--dim); font-family: var(--f-mono); }

/* ============================================================
   V6 : correctifs burger & terminal, hero réordonné, Instagram
   ============================================================ */

/* Fix burger : sous-menus réellement repliés (hidden vs display:grid) */
.msub[hidden] { display: none; }

/* Fix pompage vertical : hauteur définitive du terminal OBD
   (6 lignes × 1.75 de line-height + respiration), plus aucun reflow */
.term-body { height: 11.2em; min-height: 0; overflow: hidden; }

/* Hero : texte à gauche, visuel à droite (ordre naturel restauré en v7) */

/* Bandeau : cadrage centré à partir de la tablette */
@media (min-width: 760px) {
  .band { background-position: center 48%; }
}

/* Cartes prestations : photo en tête, zoom au survol */
.prest-img {
  margin: calc(-1 * var(--s-3)) calc(-1 * var(--s-3)) var(--s-2);
  aspect-ratio: 16 / 10; overflow: hidden; position: relative;
}
.prest-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,11,13,.55));
}
.prest-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.prest:hover .prest-img img { transform: scale(1.06); }

/* Bannière photo de la modale prestation */
.pmodal-img {
  margin: calc(-1 * var(--s-4)) calc(-1 * var(--s-3)) var(--s-2);
  aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.pmodal-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.smodal-x { background: rgba(10,11,13,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* Icône Instagram en traits (rect + objectif + point) */
.ic-ig rect, .ic-ig circle { fill: none; stroke: currentColor; stroke-width: 1.9; }
.ic-ig .dot { fill: currentColor; stroke: none; }

/* ============================================================
   V7 : hero repensé, contact rapide flottant
   ============================================================ */

/* Hero mobile : le grand logo reste réservé au desktop */
.hero-card { display: none; }
@media (min-width: 760px) {
  .hero-card { display: block; }
}

/* Contact rapide flottant : WhatsApp + appel (mobile & tablette) */
.fab {
  position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 80; display: grid; gap: 10px;
}
.fab-btn {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0,0,0,.55);
  transition: transform .2s ease;
}
.fab-btn:hover { transform: translateY(-3px); }
.ic-fab { width: 24px; height: 24px; }
.fab-wa { background: #23c25f; }
.fab-wa .ic-fab { fill: #fff; }
.fab-tel {
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px),
    var(--alu);
}
.fab-tel .ic-fab { fill: #14161a; }
@media (min-width: 1020px) {
  .fab { display: none; }
}


/* ============================================================
   V8 : logo image en nav (rétrécit au scroll), sélecteur marques
   ============================================================ */

/* Nav : plus haute par défaut, compacte au scroll : le logo suit */
:root { --nav-h: 84px; }
.nav { height: 84px; transition: height .3s ease, background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease; }
.nav.sc { height: 62px; }
.brand { display: inline-flex; align-items: center; }
.brand-img {
  height: 60px; width: auto; display: block;
  border-radius: 9px; border: 1px solid var(--line-2);
  transition: height .3s ease;
}
.nav.sc .brand-img { height: 42px; }
@media (min-width: 1020px) {
  .nav { height: 92px; }
  .nav.sc { height: 66px; }
  .brand-img { height: 70px; }
  .nav.sc .brand-img { height: 48px; }
}


/* ============================================================
   V9 : audit : FAB escamotables, animations en pause hors écran
   ============================================================ */

/* FAB : escamotage quand le contact ou le footer est à l'écran */
.fab { transition: opacity .25s ease, transform .25s ease; }
.fab.hide { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* Animations infinies en pause hors viewport (batterie mobile) */
.anim-paused::after,
.anim-paused h1 em,
.anim-paused .scanline { animation-play-state: paused; }

/* ============================================================
   V10 : logo débordant, M2 en fond hero mobile, avis en grille,
         recherche orientée contact
   ============================================================ */

/* Logo XXL qui déborde de la nav en haut de page, se range au scroll */
.brand { align-self: flex-start; padding-top: 12px; transition: padding-top .3s ease; }
.brand-img {
  height: 118px;
  box-shadow: 0 16px 38px rgba(0,0,0,.55);
}
.nav.sc .brand { padding-top: 10px; }
.nav.sc .brand-img { height: 42px; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
@media (min-width: 1020px) {
  .brand-img { height: 140px; }
  .nav.sc .brand { padding-top: 9px; }
  .nav.sc .brand-img { height: 48px; }
}

/* Recherche : CTA permanents en pied d'overlay */
.search-actions {
  display: flex; gap: .6rem;
  margin-top: .6rem; padding-top: .7rem; border-top: 1px solid var(--line);
}
.search-actions .btn { flex: 1; padding: .7rem 1rem; font-size: .88rem; }

/* ============================================================
   V11 : recherche mobile stabilisée, cartes prestations tactiles
   ============================================================ */

/* Recherche mobile : ancrée en haut, hauteur fixe, zéro mouvement
   horizontal ou vertical pendant la frappe et avec le clavier */
.search { padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); }
.search-card { overscroll-behavior: contain; }
.search-results {
  height: min(50dvh, 420px); max-height: none;
  overflow-y: auto; overflow-x: hidden;
  overscroll-behavior: contain;
}
.search-results button span:first-child { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 760px) {
  .search { padding: min(14vh, 130px) var(--s-3) var(--s-3); }
  .search-results { height: auto; max-height: min(46vh, 420px); }
}

/* Cartes prestations : cliquables, flèche d'affordance au coin */
.prest { cursor: pointer; }
.prest p { padding-right: 22px; }
.prest-tap {
  position: absolute; inset: 0; z-index: 1;
  background: transparent; border: 0; cursor: pointer; border-radius: inherit;
}
.prest-tap:focus-visible { outline: 2px solid var(--txt); outline-offset: -4px; }
.prest-arrow {
  position: absolute; right: 14px; bottom: 14px; width: 16px; height: 16px;
  fill: none; stroke: var(--dim); stroke-width: 2; stroke-linecap: round;
  pointer-events: none; transition: stroke .2s ease, transform .2s ease;
}
.prest:hover .prest-arrow, .prest:focus-within .prest-arrow {
  stroke: var(--txt); transform: translate(2px, -2px);
}

/* ============================================================
   V12 : logo desktop constant, carrousel d'avis auto-défilant
   ============================================================ */

/* Desktop : le logo reste à la taille de la navbar, même en haut de page
   (le débordement XXL est conservé sur mobile uniquement) */
@media (min-width: 1020px) {
  .nav, .nav.sc { height: 68px; }
  .brand, .nav.sc .brand { padding-top: 10px; }
  .brand-img, .nav.sc .brand-img {
    height: 48px;
    box-shadow: 0 4px 14px rgba(0,0,0,.35);
  }
}

/* Avis : carrousel horizontal à tous les formats (auto-avance en JS) */
@media (min-width: 760px) {
  .quotes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .quote { flex: 0 0 48%; scroll-snap-align: center; }
  .dots { display: flex; }
}
@media (min-width: 1020px) {
  .quote { flex: 0 0 32%; }
}

/* ============================================================
   V13 : footer premium, rotation automatique des marques
   ============================================================ */

/* Footer : liseré alu, bandeau CTA, 4 colonnes, retour en haut */
.footer { border-top: 0; padding-top: 0; }
.footer::before {
  content: ""; display: block; height: 2px;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 1px, transparent 1px 3px),
    var(--alu);
}
.footer-cta {
  max-width: var(--wrap); margin: 0 auto;
  padding: var(--s-4) var(--s-3);
  display: grid; gap: var(--s-3); align-items: center;
  border-bottom: 1px solid var(--line);
}
.footer-cta-txt {
  font-family: var(--f-display); font-weight: 600; font-size: 1.35rem;
  color: var(--txt); line-height: 1.3; margin: 0;
}
.footer-cta-txt span { font-size: .95rem; font-weight: 400; color: var(--muted); font-family: var(--f-body); }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.footer-in { padding-top: var(--s-4); }
.footer-logo {
  height: 64px; width: auto;
  border-radius: 9px; border: 1px solid var(--line-2);
  margin-bottom: var(--s-2);
}
.footer-brand .socials { margin-top: var(--s-2); }
.footer-col ul a { display: inline-block; transition: color .2s ease, transform .2s ease; }
.footer-col ul a:hover { transform: translateX(3px); }
.footer-zone {
  margin-top: var(--s-2); font-family: var(--f-mono);
  font-size: .68rem; letter-spacing: .1em; color: var(--dim);
}
.footer-legal { align-items: center; }
.totop {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px),
    var(--alu);
  transition: transform .2s ease;
}
.totop .ic { fill: #14161a; }
.totop:hover { transform: translateY(-3px); }

@media (min-width: 760px) {
  .footer-cta { grid-template-columns: 1fr auto; }
  .footer-in { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1020px) {
  .footer-in { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

/* ============================================================
   V14 : burger dégagé sous le logo XXL
   ============================================================ */

/* Le logo déborde à 130px en haut de page : le menu démarre en dessous */
.mmenu { padding-top: 150px; }

/* ============================================================
   V15 : wordmark desktop, crossfade hero, flèches avis,
         apparition séquencée des étapes
   ============================================================ */

/* Nav desktop : wordmark typographié à la place du logo image */
.brand-word {
  display: none;
  font-family: var(--f-display); font-weight: 700;
  font-size: 1.32rem; letter-spacing: .09em; color: var(--txt);
}
@media (min-width: 1020px) {
  .brand-img { display: none; }
  .brand-word { display: inline; }
  .brand, .nav.sc .brand { align-self: center; padding-top: 0; }
}

/* Hero : calques photo superposés, fondu croisé au changement de marque */
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hbg {
  position: absolute; inset: 0;
  background-size: cover; background-repeat: no-repeat;
  opacity: 0; transition: opacity .6s ease;
}
.hbg.on { opacity: 1; }
.hbg-bmw { background-image: url("../img/bmw-m2-v1.webp"); background-position: 62% 38%; }
.hbg-mini { background-image: url("../img/mini-noir-v1.webp"); background-position: 55% 62%; }
.hbg-vw { background-image: url("../img/marque-vw-v1.webp"); background-position: 40% 45%; }
.hbg-audi { background-image: url("../img/marque-audi-v1.webp"); background-position: 50% 55%; }
.hbg-seat { background-image: url("../img/marque-seat-v1.webp"); background-position: 42% 55%; }
.hbg-default { background-image: url("../img/band-coding-v1.webp"); background-position: center 45%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,11,13,.96) 0%, rgba(10,11,13,.84) 42%, rgba(10,11,13,.58) 72%, rgba(10,11,13,.9) 100%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.012) 0 2px, transparent 2px 6px);
}
@media (min-width: 760px) {
  .hbg-bmw { background-position: 78% 42%; }
  .hbg-mini { background-position: 70% 55%; }
  .hbg-vw { background-position: 45% 55%; }
  .hbg-audi { background-image: url("../img/marque-audi-v1.webp"); background-position: 50% 55%; }
  .hbg-seat { background-position: 45% 55%; }
  .hbg-default { background-position: center 40%; }
  .hero-bg::after {
    background:
      linear-gradient(92deg, rgba(10,11,13,.97) 28%, rgba(10,11,13,.84) 52%, rgba(10,11,13,.45)),
      repeating-linear-gradient(45deg, rgba(255,255,255,.012) 0 2px, transparent 2px 6px);
  }
}
.hero-in { position: relative; z-index: 1; }

/* Avis : flèches de navigation (desktop), boucle infinie */
.qnav { display: none; }
@media (min-width: 1020px) {
  .quotes-wrap { position: relative; }
  .qnav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    display: grid; place-items: center;
    width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
    background:
      repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px),
      var(--alu);
    box-shadow: 0 10px 26px rgba(0,0,0,.45);
    transition: transform .2s ease;
  }
  .qnav .ic { fill: #14161a; }
  .qnav-prev { left: -16px; }
  .qnav-next { right: -16px; }
  .qnav:hover { transform: translateY(calc(-50% - 3px)); }
  .qnav:focus-visible { outline: 2px solid var(--txt); outline-offset: 3px; }
}

/* Étapes : apparition séquencée : pastille qui clipse, plaque estampée */
.steps li.rev { transition-duration: .55s; }
.steps li:nth-child(2).rev { transition-delay: .14s; }
.steps li:nth-child(3).rev { transition-delay: .28s; }
.steps li:nth-child(4).rev { transition-delay: .42s; }
.steps li::before { transform: scale(0); }
.steps li.in::before { animation: dot-pop .5s cubic-bezier(.3, 1.8, .4, 1) forwards; }
.steps li:nth-child(2).in::before { animation-delay: .14s; }
.steps li:nth-child(3).in::before { animation-delay: .28s; }
.steps li:nth-child(4).in::before { animation-delay: .42s; }
@keyframes dot-pop { to { transform: scale(1); } }
.steps li .step-n { opacity: 0; transform: translateY(8px) scale(1.18); }
.steps li.in .step-n { animation: stamp .5s ease .1s forwards; }
.steps li:nth-child(2).in .step-n { animation-delay: .24s; }
.steps li:nth-child(3).in .step-n { animation-delay: .38s; }
.steps li:nth-child(4).in .step-n { animation-delay: .52s; }
@keyframes stamp { to { opacity: 1; transform: none; } }

/* ============================================================
   V16 : vérificateur de compatibilité
   ============================================================ */

.compat { border-radius: var(--radius); padding: var(--s-3); display: grid; gap: var(--s-3); }
.c-pills { display: flex; flex-wrap: wrap; gap: .55rem; }
.cpill {
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em; color: var(--silver);
  border: 1px solid var(--line-2); border-radius: 99px; padding: .5rem 1.1rem;
  background: rgba(16,18,21,.6); cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.cpill:hover { border-color: var(--silver); color: var(--txt); }
.cpill.on {
  color: #14161a; border-color: transparent;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px),
    var(--alu);
}
.c-selects { display: grid; gap: var(--s-2); }
.c-field { display: grid; gap: .35rem; }
.c-field span { font-size: .82rem; font-weight: 600; color: var(--txt); letter-spacing: .02em; }
.c-field select {
  width: 100%; background: var(--panel); border: 1px solid var(--line-2); border-radius: 9px;
  color: var(--txt); font: inherit; padding: .7rem .85rem; cursor: pointer;
  transition: border-color .2s ease;
}
.c-field select:focus { outline: none; border-color: var(--silver); }
.c-field select:disabled { color: var(--dim); cursor: not-allowed; }
.c-result {
  border-left: 3px solid var(--line-2); border-radius: 6px;
  background: var(--panel); padding: var(--s-2) var(--s-3);
  display: grid; gap: var(--s-2);
}
.c-result.ok { border-left-color: #c6cbd2; }
.c-result.no { border-left-color: #6b4a4a; }
.c-result-t { display: flex; align-items: baseline; gap: .6rem; margin: 0; font-family: var(--f-display); font-weight: 600; color: var(--txt); }
.c-result-t .c-badge {
  flex: none; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em;
  padding: .25rem .6rem; border-radius: 99px; border: 1px solid var(--line-2); color: var(--silver);
}
.c-result.ok .c-badge {
  color: #14161a; border-color: transparent;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px),
    var(--alu);
}
.c-result-p { margin: 0; color: var(--muted); font-size: .95rem; }
.c-result-actions { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.c-result-actions .btn { padding: .7rem 1.2rem; font-size: .88rem; }

@media (min-width: 760px) {
  .c-selects { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   V17 : accès compatibilité dans la nav (voiture)
   ============================================================ */

.compat-link {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; flex: none;
  border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--silver);
  transition: color .2s ease, border-color .2s ease;
}
.compat-link:hover, .compat-link:focus-visible { color: var(--txt); border-color: var(--silver); }
.compat-link .ic { fill: currentColor; }
.compat-link span { display: none; }

@media (min-width: 1220px) {
  .compat-link {
    width: auto; display: inline-flex; align-items: center; gap: .5rem;
    padding: .55rem .95rem;
    font-family: var(--f-display); font-weight: 600; font-size: .85rem;
    white-space: nowrap;
  }
  .compat-link span { display: inline; }
}

/* ============================================================
   V19 : attirer le regard sur le vérificateur (ping + bulle codée)
   ============================================================ */

/* Anneau radar : pulsation argentée jusqu'au premier clic */
.compat-link { position: relative; }
.compat-link::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: inherit; border: 1px solid var(--silver);
  opacity: 0; pointer-events: none;
  animation: compat-ping 3.2s ease-out infinite;
}
@keyframes compat-ping {
  0% { opacity: .55; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.6); }
}
.compat-link.seen::before { animation: none; }

/* Bulle terminal : la phrase se décode sous l'icône */
.compat-hint {
  position: absolute; top: calc(100% + 12px); right: 0;
  display: none; max-width: min(78vw, 330px);
  padding: .55rem .85rem; border-radius: 10px;
  background: rgba(13, 15, 18, .97);
  border: 1px solid var(--line-2);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .05em;
  line-height: 1.5; color: var(--silver); text-align: left; white-space: normal;
}
.compat-hint::before {
  content: ""; position: absolute; top: -5px; right: 16px;
  width: 8px; height: 8px; transform: rotate(45deg);
  background: rgba(13, 15, 18, .97);
  border-left: 1px solid var(--line-2); border-top: 1px solid var(--line-2);
}


/* ============================================================
   V20 : chips d'options dans le résultat de compatibilité
   ============================================================ */

.c-opts-t { margin: .4rem 0 0; font-size: .82rem; font-weight: 600; color: var(--txt); letter-spacing: .02em; }
.c-opts { display: flex; flex-wrap: wrap; gap: .45rem; }
.copt {
  font-family: var(--f-body); font-size: .8rem; color: var(--silver);
  border: 1px solid var(--line-2); border-radius: 99px; padding: .4rem .85rem;
  background: rgba(16, 18, 21, .6); cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.copt:hover { border-color: var(--silver); color: var(--txt); }
.copt.on {
  color: #14161a; border-color: transparent; font-weight: 600;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px),
    var(--alu);
}

/* ============================================================
   V21 : audit : notes tarif, étapes, SEO, modale, parallax
   ============================================================ */

/* Note matériel sous les cartes tarifs */
.price-note { margin: var(--s-3) 0 0; font-size: .8rem; color: var(--dim); max-width: 46rem; }

/* Numérotation des étapes du vérificateur */
.c-step { margin: 0 0 .35rem; font-size: .82rem; font-weight: 600; color: var(--txt); letter-spacing: .02em; }

/* Paragraphe SEO sous le vérificateur */
.c-seo { margin-top: var(--s-3); font-size: .85rem; color: var(--dim); line-height: 1.7; }


/* Parallax du fond hero (piloté en JS, désactivé en reduced-motion) */
.hero-bg { will-change: transform; }

/* ============================================================
   V22 : sélecteur d'options du formulaire, correctif bulle
   ============================================================ */

/* Sélecteur d'options dépliant */
.fsel-btn {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  width: 100%; background: var(--panel); border: 1px solid var(--line-2); border-radius: 9px;
  color: var(--dim); font: inherit; padding: .7rem .85rem; cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.fsel-btn:hover, .fsel-btn:focus-visible { border-color: var(--silver); }
.fsel-btn .ic { fill: var(--dim); transition: transform .25s ease; flex: none; }
.fsel-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.fsel-btn span { text-align: left; }
.field.invalid .fsel-btn { border-color: #c96a6a; }
.fsel-panel[hidden] { display: none; }
.fsel-panel {
  margin-top: .4rem; padding: .35rem;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 9px;
  display: grid; gap: 2px;
}
.fsel-opt {
  display: flex; align-items: center; gap: .65rem;
  padding: .55rem .6rem; border-radius: 7px; cursor: pointer;
  font-size: .92rem; color: var(--silver);
  transition: background-color .15s ease, color .15s ease;
}
.fsel-opt:hover { background: rgba(255,255,255,.05); color: var(--txt); }
.fsel-opt input {
  width: 16px; height: 16px; flex: none; margin: 0;
  accent-color: #c6cbd2; cursor: pointer;
}
.fsel-opt:has(input:checked) { color: var(--txt); font-weight: 600; }
.field label small { font-weight: 400; color: var(--dim); }

@media (min-width: 760px) {
  .fsel-panel { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   V23 : prise de rendez-vous en ligne (Calendly, lien externe)
   ============================================================ */
/* Bouton "Réserver un créneau" : visible sans écraser l'appel */
/* Lien de réservation dans la trust bar */
.trust-link {
  color: var(--silver); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-color: rgba(198,203,210,.45);
  transition: color .2s ease, text-decoration-color .2s ease;
}
.trust-link:hover { color: var(--txt); text-decoration-color: currentColor; }

.btn-rdv {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
  border: 1px solid rgba(214,219,226,.55);
  color: var(--txt);
  box-shadow: 0 6px 22px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.14);
}
.btn-rdv:hover {
  border-color: rgba(236,240,245,.85);
  background: linear-gradient(160deg, rgba(255,255,255,.2), rgba(255,255,255,.08));
  transform: translateY(-2px);
}
.btn-rdv .ic-cal { fill: currentColor; }

/* Pastille flottante "Réserver" */
.fab-rdv { background: linear-gradient(160deg, #e8ebef, #b9bfc8); }
.fab-rdv .ic-fab { fill: #0d0e11; }

@media (prefers-reduced-motion: reduce) {
  .btn-rdv:hover { transform: none; }
}

.rdv-card {
  margin-top: var(--s-3);
  padding: var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  display: grid; gap: var(--s-2);
}
.rdv-card-h { display: flex; align-items: center; gap: .6rem; margin: 0; }
.rdv-card-h .ic { width: 20px; height: 20px; fill: var(--silver); flex: none; }
.rdv-card-h strong { font-family: var(--f-display); font-size: 1.05rem; color: var(--txt); font-weight: 600; }
.rdv-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.rdv-card .btn { justify-self: start; }
.rdv-note { color: var(--dim); font-size: .84rem; }
.btn .ic-cal { width: 17px; height: 17px; fill: currentColor; }

/* ============================================================
   V24 (26/09/2026) : reprogrammation moteur, signature KINONE,
   polices WOFF2, socle CSS/JS externe
   ============================================================ */

/* Accent braise, prélevé sur la plaquette reprog du client (#e05010 / #f07010) */
:root {
  --ember: #f0701a;
  --grad-ember: linear-gradient(160deg, #ffb36b 0%, #f0701a 55%, #d9480f 100%);
}

/* Hero : le mot « Nouveau » dans le surtitre, sans ligne supplémentaire sur ordinateur */
.hero-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; }
.hero-new {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--f-body); font-size: .8rem; font-weight: 500;
  letter-spacing: .02em; text-transform: none; color: var(--txt);
  padding: .22rem .75rem .22rem .28rem;
  border: 1px solid rgba(240,112,26,.45); border-radius: 99px;
  transition: border-color .2s ease, background-color .2s ease;
}
.hero-new:hover, .hero-new:focus-visible { border-color: var(--ember); background: rgba(240,112,26,.09); }
.hero-new b {
  font-family: var(--f-mono); font-size: .6rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: #14161a;
  background: var(--grad-ember); border-radius: 99px; padding: .22rem .5rem;
}

/* ---------- Section reprog : photo voilée en oblique, liste à filets ---------- */
.reprog { position: relative; overflow: hidden; border-block: 1px solid var(--line); }
.reprog-bg {
  position: absolute; inset: 0;
  background: url("../img/bmw-m2-v1.webp") 70% 45% / cover no-repeat;
}
.reprog-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,11,13,.97) 0%, rgba(10,11,13,.88) 55%, rgba(10,11,13,.82) 100%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.012) 0 2px, transparent 2px 6px);
}
.reprog-in { position: relative; z-index: 1; display: grid; gap: var(--s-4); }
.reprog-eyebrow { display: flex; align-items: center; gap: .7rem; color: var(--silver); }
.tag-new {
  font-family: var(--f-mono); font-size: .62rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: #14161a;
  background: var(--grad-ember); border-radius: 99px; padding: .3rem .62rem;
  box-shadow: 0 1px 0 rgba(255,255,255,.28) inset, 0 12px 28px -10px rgba(240,112,26,.65);
}
.reprog h2 em {
  font-style: normal;
  background: var(--grad-ember); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.reprog .sec-sub { margin-bottom: var(--s-3); }
.reprog-plus { display: grid; gap: .5rem; margin: 0 0 var(--s-3); }
.reprog-plus li { position: relative; padding-left: 1.5rem; color: var(--silver); font-size: .95rem; }
.reprog-plus li::before {
  content: ""; position: absolute; left: .1rem; top: .48em; width: .6rem; height: .34rem;
  border-left: 2px solid var(--ember); border-bottom: 2px solid var(--ember); transform: rotate(-45deg);
}
.reprog-cta { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.btn-ember {
  background: var(--grad-ember); color: #14161a;
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 8px 24px rgba(0,0,0,.45), 0 26px 54px -22px rgba(240,112,26,.6);
}
.btn-ember:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 12px 28px rgba(0,0,0,.55), 0 30px 60px -22px rgba(240,112,26,.7); }
.btn-ember .ic { fill: #14161a; }

.reprog-panel { display: grid; gap: var(--s-2); }
.reprog-list {
  border-radius: var(--radius); overflow: hidden;
  background: rgba(12,13,16,.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line-2);
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 34px 70px -24px rgba(0,0,0,.8);
}
.reprog-row {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s-2);
  padding: 1rem 2.6rem 1rem 1.1rem; border-top: 1px solid var(--line);
  transition: background-color .2s ease;
}
.reprog-row:first-child { border-top: 0; }
.reprog-row:hover, .reprog-row:focus-within { background: rgba(255,255,255,.045); }
.reprog-n { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; color: var(--ember); min-width: 2ch; }
.reprog-row h3 { font-size: 1.02rem; margin: 0 0 .1rem; }
.reprog-row p { margin: 0; color: var(--muted); font-size: .86rem; }
.reprog-devis {
  font-family: var(--f-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--silver); border: 1px solid var(--line-2); border-radius: 99px; padding: .3rem .6rem; white-space: nowrap;
}
.reprog-row .prest-arrow { right: 14px; bottom: auto; top: 50%; transform: translateY(-50%); }
.reprog-row:hover .prest-arrow, .reprog-row:focus-within .prest-arrow { stroke: var(--ember); transform: translate(2px, calc(-50% - 2px)); }
.reprog-legal { margin: 0; padding: 0 .3rem; font-size: .78rem; color: var(--dim); line-height: 1.6; }

@media (max-width: 599px) {
  .reprog-devis { display: none; }
  .reprog-row { padding-right: 2.4rem; }
}
@media (min-width: 760px) {
  .reprog-bg { background-position: 72% 42%; }
  .reprog-bg::after {
    background:
      linear-gradient(105deg, rgba(10,11,13,.97) 0%, rgba(10,11,13,.92) 40%, rgba(10,11,13,.62) 74%, rgba(10,11,13,.72) 100%),
      repeating-linear-gradient(45deg, rgba(255,255,255,.012) 0 2px, transparent 2px 6px);
  }
  .reprog-plus { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1020px) {
  .reprog-in { grid-template-columns: 1.02fr .98fr; align-items: center; gap: var(--s-5); }
}

/* Formulaire : deux groupes de cases (codage, reprog) */
.fsel-grp {
  grid-column: 1 / -1; margin: .35rem 0 .05rem; padding: 0 .6rem;
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim);
}
.fsel-grp:first-child { margin-top: .15rem; }

/* Compatibilité : second groupe de puces (reprog) */
.c-opts + .c-opts-t { margin-top: .6rem; }

/* Signature KINONE, barre du bas de chaque page (socle des trois formules) */
.footer-legal .pied-kinone {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8rem; line-height: 1; color: var(--dim); white-space: nowrap;
  padding-block: .95rem; margin-block: -.95rem;
  transition: color .25s ease;
}
.footer-legal .pied-kinone img { height: 1.05em; width: auto; display: block; opacity: .7; transition: opacity .25s ease; }
.footer-legal .pied-kinone:hover, .footer-legal .pied-kinone:focus-visible { color: var(--txt); }
.footer-legal .pied-kinone:hover img, .footer-legal .pied-kinone:focus-visible img { opacity: 1; }
.footer-legal .pied-kinone::after { content: none; }

/* Pages courtes (merci, 404) : pied de page en bas de l'écran */
.merci { min-height: calc(100svh - 80px); }

@media (prefers-reduced-motion: reduce) {
  .btn-ember:hover { transform: none; }
}

/* ============================================================
   V25 (26/09/2026) : mini refonte one page. Barre a quatre entrees,
   heros sans pilules, sections reordonnees, recherche et bulle retirees.
   ============================================================ */
.compat-link::before { content: none; animation: none; }
.hbg { transition: opacity 1.2s ease; }
.hero-txt .hero-new { margin-top: var(--s-3); }
.hero-marque {
  margin: var(--s-3) 0 0; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em;
  color: var(--dim);
}
.hero-marque span { color: var(--silver); }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
@media (min-width: 1020px) {
  .footer-in { grid-template-columns: 1.5fr 1fr 1.2fr; }
  .nav-links { gap: var(--s-4); }
  .nav-links a { font-size: .95rem; }
}

/* Premier ecran dans une fenetre basse (720 px ordinateur, 640 px telephone) */
.hero { padding: calc(var(--nav-h) + var(--s-3)) 0 var(--s-4); }
h1 { font-size: clamp(1.85rem, 4.6vw, 2.75rem); }
.hero-sub { font-size: 1rem; }
.hero-cta { margin: var(--s-2) 0 0; }
.hero-txt .hero-new { margin-top: var(--s-2); }
.hero-marque { margin-top: var(--s-2); }
.brand-img { height: 84px; }
.mmenu { padding-top: 120px; }
@media (min-width: 1020px) {
  .hero-in { gap: var(--s-4); }
  .hero-card { max-width: 440px; justify-self: end; }
  .term { max-width: 440px; width: 100%; justify-self: end; }
  .term-body { height: 9.6em; font-size: .74rem; }
}

/* Telephone : les prestations en lignes compactes, photo a gauche */
@media (max-width: 599px) {
  .prest { display: grid; grid-template-columns: 92px 1fr; column-gap: .85rem; row-gap: .15rem; padding: .85rem; align-items: start; }
  .prest-img { margin: 0; grid-row: 1 / 3; aspect-ratio: 1 / 1; border-radius: 10px; }
  .prest h3 { margin: 0; font-size: 1rem; }
  .prest p { font-size: .84rem; padding-right: 18px; }
  .prest-arrow { right: 10px; bottom: 10px; }
}

/* Telephone : premier ecran plus court */
@media (max-width: 599px) {
  .hero { padding-top: calc(var(--nav-h) + var(--s-2)); }
  h1 { font-size: 1.75rem; }
  .hero-sub { font-size: .95rem; }
  .hero-cta .btn { padding: .75rem 1.2rem; }
}
@media (min-width: 1200px) { .term-body { height: 11.2em; } }

/* Matiere sous les sections plates : photo voilee, jamais un aplat */
#prestations, #compatibilite, #contact { position: relative; }
#prestations::before, #compatibilite::before, #contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-size: cover; background-repeat: no-repeat;
  opacity: .16;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}
#prestations::before { background-image: url("../img/supra-v1.webp"); background-position: 50% 30%; }
#compatibilite::before { background-image: url("../img/marque-audi-v1.webp"); background-position: 50% 55%; opacity: .12; }
#contact::before { background-image: url("../img/marque-vw-v1.webp"); background-position: 50% 50%; opacity: .12; }
#prestations > .sec-in, #compatibilite > .sec-in, #contact > .sec-in { position: relative; }

/* ============================================================
   V26 : trois offres lisibles, accent braise sur toute la page
   ============================================================ */
.eyebrow { color: var(--ember); }
.hero h1 em {
  background: linear-gradient(110deg, #d9480f 0%, #ffb36b 22%, #f0701a 44%, #d9480f 100%);
  background-size: 250% 100%;
}
.prest::before { background: var(--grad-ember); }
.price li::before, .reprog-plus li::before { border-color: var(--ember); }
.faq[open] summary .ic { fill: var(--ember); }
.c-result.ok { border-left-color: var(--ember); }
.c-result.ok .c-badge, .cpill.on, .copt.on, .marq-btn.on { background: var(--grad-ember); color: #14161a; }
.prest:hover .prest-arrow, .prest:focus-within .prest-arrow { stroke: var(--ember); }
.footer::before { background: linear-gradient(90deg, #d9480f, #f0701a 35%, #ffb36b 55%, #b9bfc8 80%, #6d737d); }
.fab-wa { background: linear-gradient(160deg, #35d26f, #1da851); }
.brand-dot { color: var(--ember); }
.step-n, .phone-tap-pill { background: var(--grad-ember); }

/* Bloc des trois offres : trois colonnes a filets, sous les chiffres */
.offres { background: var(--bg); border-bottom: 1px solid var(--line); }
.offres-in { max-width: var(--wrap); margin: 0 auto; padding: var(--s-4) var(--s-3); display: grid; gap: 0; }
.offre {
  position: relative; display: grid; gap: .45rem; align-content: start;
  padding: var(--s-3) var(--s-2); border-top: 1px solid var(--line);
  color: var(--txt); transition: background-color .25s ease;
}
.offre:first-child { border-top: 0; }
.offre:hover, .offre:focus-visible { background: rgba(255,255,255,.035); }
.offre-n { margin: 0; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; color: var(--ember); }
.offre h2 { font-size: 1.35rem; margin: 0; }
.offre h2::after { content: none; }
.offre-p { margin: 0; color: var(--muted); font-size: .92rem; }
.offre-prix { margin: .2rem 0 0; font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; color: var(--txt); }
.offre-ember .offre-prix { background: var(--grad-ember); -webkit-background-clip: text; background-clip: text; color: transparent; }
.offre-lien {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .3rem;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--silver);
}
.offre-lien .prest-arrow { position: static; width: 14px; height: 14px; stroke: var(--silver); transform: none; }
.offre:hover .offre-lien, .offre:hover .offre-lien .prest-arrow { color: var(--ember); stroke: var(--ember); }
.offre:hover .offre-lien .prest-arrow { transform: translate(2px, -2px); }
.offre.rev:nth-child(2) { transition-delay: .12s; }
.offre.rev:nth-child(3) { transition-delay: .24s; }
@media (min-width: 760px) {
  .offres-in { grid-template-columns: repeat(3, 1fr); }
  .offre { border-top: 0; border-left: 1px solid var(--line); padding: var(--s-2) var(--s-3); }
  .offre:first-child { border-left: 0; padding-left: 0; }
}

/* Prestations : separateur pose et installation */
.prest-sep { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.prest-sep h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin-bottom: .6rem; }
.prest-sep .sec-sub { margin-bottom: var(--s-3); }
@media (min-width: 1020px) { .prest-grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* Le mot en braise du titre : le raccourci background avait annule le decoupage sur le texte */
.hero h1 em { -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Dix cartes de codage : deux rangees de cinq sur grand ecran, jamais une carte orpheline */
@media (min-width: 1200px) {
  .prest-grid:not(.prest-grid-3) { grid-template-columns: repeat(5, 1fr); }
  .prest-grid:not(.prest-grid-3) .prest { padding: var(--s-2); }
  .prest-grid:not(.prest-grid-3) .prest-img { margin: calc(-1 * var(--s-2)) calc(-1 * var(--s-2)) var(--s-2); }
  .prest-grid:not(.prest-grid-3) .prest h3 { font-size: 1rem; }
  .prest-grid:not(.prest-grid-3) .prest p { font-size: .86rem; }
}
