/* ==========================================================================
   Car & Sound Courrendlin — VERSION 3 · affiche suisse
   Blanc, rouge, noir. Grille stricte, traits noirs, angles droits,
   typographie géante. Navigation dans une colonne noire fixe à gauche.
   ========================================================================== */

:root {
  --bg: #FFFFFF;
  --s1: #F1F1EF;
  --s2: #E4E4E0;
  --line: #D4D4CF;
  --line-2: #0B0B0B;
  --fg: #0B0B0B;
  --fg-2: #2B2B2A;
  --mut: #5C5C58;
  --neon: #DA0A1C;
  --red: #DA0A1C;
  --red-hover: #B00716;
  --ok: #0E8A4A;
  --black: #0B0B0B;
  --display: 'Hanken Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --body: 'Hanken Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'DM Mono', ui-monospace, Menlo, Consolas, monospace;
  --radius: 0px;
  --wrap: 1320px;
  --side: 280px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--fg); text-underline-offset: 3px; }
a:hover { color: var(--neon); }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.section { padding-block: 104px; }
.section--tight { padding-block: 72px; }
.section--alt { background: var(--s1); border-block: 1px solid var(--line); }

/* ---------- Typo ---------- */
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--neon); }
.h-display {
  font-family: var(--display); font-stretch: 112%; font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.015em; line-height: 0.95;
}
.h1 { font-size: clamp(42px, 6.6vw, 96px); }
.h2 { font-size: clamp(34px, 4.4vw, 56px); }
.h3 { font-size: clamp(24px, 2.4vw, 30px); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--fg-2); max-width: 36em; }
.muted { color: var(--mut); }
.mono { font-family: var(--mono); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.sec-head > div { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 0 0 0 rgba(255,52,70,0); }
.btn--red:hover { background: var(--red-hover); color: #fff; box-shadow: 0 0 28px rgba(255,52,70,.35); }
.btn--ghost { border-color: var(--line-2); color: var(--fg); background: transparent; }
.btn--ghost:hover { border-color: var(--neon); color: var(--fg); }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,12,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { height: 56px; width: auto; filter: drop-shadow(0 0 10px rgba(255,52,70,.35)); }
.nav { display: flex; gap: 6px; flex: 1; justify-content: center; }
.nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--fg-2); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--fg); background: var(--s2); }
.nav a[aria-current="page"] { color: var(--fg); background: var(--s2); box-shadow: inset 0 -2px 0 var(--neon); }
.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.lang { display: flex; gap: 2px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }
.lang a, .lang span { padding: 8px 6px; text-decoration: none; color: var(--mut); }
.lang [aria-current] { color: var(--fg); }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--fg); cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; }

/* ---------- Badge ouvert / fermé ---------- */
.status { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px 8px 12px; font-size: 14px; background: rgba(18,18,21,.7); }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mut); flex: none; }
.status[data-open="true"] .status__dot { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.status[data-open="false"] .status__dot { background: var(--neon); box-shadow: 0 0 10px var(--neon); }
.status b { font-weight: 600; }
.status span.muted { color: var(--mut); }

/* ---------- Photos (hébergées sur car-sound.ch) ---------- */
.photo { position: relative; overflow: hidden; background: repeating-linear-gradient(135deg, #17171B 0 12px, #121215 12px 24px); border-radius: var(--radius); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .4s; }
.photo.img-missing img { opacity: 0; }
.photo.img-missing::after { content: "Photo à venir"; position: absolute; inset: auto 14px 12px; font: 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(10,10,12,.97) 0%, rgba(10,10,12,.85) 45%, rgba(10,10,12,.35) 100%),
  linear-gradient(0deg, rgba(10,10,12,1) 0%, rgba(10,10,12,0) 40%); }
.hero .wrap { padding-block: 96px 150px; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.hero h1 .neon { color: var(--neon); text-shadow: 0 0 24px rgba(255,52,70,.45); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 44px; flex-wrap: wrap; margin-top: 10px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat b { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 36px; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.spectrum { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; display: flex; align-items: flex-end; gap: 4px; padding-inline: var(--gutter); z-index: -1; pointer-events: none; }
.spectrum span { flex: 1 1 0; background: var(--line); border-radius: 1px 1px 0 0; transform-origin: bottom; }
.spectrum span.hot { background: var(--neon); box-shadow: 0 0 10px rgba(255,52,70,.6); }
@media (prefers-reduced-motion: no-preference) {
  .spectrum span { animation: eq 1.6s ease-in-out infinite alternate; }
}
@keyframes eq { from { transform: scaleY(.55); } to { transform: scaleY(1); } }

.page-hero { border-bottom: 1px solid var(--line); background: radial-gradient(80% 120% at 100% 0%, rgba(255,52,70,.10), transparent 60%); }
.page-hero .wrap { padding-block: 72px 56px; display: flex; flex-direction: column; gap: 18px; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--mut); }
.crumbs a { color: var(--mut); }
.crumbs a:hover { color: var(--neon); }

/* ---------- Bandeau infos ---------- */
.infobar { background: var(--s1); border-bottom: 1px solid var(--line); }
.infobar .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: 24px; }
.info { display: flex; gap: 14px; align-items: center; min-width: 0; }
.info svg { width: 24px; height: 24px; color: var(--neon); flex: none; }
.info b { display: block; font-size: 15px; font-weight: 600; }
.info span { display: block; font-size: 14px; color: var(--mut); }
.info a, a.info { text-decoration: none; color: var(--fg); }
a.info:hover b { color: var(--neon); }

/* ---------- Cartes réalisation ---------- */
.cars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.car { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--fg); }
.car .photo { aspect-ratio: 4 / 3; border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.car:hover .photo { border-color: var(--neon); box-shadow: 0 0 0 1px var(--neon), 0 0 30px rgba(255,52,70,.18); }
.car:hover .photo img { transform: scale(1.04); }
.car:hover { color: var(--fg); }
.car__tag { position: absolute; left: 12px; top: 12px; z-index: 1; background: var(--red); color: #fff; font: 600 10px var(--mono); letter-spacing: .12em; padding: 5px 8px; border-radius: 4px; text-transform: uppercase; }
.car__body { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.car__title { font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: 21px; line-height: 1.15; }
.car__meta { font-size: 14px; color: var(--mut); margin-top: 4px; }
.car__go { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--mut); transition: color .2s, transform .2s; }
.car:hover .car__go { color: var(--neon); transform: translate(2px, -2px); }

/* ---------- Catégories ---------- */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat { position: relative; display: flex; align-items: flex-end; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--fg); border: 1px solid var(--line); isolation: isolate; }
.cat .photo { position: absolute; inset: 0; z-index: -2; border-radius: 0; }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,10,12,.95) 8%, rgba(10,10,12,.1) 65%); }
.cat__txt { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.cat__txt b { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 24px; text-transform: uppercase; line-height: 1; }
.cat__txt span { font-size: 14px; color: var(--fg-2); }
.cat:hover { border-color: var(--neon); color: var(--fg); }
.cat:hover .photo img { transform: scale(1.05); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 30px 38px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--fg); transition: background .2s; }
a.service:hover { background: var(--s1); color: var(--fg); }
.service__top { display: flex; justify-content: space-between; align-items: center; }
.service__top svg { width: 30px; height: 30px; color: var(--neon); }
.service__spec { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--mut); text-transform: uppercase; }
.service h3 { font-family: var(--display); font-stretch: 106%; font-weight: 700; font-size: 23px; margin-top: 8px; }
.service p { color: var(--fg-2); font-size: 16px; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.step { border-top: 2px solid var(--line-2); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.step:first-child { border-top-color: var(--neon); }
.step__n { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 46px; line-height: 1; color: var(--fg); }
.step:first-child .step__n { color: var(--neon); }
.step h3 { font-size: 21px; font-weight: 700; }
.step p { color: var(--fg-2); font-size: 16px; }

/* ---------- Arguments ---------- */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.why > div { background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.why b { font-family: var(--display); font-stretch: 110%; font-size: 19px; font-weight: 700; }
.why p { font-size: 15px; color: var(--fg-2); }
.why svg { width: 26px; height: 26px; color: var(--neon); margin-bottom: 6px; }

/* ---------- Bloc split (atelier, boutique) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split .photo { aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.split__txt { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

/* ---------- Bandeaux CTA ---------- */
.cta-band { border: 1px solid var(--line); border-radius: 14px; padding: 56px 52px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: center;
  background: radial-gradient(110% 160% at 100% 0%, rgba(255,52,70,.20), transparent 55%), var(--s1); }
.cta-band > div:first-child { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.strip { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; }
.strip > div { display: flex; flex-direction: column; gap: 4px; }
.strip b { font-size: 19px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #070708; }
.site-footer .wrap { padding-block: 72px 32px; display: flex; flex-direction: column; gap: 56px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h2 { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); font-weight: 500; margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-grid ul a { text-decoration: none; color: var(--fg-2); }
.foot-grid ul a:hover { color: var(--neon); }
.foot-brand { display: flex; flex-direction: column; gap: 16px; font-size: 15px; color: var(--fg-2); }
.foot-brand img { height: 74px; width: auto; align-self: flex-start; }
.hours { display: grid; grid-template-columns: 58px 1fr; row-gap: 8px; column-gap: 10px; font-size: 15px; font-variant-numeric: tabular-nums; }
.hours dt { color: var(--mut); }
.hours dd { margin: 0; }
.hours .is-today { color: var(--neon); font-weight: 600; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; font-size: 13px; color: var(--mut); }
.foot-bottom a { color: var(--mut); }

/* Barre d'action mobile */
.mbar { display: none; }

/* ---------- Réalisations : filtres ---------- */
.filters { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.filters__row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.filters__label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); width: 110px; flex: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; min-width: 0; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--fg); font: 500 15px var(--body); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--fg-2); }
.chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.chip small { color: inherit; opacity: .7; margin-left: 4px; font-size: 13px; }
.search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: 999px; padding: 0 18px; min-height: 52px; background: var(--s1); flex: 1 1 320px; max-width: 460px; }
.search svg { width: 18px; height: 18px; color: var(--mut); flex: none; }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--fg); font: 16px var(--body); outline: none; }
.select { background: var(--s1); color: var(--fg); border: 1px solid var(--line-2); border-radius: 999px; min-height: 48px; padding: 0 40px 0 18px; font: 15px var(--body); appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23A3A3AC' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.results { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; color: var(--mut); font-size: 15px; }
.results b { color: var(--fg); }
.empty { border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 56px 24px; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }

/* ---------- Fiche réalisation ---------- */
.fiche { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; align-items: start; }
.gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery__main { aspect-ratio: 16 / 10; border: 1px solid var(--line); cursor: zoom-in; padding: 0; width: 100%; }
.gallery__count { position: absolute; right: 14px; bottom: 14px; background: rgba(10,10,12,.85); font: 12px var(--mono); letter-spacing: .08em; padding: 7px 10px; border-radius: 6px; color: var(--fg); }
.thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.thumbs button { aspect-ratio: 4 / 3; padding: 0; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--neon); box-shadow: 0 0 0 1px var(--neon); }
.panel { position: sticky; top: 104px; background: var(--s1); border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.specs > div { background: var(--s1); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.specs dt { font: 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }
.specs dd { margin: 0; font-weight: 600; font-size: 17px; }
.gear { list-style: none; margin: 0; padding: 0; }
.gear li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.gear li span:first-child { color: var(--mut); }
.pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-block: 1px solid var(--line); padding-block: 22px; }
.pager a { text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.pager a span:first-child { font: 11px var(--mono); letter-spacing: .14em; color: var(--mut); text-transform: uppercase; }
.pager a span:last-child { font-weight: 600; font-size: 17px; }
.pager a:last-child { text-align: right; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,5,6,.96); display: flex; align-items: center; justify-content: center; padding: 60px 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(18,18,21,.8); color: var(--fg); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox button svg { width: 22px; height: 22px; }
.lb-close { top: max(16px, env(safe-area-inset-top, 0px)); right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font: 13px var(--mono); color: var(--mut); }

/* ---------- Services (page) ---------- */
.svc-list { display: flex; flex-direction: column; }
.svc { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-block: 44px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc__icon svg { width: 44px; height: 44px; color: var(--neon); }
.svc h2 { font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: 30px; text-transform: uppercase; line-height: 1; margin-bottom: 12px; }
.svc ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.svc li { display: flex; gap: 12px; color: var(--fg-2); font-size: 16px; }
.svc li::before { content: ""; width: 6px; height: 6px; margin-top: 10px; border-radius: 50%; background: var(--neon); flex: none; }

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--mono); color: var(--neon); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--fg-2); max-width: 46em; }

/* ---------- Atelier ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.timeline figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.timeline .photo { aspect-ratio: 1; border: 1px solid var(--line); }
.timeline figcaption { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 28px; }
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.partners a { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.partners a:hover { border-color: var(--neon); }
.partners b { font-size: 20px; }

/* ---------- Formulaire devis ---------- */
.devis { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.form { display: flex; flex-direction: column; gap: 48px; }
.fs { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.fs legend { display: flex; align-items: center; gap: 14px; padding: 0; margin-bottom: 18px; font-size: 23px; font-weight: 700; }
.fs legend span { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 30px; color: var(--neon); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--mut); min-width: 0; }
.field input, .field select, .field textarea { width: 100%; background: var(--s1); color: var(--fg); border: 1px solid var(--line-2); border-radius: var(--radius); min-height: 52px; padding: 0 14px; font: 16px var(--body); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23A3A3AC' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { padding: 14px; min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--neon); outline: none; box-shadow: 0 0 0 3px rgba(255,52,70,.2); }
.field .req { color: var(--neon); }
.opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--radius); cursor: pointer; font-size: 15px; transition: all .15s; }
.opt label::after { content: "+"; font-family: var(--mono); color: var(--mut); }
.opt input:checked + label { background: var(--red); border-color: var(--red); color: #fff; }
.opt input:checked + label::after { content: "✓"; color: #fff; }
.opt input:focus-visible + label { outline: 2px solid var(--neon); outline-offset: 2px; }
.opts--pill { display: flex; flex-wrap: wrap; }
.opts--pill .opt label { border-radius: 999px; }
.opts--pill .opt label::after { content: none; }
.ref-chip { display: flex; align-items: center; gap: 12px; background: var(--s1); border: 1px solid var(--neon); border-radius: var(--radius); padding: 12px 14px; font-size: 15px; }
.ref-chip img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; }
.hint { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--mut); background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.hint svg { width: 18px; height: 18px; color: var(--neon); flex: none; }
.form-foot { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; }
.mail-preview { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 12px; }
.mail { background: #F4F2EE; color: #17181B; border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.mail__head { display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid #D9D6D0; padding-bottom: 14px; }
.mail__head span { font-size: 12px; color: #5D6067; }
.mail__head b { font-size: 16px; }
.mail dl { display: grid; grid-template-columns: 88px 1fr; row-gap: 12px; column-gap: 12px; margin: 0; font-size: 14px; }
.mail dt { color: #5D6067; }
.mail dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.success { border: 1px solid var(--line); border-radius: 14px; padding: 56px 40px; display: flex; flex-direction: column; gap: 18px; background: var(--s1); }
.success[hidden] { display: none; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.ccard { background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.ccard h2 { font: 500 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mut); }
.ccard .big { font-size: 24px; font-weight: 700; text-decoration: none; }
.map { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--s1); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* ---------- Texte légal ---------- */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.prose h2 { font-size: 24px; margin-top: 20px; }
.prose p, .prose li { color: var(--fg-2); }

/* ---------- Apparition au scroll (part d'un état visible) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
}
@keyframes rise { from { opacity: .3; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav a { padding: 10px 10px; }
  .lang { display: none; }
  .cars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat { aspect-ratio: 4 / 3; }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fiche, .devis { grid-template-columns: minmax(0, 1fr); }
  .panel, .mail-preview { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .site-header .wrap { min-height: 68px; gap: 12px; }
  .brand img { height: 46px; }
  .burger { display: inline-flex; }
  .header-actions .btn { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav a[aria-current="page"] { box-shadow: none; background: none; color: var(--neon); }
  .section { padding-block: 72px; }
  .hero .wrap { padding-block: 56px 120px; }
  .infobar .wrap { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .svc { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .grid-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .opts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .cta-band { padding: 40px 28px; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 10px; background: rgba(10,10,12,.95); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  .mbar .btn { flex: 1; min-height: 50px; }
  .mbar .btn--ghost { flex: 0 0 auto; }
  body { padding-bottom: 80px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cars, .cats, .why, .services, .partners { grid-template-columns: minmax(0, 1fr); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .grid-3, .grid-2, .opts { grid-template-columns: minmax(0, 1fr); }
  .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero__stats { gap: 28px; }
  .stat b { font-size: 30px; }
  .filters__label { width: 100%; }
  .specs { grid-template-columns: 1fr 1fr; }
  .btn--lg { width: 100%; }
}

.photo { background: repeating-linear-gradient(135deg, #E9E9E6 0 12px, #F1F1EF 12px 24px); }

/* ==========================================================================
   VERSION 3 — affiche suisse
   ========================================================================== */

/* Angles droits partout */
.btn, .status, .chip, .search, .select, .burger, .opts--pill .opt label, .mail, .success, .map, .panel, .specs,
.thumbs button, .gallery__count, .ref-chip, .ref-chip img, .car__tag, .cta-band, .hint, .ccard, .empty, .strip,
.partners a, .why > div, .lightbox img, .photo { border-radius: 0; }

/* Typo */
.h-display { text-transform: none; font-stretch: normal; font-weight: 800; letter-spacing: -0.045em; line-height: .95; }
.eyebrow { font-size: 12px; letter-spacing: .14em; }
.lead { color: var(--fg-2); }

/* Boutons */
.btn { font-weight: 700; min-height: 52px; }
.btn--red, .btn--red:hover { color: #fff; box-shadow: none; }
.btn--ghost { background: #fff; border: 2px solid var(--black); color: var(--black); }
.btn--ghost:hover { background: var(--black); color: #fff; border-color: var(--black); }
.btn--white { background: #fff; color: var(--black); border: 2px solid #fff; }
.btn--white:hover { background: var(--black); color: #fff; border-color: var(--black); }
.btn--line { background: transparent; color: #fff; border: 2px solid #fff; }
.btn--line:hover { background: #fff; color: var(--red); }
.btn--black { background: var(--black); color: #fff; border: 2px solid var(--black); }
.btn--black:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* Badge horaires */
.status { background: #fff; border: 1.5px solid var(--black); }

/* ---------- Colonne de navigation ---------- */
.side { background: var(--black); color: #fff; z-index: 60; }
.side a { color: #fff; }
.side__top { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.side__logo img { width: 100%; max-width: 190px; height: auto; }
.side__status { background: transparent; border-color: #3A3A38; color: #fff; font-size: 13px; }
.side__status span.muted { color: #A5A5A0; }
.side__nav { display: flex; flex-direction: column; }
.side__nav > a:not(.btn) { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; border-top: 1px solid #262624; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.side__nav > a:not(.btn):hover { color: #FF3446; }
.side__nav > a[aria-current="page"] { color: #FF3446; }
.side__nav > a[aria-current="page"] .side__n { color: #FF3446; }
.side__n { font: 11px var(--mono); color: #8A8A85; width: 20px; flex: none; }
.side__cta { margin-top: 22px; width: 100%; }
.side__info { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 12px; font-size: 13px; line-height: 1.5; color: #B5B5B0; }
.side__tel { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; }
.side__lang { font: 12px var(--mono); letter-spacing: .08em; color: #6E6E6A; }
.side__lang b { color: #fff; font-weight: 500; }
.side .burger { border: 1.5px solid #4A4A47; color: #fff; background: transparent; margin-left: auto; }

@media (min-width: 1101px) {
  body { padding-left: var(--side); --side-now: var(--side); }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: var(--side); padding: 26px 24px 24px; display: flex; flex-direction: column; overflow-y: auto; }
  .side__nav { flex: 1; margin-top: 30px; }
  .side .burger { display: none; }
}
@media (max-width: 1100px) {
  body { --side-now: 0px; }
  .side { position: sticky; top: 0; }
  .side__top { flex-direction: row; align-items: center; gap: 12px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); }
  .side__logo img { height: 46px; width: auto; }
  .side .burger { display: inline-flex; }
  .side__nav { display: none; position: fixed; left: 0; right: 0; top: 66px; bottom: 0; background: var(--red); overflow-y: auto;
    padding: 18px max(20px, env(safe-area-inset-right, 0px)) 40px max(20px, env(safe-area-inset-left, 0px)); }
  .side__nav.is-open { display: flex; }
  .side__nav > a:not(.btn) { font-size: 30px; border-top-color: rgba(255,255,255,.3); padding: 16px 0; }
  .side__nav > a:not(.btn):hover, .side__nav > a[aria-current="page"], .side__nav > a[aria-current="page"] .side__n { color: #fff; }
  .side__nav > a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
  .side__n { color: rgba(255,255,255,.75); }
  .side__cta { background: var(--black); }
  .side__info { color: #fff; margin-top: 28px; }
  .side__lang, .side__lang b { color: #fff; }
}
@media (max-width: 600px) { .side__status { display: none; } }

/* ---------- Affiche d'accueil ---------- */
.poster { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); border-bottom: 2px solid var(--black); }
.poster__red { background: var(--red); color: #fff; padding: 40px 48px 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-width: 0; }
.poster__eyebrow { font: 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.poster__title { font-size: clamp(76px, 10vw, 172px); font-weight: 900; line-height: .82; letter-spacing: -0.065em; margin: 0; }
.poster__foot { display: flex; flex-direction: column; gap: 26px; max-width: 560px; }
.poster__foot p { font-size: 18px; color: rgba(255,255,255,.93); }
.poster__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.mos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 1.35fr) minmax(0, 1fr); gap: 2px; background: var(--black); min-height: 680px; }
.mos__item { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; }
.mos__item--0 { grid-column: 1 / 3; }
.mos__item .photo { position: absolute; inset: 0; }
.mos__item:hover .photo img { transform: scale(1.04); }
.mos__cap { position: absolute; left: 0; bottom: 0; background: var(--black); color: #fff; padding: 10px 14px; font: 13px var(--mono); }
.mos__cap b { font: 700 15px var(--body); margin-right: 8px; }
.mos__item:hover .mos__cap { background: var(--red); }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 2px solid var(--black); }
.fact { padding: 28px 32px; border-right: 1px solid var(--black); display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--fg); }
.fact:last-child { border-right: 0; }
.fact b { font-size: clamp(40px, 4vw, 66px); font-weight: 900; letter-spacing: -0.055em; line-height: 1; }
.fact span { font-size: 14px; color: var(--mut); }
.fact--red { background: var(--red); color: #fff; }
.fact--red span { color: #fff; font-weight: 700; font-size: 17px; }
.fact--red:hover { background: var(--black); color: #fff; }

/* ---------- Sections numérotées ---------- */
.sx { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 40px; padding: 72px 48px 80px; border-bottom: 2px solid var(--black); }
.sx--grey { background: var(--s1); }
.sx__label { position: sticky; top: 24px; align-self: start; display: flex; flex-direction: column; gap: 8px; font: 13px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.sx__num { font: 900 76px/0.85 var(--display); letter-spacing: -0.06em; color: var(--red); }
.sx__body { min-width: 0; }
.sx__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.h3x { font-size: clamp(30px, 3.4vw, 54px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; max-width: 16em; }

/* Index des réalisations */
.idx { border-top: 2px solid var(--black); }
.idx__row { display: grid; grid-template-columns: 70px minmax(0, 2fr) 70px minmax(0, 1.3fr) 84px 28px; gap: 18px; align-items: center;
  padding: 12px 12px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--fg); transition: background .15s, color .15s; }
.idx__row--head { font: 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mut); border-bottom: 1px solid var(--black); padding-block: 10px; }
.idx__y, .idx__veh { font: 14px var(--mono); }
.idx__name { font-size: 20px; letter-spacing: -0.02em; }
.idx__name b { font-weight: 800; }
.idx__cat { font-size: 14px; color: var(--mut); }
.idx__thumb .photo { width: 84px; height: 56px; }
.idx__go svg { width: 22px; height: 22px; transition: transform .2s; }
a.idx__row:hover { background: var(--red); color: #fff; }
a.idx__row:hover .idx__cat { color: #fff; }
a.idx__row:hover .idx__go svg { transform: translateX(4px); }

/* Tuiles véhicules */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--black); border: 2px solid var(--black); }
.tile { position: relative; aspect-ratio: 3 / 4; overflow: hidden; color: var(--fg); text-decoration: none; display: block; }
.tile .photo { position: absolute; inset: 0; }
.tile:hover .photo img { transform: scale(1.05); }
.tile__bar { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; padding: 14px 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 2px solid var(--black); }
.tile__bar b { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.tile__bar span { font: 12px var(--mono); color: var(--mut); white-space: nowrap; }
.tile:hover .tile__bar { background: var(--red); color: #fff; }
.tile:hover .tile__bar span { color: #fff; }

/* Lignes de services */
.srows { border-top: 2px solid var(--black); }
.srow { display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.4fr) 170px 28px; gap: 22px; align-items: center; padding: 26px 10px;
  border-bottom: 1px solid var(--black); text-decoration: none; color: var(--fg); transition: background .15s, color .15s; }
.srow__n { font: 14px var(--mono); color: var(--red); }
.srow__t { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.srow__d { font-size: 15px; color: var(--fg-2); }
.srow__s { font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.srow__go svg { width: 22px; height: 22px; }
.srow:hover { background: var(--black); color: #fff; }
.srow:hover .srow__d, .srow:hover .srow__s { color: #C9C9C4; }
.srow:hover .srow__n { color: #FF3446; }

/* Étapes */
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--black); }
.steps3 li { display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 0 0; }
.steps3 li + li { padding-left: 28px; border-left: 1px solid var(--black); }
.steps3__n { font: 900 clamp(96px, 10vw, 160px)/.8 var(--display); letter-spacing: -0.07em; color: var(--black); margin-bottom: 10px; }
.steps3 li:first-child .steps3__n { color: var(--red); }
.steps3 b { font-size: 22px; letter-spacing: -0.02em; }
.steps3 p { color: var(--fg-2); }

/* Bande photo de l'atelier */
.film { display: flex; gap: 2px; background: var(--black); border: 2px solid var(--black); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.film__item { margin: 0; flex: 0 0 clamp(220px, 28%, 340px); position: relative; scroll-snap-align: start; }
.film__item .photo { aspect-ratio: 3 / 4; }
.film__item figcaption { position: absolute; left: 0; top: 0; background: #fff; padding: 6px 12px; font-size: 28px; font-weight: 900; letter-spacing: -0.05em; border-right: 2px solid var(--black); border-bottom: 2px solid var(--black); }

/* Avis + boutique */
.duo3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 2px solid var(--black); }
.duo3 a { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 48px 48px 88px; text-decoration: none; min-height: 280px; }
.duo3 a > span:first-child { font: 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.duo3 b { font-size: clamp(26px, 2.6vw, 40px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; max-width: 13em; }
.duo3__a { background: var(--black); color: #fff; }
.duo3__b { background: var(--s1); color: var(--fg); border-left: 2px solid var(--black); }
.duo3__a:hover { color: #fff; background: #1D1D1C; }
.duo3__b:hover { color: #fff; background: var(--red); }
.duo3__go { position: absolute; right: 40px; bottom: 36px; width: 44px; height: 44px; }
.duo3__go svg { width: 100%; height: 100%; transition: transform .2s; }
.duo3 a:hover .duo3__go svg { transform: translateX(6px); }

/* Contact */
.contact3 { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contact3__big { display: flex; flex-direction: column; gap: 12px; }
.contact3__big a { text-decoration: none; font-weight: 900; letter-spacing: -0.055em; line-height: 1; font-size: clamp(36px, 4.6vw, 74px); }
.contact3__big a + a { font-size: clamp(20px, 2vw, 30px); letter-spacing: -0.03em; font-weight: 700; }
.contact3__big span { color: var(--mut); font-size: 17px; }
.contact3__hours { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

/* Bandeau devis */
.cta3__link { display: block; background: var(--red); color: #fff; padding: 64px 48px 56px; text-decoration: none; border-bottom: 2px solid var(--black); transition: background .2s; }
.cta3__link:hover { background: var(--black); color: #fff; }
.cta3__eyebrow { display: block; font: 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.cta3__title { display: block; font-size: clamp(46px, 7vw, 118px); font-weight: 900; letter-spacing: -0.06em; line-height: .9; margin: 18px 0 30px; max-width: 12em; text-wrap: balance; }
.cta3__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.cta3__text { font-size: 18px; max-width: 34em; color: rgba(255,255,255,.92); }
.cta3__go { display: inline-flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 800; border-bottom: 3px solid #fff; padding-bottom: 4px; }
.cta3__go svg { width: 24px; height: 24px; transition: transform .2s; }
.cta3__link:hover .cta3__go svg { transform: translateX(6px); }

/* Pied de page */
.foot3 { background: var(--black); color: #fff; overflow: hidden; }
.foot3 a { color: #fff; }
.foot3 a:hover { color: #FF3446; }
.foot3__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 56px 48px 40px; }
.foot3 h2 { font: 400 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #8A8A85; margin-bottom: 14px; }
.foot3 p { color: #D9D9D4; font-size: 15px; line-height: 1.75; margin-bottom: 12px; }
.foot3 .hours { font-size: 14px; }
.foot3 .hours dt { color: #8A8A85; }
.foot3 .hours .is-today { color: #FF4D5C; }
.foot3 .status { background: transparent; border-color: #3A3A38; color: #fff; }
.foot3 .status span.muted { color: #A5A5A0; }
.foot3__word { font-weight: 900; letter-spacing: -0.07em; line-height: .78; color: var(--red); white-space: nowrap; padding: 0 0 0 40px;
  font-size: calc((100vw - var(--side-now, 0px)) / 6.4); margin-bottom: 18px; }
.foot3__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 48px 28px; border-top: 1px solid #262624; font-size: 13px; color: #8A8A85; }
.foot3__bottom a { color: #8A8A85; }

/* Barre mobile */
.mbar { background: #fff !important; border-top: 2px solid var(--black) !important; }

/* ---------- Autres pages ---------- */
.page-hero { background: #fff; border-bottom: 2px solid var(--black); }
.page-hero .wrap { padding-block: 56px 44px; }
.page-hero .h1 { font-size: clamp(48px, 7vw, 112px); font-weight: 900; letter-spacing: -0.06em; line-height: .9; }
.section--alt { background: var(--s1); border-block: 2px solid var(--black); }
.car3 { gap: 10px; }
.car3 .photo { aspect-ratio: 4 / 3; border: 0; }
.car.car3:hover .photo { border: 0; box-shadow: none; }
.car3__line { display: flex; justify-content: space-between; border-top: 2px solid var(--black); padding-top: 8px; font: 12px var(--mono); color: var(--mut); }
.car3__name { font-size: 15px; color: var(--mut); line-height: 1.2; }
.car3__name b { display: block; font-size: 23px; color: var(--fg); font-weight: 800; letter-spacing: -0.03em; }
.car3:hover .car3__name b { color: var(--red); }
.car3__cat { font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.chip { border: 1.5px solid var(--black); background: #fff; }
.chip[aria-pressed="true"] { color: #fff; }
.search, .select { border: 1.5px solid var(--black); background-color: #fff; }
.results { border-top: 2px solid var(--black); }
.panel { border: 2px solid var(--black); box-shadow: 8px 8px 0 var(--black); background: #fff; }
.specs { border: 1.5px solid var(--black); background: var(--black); }
.specs > div { background: #fff; }
.thumbs button[aria-current="true"] { border-color: var(--red); box-shadow: 0 0 0 2px var(--red); }
.gallery__count { background: var(--black); color: #fff; }
.lightbox button { color: #fff; }
.pager { border-block: 2px solid var(--black); }
.field input, .field select, .field textarea { border: 1.5px solid var(--black); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(218,10,28,.15); }
.opt label { border: 1.5px solid var(--black); background: #fff; }
.opt input:checked + label { color: #fff; }
.mail { border: 2px solid var(--black); box-shadow: 8px 8px 0 var(--black); background: #fff; }
.fs legend span { color: var(--red); font-weight: 900; }
.ccard { border: 2px solid var(--black); background: #fff; }
.map { border: 2px solid var(--black); border-radius: 0; }
.map iframe { filter: grayscale(1) contrast(1.05); }
.svc { border-top: 1px solid var(--black); }
.svc:last-child { border-bottom: 2px solid var(--black); }
.svc h2 { text-transform: none; font-stretch: normal; font-weight: 900; letter-spacing: -0.05em; font-size: 38px; }
.faq { border-top: 2px solid var(--black); }
.faq details { border-bottom: 1px solid var(--black); }
.timeline .photo { border: 2px solid var(--black); }
.timeline figcaption { font-stretch: normal; font-weight: 900; letter-spacing: -0.05em; }
.partners a { border: 2px solid var(--black); }
.partners a:hover { background: var(--red); color: #fff; border-color: var(--red); }
.step { border-top: 2px solid var(--black); }
.step:first-child { border-top-color: var(--red); }
.step__n { font-stretch: normal; font-weight: 900; letter-spacing: -0.06em; }
.hint { border: 1.5px solid var(--black); background: #fff; }
.success { border: 2px solid var(--black); background: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .srow { grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1.2fr) 28px; }
  .srow__s { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { aspect-ratio: 4 / 3; }
}
@media (max-width: 900px) {
  .poster { grid-template-columns: minmax(0, 1fr); }
  .poster__red { padding: 32px 20px 36px; }
  .mos { min-height: 0; grid-template-rows: 260px 170px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding: 22px 20px; border-bottom: 1px solid var(--black); }
  .fact:nth-child(2n) { border-right: 0; }
  .sx { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 52px 20px 60px; }
  .sx__label { position: static; flex-direction: row; align-items: baseline; gap: 14px; }
  .sx__num { font-size: 48px; }
  .steps3 { grid-template-columns: minmax(0, 1fr); }
  .steps3 li, .steps3 li + li { padding: 26px 0 26px; border-left: 0; border-bottom: 1px solid var(--black); }
  .duo3 { grid-template-columns: minmax(0, 1fr); }
  .duo3 a { padding: 36px 20px 80px; min-height: 0; }
  .duo3__b { border-left: 0; border-top: 2px solid var(--black); }
  .duo3__go { right: 20px; bottom: 28px; }
  .contact3 { grid-template-columns: minmax(0, 1fr); }
  .cta3__link { padding: 44px 20px; }
  .foot3__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 44px 20px 32px; }
  .foot3__word { padding-left: 16px; }
  .foot3__bottom { padding: 18px 20px 24px; }
  .film__item { flex-basis: 62%; }
  .srow { grid-template-columns: 34px minmax(0, 1fr) 24px; gap: 14px; padding: 22px 4px; }
  .srow__d { grid-column: 2; grid-row: 2; }
  .srow__go { grid-column: 3; grid-row: 1 / 3; }
  .idx__row { grid-template-columns: 84px minmax(0, 1fr) 24px; grid-template-areas: "thumb name go" "thumb y go"; row-gap: 2px; padding: 12px 4px; }
  .idx__row--head, .idx__veh, .idx__cat { display: none; }
  .idx__thumb { grid-area: thumb; } .idx__name { grid-area: name; font-size: 18px; } .idx__y { grid-area: y; font-size: 12px; color: var(--mut); } .idx__go { grid-area: go; }
  a.idx__row:hover .idx__y { color: #fff; }
}
@media (max-width: 600px) {
  .foot3__grid { grid-template-columns: minmax(0, 1fr); }
  .poster__title { font-size: clamp(64px, 21vw, 110px); }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .fact b { font-size: 38px; }
}

/* Correctifs */
.idx__thumb .photo.img-missing::after { display: none; }
.contact3__big a:first-child { white-space: nowrap; font-size: clamp(30px, 3.8vw, 62px); }
@media (max-width: 1100px) { .side { z-index: 80; } }

/* ==========================================================================
   VERSION 3 — passe « aérée » : colonne allégée, plus d'espace, traits plus fins
   ========================================================================== */
:root { --side: 252px; }
body { line-height: 1.65; }

/* ---------- Colonne de navigation allégée ---------- */
@media (min-width: 1101px) {
  .side { padding: 40px 30px 32px; }
  .side__nav { margin-top: 48px; }
}
.side__logo img { max-width: 150px; }
.side__nav > a:not(.btn) { font-size: 18px; font-weight: 600; padding: 15px 0; border-top-color: #1C1C1B; letter-spacing: -0.01em; }
.side__nav > a:not(.btn):last-of-type { border-bottom: 1px solid #1C1C1B; }
.side__n { font-size: 10px; color: #6E6E6A; }
.side__cta { margin-top: 32px; min-height: 50px; font-size: 15px; }
.side__info { gap: 14px; padding-top: 32px; }
.side__tel { font-size: 18px; }
.side__status { font-size: 12.5px; }

/* ---------- Affiche ---------- */
.poster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--black); }
.poster__red { padding: clamp(48px, 5vw, 80px); gap: 64px; }
.poster__title { font-size: clamp(72px, 8.6vw, 150px); }
.poster__foot { gap: 32px; max-width: 460px; }
.poster__foot p { font-size: 19px; line-height: 1.55; }
.poster__img { position: relative; display: block; min-height: 640px; overflow: hidden; color: #fff; text-decoration: none; }
.poster__img .photo { position: absolute; inset: 0; }
.poster__img:hover .photo img { transform: scale(1.03); }
.poster__img:hover .mos__cap { background: var(--red); }

/* ---------- Chiffres ---------- */
.facts { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--black); }
.fact { padding: 48px clamp(32px, 5vw, 80px); gap: 10px; }
.fact b { font-size: clamp(42px, 3.8vw, 60px); }
.fact span { font-size: 15px; }

/* ---------- Sections numérotées : beaucoup plus d'air ---------- */
.sx { grid-template-columns: 170px minmax(0, 1fr); gap: 72px; padding: 136px clamp(40px, 6vw, 104px) 144px; border-bottom: 1px solid var(--black); }
.sx__label { top: 56px; gap: 10px; font-size: 12px; }
.sx__num { font-size: 60px; }
.sx__body { max-width: 1040px; }
.sx__head { margin-bottom: 64px; gap: 28px; align-items: flex-end; }
.h3x { font-size: clamp(30px, 3vw, 46px); max-width: 15em; line-height: 1.05; }
.sx .lead { max-width: 34em; }
.link-arrow { font-weight: 700; font-size: 16px; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 3px; }
.link-arrow:hover { color: var(--red); }

/* Index des réalisations */
.idx { border-top: 1px solid var(--black); }
.idx__row { grid-template-columns: 70px minmax(0, 1fr) 70px 104px 28px; gap: 28px; padding: 22px 10px; }
.idx__name { font-size: 21px; }
.idx__thumb .photo { width: 104px; height: 70px; }

/* Services */
.srows { border-top: 1px solid var(--black); }
.srow { grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1.25fr) 28px; gap: 32px; padding: 34px 10px; border-bottom: 1px solid var(--line); }
.srow__t { font-size: clamp(22px, 2vw, 28px); }
.srow__d { font-size: 16px; line-height: 1.6; }

/* Étapes */
.steps3 { border-top: 1px solid var(--black); }
.steps3 li { padding: 40px 44px 0 0; gap: 14px; }
.steps3 li + li { padding-left: 44px; border-left: 1px solid var(--line); }
.steps3__n { font-size: clamp(72px, 7vw, 116px); margin-bottom: 16px; }
.steps3 b { font-size: 21px; }

/* Atelier */
.atelier3 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.atelier3 .photo { aspect-ratio: 4 / 3; }
.atelier3__txt { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.atelier3__links { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; margin-top: 8px; }

/* Bandeau devis */
.cta3__link { padding: 112px clamp(40px, 6vw, 104px) 104px; border-bottom: 0; }
.cta3__title { margin: 22px 0 40px; }

/* Pied de page */
.foot3__grid { padding: 80px clamp(40px, 6vw, 104px) 56px; gap: 48px; }
.foot3__bottom { padding: 24px clamp(40px, 6vw, 104px) 32px; }
.foot3__word { padding-left: clamp(24px, 5vw, 96px); margin-bottom: 24px; }

/* ---------- Autres pages : même respiration ---------- */
@media (min-width: 1101px) {
  .wrap { padding-left: clamp(40px, 5vw, 96px); padding-right: clamp(40px, 5vw, 96px); }
}
.section { padding-block: 128px; }
.section--tight { padding-block: 88px; }
.page-hero { border-bottom: 1px solid var(--black); }
.page-hero .wrap { padding-block: 88px 72px; gap: 22px; }
.sec-head { margin-bottom: 56px; }
.cars { gap: 56px 32px; }
.filters { gap: 24px; margin-bottom: 48px; }
.svc { padding-block: 56px; gap: 40px; }
.fiche, .devis { gap: 64px; }
.form { gap: 64px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .poster__img { min-height: 520px; }
  .idx__row { grid-template-columns: 60px minmax(0, 1fr) 96px 24px; }
  .idx__veh { display: none; }
}
@media (max-width: 900px) {
  .poster { grid-template-columns: minmax(0, 1fr); }
  .poster__red { padding: 44px 20px 48px; gap: 44px; }
  .poster__img { min-height: 0; aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fact { padding: 28px 16px; border-bottom: 0; }
  .fact:nth-child(2n) { border-right: 1px solid var(--black); }
  .fact:last-child { border-right: 0; }
  .fact b { font-size: 30px; }
  .fact span { font-size: 13px; }
  .sx { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 80px 20px 88px; }
  .sx__num { font-size: 44px; }
  .sx__head { margin-bottom: 40px; }
  .idx__row { grid-template-columns: 96px minmax(0, 1fr) 24px; grid-template-areas: "thumb name go" "thumb y go"; padding: 16px 4px; gap: 4px 18px; }
  .idx__thumb .photo { width: 96px; height: 64px; }
  .srow { grid-template-columns: 34px minmax(0, 1fr) 24px; gap: 8px 16px; padding: 26px 4px; }
  .steps3 li, .steps3 li + li { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .atelier3 { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cta3__link { padding: 72px 20px; }
  .foot3__grid { padding: 56px 20px 40px; }
  .foot3__bottom { padding: 20px 20px 28px; }
  .section { padding-block: 80px; }
  .page-hero .wrap { padding-block: 56px 48px; }
}
@media (max-width: 600px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 24px 20px; flex-direction: row; align-items: baseline; gap: 14px; }
  .fact:last-child { border-bottom: 0; }
}

/* ---------- Logo vectoriel blanc ---------- */
.side__logo { display: block; }
.side__logo img { width: 100%; max-width: 168px; height: auto; display: block; }
.side__logo:hover img { opacity: .85; }
.foot3__grid { grid-template-columns: 1.1fr repeat(4, minmax(0, 1fr)); }
.foot3__logo img { width: 100%; max-width: 190px; height: auto; display: block; }
@media (max-width: 1100px) {
  .side__logo img { height: 50px; width: auto; max-width: none; }
  .foot3__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot3__logo { grid-column: 1 / -1; }
}
@media (max-width: 900px) { .foot3__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .foot3__grid { grid-template-columns: minmax(0, 1fr); } .foot3__logo img { max-width: 160px; } }

@media (min-width: 1101px) { .foot3__grid { grid-template-columns: .9fr 1fr 1fr 1.55fr .9fr; gap: 40px; } .foot3 .hours dd { white-space: nowrap; } }

/* ==========================================================================
   VERSION 3 — barre de navigation horizontale (remplace la colonne latérale)
   ========================================================================== */
body { padding-left: 0 !important; --side-now: 0px !important; }
html { scroll-padding-top: 110px; }

.top { position: sticky; top: 0; z-index: 80; background: var(--black); color: #fff; }
.top__in { display: flex; align-items: center; gap: 40px; min-height: 92px;
  padding-left: clamp(20px, 5vw, 96px); padding-right: clamp(20px, 5vw, 96px); }
.top__logo { flex: none; display: block; }
.top__logo img { height: 64px; width: auto; display: block; transition: opacity .2s; }
.top__logo:hover img { opacity: .82; }

.top__nav { flex: 1; display: flex; justify-content: center; align-items: center; gap: 6px; }
.top__nav > a { position: relative; color: #E8E8E4; text-decoration: none; font-size: 16px; font-weight: 600; padding: 12px 14px; letter-spacing: -0.005em; }
.top__nav > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.top__nav > a:hover { color: #fff; }
.top__nav > a:hover::after, .top__nav > a[aria-current="page"]::after { transform: scaleX(1); }
.top__nav > a[aria-current="page"] { color: #fff; }
.top__ext { font-size: 13px; opacity: .6; }
.top__mob { display: none; }

.top__actions { flex: none; display: flex; align-items: center; gap: 22px; }
.top__tel { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; }
.top__tel svg { width: 18px; height: 18px; color: #FF3446; }
.top__tel:hover { color: #FF3446; }
.top__cta { min-height: 46px; padding: 0 22px; font-size: 15px; }
.top .burger { display: none; margin-left: auto; border: 1.5px solid #4A4A47; color: #fff; background: transparent; }

/* Les blocs collants passent sous la barre */
.sx__label { top: 132px; }
.panel, .mail-preview { top: 124px; }

/* Écrans moyens : on retire le numéro de téléphone texte */
@media (max-width: 1240px) {
  .top__in { gap: 24px; }
  .top__nav > a { padding: 12px 10px; font-size: 15px; }
  .top__nav > a::after { left: 10px; right: 10px; }
  .top__tel span { display: none; }
  .top__tel { width: 44px; height: 44px; justify-content: center; border: 1.5px solid #3A3A38; }
}

/* Mobile et tablette : menu plein écran rouge */
@media (max-width: 1100px) {
  .top__in { min-height: 70px; gap: 12px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .top__logo img { height: 48px; }
  .top__actions { display: none; }
  .top .burger { display: inline-flex; }
  .top__nav { display: none; position: fixed; left: 0; right: 0; top: 70px; bottom: 0; z-index: 90; overflow-y: auto; background: var(--red);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 16px max(20px, env(safe-area-inset-right, 0px)) 40px max(20px, env(safe-area-inset-left, 0px)); }
  .top__nav.is-open { display: flex; }
  .top__nav > a { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.3); color: #fff; }
  .top__nav > a::after { display: none; }
  .top__nav > a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
  .top__mob { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; margin-top: 32px; }
  .top__mcta { width: 100%; min-height: 54px; }
  .top__mob .status { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
  .top__mob .status span.muted { color: rgba(255,255,255,.85); }
  .top__mtel { color: #fff; font-size: 24px; font-weight: 800; text-decoration: none; }
  .sx__label { top: 0; }
}

.top__mob .status[data-open="false"] .status__dot { background: #fff; box-shadow: none; }

/* Un élément marqué « hidden » reste toujours caché, quel que soit son display */
[hidden] { display: none !important; }

/* ---------- Logo au centre, liens à gauche, actions à droite ---------- */
.top__in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 32px; min-height: 96px; }
.top__nav { order: 1; justify-content: flex-start; gap: 2px; margin-left: -14px; }
.top__logo { order: 2; justify-self: center; }
.top__logo img { height: 70px; }
.top__actions { order: 3; justify-self: end; }
.top .burger { order: 0; }
html { scroll-padding-top: 116px; }
.sx__label { top: 136px; }
.panel, .mail-preview { top: 128px; }

@media (max-width: 1240px) {
  .top__nav { margin-left: -10px; }
  .top__cta { padding: 0 16px; }
}
@media (max-width: 1100px) {
  .top__in { grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 12px; min-height: 70px; }
  .top .burger { order: 1; justify-self: start; margin-left: 0; }
  .top__logo { order: 2; }
  .top__logo img { height: 50px; }
  .top__actions { order: 3; display: flex; justify-self: end; }
  .top__actions .top__cta { display: none; }
  .top__tel { width: 48px; height: 48px; justify-content: center; border: 1.5px solid #4A4A47; }
  .top__tel span { display: none; }
  .top__nav { margin-left: 0; }
}
.top__nav > a { white-space: nowrap; }
@media (max-width: 1240px) { .top__ext { display: none; } .top__nav > a { padding: 12px 9px; } .top__nav > a::after { left: 9px; right: 9px; } }

/* ---------- Diaporama du hero ---------- */
.slider { position: relative; overflow: hidden; background: var(--black); }
.slider .slide { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; opacity: 0; visibility: hidden;
  transition: opacity 1.1s ease, visibility 0s linear 1.1s; }
.slider .slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease, visibility 0s; z-index: 1; }
.slider .slide .photo { position: absolute; inset: 0; border-radius: 0; }
.slider .slide .photo img { transform: scale(1.02); }
@media (prefers-reduced-motion: no-preference) {
  .slider .slide.is-active .photo img { animation: kenburns 7s ease-out both; }
}
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.slider .mos__cap { z-index: 2; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; font: 12px var(--mono); }
.slider .mos__cap b { margin: 0; font: 700 16px var(--body); }
.slider .mos__d { color: #BDBDB8; }
.slider .slide:hover .mos__cap { background: var(--red); }
.slider .slide:hover .mos__d { color: #fff; }
.slider__dots { position: absolute; z-index: 3; right: 20px; bottom: 20px; display: flex; gap: 4px; }
.slider__dot { width: 34px; height: 30px; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; }
.slider__dot i { position: relative; display: block; width: 100%; height: 3px; background: rgba(255,255,255,.4); overflow: hidden; }
.slider__dot i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.slider__dot[aria-current="true"] i::after { transform: scaleX(1); }
.slider.is-playing .slider__dot[aria-current="true"] i::after { animation: progress var(--slide-ms, 5500ms) linear both; }
.slider.is-paused .slider__dot[aria-current="true"] i::after { animation-play-state: paused; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slider__dot:hover i { background: rgba(255,255,255,.7); }
@media (max-width: 900px) {
  .slider__dots { right: 12px; bottom: 12px; }
  .slider__dot { width: 22px; }
}

/* ---------- Header blanc, logo rouge ---------- */
.top { background: #fff; color: var(--fg); border-bottom: 1px solid var(--black);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; will-change: transform; }
.top__nav > a { color: var(--fg-2); }
.top__nav > a:hover, .top__nav > a[aria-current="page"] { color: var(--fg); }
.top__tel { color: var(--fg); }
.top__tel svg { color: var(--red); }
.top__tel:hover { color: var(--red); }
.top .burger { border-color: var(--black); color: var(--fg); }
@media (max-width: 1240px) { .top__tel { border-color: var(--black); } }

/* Masqué en descendant, visible en remontant */
html.hdr-hidden .top { transform: translateY(-100%); }
html.hdr-scrolled:not(.hdr-hidden) .top { box-shadow: 0 6px 24px rgba(11,11,11,.08); }
@media (prefers-reduced-motion: reduce) { .top { transition: none; } }

/* Les éléments collants remontent quand le header est caché */
.sx__label, .panel, .mail-preview { transition: top .35s cubic-bezier(.2,.7,.2,1); }
html.hdr-hidden .sx__label { top: 40px; }
html.hdr-hidden .panel, html.hdr-hidden .mail-preview { top: 32px; }

/* Menu mobile : le texte reste blanc sur le fond rouge */
@media (max-width: 1100px) {
  .top__nav > a, .top__nav > a:hover, .top__nav > a[aria-current="page"] { color: #fff; }
}

/* ---------- Illustrations des services (reprises de la V2) ---------- */
.illu { width: 100%; height: auto; display: block; color: var(--black); }
.i-r { fill: var(--red); }
.i-rs { stroke: var(--red); }
.i-w { fill: #fff; }
.i-l { fill: #E7E7E3; }
.i-k { fill: var(--black); }

/* Accueil : grille de 6 cartes illustrées */
.scards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--black); border-left: 1px solid var(--black); }
.scard { display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 30px; background: #fff; color: var(--fg); text-decoration: none;
  border-right: 1px solid var(--black); border-bottom: 1px solid var(--black); transition: background .2s; }
.scard__art { display: block; margin: -28px -28px 10px; padding: 26px 40px; border-bottom: 1px solid var(--black);
  background: radial-gradient(circle, rgba(11,11,11,.09) 1.2px, transparent 1.4px) 0 0 / 12px 12px, var(--s1); transition: background-color .2s; }
.scard__art .illu { max-width: 230px; margin: 0 auto; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.scard__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.scard__n { font: 14px var(--mono); color: var(--red); }
.scard__spec { font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mut); text-align: right; }
.scard__t { font-size: clamp(22px, 1.9vw, 26px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.scard__d { font-size: 15.5px; line-height: 1.6; color: var(--fg-2); flex: 1; }
.scard__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; margin-top: 6px; }
.scard__go svg { width: 18px; height: 18px; transition: transform .2s; }
.scard:hover { color: var(--fg); }
.scard:hover .scard__art { background-color: #fff; }
.scard:hover .scard__art .illu { transform: scale(1.05) rotate(-1.5deg); }
.scard:hover .scard__t, .scard:hover .scard__go { color: var(--red); }
.scard:hover .scard__go svg { transform: translateX(4px); }

/* Page Services : grandes illustrations à gauche */
.svc { grid-template-columns: 240px minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.svc__icon { border: 1px solid var(--black); padding: 18px 22px;
  background: radial-gradient(circle, rgba(11,11,11,.09) 1.2px, transparent 1.4px) 0 0 / 12px 12px, var(--s1); }
.svc__icon svg, .svc__icon .illu { width: 100%; height: auto; color: var(--black); }

@media (max-width: 1100px) { .scards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc__icon { max-width: 280px; }
}
@media (max-width: 600px) {
  .scards { grid-template-columns: minmax(0, 1fr); }
  .scard { padding: 24px 20px 26px; }
  .scard__art { margin: -24px -20px 8px; padding: 20px 48px; }
}

/* ---------- Façade d'ampli « Tous les potards au maximum » (reprise de la V2) ---------- */
.led { width: 9px; height: 9px; border-radius: 50%; background: #FF3446; box-shadow: 0 0 10px #FF3446; flex: none; }
.amp { position: relative; border-radius: 22px; padding: 22px 26px 34px; color: #EDEEF0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 2px, transparent 2px 4px), linear-gradient(180deg, #24262B, #141518);
  box-shadow: 0 30px 60px rgba(18,19,22,.22), inset 0 1px 0 rgba(255,255,255,.08); }
.amp::before, .amp::after { content: ""; position: absolute; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: #2E3137; box-shadow: inset 0 0 0 2px #45484F; }
.amp::before { left: 14px; } .amp::after { right: 14px; }
.amp__bar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 6px 22px 22px; border-bottom: 1px solid #2E3137; }
.amp__brand { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.amp__model { font: 11px var(--mono); letter-spacing: .14em; color: #8E939C; }
.amp__power { margin-left: auto; display: flex; align-items: center; gap: 8px; font: 600 12px var(--mono); letter-spacing: .14em; color: #FF6B79; }
.amp__knobs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-top: 28px; }
.amp__cell { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 0 10px; }
.amp__lbl { font: 11px var(--mono); letter-spacing: .16em; color: #8E939C; }
.knob { width: 128px; height: 128px; }
/* (ancien survol retiré) */
.amp__cell b { font-size: 19px; margin-top: 4px; }
.amp__cell p { font-size: 14px; color: #B3B7BF; max-width: 22em; }
.amp__bar { font-family: var(--body); }
.amp__cell b { color: #fff; }
@media (max-width: 1100px) { .amp__knobs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } }
@media (max-width: 600px) {
  .amp { padding: 18px 14px 28px; }
  .amp__bar { padding: 6px 12px 18px; gap: 10px; }
  .amp__model { display: none; }
  .amp__knobs { gap: 8px; }
  .knob { width: 104px; height: 104px; }
  .amp__cell p { font-size: 13px; }
}

/* ---------- Section potards : centrée, fond blanc, potards 90 % → 100 % au survol ---------- */
.why3 { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 64px;
  padding: 136px clamp(20px, 6vw, 104px) 144px; border-bottom: 1px solid var(--black); background: #fff; }
.why3__title { max-width: none; }
.why3 .amp { width: 100%; max-width: 1120px; text-align: center; }
.amp__bar { justify-content: space-between; }
.amp__knobs { padding-top: 40px; row-gap: 40px; }
.amp__cell { gap: 14px; }

.knob { overflow: visible; }
.knob__tick { stroke: #4A4E55; transition: stroke .3s ease .1s; }
.knob__tick.is-on { stroke: #FF3446; }
.knob__needle { transform-box: view-box; transform-origin: 60px 60px; transform: rotate(var(--a));
  transition: transform .55s cubic-bezier(.34, 1.56, .64, 1); }
.amp__cell:hover .knob__needle { transform: rotate(135deg); }
.amp__cell:hover .knob__tick { stroke: #FF3446; }
.amp__cell:hover .knob__tick:not(.is-on) { filter: drop-shadow(0 0 4px #FF3446); }
.amp__cell:hover b { color: #FF6B79; }
@media (prefers-reduced-motion: reduce) { .knob__needle, .knob__tick { transition: none; } }

@media (max-width: 900px) { .why3 { padding: 80px 20px 88px; gap: 40px; } }

/* ---------- Page L'atelier : « 30 ans » géant en fond ---------- */
.page-hero--big { position: relative; overflow: hidden; isolation: isolate; }
.page-hero__big { position: absolute; z-index: -1; right: clamp(-40px, -2vw, 0px); bottom: -0.2em; pointer-events: none; user-select: none;
  font: 900 clamp(160px, 26vw, 420px)/0.8 var(--display); letter-spacing: -0.07em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(218,10,28,.22); }
.page-hero--big .wrap { position: relative; }
@media (max-width: 600px) { .page-hero__big { font-size: 31vw; right: 12px; bottom: -0.1em; -webkit-text-stroke-width: 1px; } }

/* ---------- Plus de lignes noires entre les sections ---------- */
.poster, .facts, .sx, .why3, .page-hero, .cta3__link { border-bottom: 0 !important; }
.section--alt { border-block: 0 !important; }

/* ---------- Page L'atelier : frise chronologique ---------- */
.eras { position: relative; display: flex; flex-direction: column; gap: 96px; margin-top: 16px; }
.eras::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--red), var(--red)) 0 0 / 2px 100% no-repeat; opacity: .18; }
.era { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; padding-left: 48px; }
.era::before { content: ""; position: absolute; left: -7px; top: 18px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--red); }
.era--flip .era__txt { order: 2; }
.era__txt { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; min-width: 0; }
.era__year { font: 900 clamp(64px, 7vw, 112px)/.85 var(--display); letter-spacing: -0.06em; color: var(--red); }
.era__title { font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.era__txt p { color: var(--fg-2); font-size: 17px; line-height: 1.65; max-width: 32em; }
.era__stat { font: 13px var(--mono); color: var(--mut); letter-spacing: .04em; padding-top: 14px; border-top: 1px solid var(--line); }
.era__stat b { color: var(--fg); font: 800 17px var(--body); margin-right: 4px; }
.era__pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 8px; min-width: 0; }
.era__main { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.era__sm { aspect-ratio: 4 / 3; }
.era__pics .photo img { transition: transform .6s ease; }
.era__pics .photo:hover img { transform: scale(1.04); }
.era--now { grid-template-columns: minmax(0, 1fr); }
.era--now .era__year { color: var(--black); }
.era--now .era__txt p { max-width: 40em; }

/* ---------- Page L'atelier : graphique des réalisations par année ---------- */
.yc { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.yc__plot { display: flex; align-items: flex-end; gap: 6px; height: 300px; padding-top: 28px; border-bottom: 1px solid var(--black); }
.yc__col { position: relative; flex: 1 1 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-width: 0; }
.yc__bar { display: block; width: 100%; background: var(--black); opacity: .85; transition: opacity .2s, background .2s; }
.yc__col:hover .yc__bar { opacity: 1; background: var(--red); }
.yc__col--hot .yc__bar { background: var(--red); opacity: 1; }
.yc__col--gap .yc__bar { height: 100%; background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(11,11,11,.08) 5px 7px); opacity: 1; }
.yc__v { position: absolute; top: auto; transform: translateY(-100%); margin-top: -6px; font: 800 15px var(--body); white-space: nowrap; }
.yc__col .yc__v { bottom: calc(var(--h, 0%) + 6px); }
.yc__y { position: absolute; bottom: -26px; font: 11px var(--mono); color: var(--mut); }
.yc__col:nth-child(even) .yc__y { visibility: hidden; }
.yc figcaption { margin-top: 18px; font-size: 14px; color: var(--mut); }

@media (max-width: 900px) {
  .eras { gap: 72px; }
  .era, .era--flip { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-left: 28px; }
  .era--flip .era__txt { order: 0; }
  .yc__plot { gap: 3px; height: 220px; }
  .yc__col:not(:nth-child(5n+1)) .yc__y { visibility: hidden; }
  .yc__col:nth-child(5n+1) .yc__y { visibility: visible; }
  .yc__v { font-size: 12px; }
}

.yc__bar { flex-shrink: 0; }
.yc__v, .yc__col .yc__v { position: static; transform: none; margin: 0 0 6px; }

/* ---------- Page L'atelier : « 30 ans » rouge, centré, en fond ---------- */
.page-hero__big { left: 50%; right: auto; transform: translateX(-50%); bottom: -0.16em;
  color: rgba(218,10,28,.09); -webkit-text-stroke: 0; }
@media (max-width: 600px) { .page-hero__big { left: 50%; right: auto; bottom: -0.1em; -webkit-text-stroke: 0; } }

/* « 30 ans » entièrement visible : centré verticalement aussi */
.page-hero__big { top: 50%; bottom: auto; transform: translate(-50%, -46%); font-size: clamp(140px, 22vw, 340px); line-height: 1; }
@media (max-width: 600px) { .page-hero__big { top: auto; bottom: 18px; transform: translateX(-50%); font-size: 30vw; } }

/* ==========================================================================
   ANIMATIONS
   1. Intro de l'accueil (CSS pur, ne dépend pas du script)
   2. Apparition au défilement (activée par html.js, posée avant l'affichage)
   Tout est coupé pour les visiteurs qui ont réduit les animations.
   ========================================================================== */
.poster__title .ln { display: block; overflow: hidden; padding-block: .08em; margin-block: -.08em; }
.poster__title .ln > span { display: block; }

@media (prefers-reduced-motion: no-preference) {
  /* Header qui descend (fill « backwards » : ne gêne pas le masquage au défilement) */
  .top { animation: hdrIn .7s cubic-bezier(.2,.7,.2,1) .05s backwards; }

  /* --- Accueil : le bloc rouge se déploie de gauche à droite --- */
  .poster__red { animation: redIn 1s cubic-bezier(.77,0,.18,1) .15s backwards; }
  .poster__eyebrow { animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) .95s backwards; }
  .poster__title .ln > span { animation: lineUp .95s cubic-bezier(.2,.8,.2,1) backwards; }
  .poster__title .ln:nth-child(1) > span { animation-delay: 1.0s; }
  .poster__title .ln:nth-child(2) > span { animation-delay: 1.1s; }
  .poster__title .ln:nth-child(3) > span { animation-delay: 1.2s; }
  .poster__foot p { animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) 1.45s backwards; }
  .poster__ctas { animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) 1.6s backwards; }

  /* --- La photo se dévoile ensuite, puis le diaporama démarre --- */
  .poster__img { animation: imgIn 1.15s cubic-bezier(.77,0,.18,1) 1.25s backwards; }
  .poster__img .slide.is-active .photo img { animation-delay: 1.25s; }
  .slider__dots { animation: fadeIn .6s ease 2.2s backwards; }
  .poster__img .mos__cap { animation: fadeUp .6s cubic-bezier(.2,.7,.2,1) 2.1s backwards; }

  /* --- Chiffres sous l'affiche --- */
  .facts .fact { animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) backwards; }
  .facts .fact:nth-child(1) { animation-delay: 1.75s; }
  .facts .fact:nth-child(2) { animation-delay: 1.85s; }
  .facts .fact:nth-child(3) { animation-delay: 1.95s; }

  /* --- En-tête des autres pages : les éléments montent l'un après l'autre --- */
  .page-hero .wrap > * { animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) backwards; }
  .page-hero .wrap > :nth-child(1) { animation-delay: .25s; }
  .page-hero .wrap > :nth-child(2) { animation-delay: .35s; }
  .page-hero .wrap > :nth-child(3) { animation-delay: .45s; }
  .page-hero .wrap > :nth-child(4) { animation-delay: .6s; }
  .page-hero .wrap > :nth-child(5) { animation-delay: .7s; }
  .page-hero__big { animation: bigIn 1.6s cubic-bezier(.2,.7,.2,1) .3s backwards; }
}

@keyframes hdrIn { from { transform: translateY(-100%); } }
@keyframes redIn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes imgIn { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes lineUp { from { transform: translateY(110%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes bigIn { from { opacity: 0; transform: translate(-50%, -38%) scale(.92); } }
@media (max-width: 600px) { @keyframes bigIn { from { opacity: 0; transform: translateX(-50%) scale(.92); } } }

/* ---------- Apparition au défilement ---------- */
html.js:not(.anim-off) :is(.sx__label, .sx__head, .idx__row, .scard, .steps3 li, .why3__title, .amp, .atelier3 > *, .cta3__link > *,
  .car, .svc, .faq details, .era__txt, .era__pics, .step, .partners a, .ccard, .contact .map, .fs, .form-foot, .mail-preview,
  .filters, .gallery, .panel, .pager, .sec-head, .split__txt, .split > .photo, .yc, .foot3__grid > *, .foot3__word, .empty-hint):not(.rv-in) {
  opacity: 0;
}
.rv-in { animation: revealUp .95s cubic-bezier(.2,.7,.2,1) backwards; }
@keyframes revealUp { from { opacity: 0; transform: translateY(40px); } }
.foot3__word.rv-in { animation: wordUp 1.3s cubic-bezier(.2,.8,.2,1) backwards; }
@keyframes wordUp { from { opacity: 0; transform: translateY(60%); } }

/* Potards : les aiguilles partent du minimum et tournent jusqu'à leur position */
html.js:not(.anim-off) .amp:not(.rv-in) .knob__needle { transform: rotate(-135deg); }
html.js:not(.anim-off) .amp:not(.rv-in) .knob__tick.is-on { stroke: #4A4E55; }

/* Graphique : les barres montent une à une */
.yc__bar { transform-origin: bottom; transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .2s, background .2s; }
html.js:not(.anim-off) .yc:not(.rv-in) .yc__bar { transform: scaleY(0); }
html.js:not(.anim-off) .yc:not(.rv-in) .yc__v { opacity: 0; }
.yc__v { transition: opacity .5s ease 1s; }

/* Frise : la ligne se trace de haut en bas */
.eras::before { transform-origin: top; transition: transform 2.6s cubic-bezier(.4,0,.2,1); }
html.js:not(.anim-off) .eras:not(.rv-in)::before { transform: scaleY(0); }

@media (prefers-reduced-motion: reduce) {
  .rv-in, .foot3__word.rv-in { animation: none; }
}
.eras.rv-in, .facts.rv-in { animation: none; }

/* ==========================================================================
   MODE SOMBRE (bouton lune / soleil dans le header, choix mémorisé)
   ========================================================================== */
.logo-dark { display: none !important; }
.theme-toggle { width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer;
  background: transparent; color: var(--fg); border: 1.5px solid var(--black); transition: background .2s, color .2s, border-color .2s; }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.theme-toggle .i-sun { display: none; }
html, body { transition: background-color .35s ease; }

html[data-theme="dark"] {
  --bg: #0E0E0D;
  --s1: #171716;
  --s2: #23231F;
  --line: #2E2E2B;
  --line-2: #ECECE8;
  --fg: #ECECE8;
  --fg-2: #C3C3BD;
  --mut: #93938D;
  --black: #5F5F5A;          /* traits et bordures */
  --red: #E61E31;
  --red-hover: #FF3446;
  --neon: #FF4A5A;
  color-scheme: dark;
}
html[data-theme="dark"] body { background: var(--bg); color: var(--fg); }

/* Header, logo, bouton */
html[data-theme="dark"] .top { background: var(--bg); border-bottom-color: var(--line); }
html[data-theme="dark"] .logo-light { display: none !important; }
html[data-theme="dark"] .logo-dark { display: block !important; }
html[data-theme="dark"] .theme-toggle .i-moon { display: none; }
html[data-theme="dark"] .theme-toggle .i-sun { display: block; }
html[data-theme="dark"] .top__nav > a { color: var(--fg-2); }
html[data-theme="dark"] .top__nav > a:hover, html[data-theme="dark"] .top__nav > a[aria-current="page"] { color: var(--fg); }
html[data-theme="dark"] .mbar { background: rgba(14,14,13,.96) !important; border-top-color: var(--line) !important; }

/* Boutons */
html[data-theme="dark"] .btn--black { background: var(--fg); color: #0E0E0D; border-color: var(--fg); }
html[data-theme="dark"] .btn--black:hover { background: var(--red); border-color: var(--red); color: #fff; }
html[data-theme="dark"] .btn--ghost { background: transparent; color: var(--fg); border-color: var(--fg); }
html[data-theme="dark"] .btn--ghost:hover { background: var(--fg); color: #0E0E0D; }
html[data-theme="dark"] .btn--white { color: #0B0B0B; }
html[data-theme="dark"] .btn--white:hover { background: #0B0B0B; color: #fff; border-color: #0B0B0B; }

/* Surfaces blanches -> surfaces sombres */
html[data-theme="dark"] :is(.status, .ccard, .panel, .mail, .success, .hint, .chip, .search, .select, .opt label, .specs > div,
  .field input, .field select, .field textarea, .partners a, .ref-chip, .empty) { background-color: var(--s1); color: var(--fg); }
html[data-theme="dark"] :is(.why3, .page-hero, .scard) { background: var(--bg); }
html[data-theme="dark"] .sx--grey, html[data-theme="dark"] .section--alt { background: var(--s1); }
html[data-theme="dark"] .sx--grey .scard { background: var(--bg); }
html[data-theme="dark"] .mail dt, html[data-theme="dark"] .mail__head span { color: var(--mut); }
html[data-theme="dark"] .mail__head { border-bottom-color: var(--line); }
html[data-theme="dark"] .era::before { background: var(--bg); }
html[data-theme="dark"] .idx__row { border-bottom-color: var(--line); }
html[data-theme="dark"] .srow { border-bottom-color: var(--line); }

/* Photos en attente, motifs */
html[data-theme="dark"] .photo { background: repeating-linear-gradient(135deg, #1B1B1A 0 12px, #151514 12px 24px); }
html[data-theme="dark"] .mos__cap, html[data-theme="dark"] .gallery__count, html[data-theme="dark"] .slider { background: #0B0B0B; }
html[data-theme="dark"] .yc__col--gap .yc__bar { background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(255,255,255,.07) 5px 7px); }
html[data-theme="dark"] .yc__bar { background: var(--fg); opacity: .75; }
html[data-theme="dark"] .yc__col--hot .yc__bar, html[data-theme="dark"] .yc__col:hover .yc__bar { background: var(--red); opacity: 1; }
html[data-theme="dark"] .yc__plot { border-bottom-color: var(--black); }

/* Illustrations : traits clairs, surfaces sombres */
html[data-theme="dark"] .illu, html[data-theme="dark"] .svc__icon .illu { color: var(--fg); }
html[data-theme="dark"] .i-w { fill: var(--s1); }
html[data-theme="dark"] .i-l { fill: #2C2C29; }
html[data-theme="dark"] .i-k { fill: var(--fg); }
html[data-theme="dark"] .scard__art, html[data-theme="dark"] .svc__icon {
  background: radial-gradient(circle, rgba(255,255,255,.08) 1.2px, transparent 1.4px) 0 0 / 12px 12px, var(--s2); }
html[data-theme="dark"] .scard:hover .scard__art { background-color: #2A2A26; }

/* Chiffres et titres qui étaient en noir */
html[data-theme="dark"] .steps3__n, html[data-theme="dark"] .era--now .era__year { color: var(--fg); }
html[data-theme="dark"] .steps3 li:first-child .steps3__n { color: var(--red); }

/* Façade d'ampli : un liseré pour la détacher du fond sombre */
html[data-theme="dark"] .amp { box-shadow: 0 30px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08); outline: 1px solid var(--line); }

/* « 30 ans » un peu plus présent sur fond sombre */
html[data-theme="dark"] .page-hero__big { color: rgba(230,30,49,.14); }

/* Pied de page : reste noir profond */
html[data-theme="dark"] .foot3 { background: #070707; border-top: 1px solid var(--line); }
html[data-theme="dark"] .foot3__bottom { border-top-color: var(--line); }

/* Mobile : burger / logo / actions restent alignés avec le bouton de thème */
@media (max-width: 1100px) {
  .top__in { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .top__actions { gap: 8px; }
  .theme-toggle { width: 48px; height: 48px; }
}
@media (max-width: 380px) { .theme-toggle, .top__tel { width: 42px; height: 42px; } }

/* ==========================================================================
   ACCUEIL — début simple : logo centré sur les photos de réalisations
   ========================================================================== */
.hero3 { position: relative; overflow: hidden; isolation: isolate; background: #0B0B0B; color: #fff;
  min-height: clamp(560px, calc(100svh - 96px), 920px); display: flex; align-items: center; justify-content: center; }
.hero3__bg.slider { position: absolute; inset: 0; z-index: 0; }
.hero3 .slide .photo { position: absolute; inset: 0; }
.hero3 .slide .photo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 48%, rgba(11,11,11,.42), rgba(11,11,11,.72)), linear-gradient(0deg, rgba(11,11,11,.55), rgba(11,11,11,0) 35%); }
.hero3 .mos__cap { z-index: 3; }

.hero3__in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px;
  padding: 72px max(20px, env(safe-area-inset-right, 0px)) 110px max(20px, env(safe-area-inset-left, 0px)); pointer-events: none; }
.hero3__in > * { pointer-events: auto; }
.hero3__logo { width: min(560px, 78vw); height: auto; filter: drop-shadow(0 6px 30px rgba(0,0,0,.55)); }
.hero3__title { margin: 0; font-size: clamp(19px, 2vw, 26px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; max-width: 26em;
  text-shadow: 0 2px 16px rgba(0,0,0,.5); }
.hero3__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.hero3 .slider__dots { right: clamp(20px, 5vw, 96px); bottom: 26px; }
.hero3 .mos__cap { left: clamp(20px, 5vw, 96px); bottom: 26px; background: rgba(11,11,11,.75); }

/* Le logo du header s'efface tant que le grand logo est visible */
.top__logo { transition: opacity .35s ease, visibility .35s; }
html.js:not(.anim-off):has(.hero3):not(.past-hero):not(.menu-open) .top__logo { opacity: 0; visibility: hidden; }

/* Intro : les photos apparaissent, puis le logo, puis le texte */
@media (prefers-reduced-motion: no-preference) {
  .hero3__bg { animation: fadeIn 1.2s ease .1s backwards; }
  .hero3__logo { animation: logoIn 1.2s cubic-bezier(.2,.7,.2,1) .45s backwards; }
  .hero3__title { animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) 1.05s backwards; }
  .hero3__ctas { animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) 1.25s backwards; }
  .hero3 .slider__dots, .hero3 .mos__cap { animation: fadeIn .6s ease 1.7s backwards; }
}
@keyframes logoIn { from { opacity: 0; transform: scale(.86); filter: blur(8px) drop-shadow(0 6px 30px rgba(0,0,0,.55)); } }

@media (max-width: 1100px) { .hero3 { min-height: clamp(520px, calc(100svh - 70px), 820px); } }
@media (max-width: 600px) {
  .hero3__in { padding-block: 48px 96px; gap: 22px; }
  .hero3__ctas { flex-direction: column; width: 100%; max-width: 340px; }
  .hero3__ctas .btn { width: 100%; }
  .hero3 .mos__cap { left: 16px; bottom: 18px; }
  .hero3 .slider__dots { right: 16px; bottom: 22px; }
}

/* ==========================================================================
   Header transparent tout en haut de l'accueil : le hero passe dessous
   (html.on-hero est posé par le script tant que le hero est visible)
   ========================================================================== */
.hero3 { margin-top: -97px; min-height: clamp(600px, 100svh, 1000px); }
.hero3__in { padding-top: calc(97px + 48px); }
.hero3::before { content: ""; position: absolute; inset: 0 0 auto; height: 200px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,11,11,.6), rgba(11,11,11,0)); }

.top { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, background-color .35s ease, border-color .35s ease; }
.top :is(.top__nav > a, .top__tel, .theme-toggle, .burger) { transition: color .3s ease, border-color .3s ease, background-color .3s ease; }

html.on-hero:not(.menu-open) .top { background: transparent; border-bottom-color: transparent; box-shadow: none; }
html.on-hero:not(.menu-open) .top__nav > a { color: rgba(255,255,255,.82); }
html.on-hero:not(.menu-open) .top__nav > a:hover, html.on-hero:not(.menu-open) .top__nav > a[aria-current="page"] { color: #fff; }
html.on-hero:not(.menu-open) .top__tel, html.on-hero:not(.menu-open) .top__tel:hover { color: #fff; }
html.on-hero:not(.menu-open) .top__tel svg { color: #fff; }
html.on-hero:not(.menu-open) :is(.theme-toggle, .top .burger) { color: #fff; border-color: rgba(255,255,255,.65); background: transparent; }
html.on-hero:not(.menu-open) .theme-toggle:hover { background: #fff; color: #0B0B0B; border-color: #fff; }
@media (max-width: 1240px) { html.on-hero:not(.menu-open) .top__tel { border-color: rgba(255,255,255,.65); } }

@media (max-width: 1100px) {
  .hero3 { margin-top: -71px; min-height: clamp(560px, 100svh, 900px); }
  .hero3__in { padding-top: calc(71px + 40px); }
}
@media (max-width: 600px) { .hero3__in { padding-top: calc(71px + 32px); } }

/* Menu mobile ouvert : le header ne doit pas « enfermer » le menu plein écran (will-change crée un cadre) */
html.menu-open .top { transform: none; }  /* (ne pas couper l'animation du header : elle se relancerait à la fermeture) */

/* ==========================================================================
   AMPLI RÉALISTE — « Tous les potards au maximum »
   Corps anodisé noir, ailettes de refroidissement, façade en alu brossé,
   vis, LED, bornier doré, potards en alu tourné (le repère rouge tourne).
   ========================================================================== */
.amp-stage { position: relative; width: 100%; max-width: 1120px; }
.amp-stage::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -34px; height: 46px; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.38), rgba(0,0,0,0)); filter: blur(6px); }
.why3 { isolation: isolate; }

.amp.amp--real { width: 100%; max-width: none; padding: 0 18px; border-radius: 26px; overflow: hidden; text-align: left; color: #E9EAEC;
  background:
    linear-gradient(90deg, rgba(255,255,255,.10), rgba(255,255,255,0) 18px, rgba(255,255,255,0) calc(100% - 18px), rgba(255,255,255,.10)),
    linear-gradient(180deg, #2A2C31, #101114);
  box-shadow: 0 2px 0 rgba(255,255,255,.06) inset, 0 -2px 0 rgba(0,0,0,.6) inset, 0 40px 70px -20px rgba(10,10,12,.55), 0 14px 26px -12px rgba(10,10,12,.5);
  outline: 0 !important; }
.amp.amp--real::before, .amp.amp--real::after { display: none; }

/* Ailettes de refroidissement (haut et bas) */
.amp__fins { display: block; height: 44px; margin-inline: -18px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,0) 6%, rgba(0,0,0,0) 94%, rgba(0,0,0,.55)),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0) 40%, rgba(0,0,0,.35)),
    repeating-linear-gradient(180deg, #08090A 0 3px, #3B3E44 3px 4px, #1C1D21 4px 7px); }
.amp__fins--b { transform: scaleY(-1); }

/* Façade alu brossé */
.amp__face { position: relative; padding: 26px clamp(26px, 4vw, 54px) 22px; border-radius: 6px;
  background:
    linear-gradient(100deg, rgba(255,255,255,0) 28%, rgba(255,255,255,.07) 44%, rgba(255,255,255,0) 58%),
    repeating-linear-gradient(180deg, rgba(255,255,255,.035) 0 1px, rgba(0,0,0,.05) 1px 2px, rgba(255,255,255,0) 2px 3px),
    linear-gradient(180deg, #34363C, #1E1F23 60%, #18191C);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 -1px 0 rgba(0,0,0,.7), 0 0 0 1px #08090A, 0 3px 6px rgba(0,0,0,.5); }

/* Vis cruciformes */
.amp__screw { position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F2F3F5, #9A9EA6 45%, #4C4F56 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,.8), inset 0 -1px 1px rgba(0,0,0,.4); }
.amp__screw::before, .amp__screw::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 2px; margin: -1px 0 0 -4px; border-radius: 1px; background: #3A3D43; }
.amp__screw::before { transform: rotate(35deg); } .amp__screw::after { transform: rotate(125deg); }
.amp__screw--tl { left: 12px; top: 12px; } .amp__screw--tr { right: 12px; top: 12px; }
.amp__screw--bl { left: 12px; bottom: 12px; } .amp__screw--br { right: 12px; bottom: 12px; }

/* Barre du haut : marque sérigraphiée, modèle, LED */
.amp--real .amp__bar { display: flex; align-items: center; gap: 20px; flex-wrap: nowrap; justify-content: flex-start; padding: 0 6px 18px; border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 1px 0 rgba(0,0,0,.5); }
.amp--real .amp__brand { display: flex; flex-direction: column; gap: 4px; font: 800 24px/1 var(--display); letter-spacing: -0.02em; color: #F3F4F6; text-shadow: 0 1px 0 rgba(0,0,0,.6); }
.amp--real .amp__brand small { font: 500 10px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: #8F949C; }
.amp--real .amp__model { display: block; margin-left: auto; font: 500 10.5px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: #9A9FA7;
  padding: 6px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 3px; }
.amp__leds { display: flex; gap: 16px; }
.amp__led { display: flex; align-items: center; gap: 7px; font: 600 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #80858D; }
.amp__led i { width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #5A3036, #2A1417); box-shadow: inset 0 0 0 1px rgba(0,0,0,.6); }
.amp__led--on { color: #FF8A95; }
.amp__led--on i { background: radial-gradient(circle at 35% 30%, #FFD3D7, #FF3446 45%, #B5101F); box-shadow: 0 0 10px 2px rgba(255,52,70,.75), 0 0 2px #FF3446; animation: ledGlow 3.2s ease-in-out infinite; }
@keyframes ledGlow { 50% { box-shadow: 0 0 14px 3px rgba(255,52,70,.9), 0 0 2px #FF3446; } }

/* Rangée de potards */
.amp--real .amp__knobs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 30px 0 18px; }
.amp--real .amp__cell { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0; cursor: pointer; }
.amp--real .amp__lbl { font: 700 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: #D9DBDF; text-align: center; }

.amp--real .knob { position: relative; width: clamp(104px, 11vw, 142px); height: auto; aspect-ratio: 1; max-width: 100%; }
.knob__scale { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.knob__scale text { font: 600 7px var(--mono); letter-spacing: .08em; fill: #7C8189; text-anchor: middle; }
.knob__skirt { position: absolute; inset: 17%; border-radius: 50%;
  background: repeating-conic-gradient(#121316 0 4deg, #3A3D43 4deg 6deg, #1A1B1E 6deg 8deg);
  box-shadow: 0 10px 16px rgba(0,0,0,.65), 0 2px 3px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.08); }
.knob__cap { position: absolute; inset: 25%; border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(255,255,255,.06) 0 1px, rgba(0,0,0,.06) 1px 2px),
    conic-gradient(from 20deg, #E8EAED, #8D9199 11%, #F4F5F7 24%, #7E838B 37%, #D9DCE0 50%, #858A92 62%, #F6F7F8 75%, #898E96 88%, #E8EAED);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.9), inset 0 -2px 3px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.55); }
.knob__cap::after { content: ""; position: absolute; inset: 34%; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(255,255,255,.55), rgba(255,255,255,0) 70%); }

/* Repère rouge : c'est lui qui tourne */
.amp--real .knob__needle { position: absolute; inset: 25%; border-radius: 50%; transform-box: border-box; transform-origin: 50% 50%; transform: rotate(var(--a)); }
.amp--real .knob__needle::before { content: ""; position: absolute; left: 50%; top: 5%; width: 4px; height: 34%; margin-left: -2px; border-radius: 2px;
  background: #E8162B; box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 0 6px rgba(255,52,70,.55); }

/* Bornier doré */
.amp__terms { display: flex; justify-content: space-between; gap: 18px; padding: 14px 6px 0; border-top: 1px solid rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(0,0,0,.5); }
.amp__tgroup { display: flex; gap: 14px; }
.amp__t { display: flex; align-items: center; gap: 6px; font: 600 9.5px var(--mono); letter-spacing: .12em; color: #8F949C; }
.amp__t i { position: relative; width: 16px; height: 16px; border-radius: 3px; background: linear-gradient(180deg, #F3D48A, #B8862E 60%, #8A6220);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 1px 2px rgba(0,0,0,.7); }
.amp__t i::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #FFF1C9, #9C7228); box-shadow: inset 0 0 0 1px rgba(0,0,0,.35); }

/* Survol : potard ou texte -> le potard part au maximum */
.amp--real .amp__cell:hover .amp__lbl { color: #fff; }
.why3:has(.why3__note:nth-child(1):hover) .amp__cell:nth-child(1) .knob__needle,
.why3:has(.why3__note:nth-child(2):hover) .amp__cell:nth-child(2) .knob__needle,
.why3:has(.why3__note:nth-child(3):hover) .amp__cell:nth-child(3) .knob__needle,
.why3:has(.why3__note:nth-child(4):hover) .amp__cell:nth-child(4) .knob__needle { transform: rotate(135deg); }
.why3:has(.why3__note:nth-child(1):hover) .amp__cell:nth-child(1) .knob__tick,
.why3:has(.why3__note:nth-child(2):hover) .amp__cell:nth-child(2) .knob__tick,
.why3:has(.why3__note:nth-child(3):hover) .amp__cell:nth-child(3) .knob__tick,
.why3:has(.why3__note:nth-child(4):hover) .amp__cell:nth-child(4) .knob__tick { stroke: #FF3446; }
.why3:has(.amp__cell:nth-child(1):hover) .why3__note:nth-child(1) b,
.why3:has(.amp__cell:nth-child(2):hover) .why3__note:nth-child(2) b,
.why3:has(.amp__cell:nth-child(3):hover) .why3__note:nth-child(3) b,
.why3:has(.amp__cell:nth-child(4):hover) .why3__note:nth-child(4) b,
.why3__note:hover b { color: var(--red); }

/* Textes sous l'ampli, alignés sur les potards */
.why3__notes { width: 100%; max-width: 1120px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px;
  padding-inline: calc(18px + clamp(26px, 4vw, 54px)); margin-top: -8px; }
.why3__note { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.why3__n { font: 500 10.5px var(--mono); letter-spacing: .2em; color: var(--red); }
.why3__note b { font-size: 19px; letter-spacing: -0.01em; color: var(--fg); transition: color .2s; }
.why3__note p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--fg-2); max-width: 22em; }

@media (max-width: 1100px) {
  .amp--real .amp__model { display: none; }
  .amp--real .amp__leds { margin-left: auto; }
  .why3__notes { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 0; row-gap: 36px; }
}
@media (max-width: 700px) {
  .amp.amp--real { padding: 0 10px; border-radius: 18px; }
  .amp__fins { height: 24px; margin-inline: -10px; }
  .amp__face { padding: 18px 14px 16px; }
  .amp__screw { width: 10px; height: 10px; }
  .amp__screw::before, .amp__screw::after { width: 6px; margin-left: -3px; }
  .amp__screw--tl, .amp__screw--bl { left: 7px; } .amp__screw--tr, .amp__screw--br { right: 7px; }
  .amp__screw--tl, .amp__screw--tr { top: 7px; } .amp__screw--bl, .amp__screw--br { bottom: 7px; }
  .amp--real .amp__bar { padding: 0 10px 14px; gap: 10px; }
  .amp--real .amp__brand { font-size: 17px; }
  .amp--real .amp__brand small { font-size: 8px; letter-spacing: .14em; }
  .amp__leds { gap: 10px; }
  .amp__led { font-size: 8.5px; gap: 5px; }
  .amp__led:not(.amp__led--on) { display: none; }
  .amp--real .amp__knobs { gap: 4px; padding: 20px 0 6px; }
  .amp--real .knob { width: 100%; }
  .amp--real .amp__lbl { font-size: 8px; letter-spacing: .1em; }
  .amp__terms { display: none; }
  .knob__scale text { font-size: 9px; }
  .why3__notes { grid-template-columns: 1fr; row-gap: 30px; margin-top: 0; }
}

/* Apparition au défilement des textes sous l'ampli */
html.js:not(.anim-off) .why3__note:not(.rv-in) { opacity: 0; }

/* Mode sombre : un liseré et un léger halo rouge pour détacher l'ampli du fond */
html[data-theme="dark"] .amp.amp--real { outline: 0 !important;
  box-shadow: 0 2px 0 rgba(255,255,255,.08) inset, 0 -2px 0 rgba(0,0,0,.6) inset, 0 0 0 1px rgba(255,255,255,.09), 0 40px 80px -20px rgba(0,0,0,.95); }
html[data-theme="dark"] .amp-stage::before { content: ""; position: absolute; inset: -12% -6%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(230,30,49,.13), rgba(230,30,49,0)); }
html[data-theme="dark"] .amp-stage::after { background: radial-gradient(closest-side, rgba(0,0,0,.8), rgba(0,0,0,0)); }

/* ==========================================================================
   MENU MOBILE ANIMÉ
   Le panneau rouge descend comme un rideau, les liens montent un par un,
   le burger se transforme en croix. À la fermeture, tout repart vite.
   ========================================================================== */
.burger__ico path { transform-box: fill-box; transform-origin: center; transition: transform .45s cubic-bezier(.7,0,.2,1), opacity .25s ease; }
.burger[aria-expanded="true"] .burger__l1 { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__l2 { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] .burger__l3 { transform: translateY(-5px) rotate(-45deg); }

html.menu-open { overflow: hidden; }

@media (max-width: 1100px) {
  /* Le header ne doit jamais « enfermer » le menu fixé (pas de will-change sur mobile) */
  .top { will-change: auto; }

  /* Panneau : toujours présent, caché par un rideau */
  .top__nav, .top__nav.is-open { display: flex; }
  .top__nav { visibility: hidden; pointer-events: none; clip-path: inset(0 0 100% 0);
    transition: clip-path .5s cubic-bezier(.7,0,.2,1), visibility 0s linear .5s; }
  .top__nav.is-open { visibility: visible; pointer-events: auto; clip-path: inset(0 0 0 0);
    transition: clip-path .6s cubic-bezier(.7,0,.2,1), visibility 0s; }

  /* Liens : montent l'un après l'autre */
  .top__nav > a, .top__mob > * { opacity: 0; transform: translateY(28px);
    transition: opacity .2s ease, transform .3s ease, color .2s; }
  .top__nav.is-open > a, .top__nav.is-open .top__mob > * { opacity: 1; transform: none;
    transition: opacity .5s ease, transform .65s cubic-bezier(.2,.8,.2,1), color .2s; }
  .top__nav.is-open > a:nth-child(1) { transition-delay: .18s; }
  .top__nav.is-open > a:nth-child(2) { transition-delay: .24s; }
  .top__nav.is-open > a:nth-child(3) { transition-delay: .30s; }
  .top__nav.is-open > a:nth-child(4) { transition-delay: .36s; }
  .top__nav.is-open > a:nth-child(5) { transition-delay: .42s; }
  .top__nav.is-open .top__mob > :nth-child(1) { transition-delay: .52s; }
  .top__nav.is-open .top__mob > :nth-child(2) { transition-delay: .58s; }
  .top__nav.is-open .top__mob > :nth-child(3) { transition-delay: .64s; }

  /* Le trait sous chaque lien se trace de gauche à droite */
  .top__nav > a { border-bottom-color: transparent; background: linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,.3)) left bottom / 0 1px no-repeat; }
  .top__nav.is-open > a { background-size: 100% 1px; transition: opacity .5s ease, transform .65s cubic-bezier(.2,.8,.2,1), background-size .7s cubic-bezier(.2,.8,.2,1), color .2s; }

  /* Petit décalage au toucher */
  .top__nav > a:active { transform: translateX(8px); transition-delay: 0s; }

  /* Textes toujours blancs sur le rouge (aussi en mode sombre et sur l'accueil) */
  html .top__nav > a, html .top__nav > a:hover, html .top__nav > a[aria-current="page"],
  html[data-theme="dark"] .top__nav > a, html.on-hero .top__nav > a { color: #fff; }
}

@media (max-width: 1100px) and (prefers-reduced-motion: reduce) {
  .top__nav, .top__nav.is-open, .top__nav > a, .top__mob > *, .top__nav.is-open > a, .top__nav.is-open .top__mob > *, .burger__ico path { transition: none !important; }
}

/* ---------- Bas du menu : appel, horaires, adresse ---------- */
@media (max-width: 1100px) {
  .top__nav > a { padding: 15px 0; font-size: clamp(26px, 7.4vw, 32px); }
  .top__mob { align-items: stretch; gap: 12px; margin-top: 28px; padding-bottom: env(safe-area-inset-bottom, 0px); }

  /* Carte « Appeler l'atelier » */
  .mtel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 18px 14px 14px;
    background: #fff; color: #0B0B0B; text-decoration: none; transition: transform .2s ease; }
  .mtel:active { transform: scale(.98); }
  .mtel__ico { position: relative; width: 50px; height: 50px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--red); color: #fff; }
  .mtel__ico svg { width: 22px; height: 22px; }
  .mtel__ico::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); animation: telRing 2.4s ease-out infinite; }
  @keyframes telRing { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.3); opacity: 0; } }
  .mtel__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  .mtel__txt small { font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #6E6E69; }
  .mtel__txt b { font-size: clamp(19px, 5.6vw, 23px); font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .mtel__go { color: var(--red); display: inline-flex; }
  .mtel__go svg { width: 22px; height: 22px; }

  /* Carte horaires */
  .mhours { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.4); color: #fff; }
  .mhours__now { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; font-size: 15px; }
  .mhours__now .status__dot { position: relative; width: 11px; height: 11px; border-radius: 50%; background: #fff; flex: none; }
  .mhours__now[data-open="true"] .status__dot { background: #2BE36B; box-shadow: 0 0 0 3px rgba(255,255,255,.3); }
  .mhours__now[data-open="true"] .status__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #2BE36B; animation: dotPulse 2s ease-out infinite; }
  @keyframes dotPulse { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
  .mhours__now b { font-size: 18px; font-weight: 800; }
  .mhours__now .muted { color: rgba(255,255,255,.9); }

  .mhours__list { list-style: none; margin: 0; padding: 0; }
  .mhours__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.22);
    font-size: 14px; color: rgba(255,255,255,.88); }
  .mhours__list li > :first-child { min-width: 0; }
  .mhours__list li > :last-child { flex: none; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; line-height: 1.45; }
  .mhours__list li.is-today { color: #fff; font-weight: 700; }
  .mhours__list li.is-today > :first-child::after { content: "Aujourd'hui"; display: block; width: max-content; margin-top: 6px; padding: 2px 6px;
    font: 700 9.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; background: #fff; color: var(--red); }

  .mhours__addr { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.22);
    color: #fff; text-decoration: none; font-size: 14px; }
  .mhours__addr svg { width: 18px; height: 18px; flex: none; }
  .mhours__addr span { min-width: 0; }
  .mhours__addr em { margin-left: auto; font-style: normal; font-weight: 700; white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; }

  .top__mcta { min-height: 54px; }
}
@media (max-width: 1100px) and (prefers-reduced-motion: reduce) {
  .mtel__ico::after, .mhours__now .status__dot::after { animation: none; display: none; }
}

/* ==========================================================================
   ACCUEIL — le logo vibre comme une membrane de haut-parleur au chargement
   Version discrète : deux petits coups (« boum… boum »), une légère ondulation
   du logo (filtre SVG #membrane) et des ondes blanches très fines.
   L'effet se joue une seule fois, au chargement.
   ========================================================================== */
.hero3__mark { position: relative; display: grid; place-items: center; }
.hero3__mem { display: block; transform-origin: 50% 50%; }
.hero3__fx { position: absolute; width: 0; height: 0; overflow: hidden; }
.hero3__rings { position: absolute; inset: 0; pointer-events: none; }
.hero3__rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); opacity: 0; }
.hero3__rings i:nth-child(1) { border: 0; background: radial-gradient(closest-side, rgba(255,255,255,.10), rgba(255,255,255,.03) 60%, rgba(255,255,255,0)); }
.hero3__rings i:nth-child(3), .hero3__rings i:nth-child(4) { border-color: rgba(255,255,255,.3); }

@media (prefers-reduced-motion: no-preference) {
  .hero3__mem { filter: url(#membrane);
    animation: memPump 2s cubic-bezier(.3,.6,.3,1) 1.75s 1 both, memOff .01s linear 4s 1 forwards; }
  /* Intro : trois ondes au premier coup, une au second */
  .hero3__rings i { animation: ringOut 2s cubic-bezier(.12,.7,.25,1) 1.75s 1 both; }
  .hero3__rings i:nth-child(1) { animation: ringGlow 1.5s cubic-bezier(.12,.7,.25,1) 1.72s 1 both; }
  .hero3__rings i:nth-child(3) { animation-delay: 1.9s; }
  .hero3__rings i:nth-child(4) { animation: ringOut2 1.8s cubic-bezier(.12,.7,.25,1) 2.63s 1 both; }
  .hero3__rings i:nth-child(5) { display: none; }
  .hero3__bg { animation: fadeIn 1.2s ease .1s backwards, bgKick 2s cubic-bezier(.3,.6,.3,1) 1.75s 1; }
}
@keyframes memPump {
  0%   { transform: scale(1); }
  5%   { transform: scale(1.035, 1.028); }
  13%  { transform: scale(.985, .99); }
  22%  { transform: scale(1.007); }
  32%, 44% { transform: scale(1); }
  49%  { transform: scale(1.02, 1.016); }
  58%  { transform: scale(.993); }
  70%, 100% { transform: scale(1); }
}
@keyframes memOff { to { filter: none; } }
@keyframes ringOut {
  0%   { transform: scale(.96); opacity: 0; }
  8%   { opacity: .5; }
  100% { transform: scale(2.3); opacity: 0; }
}
@keyframes ringOut2 {
  0%   { transform: scale(.97); opacity: 0; }
  8%   { opacity: .35; }
  100% { transform: scale(1.9); opacity: 0; }
}
@keyframes ringGlow {
  0%   { transform: scale(.75); opacity: 0; }
  12%  { opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}
@keyframes bgKick {
  0%   { transform: scale(1); }
  5%   { transform: scale(1.012); }
  30%, 44% { transform: scale(1); }
  49%  { transform: scale(1.006); }
  70%, 100% { transform: scale(1); }
}

/* Cartouche du projet (en bas à gauche) : rouge seulement quand on le survole lui */
.hero3 .mos__cap { transition: background-color .2s ease; }
.hero3 .slide:hover .mos__cap { background: rgba(11,11,11,.75); }
.hero3 .slide .mos__cap:hover { background: var(--red); }

/* ==========================================================================
   SÉLECTEUR DE LANGUE (FR · DE · IT) — remplace le bouton du mode sombre
   ========================================================================== */
.lsw { position: relative; flex: none; }
.lsw__btn { list-style: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 12px 0 14px; cursor: pointer;
  border: 1.5px solid var(--black); color: var(--fg); font: 700 13px var(--mono); letter-spacing: .08em; user-select: none;
  transition: background-color .2s, color .2s, border-color .2s; }
.lsw__btn::-webkit-details-marker { display: none; }
.lsw__btn svg { width: 15px; height: 15px; transition: transform .25s ease; }
.lsw[open] .lsw__btn svg { transform: rotate(180deg); }
.lsw__btn:hover, .lsw[open] .lsw__btn { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.lsw__list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 95; min-width: 190px; margin: 0; padding: 6px; list-style: none;
  background: var(--s1); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.lsw[open] .lsw__list { animation: langIn .22s cubic-bezier(.2,.7,.2,1); }
@keyframes langIn { from { opacity: 0; transform: translateY(-6px); } }
.lsw__list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; color: var(--fg); text-decoration: none; font-size: 15px; font-weight: 600; }
.lsw__list a i { font: 600 11px var(--mono); font-style: normal; letter-spacing: .1em; color: var(--mut); }
.lsw__list a:hover { background: var(--s2); }
.lsw__list a[aria-current="page"] { color: var(--red); }
.lsw__list a[aria-current="page"] i { color: var(--red); }

/* Sur le haut de l'accueil (header transparent) */
html.on-hero:not(.menu-open) .lsw:not([open]) .lsw__btn { color: #fff; border-color: rgba(255,255,255,.65); }
html.on-hero:not(.menu-open) .lsw:not([open]) .lsw__btn:hover { background: #fff; color: #0B0B0B; border-color: #fff; }

@media (max-width: 1100px) {
  .lsw__btn { height: 48px; padding: 0 10px 0 12px; }
}
@media (max-width: 380px) {
  .lsw__btn { height: 42px; padding: 0 8px 0 10px; gap: 4px; }
}

/* Le cartouche du hero est maintenant un lien : pas de soulignement */
a.mos__cap { color: #fff; text-decoration: none; }

/* Textes ajoutés par le CSS, selon la langue de la page */
html[lang="de"] .photo.img-missing::after { content: "Foto folgt"; }
html[lang="it"] .photo.img-missing::after { content: "Foto in arrivo"; }
html[lang="de"] .mhours__list li.is-today > :first-child::after { content: "Heute"; }
html[lang="it"] .mhours__list li.is-today > :first-child::after { content: "Oggi"; }

/* Boutons larges : le texte peut passer sur deux lignes (textes plus longs en allemand) */
.btn--block { white-space: normal; text-align: center; height: auto; min-height: 54px; padding-block: 12px; line-height: 1.3; }

/* « 30 Jahre » / « 30 anni » sont plus longs que « 30 ans » : on réduit pour qu'ils restent entiers */
html[lang="de"] .page-hero__big { font-size: clamp(110px, 16vw, 260px); white-space: nowrap; }
html[lang="it"] .page-hero__big { font-size: clamp(120px, 19vw, 300px); white-space: nowrap; }
@media (max-width: 600px) {
  html[lang="de"] .page-hero__big { font-size: 21vw; }
  html[lang="it"] .page-hero__big { font-size: 25vw; }
}

/* ==========================================================================
   ACCUEIL — SERVICES centrés : en-tête au centre, 6 cartes lisibles, bouton en bas
   ========================================================================== */
.svc3 { display: flex; flex-direction: column; align-items: center; gap: 56px; text-align: center; background: var(--s1);
  padding-block: 128px 136px; padding-left: max(20px, env(safe-area-inset-left, 0px), 6vw); padding-right: max(20px, env(safe-area-inset-right, 0px), 6vw); }
.svc3__head { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 760px; }
.svc3__eyebrow { font: 500 12px var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--red); display: inline-flex; align-items: center; gap: 12px; }
.svc3__eyebrow::before, .svc3__eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--red); }
.svc3__title { max-width: 16em; text-wrap: balance; }
.svc3__lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--fg-2); max-width: 34em; text-wrap: pretty; }

.svc3__grid { width: 100%; max-width: 1180px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc3__card { position: relative; display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--fg);
  background: var(--bg); border: 1px solid var(--line); transition: border-color .25s ease, transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.svc3__card::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--red); transform: scaleX(0); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.svc3__card:hover { border-color: #4A4A46; transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0,0,0,.45); }
.svc3__card:hover::before { transform: scaleX(1); }
.svc3__card:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.svc3__art { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 9; border-bottom: 1px solid var(--line);
  background: radial-gradient(circle, rgba(255,255,255,.07) 1.2px, transparent 1.4px) 0 0 / 14px 14px, var(--s2); transition: background-color .25s; }
.svc3__art .illu { width: 62%; height: auto; max-height: 82%; color: var(--fg); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.svc3__card:hover .svc3__art .illu { transform: scale(1.06); }

.svc3__txt { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 28px 32px; }
.svc3__t { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; transition: color .2s; }
.svc3__card:hover .svc3__t { color: #fff; }
.svc3__d { font-size: 16px; line-height: 1.6; color: var(--fg-2); max-width: 26em; }
.svc3__spec { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 6px; }
.svc3__spec span { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mut); padding: 5px 9px; border: 1px solid var(--line); }
.svc3__card:hover .svc3__spec span { color: var(--fg-2); border-color: #4A4A46; }

.svc3__all { margin-top: 4px; }

/* Apparition au défilement */
html.js:not(.anim-off) :is(.svc3__head, .svc3__card, .svc3__all):not(.rv-in) { opacity: 0; }

@media (max-width: 1000px) {
  .svc3__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Téléphone : cartes compactes, illustration à gauche, texte à droite */
@media (max-width: 640px) {
  .svc3 { padding-block: 88px 96px; gap: 40px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .svc3__lead { font-size: 16px; }
  .svc3__grid { grid-template-columns: 1fr; gap: 12px; }
  .svc3__card { flex-direction: row; align-items: stretch; text-align: left; }
  .svc3__card:hover { transform: none; }
  .svc3__art { flex: none; width: 104px; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .svc3__art .illu { width: 84%; }
  .svc3__txt { align-items: flex-start; gap: 6px; padding: 18px 18px 18px 16px; min-width: 0; }
  .svc3__t { font-size: 18px; }
  .svc3__d { font-size: 14.5px; line-height: 1.5; }
  .svc3__spec { display: none; }
  .svc3__all { width: 100%; }
}

/* ==========================================================================
   ACCUEIL — toutes les sections centrées (plus de numéros 01, 03, 04 sur le côté)
   et bandeau « Un projet pour votre voiture ? » centré sur toutes les pages
   ========================================================================== */
.sx { display: flex; flex-direction: column; align-items: center; gap: 22px; padding-block: 128px 136px;
  padding-left: max(20px, env(safe-area-inset-left, 0px), 6vw); padding-right: max(20px, env(safe-area-inset-right, 0px), 6vw); }
.sx__label { position: static; flex-direction: row; align-items: center; gap: 12px; align-self: center;
  font: 500 12px var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.sx__label::before, .sx__label::after { content: ""; width: 26px; height: 2px; background: var(--red); }
.sx__num { display: none; }
.sx__body { width: 100%; max-width: 1180px; margin-inline: auto; }
.sx__head { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; margin-bottom: 56px; }
.sx__head h2 { max-width: 16em; text-wrap: balance; }

/* Méthode : trois étapes centrées */
.steps3 li { align-items: center; text-align: center; padding: 40px 28px 0; }
.steps3 p { max-width: 24em; }

/* L'atelier : bloc photo + texte centré dans la page */
.atelier3 { max-width: 1180px; margin-inline: auto; }

/* Bandeau rouge de fin de page : centré */
.cta3__link { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta3__title { margin-inline: auto; }
.cta3__row { flex-direction: column; align-items: center; justify-content: center; gap: 32px; }
.cta3__text { text-wrap: pretty; }

@media (max-width: 900px) {
  .sx { padding-block: 88px 96px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); gap: 18px; }
  .sx__head { margin-bottom: 40px; }
  .steps3 li { padding: 32px 8px 0; }
}

/* Diaporama du hero : une photo toutes les 3,5 s, fondu et zoom raccourcis en conséquence */
.hero3 .slider .slide.is-active { transition: opacity .8s ease, visibility 0s; }
.hero3 .slider .slide.is-active .photo img { animation-duration: 4.5s; }

/* Ampli allégé : sans modèle ni bornier, la LED Power passe à droite */
.amp--real .amp__leds { margin-left: auto; }
.amp--real .amp__knobs { padding-bottom: 26px; }

/* ==========================================================================
   ACCUEIL — SERVICES : la voiture en « radiographie »
   Voiture vue de dessus au centre, inclinée comme posée sur une table,
   un point par installation ; les six services sont répartis autour.
   ========================================================================== */
.vcar { display: flex; flex-direction: column; align-items: center; gap: 64px; text-align: center; background: var(--s1); overflow: hidden;
  padding-block: 128px 136px; padding-left: max(20px, env(safe-area-inset-left, 0px), 6vw); padding-right: max(20px, env(safe-area-inset-right, 0px), 6vw); }
.vcar__head { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 760px; }

.vcar__stage { width: 100%; max-width: 1180px; display: grid; grid-template-columns: minmax(0, 1fr) 330px minmax(0, 1fr); align-items: center; gap: 48px; }

/* ---------- La voiture ---------- */
.vcar__car { position: relative; perspective: 1300px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.vcar__plane { position: relative; width: 100%; aspect-ratio: 1 / 2; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 16deg)) rotateY(var(--ry, 0deg)); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.vcar__plane::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: -5%; height: 9%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(0,0,0,.55), rgba(0,0,0,0)); filter: blur(6px); transform: translateZ(-30px); }
.vcar__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vcar__svg * { vector-effect: non-scaling-stroke; }
.vcar__body { fill: rgba(255,255,255,.035); stroke: rgba(236,236,232,.85); stroke-width: 2; }
.vcar__wheels rect { fill: #0B0B0B; stroke: rgba(236,236,232,.5); stroke-width: 1.5; }
.vcar__line { fill: none; stroke: rgba(236,236,232,.6); stroke-width: 1.4; }
.vcar__faint { fill: none; stroke: rgba(236,236,232,.22); stroke-width: 1.2; }
.vcar__glass { fill: rgba(255,255,255,.06); stroke: rgba(236,236,232,.45); stroke-width: 1.3; }
.vcar__roof { fill: none; stroke: rgba(236,236,232,.2); stroke-width: 1.2; stroke-dasharray: 4 5; }
.vcar__seat { fill: rgba(255,255,255,.035); stroke: rgba(236,236,232,.4); stroke-width: 1.2; }

/* Les installations : discrètes au repos, rouges et lumineuses quand elles sont choisies */
.vcar__comp { fill: none; stroke: rgba(236,236,232,.55); stroke-width: 1.5; transition: stroke .3s, filter .3s; }
.vcar__comp--hidden { stroke-dasharray: 3 3; }
.vcar__comp.is-on { stroke: #FF3446; stroke-width: 2; filter: drop-shadow(0 0 5px rgba(255,52,70,.85)); }

/* Points */
.vcar__dot { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; padding: 0; border-radius: 50%; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center; border: 1.5px solid rgba(255,255,255,.85); background: rgba(14,14,13,.85); color: #fff;
  font: 600 10px var(--mono); letter-spacing: .02em; transition: background .25s, border-color .25s, transform .25s; }
.vcar__dot::before, .vcar__dot::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); opacity: 0; pointer-events: none; }
.vcar__dot:hover { transform: scale(1.12); border-color: #fff; }
.vcar__dot.is-on { background: var(--red); border-color: var(--red); transform: scale(1.1); }
.vcar__dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .vcar__dot:not(.is-on)::before { animation: vdotIdle 2.8s ease-out infinite; }
  .vcar__dot.is-on::before, .vcar__dot.is-on::after { border-color: rgba(255,52,70,.8); animation: vdotWave 1.8s ease-out infinite; }
  .vcar__dot.is-on::after { animation-delay: .6s; }
}
@keyframes vdotIdle { 0% { transform: scale(1); opacity: .5; } 60%, 100% { transform: scale(1.7); opacity: 0; } }
@keyframes vdotWave { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }

.vcar__hint { margin: 0; font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mut); }

/* ---------- Les services autour ---------- */
.vcar__col { display: flex; flex-direction: column; text-align: left; }
.vcar__col--l { text-align: right; }
.vcar__item { border-top: 1px solid var(--line); }
.vcar__item:last-child { border-bottom: 1px solid var(--line); }
.vcar__btn { width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px 4px; background: none; border: 0; cursor: pointer; color: var(--fg); text-align: inherit; font: inherit; }
.vcar__col--l .vcar__btn { flex-direction: row-reverse; }
.vcar__n { flex: none; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--line);
  font: 600 11px var(--mono); color: var(--mut); transition: background .25s, border-color .25s, color .25s; }
.vcar__tw { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.vcar__t { font-size: 19px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; color: var(--fg-2); transition: color .25s; }
.vcar__w { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.vcar__btn:hover .vcar__t { color: #fff; }
.vcar__btn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.vcar__item.is-on .vcar__n { background: var(--red); border-color: var(--red); color: #fff; }
.vcar__item.is-on .vcar__t { color: #fff; }
.vcar__item.is-on .vcar__w { color: #FF6B78; }

/* Fiche qui s'ouvre sous le service choisi */
.vcar__p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1); }
.vcar__p > div { overflow: hidden; min-height: 0; padding-inline: 4px 54px; }
.vcar__col--l .vcar__p > div { padding-inline: 54px 4px; }
.vcar__item.is-on .vcar__p { grid-template-rows: 1fr; }
.vcar__p p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.6; color: var(--fg-2); }
.vcar__p .link-arrow { margin-bottom: 22px; display: inline-flex; }
.vcar__item:not(.is-on) .vcar__p > div { visibility: hidden; transition: visibility 0s .45s; }

/* Apparition au défilement */
html.js:not(.anim-off) :is(.vcar__head, .vcar__stage, .vcar__all):not(.rv-in) { opacity: 0; }

/* ---------- Tablette et téléphone : voiture en haut, services en liste dessous ---------- */
@media (max-width: 1000px) {
  .vcar__stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "car" "l" "r"; gap: 0; max-width: 560px; }
  .vcar__car { grid-area: car; width: min(250px, 66vw); margin: 0 auto 40px; }
  .vcar__col--l { grid-area: l; } .vcar__col--r { grid-area: r; }
  .vcar__col--l, .vcar__col { text-align: left; }
  .vcar__col--l .vcar__btn { flex-direction: row; }
  .vcar__col--l .vcar__p > div, .vcar__p > div { padding-inline: 54px 4px; }
  .vcar__col--l .vcar__item:last-child { border-bottom: 0; }
}
@media (max-width: 640px) {
  .vcar { padding-block: 88px 96px; gap: 44px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .vcar__dot { width: 26px; height: 26px; margin: -13px 0 0 -13px; font-size: 9px; }
  .vcar__t { font-size: 17px; }
  .vcar__btn { padding: 16px 2px; gap: 14px; }
  .vcar__p > div, .vcar__col--l .vcar__p > div { padding-inline: 50px 2px; }
  .vcar__all { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .vcar__plane { transition: none; }
  .vcar__p { transition: none; }
}

/* Survol d'un service dans la liste : aperçu de son emplacement sur la voiture */
.vcar__comp.is-hint:not(.is-on) { stroke: rgba(255,52,70,.75); }
.vcar__dot.is-hint:not(.is-on) { border-color: var(--red); transform: scale(1.12); }

/* Les points restent cliquables au-dessus du dessin (aussi au toucher) */
.vcar__svg { pointer-events: none; }
.vcar__dot { translate: 0 0 2px; }
/* Texte d'aide selon l'appareil */
.vcar__hint .vcar__hint-t { display: none; }
@media (hover: none), (pointer: coarse) {
  .vcar__hint .vcar__hint-t { display: inline; }
  .vcar__hint .vcar__hint-h { display: none; }
}

/* La section de l'ampli ne doit pas élargir la page sur téléphone (ombre au sol) */
.why3 { overflow-x: clip; }

/* ==========================================================================
   ACCUEIL — SERVICES « vidéo au défilement »
   La scène reste collée à l'écran ; le défilement fait avancer la caméra
   (cadrage viewBox du dessin, posé par le script) et change le texte.
   ========================================================================== */
.scar { position: relative; background: var(--s1); padding-top: 128px; }
.scar__head { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; max-width: 760px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.scar__track { position: relative; height: calc(var(--n) * 85svh + 100svh); }
.scar__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(300px, 420px);
  align-items: center; gap: 32px; padding-left: max(20px, env(safe-area-inset-left, 0px), 5vw); padding-right: max(20px, env(safe-area-inset-right, 0px), 6vw); }

/* Ordre des colonnes : étapes | voiture | texte */
.scar__ticks { grid-column: 1; grid-row: 1; }
.scar__scene { grid-column: 2; grid-row: 1; }
.scar__texts { grid-column: 3; grid-row: 1; }

/* ---------- La scène ---------- */
.scar__scene { position: relative; height: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.scar__scene .vcar__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
/* Les installations apparaissent quand on y arrive, puis restent visibles en blanc */
.scar .vcar__comp { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center;
  transition: opacity .5s ease, transform .7s cubic-bezier(.2,.8,.2,1), stroke .35s, filter .35s; }
.scar .vcar__comp.is-seen { opacity: .85; transform: none; }
.scar .vcar__comp.is-on { opacity: 1; transform: none; stroke: #FF3446; stroke-width: 2; filter: drop-shadow(0 0 6px rgba(255,52,70,.9)); }

/* Repères numérotés sur la voiture */
.scar__dot { position: absolute; left: 0; top: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font: 600 9px var(--mono); color: #fff; background: var(--red); opacity: 0; transform: scale(.4); pointer-events: none;
  transition: opacity .35s ease, transform .5s cubic-bezier(.2,.8,.2,1), background .3s; }
.scar__dot::before, .scar__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255,52,70,.85); opacity: 0; }
.scar__dot.is-seen { opacity: .55; transform: scale(.7); background: #3A3A37; }
.scar__dot.is-on { opacity: 1; transform: scale(1.1); background: var(--red); }
@media (prefers-reduced-motion: no-preference) {
  .scar__dot.is-on::before, .scar__dot.is-on::after { animation: vdotWave 1.8s ease-out infinite; }
  .scar__dot.is-on::after { animation-delay: .6s; }
}

/* ---------- Les textes ---------- */
.scar__texts { position: relative; height: 100%; }
.scar__step { position: absolute; left: 0; right: 0; top: 50%; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; text-align: left;
  opacity: 0; transform: translateY(calc(-50% + 28px)); pointer-events: none; transition: opacity .45s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.scar__step.is-on { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.scar__n { font: 600 13px var(--mono); letter-spacing: .12em; color: var(--red); }
.scar__n i { font-style: normal; color: var(--mut); }
.scar__t { margin: 0; font-size: clamp(30px, 3vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: #fff; }
.scar__w { font: 500 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #FF6B78; }
.scar__step p { margin: 6px 0 4px; font-size: 18px; line-height: 1.6; color: var(--fg-2); max-width: 26em; }
.scar__big { margin: 0 !important; font-size: clamp(26px, 2.6vw, 36px) !important; font-weight: 800; letter-spacing: -0.025em; line-height: 1.15 !important; color: #fff !important; text-wrap: balance; }
.scar__step .btn { margin-top: 18px; }

/* Petite souris « faites défiler » */
.scar__scroll { width: 26px; height: 40px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; position: relative; margin-top: 10px; }
.scar__scroll i { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; }
@media (prefers-reduced-motion: no-preference) { .scar__scroll i { animation: scarWheel 1.6s ease-in-out infinite; } }
@keyframes scarWheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Étapes (01 → 06) et « Passer » ---------- */
.scar__ticks { display: flex; flex-direction: column; gap: 10px; align-self: center; }
.scar__tick { width: 40px; height: 40px; padding: 0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; background: none;
  border: 1.5px solid var(--line); color: var(--mut); font: 600 11px var(--mono); transition: background .25s, border-color .25s, color .25s; }
.scar__tick:hover { border-color: var(--fg-2); color: var(--fg); }
.scar__tick.is-seen { border-color: #5F5F5A; color: var(--fg-2); }
.scar__tick.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.scar__tick:focus-visible, .scar__skip:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.scar__skip { position: absolute; right: max(20px, 6vw); bottom: 26px; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--mut); text-decoration: none; padding: 8px 0; }
.scar__skip:hover { color: #fff; }
#apres-services { display: block; position: relative; top: -1px; }

/* Apparition de l'en-tête au défilement */
html.js:not(.anim-off) .scar__head:not(.rv-in) { opacity: 0; }

/* ---------- Tablette et téléphone : voiture en haut, texte en bas ---------- */
@media (max-width: 900px) {
  .scar { padding-top: 88px; }
  .scar__track { height: calc(var(--n) * 80svh + 100svh); }
  .scar__pin { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto auto; gap: 0; align-items: stretch;
    padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 64px 18px; }
  .scar__scene { grid-column: 1; grid-row: 1; }
  .scar__texts { grid-column: 1; }
  .scar__ticks { grid-column: 1; }
  .scar__texts { grid-row: 2; height: 230px; }
  .scar__step { top: 0; transform: translateY(24px); align-items: flex-start; gap: 8px; }
  .scar__step.is-on { transform: none; }
  .scar__t { font-size: 26px; }
  .scar__step p { font-size: 15.5px; line-height: 1.5; margin: 2px 0; }
  .scar__big { font-size: 23px !important; }
  .scar__ticks { grid-row: 3; flex-direction: row; justify-content: center; gap: 6px; padding-top: 10px; }
  .scar__tick { width: 34px; height: 30px; font-size: 10px; }
  .scar__skip { bottom: auto; top: 18px; right: max(16px, env(safe-area-inset-right, 0px)); }
}

/* ---------- Sans animation (réglage du visiteur, ou sans script) : tout affiché d'un coup ---------- */
.scar--static .scar__track, html:not(.js) .scar__track { height: auto; }
.scar--static .scar__pin, html:not(.js) .scar__pin { position: static; height: auto; display: flex; flex-direction: column; gap: 40px; padding-block: 56px 120px; }
.scar--static .scar__scene, html:not(.js) .scar__scene { width: 100%; height: 70svh; -webkit-mask-image: none; mask-image: none; }
.scar--static .vcar__comp, html:not(.js) .scar .vcar__comp { opacity: 1; transform: none; }
.scar--static .scar__dot { opacity: 1; transform: none; }
html:not(.js) .scar__dot { display: none; }
.scar--static .scar__texts, html:not(.js) .scar__texts { height: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px; max-width: 1180px; margin: 0 auto; width: 100%; }
.scar--static .scar__step, html:not(.js) .scar__step { position: static; opacity: 1; transform: none; pointer-events: auto; }
.scar--static .scar__step[data-i="0"], html:not(.js) .scar__step[data-i="0"],
.scar--static .scar__ticks, html:not(.js) .scar__ticks, .scar--static .scar__skip, html:not(.js) .scar__skip { display: none; }

/* ---------- Version avec l'image de la voiture en radiographie ---------- */
/* Le fond de l'image a déjà la couleur de la section (#171716) : elle s'y fond */
.scar .vcar__comp { stroke: rgba(255,255,255,.75); stroke-width: 1.6; fill: none; }
.scar .vcar__comp.is-seen { opacity: .7; stroke: rgba(255,255,255,.7); }
.scar .vcar__comp.is-on { stroke: #FF3446; stroke-width: 2.2; fill: rgba(255,52,70,.16); filter: drop-shadow(0 0 7px rgba(255,52,70,.95)); }
.scar .vcar__comp--hidden { stroke-dasharray: 4 3; }
.scar__step p:not(.scar__big) { max-width: 30em; }
@media (max-width: 900px) {
  .scar__texts { height: 290px; }
}

/* Téléphone : plus de carrés 01 → 06 sous la voiture, le texte a plus de place */
@media (max-width: 900px) {
  .scar__ticks { display: none; }
  .scar__pin { grid-template-rows: minmax(0, 1fr) auto; }
}

/* ==========================================================================
   Retouches diverses
   ========================================================================== */
/* « Les 64 fiches » sous la liste des réalisations */
.idx__more { display: flex; justify-content: center; margin-top: 48px; }
@media (max-width: 640px) { .idx__more .btn { width: 100%; } }

/* Pastille Ouvert / Fermé à côté des horaires du jour */
.hours__now { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; padding: 3px 8px 3px 7px; vertical-align: 1px;
  font: 600 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; border-radius: 999px;
  color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.hours__now i { width: 7px; height: 7px; border-radius: 50%; background: #93938D; flex: none; }
.hours__now[data-open="true"] { border-color: rgba(43,227,107,.45); background: rgba(43,227,107,.10); }
.hours__now[data-open="true"] i { background: #2BE36B; box-shadow: 0 0 6px rgba(43,227,107,.8); }

/* Hero sur téléphone : la progression des photos devient une fine barre tout en bas, sous la légende */
@media (max-width: 600px) {
  .hero3 .slider__dots { left: 0; right: 0; bottom: 0; gap: 3px; padding: 0; }
  .hero3 .slider__dot { flex: 1; width: auto; height: 12px; align-items: flex-end; }
  .hero3 .slider__dot i { height: 2px; }
  .hero3 .mos__cap { bottom: 22px; max-width: calc(100% - 32px); }
}

/* Bandeau « Un projet pour votre voiture ? » : reste rouge au survol (seule la flèche bouge) */
html .cta3 .cta3__link:hover, html[data-theme="dark"] .cta3 .cta3__link:hover { background: var(--red); color: #fff; }
.cta3__title { margin-top: 0; }

/* Téléphone : la barre « Itinéraire / Appeler l'atelier » n'apparaît qu'après avoir un peu défilé
   (au début, le header suffit) ; elle se cache aussi quand le menu est ouvert */
@media (max-width: 900px) {
  html.js .mbar { transform: translateY(calc(100% + 2px)); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
  html.js.mbar-on:not(.menu-open) .mbar { transform: none; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) { html.js .mbar { transition: none; } }
