@font-face {
  font-family: "Muhaqu";
  src: url("Muhaqu Regular Personal Use.otf") format("opentype");
  font-display: swap;
}

/* ---------- Reset & tokens ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0a0a0c;
  --black-2: #131316;
  --black-3: #1b1b1f;
  --red: #e8342a;
  --red-dark: #b3241c;
  --red-glow: rgba(232, 52, 42, 0.35);
  --white: #f6f6f7;
  --gray: #a3a3ab;
  --gray-dark: #6b6b73;
  --border: rgba(255, 255, 255, 0.08);

  --font-head: "Poppins", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  --container: 1180px;
  --radius: 14px;
}

html { scroll-behavior: smooth; }
#top, #boite-auto, #atelier, #vehicules, #reprise, #garage, #contact { scroll-margin-top: 90px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.accent { color: var(--red); }
.ghost { color: var(--gray-dark); }
.is-tbc { color: var(--gray-dark); font-style: italic; }

.noise-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 999;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Duotone placeholders (photos) ---------- */
.duotone { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--black-3); }
.duotone::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.5) 100%); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 100px; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; border: 1.5px solid transparent; cursor: pointer; transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color .25s ease, color .25s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn span { transition: transform 0.25s ease; }
.btn:hover span { transform: translateX(3px); }
.btn--primary { background: linear-gradient(135deg, var(--red), var(--red-dark)); color: var(--white); box-shadow: 0 8px 24px var(--red-glow); }
.btn--primary:hover { box-shadow: 0 12px 32px var(--red-glow); }
.btn--outline { background: transparent; border-color: rgba(255,255,255,0.25); color: var(--white); }
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--lg { padding: 18px 38px; font-size: 1.05rem; }

.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.9rem; }
.link span { transition: transform .25s ease; }
.link:hover span { transform: translateX(3px); }

/* ---------- Navbar ---------- */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 0; transition: background 0.35s ease, padding 0.35s ease, border-color .35s ease; border-bottom: 1px solid transparent; }
.navbar.is-scrolled { background: rgba(10, 10, 12, 0.8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 12px 0; border-color: var(--border); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__logo { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 2px rgba(255,255,255,0.08); }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.5px; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 22px; margin-left: auto; margin-right: 20px; flex-wrap: wrap; }
.nav-link { font-size: 0.88rem; font-weight: 500; color: var(--gray); position: relative; padding-bottom: 8px; border-bottom: 2px dashed transparent; transition: color 0.25s ease, border-color 0.25s ease; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--red); transition: width 0.25s ease; }
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }
.nav-link.is-active { color: var(--white); border-bottom-color: var(--red); }

.navbar__utils { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); color: var(--gray); transition: color .2s ease, border-color .2s ease; flex-shrink: 0; }
.icon-btn:hover { color: var(--white); border-color: var(--white); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(232,52,42,0.14), transparent 60%), var(--black); }
.hero__canvas-wrap { position: absolute; inset: 0; z-index: 1; }
.hero__canvas-wrap.is-static { background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(232,52,42,0.28), transparent 70%); }
#hero-canvas { width: 100%; height: 100%; display: block; }
.hero__vignette { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(ellipse 80% 60% at 50% 40%, transparent 40%, var(--black) 100%); }

.hero__inner { position: relative; z-index: 3; padding-top: 110px; display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center; }
.hero__text { max-width: 920px; }

.eyebrow { display: inline-block; font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.hero__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 5.4vw, 4.2rem); line-height: 1.1; letter-spacing: -1px; display: flex; flex-direction: column; align-items: center; }
.hero__title .accent { display: inline-flex; align-items: center; gap: 14px; }
.hero__arrow { color: var(--red); flex-shrink: 0; margin-top: 6px; }
.hero__subtitle { max-width: 680px; margin: 24px auto 0; color: var(--gray); font-size: 1.02rem; }
.hero__ctas { display: flex; justify-content: center; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero__itineraire { display: block; margin-top: 16px; color: var(--gray); font-size: 0.86rem; }
.hero__itineraire:hover { color: var(--white); }

.hero__intent { display: flex; justify-content: center; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.intent-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 260px; padding: 20px 22px; border-radius: var(--radius); text-align: left; transition: transform 0.25s ease, border-color 0.25s ease; background: linear-gradient(135deg, var(--red), var(--red-dark)); box-shadow: 0 8px 24px var(--red-glow); }
.intent-card:hover { transform: translateY(-3px); }
.intent-card__label { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.intent-card__desc { font-size: 0.82rem; color: rgba(255,255,255,0.85); }
.intent-card__arrow { margin-top: 6px; transition: transform 0.25s ease; }
.intent-card:hover .intent-card__arrow { transform: translateX(4px); }
.intent-card--secondary { background: var(--black-2); border: 1px solid var(--border); box-shadow: none; }
.intent-card--secondary .intent-card__desc { color: var(--gray); }
@media (max-width: 500px) { .intent-card { min-width: 0; width: 100%; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.hero__product-wrap { position: relative; width: min(300px, 60vw); margin: 46px auto 26px; }
.hero__product { position: relative; z-index: 3; width: 100%; height: min(300px, 60vw); }
.wrench3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 0.8s ease; }
.wrench3d-canvas.is-ready { opacity: 1; }
.hero__product.is-static-fallback { background: radial-gradient(circle, rgba(232,52,42,0.25), transparent 70%); border-radius: 50%; }

/* ---------- Étiquettes flottantes autour de l'engrenage ---------- */
.float-badge {
  position: absolute; z-index: 4;
  display: flex; flex-direction: row; align-items: baseline; gap: 6px; white-space: nowrap;
  padding: 10px 16px; border-radius: 100px;
  background: rgba(19,19,22,0.7);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 28px rgba(0,0,0,0.4);
  animation: floatY 5.5s ease-in-out infinite;
  will-change: transform;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.float-badge__num { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--white); white-space: nowrap; }
.float-badge__label { font-size: 0.7rem; color: var(--gray); white-space: nowrap; }

.float-badge--tl { top: 2%; left: -14%; animation-delay: 0s; }
.float-badge--tr { top: 2%; right: -14%; animation-delay: 1.3s; }
.float-badge--bl { bottom: 2%; left: -14%; animation-delay: 0.65s; }
.float-badge--br { bottom: 2%; right: -14%; animation-delay: 1.95s; }

/* Badges vérifiables sur Google (avis réels, cliquables) */
.float-badge--verified {
  cursor: pointer;
  border-color: rgba(232,52,42,0.55);
  box-shadow: 0 10px 28px rgba(0,0,0,0.4), 0 0 0 1px rgba(232,52,42,0.25) inset;
}
.float-badge--verified .float-badge__num { color: var(--red); }
.float-badge--verified:hover,
.float-badge--verified:focus-visible {
  transform: translateY(-3px);
  border-color: var(--red);
}
.float-badge--verified:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float-badge { animation: none; } }

@media (min-width: 1024px) {
  .hero__product-wrap { width: 380px; margin-top: 56px; }
  .hero__product { height: 380px; }
  .float-badge--tl, .float-badge--bl { left: -22%; }
  .float-badge--tr, .float-badge--br { right: -22%; }
}

@media (max-width: 640px) {
  .hero__product-wrap {
    width: min(280px, 78vw);
    margin: 40px auto 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    justify-items: center;
  }
  .hero__product { grid-column: 1 / -1; width: min(230px, 62vw); height: min(230px, 62vw); margin: 0 auto; }
  .float-badge { position: static; animation: none; width: 100%; }
}

.stats-bar { position: relative; z-index: 3; margin-top: 70px; padding: 26px 0; background: rgba(255,255,255,0.03); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); backdrop-filter: blur(6px); }
.stats-bar__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; }
.stat__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--white); }
.stat__label { display: block; margin-top: 4px; font-size: 0.8rem; color: var(--gray-dark); letter-spacing: 0.3px; }

/* ---------- Section shared ---------- */
section { padding: 120px 0; position: relative; }
.eyebrow.reveal { display: block; }
.section-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.15; letter-spacing: -0.5px; }
.section-title--center { text-align: center; max-width: 700px; margin: 0 auto; }
.section-title--light { color: var(--white); }
.section-subtitle { max-width: 560px; margin-top: 18px; color: var(--gray); font-size: 1rem; }
.section-subtitle--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Deux métiers (pilotage §2) ---------- */
.pillars { background: var(--black); padding-top: 100px; }
.pillars__grid { margin-top: 50px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: stretch; }
.pillar { border-radius: var(--radius); padding: 40px 34px; display: flex; flex-direction: column; }
.pillar__tag { font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; opacity: 0.85; }
.pillar h3 { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 14px; }
.pillar p { font-size: 0.96rem; margin-bottom: 26px; }
.pillar .btn { margin-top: auto; align-self: flex-start; }
.pillar--primary { background: linear-gradient(160deg, var(--red), var(--red-dark)); color: #fff; box-shadow: 0 20px 50px rgba(232,52,42,0.25); }
.pillar--primary p { color: rgba(255,255,255,0.9); }
.pillar--secondary { background: var(--black-2); border: 1px solid var(--border); color: var(--white); }
.pillar--secondary p { color: var(--gray); }
@media (max-width: 900px) { .pillars__grid { grid-template-columns: 1fr; } }

/* ---------- Routeur d'intention ---------- */
.router { background: var(--black-2); padding-bottom: 260px; }
.router-grid { position: sticky; top: 84px; z-index: 5; margin-top: 50px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: linear-gradient(180deg, var(--black-3), var(--black-2)); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; transition: transform 0.35s ease, border-color 0.35s ease, box-shadow .35s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); border-color: rgba(232,52,42,0.4); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.card--accent { background: linear-gradient(150deg, var(--red), var(--red-dark)); border-color: transparent; }
.card h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 0.92rem; margin-bottom: 18px; }
.card--accent p { color: rgba(255,255,255,0.85); }
@media (max-width: 980px) { .router-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .router { padding-bottom: 140px; }
  .router-grid { grid-template-columns: 1fr; top: 64px; }
}

/* ---------- Tabs sticky (scroll-spy) sur le parcours atelier/véhicules ---------- */
.route-scope { position: relative; }
.route-tabs {
  position: sticky; top: 94px; z-index: 40;
  display: flex; justify-content: center; gap: 6px;
  padding: 10px 16px; margin: 0 auto;
  max-width: fit-content;
  background: rgba(10,10,12,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease;
}
.route-tabs.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .route-tabs { transition: none; } }
.route-tab {
  padding: 8px 16px; border-radius: 100px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.82rem;
  color: var(--gray);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.route-tab:hover { color: var(--white); }
.route-tab.is-active { color: #fff; background: linear-gradient(135deg, var(--red), var(--red-dark)); }

@media (max-width: 640px) {
  .route-tabs { top: 78px; max-width: calc(100% - 24px); overflow-x: auto; justify-content: flex-start; -webkit-overflow-scrolling: touch; }
  .route-tab { flex-shrink: 0; }
}

/* ---------- Big text divider (Muhaqu) ---------- */
.bigtext { position: relative; padding: 70px 24px 60px; text-align: center; background: var(--black); }
.bigtext__tagline {
  position: relative; z-index: 3;
  margin: 0 auto 0.7em; max-width: 700px;
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.3rem, 3.2vw, 2.1rem);
  line-height: 1.25;
  color: var(--white);
  text-shadow: 0 4px 24px rgba(0,0,0,0.6);
}
.bigtext__word { position: relative; z-index: 1; font-family: "Muhaqu", var(--font-head); font-weight: 400; color: var(--red); font-size: clamp(4.6rem, 26vw, 420px); line-height: 1.25; white-space: nowrap; }

.bigtext__product { position: absolute; z-index: 2; top: 55%; left: 50%; transform: translate(-50%, -50%); width: min(640px, 66vw); height: min(60vw, 380px); pointer-events: none; }
.bigtext__product .wrench3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 760px) {
  .bigtext__product { width: min(340px, 82vw); height: min(64vw, 220px); top: 52%; }
}

/* ---------- Boîte automatique (bloc atelier — pilier n°1) ---------- */
.studio { background: var(--black); }
.studio__intro { max-width: 720px; margin: 22px auto 0; text-align: center; color: var(--gray); font-size: 1rem; }
.studio__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 26px; align-items: stretch; margin-top: 46px; }
.studio__left { display: flex; flex-direction: column; gap: 20px; }
.servicecard { background: linear-gradient(150deg, var(--red), var(--red-dark)); border-radius: var(--radius); padding: 30px; flex: 1; }
.servicecard__label { display: block; font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.servicecard li { font-size: 0.94rem; padding: 9px 0; border-top: 1px solid rgba(255,255,255,0.2); }
.servicecard li:first-child { border-top: none; }
.symptomcard { background: var(--black-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; flex: 1; }
.symptomcard__label { display: block; font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; color: var(--white); }
.symptomcard li { font-size: 0.94rem; padding: 9px 0; border-top: 1px solid var(--border); color: var(--gray); }
.symptomcard li:first-child { border-top: none; }
.studio__photo { min-height: 320px; position: relative; }
.studio__note { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 22px; color: var(--white); font-size: 0.9rem; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.75) 55%); border-radius: 0 0 var(--radius) var(--radius); }
.studio__cta { display: flex; align-items: center; gap: 22px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
@media (max-width: 900px) { .studio__grid { grid-template-columns: 1fr; } .studio__photo { min-height: 260px; } }

/* ---------- Mécanique générale ---------- */
.mecanique { background: var(--black-2); text-align: center; }
.mecanique__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; text-align: left; margin: 46px 0 34px; }
.mecanique__list { background: var(--black-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 30px; }
.mecanique__list li { padding: 8px 0; border-top: 1px solid var(--border); font-size: 0.95rem; }
.mecanique__list li:first-child { border-top: none; }
.mecanique__list li span { font-size: 0.78rem; margin-left: 6px; }
.mecanique__textcol { position: relative; }
.mecanique__text { color: var(--gray); font-size: 0.94rem; }
@media (max-width: 760px) { .mecanique__grid { grid-template-columns: 1fr; text-align: center; } }

/* ---------- Bande défilante — marques prises en charge ---------- */
.brands { padding: 44px 0; background: var(--black-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.brands__eyebrow { text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-dark); margin-bottom: 24px; }
.brands__track { display: flex; width: max-content; animation: brandsMarquee 26s linear infinite; }
.brands:hover .brands__track { animation-play-state: paused; }
.brands__group { display: flex; align-items: center; flex-shrink: 0; }
.brands__logo {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  letter-spacing: 0.5px; white-space: nowrap; color: var(--gray);
  padding: 0 36px; opacity: 0.75; transition: color 0.25s ease, opacity 0.25s ease;
}
.brands__logo:hover { color: var(--white); opacity: 1; }
@keyframes brandsMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .brands__track { animation: none; flex-wrap: wrap; justify-content: center; }
  .brands__group[aria-hidden="true"] { display: none; }
}
@media (max-width: 480px) { .brands__logo { padding: 0 22px; } }

/* Version compacte du grand titre, insérée au-dessus du texte mécanique générale
   — même esprit que le hero : la clé traverse le mot en diagonale.
   Positionnement en flux normal + marge négative (fiable, ne dépend pas
   d'un % de la hauteur totale de la carte qui varie selon le contenu). */
.bigtext--compact {
  position: relative; overflow: hidden;
  padding: 44px 28px;
  min-height: 420px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.bigtext--compact .bigtext__tagline { position: relative; z-index: 3; max-width: 340px; margin: 0 auto 8px; font-size: clamp(0.95rem, 1.6vw, 1.1rem); text-shadow: none; }
.bigtext--compact .bigtext__word { position: relative; z-index: 1; font-size: clamp(3.6rem, 14vw, 200px); }
.bigtext--compact .bigtext__product {
  position: relative; z-index: 2; pointer-events: auto;
  top: auto; left: auto; right: auto; bottom: auto; transform: none;
  width: min(360px, 76%); height: 240px;
  margin: clamp(-150px, -12vw, -110px) 0 0;
}
@media (max-width: 760px) {
  .bigtext--compact { min-height: 340px; }
  .bigtext--compact .bigtext__tagline { max-width: none; }
  .bigtext--compact .bigtext__word { font-size: clamp(2.8rem, 18vw, 120px); }
  .bigtext--compact .bigtext__product { width: min(240px, 78%); height: 180px; margin: clamp(-95px, -15vw, -65px) 0 0; }
}

/* ---------- Véhicules disponibles ---------- */
.vehicules { background: var(--black); }
.vehicules__trust { color: var(--gray); font-size: 1rem; margin-top: 18px; margin-bottom: 44px; max-width: 560px; }
.vehicules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vehicules-empty { grid-column: 1 / -1; text-align: center; color: var(--gray); border: 1px dashed var(--border); border-radius: var(--radius); padding: 50px 24px; }
.vehiclecard { background: var(--black-2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.25s ease; }
.vehiclecard:hover { transform: translateY(-4px); }
.vehiclecard__img { aspect-ratio: 16/10; background-size: cover; background-position: center; background-color: var(--black-3); }
.vehiclecard__body { padding: 20px 22px; }
.vehiclecard__body h3 { font-family: var(--font-head); font-size: 1.02rem; margin-bottom: 6px; }
.vehiclecard__meta { color: var(--gray); font-size: 0.84rem; margin-bottom: 10px; }
.vehiclecard__price { color: var(--red); font-weight: 700; margin-bottom: 14px; }
.vehiclecard__status { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 3px 10px; border-radius: 100px; background: var(--red); color: #fff; margin-bottom: 10px; }
@media (max-width: 980px) { .vehicules-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .vehicules-grid { grid-template-columns: 1fr; } }

/* ---------- Vendre / reprise ---------- */
.reprise { background: var(--black-2); text-align: center; }
.reprise__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 46px 0 28px; }
.reprise__steps li { background: var(--black-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 16px; font-size: 0.86rem; color: var(--gray); }
.reprise__steps li span { display: block; width: 34px; height: 34px; line-height: 34px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 700; margin: 0 auto 12px; }
.reprise__note { max-width: 560px; margin: 0 auto 26px; color: var(--gray); font-size: 0.92rem; }
@media (max-width: 760px) { .reprise__steps { grid-template-columns: 1fr 1fr; } }

/* ---------- Le garage ---------- */
.garage { background: var(--black); }
.garage__layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center; margin-top: 46px; }
.garage__facts { display: flex; flex-direction: column; justify-content: center; gap: 10px; font-size: 0.95rem; color: var(--gray); }
.garage__facts strong { color: var(--white); }
.garage__crosslinks { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.garage__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.garage__tile { display: flex; flex-direction: column; gap: 8px; }
.garage__photo { height: 180px; }
.garage__photo--placeholder { height: 180px; border-radius: var(--radius); border: 1px dashed var(--border); background: var(--black-2); }
.garage__tile figcaption { font-size: 0.82rem; color: var(--gray); text-align: center; }
@media (max-width: 980px) {
  .garage__layout { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .garage__photos { grid-template-columns: 1fr; }
}

/* ---------- Réalisations — dégradé + galerie en éventail ---------- */
.fan { position: relative; padding: 110px 0; background: linear-gradient(180deg, var(--black) 0%, var(--red-dark) 130%); text-align: center; }
.fan__subtitle { max-width: 560px; margin: 14px auto 50px; color: rgba(255,255,255,0.75); font-size: 1rem; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery__item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; box-shadow: 0 16px 34px rgba(0,0,0,0.35);
  background: var(--black-3);
}
.gallery__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.gallery__item:hover .gallery__media, .gallery__item:focus-within .gallery__media { transform: scale(1.06); }
.gallery__item--video video.gallery__media { background: #000; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Le garage — facts additions ---------- */
.garage__facts p { margin: 0; }

/* ---------- Contact ---------- */
.contact-section { background: var(--black-2); }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; margin-top: 46px; }
.contact-infos p { margin-bottom: 12px; color: var(--gray); }
.contact-infos a { color: var(--white); }
.contact-social { display: flex; gap: 16px; margin-top: 18px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--black-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; color: var(--gray); }
.contact-form input, .contact-form select, .contact-form textarea { background: var(--black-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; color: var(--white); font-family: var(--font-body); font-size: 0.92rem; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.contact-message, .contact-consent, .contact-form button, .contact-status { grid-column: 1 / -1; }
.contact-consent { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; font-size: 0.82rem; }
.contact-status { min-height: 20px; font-size: 0.88rem; }
.contact-status.is-error { color: var(--red); }
.contact-status.is-success { color: #7ad48b; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .contact-form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--black-2); border-top: 1px solid var(--border); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.9rem; color: var(--gray); transition: color .2s ease; }
.footer-col a:hover { color: var(--white); }
.footer-heading { font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--white); margin-bottom: 4px; }
.footer-col--center { align-items: center; text-align: center; }
.footer-col--center p { color: var(--gray); font-size: 0.9rem; margin: 0; }
.footer-col--right { align-items: flex-end; text-align: right; }
.footer-copy { text-align: center; font-size: 0.8rem; color: var(--gray-dark); border-top: 1px solid var(--border); padding-top: 22px; }

/* ---------- Responsive (web / tablette / mobile) ---------- */
@media (max-width: 1024px) {
  .studio__grid { grid-template-columns: 1fr; }
  .router-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar__inner { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .pillars__grid { grid-template-columns: 1fr; }
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .navbar__utils .btn--sm.nav-cta { padding: 9px 16px; font-size: 0.78rem; }
  .burger { display: flex; }
  .nav-links.is-open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,10,12,0.97); backdrop-filter: blur(14px);
    padding: 20px 24px 26px; gap: 18px; border-bottom: 1px solid var(--border);
  }
  section { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-col, .footer-col--right, .footer-col--center { align-items: center; text-align: center; }
  .reprise__steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .router-grid { grid-template-columns: 1fr; }
  .reprise__steps { grid-template-columns: 1fr; }
  .hero__product { width: min(220px, 58vw); height: min(220px, 58vw); }
  .bigtext__word { font-size: clamp(3.4rem, 24vw, 200px); }
}
