/* Layout : hero sombre "cuir et laiton" avec le K du logo et des bandes de vitesse (couleurs du logo), sections claires chaudes sur une colonne de 72rem */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #f6efe4;        /* ivoire chaud */
  --surface: #fffaf2;
  --ink: #2a1a12;          /* brun cuir profond */
  --muted: #6e5546;
  --line: #e0cfb8;
  --leather: #3a2217;      /* fond hero */
  --leather-2: #22130c;
  --gold: #c9a24a;
  --gold-2: #e8c877;
  --gold-ink: #1d1304;
  --wine: #7a1f2e;
  --navy: #1f3a8a;
  --green: #1f6b43;
  --accent: #8a2433;       /* bordeaux, CTA */
  --accent-ink: #fff6ea;
  --todo-bg: #fff1c7; --todo-ink: #6b4a00;
  --ok: #1f6b43; --err: #b42318;
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 72rem; --radius: 8px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1b100b; --surface: #26170f; --ink: #f3e8d8; --muted: #c2a992; --line: #43302a;
    --leather: #2a170f; --leather-2: #160c07; --accent: #d9a655; --accent-ink: #1d1304;
    --todo-bg: #3a2e0c; --todo-ink: #f6d77c; --ok: #6fcf9a; --err: #f08b80; --green: #4fae78; --navy: #7f9cf0;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #1b100b; --surface: #26170f; --ink: #f3e8d8; --muted: #c2a992; --line: #43302a;
  --leather: #2a170f; --leather-2: #160c07; --accent: #d9a655; --accent-ink: #1d1304;
  --todo-bg: #3a2e0c; --todo-ink: #f6d77c; --ok: #6fcf9a; --err: #f08b80; --green: #4fae78; --navy: #7f9cf0;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
section[id], .done, form.request, h2[id] { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }

h1, h2, h3 { font-family: var(--display); font-stretch: 78%; line-height: 1.05; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); font-weight: 850; text-transform: uppercase; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.25rem; font-weight: 750; font-stretch: 85%; }
.eyebrow { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0; display: flex; align-items: center; gap: 0.6rem; }
.eyebrow::before { content: ""; width: 1.6rem; height: 3px; background: linear-gradient(90deg, var(--wine), var(--gold), var(--green)); border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36rem; margin: 0; }
.mono { font-family: var(--mono); }
mark.todo { background: var(--todo-bg); color: var(--todo-ink); padding: 0 0.3em; border-radius: 3px; font-weight: 600; }

/* Bandes de vitesse (motif signature, couleurs du logo) */
.stripes { display: block; height: 6px; background: linear-gradient(90deg, var(--gold) 0 30%, var(--wine) 30% 52%, var(--navy) 52% 74%, var(--green) 74% 100%); }

/* En-tête */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--leather-2); color: #f3e8d8; border-bottom: 1px solid rgba(201,162,74,.35); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: #f3e8d8; line-height: 1; }
.brand img { width: 40px; height: 40px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(201,162,74,.5); }
.brand b { font-family: var(--display); font-weight: 900; font-stretch: 70%; font-size: 1.35rem; letter-spacing: 0.05em; color: var(--gold-2); display: block; }
.brand span { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.24em; color: #d8c3a5; display: block; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: #f3e8d8; text-decoration: none; font-weight: 550; font-size: 0.95rem; }
.nav a:hover { color: var(--gold-2); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.4rem; border-radius: var(--radius); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--body); transition: transform .12s ease, background .12s ease, box-shadow .12s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px -8px var(--accent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 85%, var(--gold)); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--gold-ink); box-shadow: 0 8px 22px -10px var(--gold); }
.btn-gold:hover { filter: brightness(1.06); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-outline { border-color: rgba(232,200,119,.6); color: #f3e8d8; background: transparent; }
.btn-outline:hover { border-color: var(--gold-2); color: var(--gold-2); }
.nav .btn { padding: 0.55rem 1rem; font-size: 0.92rem; }

/* Hero cuir */
.hero { position: relative; color: #f3e8d8; background: radial-gradient(120% 90% at 20% 0%, #5a3522 0%, var(--leather) 45%, var(--leather-2) 100%); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.2px); background-size: 7px 7px; }
.hero-lines { position: absolute; z-index: -1; right: -24%; top: -10%; width: 62%; height: 130%; transform: skewX(-18deg); pointer-events: none; }
.hero-lines i { position: absolute; top: 0; bottom: 0; width: 14px; opacity: .85; }
.hero-lines i:nth-child(1) { left: 18%; background: var(--gold); width: 22px; box-shadow: 0 0 40px rgba(201,162,74,.35); }
.hero-lines i:nth-child(2) { left: 26%; background: var(--wine); }
.hero-lines i:nth-child(3) { left: 33%; background: var(--navy); }
.hero-lines i:nth-child(4) { left: 40%; background: var(--green); }
.hero-lines i:nth-child(5) { left: 48%; background: var(--gold); width: 4px; opacity: .6; }
.hero-lines i { animation: sweep 1.1s cubic-bezier(.2,.7,.2,1) both; }
.hero-lines i:nth-child(2) { animation-delay: .08s } .hero-lines i:nth-child(3) { animation-delay: .16s } .hero-lines i:nth-child(4) { animation-delay: .24s } .hero-lines i:nth-child(5) { animation-delay: .32s }
@keyframes sweep { from { transform: translateY(-110%); } to { transform: translateY(0); } }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero-text { display: grid; gap: 1.5rem; min-width: 0; }
.hero .eyebrow { color: var(--gold-2); }
.hero h1 { color: #fff6ea; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(100deg, var(--gold-2), var(--gold) 60%, #a37d2a); -webkit-background-clip: text; background-clip: text; }
.hero .lead { color: #e2cfb6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-zones { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 0; padding: 0; list-style: none; font-size: 0.92rem; color: #d8c3a5; }
.hero-zones li { display: flex; align-items: center; gap: .45rem; }
.hero-zones li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero-lines { width: 90%; right: -55%; opacity: .3; } }

/* Plaque laiton : fiche pièce */
.plate-wrap { position: relative; min-width: 0; display: grid; gap: .8rem; justify-items: end; }
.plate { position: relative; width: 100%; max-width: 30rem; background: linear-gradient(160deg, #f1d990 0%, #d9b85c 35%, #c19a3b 70%, #e4c77a 100%); color: var(--gold-ink); border-radius: 12px; padding: 1.4rem 1.5rem 1.3rem; box-shadow: 0 30px 50px -25px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 0 rgba(0,0,0,.25); transform: rotate(-1.5deg); }
.plate::before, .plate::after { content: ""; position: absolute; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff2c4, #8a6a1e); box-shadow: inset 0 0 0 1px rgba(0,0,0,.35); top: 10px; }
.plate::before { left: 10px; } .plate::after { right: 10px; }
.plate-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 2px solid rgba(29,19,4,.5); padding-bottom: .55rem; margin-bottom: .7rem; }
.plate-head b { font-family: var(--display); font-weight: 900; font-stretch: 70%; font-size: 1.25rem; letter-spacing: .05em; }
.plate-head span { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; opacity: .75; }
.plate-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; }
.plate dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .3rem .9rem; margin: 0; font-family: var(--mono); font-size: .8rem; }
.plate dt { opacity: .7; text-transform: uppercase; letter-spacing: .04em; font-size: .68rem; padding-top: .14rem; }
.plate dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.plate svg { width: 92px; height: auto; flex: none; }
.plate .status { display: inline-block; margin-top: .9rem; padding: .25rem .6rem; border: 2px solid rgba(29,19,4,.6); border-radius: 4px; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; background: rgba(255,255,255,.25); }
.plate-note { margin: 0; font-size: .82rem; color: #d8c3a5; text-align: right; max-width: 30rem; }
@media (max-width: 860px) { .plate-wrap { justify-items: start; } .plate { max-width: 100%; } .plate-note { text-align: left; } }

/* Sections */
.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 0.7rem; margin-bottom: 2.2rem; max-width: 46rem; }
.section-alt { background: var(--surface); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 0.5rem; align-content: start; padding: 1.2rem 1.2rem 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); position: relative; overflow: hidden; }
.steps li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--gold), var(--wine)); }
.steps li:nth-child(2)::after { background: linear-gradient(90deg, var(--wine), var(--navy)); }
.steps li:nth-child(3)::after { background: linear-gradient(90deg, var(--navy), var(--green)); }
.steps li:nth-child(4)::after { background: linear-gradient(90deg, var(--green), var(--gold)); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--display); font-weight: 900; font-stretch: 70%; font-size: 2.4rem; line-height: 1; color: var(--gold); }
.steps p { margin: 0; color: var(--muted); font-size: 0.97rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cats div { padding: 1.2rem 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .3rem 1rem; align-items: start; }
.cats svg { width: 44px; height: 44px; grid-row: span 2; color: var(--accent); }
.cats h3 { align-self: end; }
.cats p { margin: 0; color: var(--muted); font-size: 0.93rem; }
@media (max-width: 760px) { .cats { grid-template-columns: minmax(0, 1fr); } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.points { display: grid; gap: 1.2rem; margin: 0; padding: 0; list-style: none; }
.points li { display: grid; gap: 0.2rem; padding-left: 1.2rem; border-left: 4px solid var(--gold); }
.points p { margin: 0; color: var(--muted); }

.dest { display: grid; gap: 1rem; }
.dest-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; display: grid; gap: 0.4rem; }
.dest-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.dest-card .eyebrow::before { display: none; }
.dest-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }
.dest-chips span { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; padding: .2rem .55rem; border-radius: 999px; background: color-mix(in srgb, var(--gold) 22%, var(--surface)); color: var(--ink); }

/* Formulaire */
.form-shell { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .form-shell { grid-template-columns: minmax(0, 1fr); } }
.form-aside { display: grid; gap: 1rem; }
.form-aside .hint { background: var(--surface); border: 1px dashed var(--gold); border-radius: var(--radius); padding: 1rem 1.2rem; font-size: 0.93rem; color: var(--muted); }
.form-aside .hint b { color: var(--ink); }
form.request { background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--gold); border-radius: 10px; padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: 1.6rem; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 1rem; min-width: 0; }
legend { font-family: var(--display); font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.03em; padding: 0 0 0.6rem; border-bottom: 1px solid var(--line); width: 100%; margin-bottom: 0.4rem; color: var(--accent); }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
@media (max-width: 560px) { .row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: 0.92rem; }
.field small { color: var(--muted); font-size: 0.82rem; }
.req { color: var(--err); }
input, select, textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 0.7rem 0.8rem; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 30%, transparent); }
input.mono { font-family: var(--mono); letter-spacing: 0.04em; text-transform: uppercase; }
textarea { min-height: 6rem; resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choices label { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.85rem; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 500; font-size: 0.93rem; background: var(--paper); }
.choices input { width: auto; accent-color: var(--accent); margin: 0; }
.choices label:has(input:checked) { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 22%, var(--paper)); }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.consent input { width: auto; margin-top: 0.25rem; accent-color: var(--accent); }
.error { color: var(--err); font-size: 0.85rem; font-weight: 600; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.form-foot small { color: var(--muted); max-width: 26rem; }

.done { background: var(--surface); border: 2px solid var(--ok); border-radius: 10px; padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: 1rem; }
.done h3 { color: var(--ok); }
.done pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--mono); font-size: 0.82rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; max-height: 18rem; overflow: auto; }
.done .actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.done p { margin: 0; color: var(--muted); }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--gold); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 0.7rem 0 0; color: var(--muted); max-width: 46rem; }

/* Pied de page */
.site-footer { background: var(--leather-2); color: #f3e8d8; padding-block: 3rem 2rem; }
.site-footer .wrap { display: grid; gap: 2rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer a { color: #f3e8d8; }
.site-footer p, .site-footer li { margin: 0; font-size: 0.9rem; opacity: 0.85; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.site-footer h3 { font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.7rem; font-stretch: 80%; color: var(--gold-2); }
.foot-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: .6rem; }
.foot-brand img { width: 48px; height: 48px; border-radius: 6px; }
.foot-legal { border-top: 1px solid rgba(201,162,74,.3); padding-top: 1.2rem; font-family: var(--mono); font-size: 0.75rem; opacity: 0.7; }

/* Pages légales */
.legal { padding-block: clamp(2.5rem, 6vw, 4rem); }
.legal .wrap { max-width: 50rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.6rem; }
.legal h2 { font-size: 1.35rem; margin: 2.2rem 0 0.7rem; font-stretch: 85%; color: var(--accent); }
.legal p, .legal li { color: var(--ink); max-width: 46rem; }
.legal .updated { color: var(--muted); font-family: var(--mono); font-size: 0.8rem; }
.legal table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.legal td { border-bottom: 1px solid var(--line); padding: 0.55rem 0.8rem 0.55rem 0; vertical-align: top; }
.legal td:first-child { color: var(--muted); width: 38%; }
.legal .box { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 1rem 1.2rem; }
.table-scroll { overflow-x: auto; }
.back { display: inline-block; margin-bottom: 1.5rem; font-weight: 600; text-decoration: none; }

/* Hero visuel : voiture + mini plaque */
.hero-visual { position: relative; min-width: 0; display: grid; gap: 1rem; }
.hero-visual .car { width: 100%; height: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,.5)); }
.plate-mini { transform: rotate(-1.2deg); max-width: 24rem; justify-self: end; margin-top: -2.5rem; padding: 1rem 1.2rem 1rem; }
.plate-mini dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .3rem .9rem; margin: 0; font-family: var(--mono); font-size: .78rem; }
.plate-mini dt { opacity: .7; text-transform: uppercase; letter-spacing: .04em; font-size: .66rem; padding-top: .14rem; }
.plate-mini dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 860px) { .plate-mini { justify-self: start; margin-top: -1rem; } }
/* Galerie de pièces */
.parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-content: start; }
.parts figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem .8rem .9rem; display: grid; justify-items: center; gap: .5rem; color: var(--accent); }
.parts svg { width: 72px; height: 72px; }
.parts figcaption { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: center; }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .parts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Hero photo */
.hero { background: #0b0c16; }
.hero::before { display: none; }
.hero-img { position: absolute; z-index: -2; top: 0; right: 0; height: 100%; width: 78%; object-fit: cover; object-position: right center; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #0b0c16 0%, #0b0c16 26%, rgba(11,12,22,.78) 42%, rgba(11,12,22,.15) 62%, rgba(11,12,22,0) 75%), linear-gradient(0deg, rgba(11,12,22,.55), rgba(11,12,22,0) 30%); }
.hero .wrap { grid-template-columns: minmax(0, 36rem); min-height: clamp(30rem, 44vw, 40rem); padding-block: clamp(3rem, 6vw, 5rem); }
.hero .lead { color: #e9dcc8; }
@media (max-width: 860px) {
  .hero .wrap { min-height: 0; padding-block: 2.5rem 1.5rem; }
  .hero-img { position: static; width: 100%; height: auto; aspect-ratio: 16 / 10; object-position: 78% center; display: block; }
  .hero::after { display: none; }
  .hero-img { order: 2; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%); margin-top: -1rem; }
  .hero { display: flex; flex-direction: column; }
}

.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.why div { display: grid; gap: .3rem; padding-left: 1rem; border-left: 4px solid var(--gold); align-content: start; }
.why p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .why { grid-template-columns: minmax(0, 1fr); } }

.pro-link { color: var(--gold-2); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(232,200,119,.5); justify-self: start; padding-bottom: 2px; }
.pro-link:hover { color: #fff6ea; }
.section-pro { background: linear-gradient(160deg, #2a1810, #170d08); color: #f3e8d8; }
.section-pro .lead, .section-pro .hint { color: #e2cfb6; }
.section-pro h2 { color: #fff6ea; }
.section-pro .eyebrow { color: var(--gold-2); }
.section-pro .hint { background: rgba(255,255,255,.04); border-color: rgba(201,162,74,.6); }
.section-pro form.request, .section-pro .done { color: var(--ink); }
.pro-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.pro-perks li { display: block; padding-left: 1.5rem; text-indent: -1.5rem; }
.pro-perks li::before { content: "✓"; display: inline-block; width: 1.5rem; text-indent: 0; color: var(--gold-2); font-weight: 700; }
.pro-perks b { color: var(--gold-2); }

/* Logo KARULYA AUTO SOURCING : fond noir du logo */
.site-header, .site-footer { background: #0e0f13; }
.brand img { width: 50px; height: 50px; border-radius: 6px; box-shadow: none; }
.foot-brand img { width: 156px; height: auto; border-radius: 0; }
.section-pro { background: linear-gradient(160deg, #1a1612, #0e0f13); }

/* Réparation électronique */
.section-repair { background: var(--surface); border-top: 1px solid var(--line); }
.repair { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.repair .section-head { gap: 1rem; }
.repair-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; counter-reset: r; }
.repair-steps li { counter-increment: r; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .1rem 1rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.repair-steps li::before { content: counter(r); grid-row: span 2; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 900; color: var(--gold-ink); background: linear-gradient(135deg, var(--gold-2), var(--gold)); }
.repair-steps span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .repair { grid-template-columns: minmax(0, 1fr); } }

.repair .exchange { grid-column: 1 / -1; }
.exchange { margin-top: 1rem; padding: clamp(1.2rem, 3vw, 2rem); border-radius: 12px; background: linear-gradient(160deg, #1a1612, #0e0f13); color: #f3e8d8; display: grid; gap: 1.3rem; }
.exchange .eyebrow { color: var(--gold-2); }
.exchange h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: #fff6ea; text-transform: uppercase; font-stretch: 80%; }
.exchange-head { display: grid; gap: .6rem; max-width: 50rem; }
.exchange-head p { margin: 0; color: #e2cfb6; }
.exchange-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.exchange-opts div { border: 1px solid rgba(201,162,74,.45); border-radius: var(--radius); padding: 1rem 1.2rem; display: grid; gap: .3rem; align-content: start; }
.exchange-opts b { color: var(--gold-2); }
.exchange-opts p { margin: 0; color: #e2cfb6; font-size: .95rem; }
.exchange .btn { justify-self: start; }
@media (max-width: 700px) { .exchange-opts { grid-template-columns: minmax(0, 1fr); } }

.tel-group { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem; }
.tel-group select { width: auto; max-width: 11.5rem; padding-right: .4rem; }
@media (max-width: 420px) { .tel-group select { max-width: 8.5rem; font-size: .9rem; } }
