/* ==========================================================================
   MBDI Automobile — V2.1
   Feuille de style unique · mobile-first
   Polices auto-hébergées : Archivo (titres, largeur variable) + Inter (texte)
   ========================================================================== */

/* ---------- Polices ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0c10;
  --bg-2: #0e1117;
  --surface: #13171f;
  --surface-2: #1a1f29;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .15);
  --text: #f2f4f7;
  --muted: #9aa3b2;
  --blue: #2159e8;
  --blue-hover: #2f68f7;
  --accent: #6aa3ff;
  --blue-soft: rgba(79, 139, 255, .12);
  --cyan: #56c2f5;
  --amber: #f2a93b;
  --green: #2fcf6b;
  --whatsapp: #25d366;

  --font-display: "Archivo", "Arial Nova", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 24px 48px -28px rgba(0, 0, 0, .7);
  --container: 1240px;
  --gutter: clamp(1.1rem, 4vw, 2.25rem);
  --nav-h: 76px;
  --topbar-h: 0px;
  --header-h: calc(var(--nav-h) + var(--topbar-h));
  --ease: cubic-bezier(.22, .8, .24, 1);
}
@media (min-width: 1040px) {
  :root { --nav-h: 92px; --topbar-h: 38px; }
}

.section--light {
  --bg: #f4f5f7;
  --bg-2: #eceef2;
  --surface: #ffffff;
  --surface-2: #f1f3f6;
  --line: rgba(12, 18, 30, .09);
  --line-strong: rgba(12, 18, 30, .16);
  --text: #0c1018;
  --muted: #5a6473;
  --accent: #2159e8;
  --blue-soft: rgba(33, 89, 232, .08);
  --shadow: 0 1px 2px rgba(12, 18, 30, .05), 0 18px 40px -24px rgba(12, 18, 30, .28);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 1.0625rem; } }
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 650; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
strong { font-weight: 600; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.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; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--blue); color: #fff; padding: .75rem 1rem; border-radius: var(--r-sm); }
.skip-link:focus { top: 1rem; }

.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(4.5rem, 10vw, 8rem); background: var(--bg); color: var(--text); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--bg-2); }

.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 5vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; }
.section-head--row > div { max-width: 680px; }

/* ---------- Typographie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--font-body); font-weight: 600; font-size: .75rem; line-height: 1;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; flex: none; }

.h1, .h2, .h3 {
  font-family: var(--font-display); font-stretch: 112%; font-weight: 700;
  letter-spacing: -.025em; text-wrap: balance;
}
.h1 { font-size: clamp(2.6rem, 6.4vw, 5.1rem); line-height: 1; letter-spacing: -.035em; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.04; }
.h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.15; letter-spacing: -.015em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.6; color: var(--muted); margin-top: 1.25rem; max-width: 60ch; text-wrap: pretty; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--surface-2); --btn-fg: var(--text); --btn-bd: var(--line-strong);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: .8rem 1.35rem;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  border-radius: var(--r); font-weight: 600; font-size: .95rem; line-height: 1.1; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn .i { width: 18px; height: 18px; }
.btn--primary { --btn-bg: var(--blue); --btn-fg: #fff; --btn-bd: var(--blue); }
.btn--primary:hover { --btn-bg: var(--blue-hover); --btn-bd: var(--blue-hover); }
.btn--whatsapp { --btn-bg: var(--whatsapp); --btn-fg: #04220e; --btn-bd: var(--whatsapp); }
.btn--whatsapp:hover { --btn-bg: #3be07e; --btn-bd: #3be07e; }
.btn--ghost { --btn-bg: rgba(255, 255, 255, .04); --btn-bd: rgba(255, 255, 255, .2); --btn-fg: #fff; }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .1); --btn-bd: rgba(255, 255, 255, .35); }
.section--light .btn--ghost { --btn-bg: transparent; --btn-bd: var(--line-strong); --btn-fg: var(--text); }
.section--light .btn--ghost:hover { --btn-bg: var(--surface); --btn-bd: var(--text); }
.btn:not(.btn--primary):not(.btn--whatsapp):not(.btn--ghost):hover { --btn-bd: var(--muted); }
.btn--lg { min-height: 56px; padding: .9rem 1.6rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn .btn-sub { display: block; font-size: .72rem; font-weight: 500; opacity: .8; margin-top: 3px; letter-spacing: .01em; }
.btn-stack { display: flex; flex-direction: column; align-items: flex-start; text-align: left; font-variant-numeric: tabular-nums; }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .95rem; color: var(--accent); text-decoration: none; }
.link-arrow .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

.pulse-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.8); opacity: 0; } }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: transform .35s var(--ease), background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.topbar { display: none; height: var(--topbar-h); font-size: .8rem; color: #aeb5c1; border-bottom: 1px solid rgba(255, 255, 255, .07); background: rgba(6, 8, 11, .55); }
.topbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.topbar p { display: inline-flex; align-items: center; gap: .6rem; color: #e6e9ee; font-weight: 500; }
.topbar ul { display: flex; gap: 1.75rem; }
.topbar li { display: inline-flex; align-items: center; gap: .45rem; }
.topbar .i { width: 14px; height: 14px; color: var(--accent); }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; }
@media (min-width: 1040px) { .topbar { display: block; } }

.site-header.is-scrolled {
  transform: translateY(calc(-1 * var(--topbar-h)));
  background: rgba(10, 12, 16, .82); backdrop-filter: saturate(170%) blur(16px); -webkit-backdrop-filter: saturate(170%) blur(16px);
  border-color: var(--line);
}
.header-inner { height: var(--nav-h); display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; color: #fff; margin-right: auto; }
.brand img { width: auto; height: 50px; object-fit: contain; transition: transform .35s var(--ease); }
.brand:hover img { transform: rotate(-4deg) scale(1.04); }
.brand-text { padding-left: .85rem; border-left: 1px solid rgba(255, 255, 255, .18); font-family: var(--font-display); font-stretch: 120%; font-weight: 800; font-size: 1.65rem; letter-spacing: -.01em; line-height: .95; text-shadow: 0 2px 16px rgba(0, 0, 0, .45); }
.brand-text small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .66rem; letter-spacing: .34em; text-transform: uppercase; color: #c3cad4; margin-top: 6px; text-shadow: none; }
@media (min-width: 1040px) {
  .brand img { height: 64px; }
  .brand-text { font-size: 2rem; }
  .brand-text small { font-size: .72rem; letter-spacing: .38em; }
}
@media (min-width: 1040px) {
  .header-inner { transition: height .3s var(--ease); }
  .site-header.is-scrolled .header-inner { height: 76px; }
  .site-header.is-scrolled .brand img { height: 52px; }
  .site-header.is-scrolled .brand-text { font-size: 1.7rem; }
}
.brand img, .brand-text { transition: height .3s var(--ease), font-size .3s var(--ease), transform .35s var(--ease); }
.footer-brand .brand img { height: 60px; filter: none; }
.footer-brand .brand-text { font-size: 1.8rem; text-shadow: none; }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: .15rem; }
.main-nav a {
  position: relative; display: block; padding: .6rem .9rem; text-decoration: none;
  color: #c3c9d3; font-weight: 500; font-size: .92rem; transition: color .2s;
}
.main-nav a::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .2rem; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: #fff; }

.header-call { display: none; }
.header-phone { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: #fff; padding: .35rem .45rem .35rem .35rem; border-radius: var(--r); transition: background-color .2s; }
.header-phone:hover { background: rgba(255, 255, 255, .06); }
.header-phone-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--blue); }
.header-phone-icon .i { width: 19px; height: 19px; }
.header-phone small { display: flex; align-items: center; gap: .4rem; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.header-phone strong { display: block; font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }

.nav-toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  border-radius: var(--r); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); color: #fff;
}
.nav-toggle .i { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-menu { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 99; background: var(--bg);
  padding: 1rem var(--gutter) calc(6rem + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 2rem; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.nav-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.nav-open { overflow: hidden; }
.nav-open .site-header { background: var(--bg); border-color: var(--line); }
.mobile-menu a.mm-link {
  display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-stretch: 112%; font-weight: 650; font-size: 1.6rem; letter-spacing: -.02em; text-decoration: none; color: #fff;
}
.mobile-menu a.mm-link .i { color: var(--muted); }
.mobile-menu a.mm-link[aria-current="page"] { color: var(--accent); }
.mobile-menu .mm-actions { display: grid; gap: .65rem; margin-top: auto; }

@media (min-width: 1040px) {
  .main-nav, .header-call { display: block; }
  .nav-toggle, .mobile-menu { display: none; }
}

/* ---------- Barre d'actions mobile ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: .5rem;
  padding: .55rem .6rem calc(.55rem + env(safe-area-inset-bottom));
  background: rgba(10, 12, 16, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.action-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 52px; border-radius: var(--r); text-decoration: none; font-size: .74rem; font-weight: 600;
  background: var(--surface); color: #fff; border: 1px solid var(--line);
}
.action-bar a .i { width: 19px; height: 19px; }
.action-bar a.ab-call { background: var(--blue); border-color: var(--blue); font-size: .88rem; flex-direction: row; gap: .5rem; }
.action-bar a.ab-wa .i { color: var(--whatsapp); }
body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
@media (min-width: 1040px) { .action-bar { display: none; } body { padding-bottom: 0; } }

/* ---------- Hero accueil ---------- */
.hero {
  position: relative; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(3.5rem, 12vw, 7rem)) 0 clamp(2.5rem, 6vw, 4.5rem);
}
@media (min-width: 1040px) { .hero { min-height: min(100svh, 940px); } }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; animation: heroZoom 20s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 12, 16, .7) 0%, rgba(10, 12, 16, .15) 28%, rgba(10, 12, 16, .45) 62%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10, 12, 16, .92) 0%, rgba(10, 12, 16, .55) 45%, rgba(10, 12, 16, .1) 100%);
}
.hero-grid { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 1040px) { .hero-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 4rem; } }
.hero-content { max-width: 740px; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--accent); }
.hero .h1 .accent { color: var(--accent); }
.hero .lead { color: #c9cfd8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero-note { margin-top: 1rem; font-size: .75rem; color: #7f8896; }

.hero-trust { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; color: #c9cfd8; }
.hero-trust li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust strong { color: #fff; }
.hero-trust .i { color: var(--accent); width: 18px; height: 18px; }
.hero-badge { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; font-size: .85rem; font-weight: 500; color: #e6e9ee; }

.hero-panel {
  position: relative; padding: 1.5rem; border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(22, 26, 35, .78), rgba(13, 16, 22, .88));
  border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}
.hero-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .09); font-size: .8rem; }
.hero-panel-head .status { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; color: #fff; }
.hero-panel-label { margin-top: 1.25rem; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero-panel-phone { display: block; margin-top: .35rem; font-family: var(--font-display); font-stretch: 110%; font-weight: 700; font-size: clamp(2rem, 7vw, 2.4rem); letter-spacing: -.03em; line-height: 1.05; color: #fff; text-decoration: none; font-variant-numeric: tabular-nums; }
.hero-panel-phone:hover { color: var(--accent); }
.hero-panel-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 1.25rem 0 0; border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--r); }
.hero-panel-stats div { padding: .75rem .8rem; }
.hero-panel-stats div + div { border-left: 1px solid rgba(255, 255, 255, .09); }
.hero-panel-stats dt { font-size: .68rem; color: var(--muted); }
.hero-panel-stats dd { margin: .15rem 0 0; font-family: var(--font-display); font-stretch: 108%; font-weight: 650; font-size: 1.05rem; color: #fff; white-space: nowrap; }
.hero-panel-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: 1.25rem; }
.hero-panel-actions .btn { min-height: 48px; padding-inline: .8rem; }

/* ---------- Hero pages internes ---------- */
.page-hero {
  position: relative; padding: calc(var(--header-h) + clamp(3.5rem, 9vw, 6.5rem)) 0 clamp(3rem, 7vw, 5rem);
  color: #fff; overflow: hidden; isolation: isolate; background: var(--bg);
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 12, 16, .96) 0%, rgba(10, 12, 16, .78) 48%, rgba(10, 12, 16, .4) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 45%);
}
.page-hero--plain::before {
  background:
    radial-gradient(1000px 420px at 88% -10%, rgba(33, 89, 232, .28), transparent 70%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 100% 64px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.page-hero .lead { color: #c3cad4; }
.page-hero .eyebrow { color: #fff; }
.page-hero .eyebrow::before { background: var(--accent); }
.page-hero .hero-trust { max-width: 760px; }
.breadcrumb { display: flex; gap: .55rem; font-size: .82rem; color: #8e97a5; margin-bottom: 2rem; }
.breadcrumb a { text-decoration: none; color: #c3cad4; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Situations ---------- */
.situations { position: relative; z-index: 2; background: var(--bg); padding-block: 0 clamp(4rem, 8vw, 6rem); }
.situations-card { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--bg-2); padding: clamp(1.25rem, 3vw, 2rem); }
.situations-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: 1.5rem; }
.situations-top h2 { font-family: var(--font-display); font-stretch: 112%; font-weight: 650; font-size: 1.3rem; letter-spacing: -.02em; }
.situations-top p { color: var(--muted); font-size: .9rem; }
.situations-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 640px) { .situations-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .situations-grid { grid-template-columns: repeat(6, 1fr); } }
.situation {
  position: relative; display: flex; flex-direction: column; gap: 1.1rem; padding: 1.2rem 1.1rem 1.25rem; min-height: 132px;
  background: var(--bg-2); text-decoration: none; color: var(--text); font-weight: 600; font-size: .95rem; line-height: 1.3;
  transition: background-color .25s;
}
.situation .i { width: 26px; height: 26px; color: var(--accent); stroke-width: 1.6; }
.situation small { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); margin-top: .25rem; }
.situation::after { content: ""; position: absolute; right: 1rem; top: 1.2rem; width: 7px; height: 7px; border-top: 1.75px solid var(--muted); border-right: 1.75px solid var(--muted); transform: rotate(45deg); opacity: 0; transition: opacity .25s, transform .25s var(--ease); }
.situation:hover { background: var(--surface); }
.situation:hover::after { opacity: 1; transform: translateX(3px) rotate(45deg); }

/* ---------- Cartes services ---------- */
.services-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; counter-reset: svc; }
@media (min-width: 700px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .services-grid { grid-template-columns: repeat(6, 1fr); }
  .services-grid .svc:nth-child(1), .services-grid .svc:nth-child(2) { grid-column: span 3; min-height: 460px; }
  .services-grid .svc:nth-child(n+3) { grid-column: span 2; }
}
.svc {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 400px;
  border-radius: var(--r-xl); overflow: hidden; isolation: isolate; color: #fff; text-decoration: none; counter-increment: svc;
}
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 12, 16, .1) 0%, rgba(10, 12, 16, .35) 40%, rgba(10, 12, 16, .94) 100%); transition: background-color .3s; }
.svc::after { content: counter(svc, decimal-leading-zero); position: absolute; top: 1.2rem; right: 1.35rem; font-family: var(--font-display); font-stretch: 110%; font-weight: 600; font-size: .85rem; color: rgba(255, 255, 255, .75); }
.svc:hover img { transform: scale(1.04); }
.svc-body { padding: 1.6rem; }
.svc-tag {
  position: absolute; top: 1rem; left: 1rem; display: inline-flex; align-items: center; gap: .4rem;
  padding: .38rem .7rem; border-radius: 999px; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(10, 12, 16, .6); color: #fff; border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.svc-tag--urgent { background: var(--amber); color: #1d1204; border-color: var(--amber); }
.svc-icon { display: none; }
.svc h3 { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: clamp(1.45rem, 2.4vw, 1.85rem); letter-spacing: -.025em; line-height: 1.08; }
.svc ul { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .75rem; color: #c9cfd8; font-size: .88rem; }
.svc li { display: inline-flex; align-items: center; gap: .35rem; }
.svc li .i { width: 14px; height: 14px; color: var(--accent); }
.svc .link-arrow { margin-top: 1.1rem; color: #fff; font-size: .9rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .16); width: 100%; justify-content: space-between; }

/* ---------- Étapes ---------- */
.steps { display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.step { position: relative; padding: 2rem 1.75rem 1.9rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; right: 1.5rem; top: 1.6rem; font-family: var(--font-display); font-stretch: 110%; font-weight: 600; font-size: .9rem; color: var(--muted);
}
.step-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r); background: var(--blue-soft); color: var(--accent); margin-bottom: 2.25rem; }
.step-icon .i { width: 22px; height: 22px; }
.step h3 { font-family: var(--font-display); font-stretch: 112%; font-weight: 650; font-size: 1.35rem; letter-spacing: -.02em; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- Preuves / chiffres ---------- */
.proof { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
@media (min-width: 960px) { .proof { grid-template-columns: 1fr 1fr; } }
.proof-media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; }
@media (min-width: 960px) { .proof-media { aspect-ratio: 5 / 6; } }
.proof-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.proof-float {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem; display: flex; align-items: center; gap: .9rem;
  padding: 1rem 1.1rem; border-radius: var(--r-lg); background: rgba(10, 12, 16, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .12);
  font-size: .88rem; color: #c9cfd8;
}
.proof-float strong { display: block; font-size: 1rem; color: #fff; }
.proof-float .i { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--blue); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 2.5rem; border-top: 1px solid var(--line); }
.stat { padding: 1.5rem 0 .25rem; }
.stat:nth-child(odd) { padding-right: 1rem; }
.stat:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.stat:nth-child(n+3) { border-top: 1px solid var(--line); padding-bottom: 0; }
.stat-value { font-family: var(--font-display); font-stretch: 110%; font-weight: 700; font-size: clamp(2.3rem, 4.6vw, 3.1rem); letter-spacing: -.04em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.stat-value .accent { font-size: .5em; margin-left: .15em; letter-spacing: 0; font-weight: 600; }
.stat-label { color: var(--muted); font-size: .88rem; margin-top: .5rem; }
.checklist { display: grid; gap: .65rem; margin-top: 1.75rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist .i { color: var(--accent); margin-top: .22rem; width: 17px; height: 17px; stroke-width: 2.2; }

/* ---------- Véhicules ---------- */
.vehicles-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .vehicles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .vehicles-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.vcard {
  display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); color: var(--text); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.vcard:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.vcard-media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; isolation: isolate; }
/* Fiche : photo entière (portrait ou paysage) sur un fond flou de la même photo */
.vd-track figure[style]::before { content: ""; position: absolute; inset: -30px; z-index: -1; background: var(--bg) center / cover no-repeat; filter: blur(24px) brightness(.5) saturate(1.1); }
.vcard-media img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: transform .8s var(--ease); }
.vcard:hover .vcard-media img { transform: scale(1.04); }
.vcard-nophoto { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: .5rem; color: var(--muted); font-size: .85rem; }
.vcard-nophoto .i { width: 36px; height: 36px; opacity: .55; }
.vcard-count { position: absolute; right: .75rem; bottom: .75rem; padding: .25rem .6rem; border-radius: 999px; background: rgba(10, 12, 16, .7); color: #fff; font-size: .72rem; font-weight: 500; backdrop-filter: blur(6px); }
.vcard-badge { position: absolute; left: .75rem; top: .75rem; display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .65rem; border-radius: 999px; font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; background: #fff; color: #0c1018; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.vcard-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.vcard.is-sold .vcard-badge { background: #0c1018; color: #fff; }
.vcard.is-sold .vcard-badge::before { background: #9aa3b2; }
.vcard.is-sold .vcard-media img { filter: grayscale(.9) brightness(.85); }
.vcard-body { padding: 1.25rem 1.3rem 1.35rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.vcard-title { font-family: var(--font-display); font-stretch: 108%; font-weight: 650; font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.2; }
.vcard-specs { display: flex; flex-wrap: wrap; gap: .25rem .5rem; color: var(--muted); font-size: .84rem; }
.vcard-specs span + span::before { content: "·"; margin-right: .5rem; color: var(--line-strong); }
.vcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.vcard-price { font-family: var(--font-display); font-stretch: 110%; font-weight: 700; font-size: 1.55rem; letter-spacing: -.03em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.vcard.is-sold .vcard-price { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.vcard-warranty { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; color: var(--muted); }
.vcard-warranty .i { width: 15px; height: 15px; color: var(--green); }

/* Filtres */
.filters {
  display: grid; gap: .8rem; padding: 1.1rem; margin-bottom: 1.25rem; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
@media (min-width: 700px) { .filters { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .filters { grid-template-columns: 2fr repeat(4, 1fr); align-items: end; } }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field label, .field .label { font-size: .8rem; font-weight: 500; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border-radius: var(--r-sm);
  background: var(--bg); color: var(--text); border: 1px solid var(--line-strong); font-size: .95rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%237b8594' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; padding-right: 2.4rem; }
.textarea { min-height: 150px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(33, 89, 232, .18); }
.input::placeholder, .textarea::placeholder { color: #7b8594; }
.input-icon { position: relative; }
.input-icon .i { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--muted); width: 17px; height: 17px; pointer-events: none; }
.input-icon .input { padding-left: 2.55rem; }
.filters-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin-bottom: 1.5rem; }
.filters-count { font-weight: 600; font-size: .95rem; }
.switch { display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; font-size: .9rem; user-select: none; color: var(--muted); }
.switch input { appearance: none; width: 38px; height: 22px; border-radius: 999px; background: var(--line-strong); position: relative; transition: background-color .2s; cursor: pointer; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.switch input:checked { background: var(--blue); }
.switch input:checked::after { transform: translateX(16px); }
.empty-state { text-align: center; padding: 3.5rem 1.5rem; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); color: var(--muted); }
.empty-state strong { display: block; color: var(--text); font-size: 1.1rem; margin-bottom: .4rem; }

/* ---------- Avis ---------- */
.reviews { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .reviews { grid-template-columns: 1fr 1.35fr; align-items: stretch; } }
.rating-card { display: flex; flex-direction: column; gap: 1.1rem; padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: var(--r-xl); background: #0c1018; color: #f2f4f7; box-shadow: var(--shadow); }
.rating-card .muted { color: #9aa3b2; }
.rating-card p { color: #c3cad4; }
.rating-top { display: flex; align-items: center; gap: .6rem; font-weight: 500; font-size: .9rem; color: #c3cad4; }
.g-logo { width: 22px; height: 22px; }
.rating-score { display: flex; align-items: flex-end; gap: 1.1rem; margin-top: .5rem; }
.rating-score .num { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: clamp(4.5rem, 9vw, 6rem); letter-spacing: -.05em; line-height: .85; }
.rating-score .num small { font-size: .3em; color: #9aa3b2; letter-spacing: 0; margin-left: .1em; }
.stars-row { display: flex; gap: 2px; color: var(--amber); margin-bottom: .3rem; }
.stars-row .i { width: 19px; height: 19px; }
.rating-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; padding-top: .5rem; }
.rating-card .btn--ghost { --btn-bg: transparent; --btn-bd: rgba(255, 255, 255, .22); --btn-fg: #fff; }
.promises { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .promises { grid-template-columns: repeat(2, 1fr); } }
.promise { padding: 1.6rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.promise .i { width: 24px; height: 24px; color: var(--accent); margin-bottom: 1.5rem; }
.promise h3 { font-family: var(--font-display); font-stretch: 108%; font-weight: 650; font-size: 1.1rem; letter-spacing: -.015em; margin-bottom: .35rem; }
.promise p { color: var(--muted); font-size: .93rem; }

/* ---------- Partenaires ---------- */
.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 640px) { .partners { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .partners { grid-template-columns: repeat(6, 1fr); } }
.partner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; padding: 1.75rem 1rem 1.4rem; background: var(--bg-2); text-align: center; }
.partner-logo { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 150px; height: 70px; padding: .65rem .9rem; background: #fff; border-radius: var(--r); filter: grayscale(1); opacity: .85; transition: filter .35s, opacity .35s; }
.partner:hover .partner-logo { filter: none; opacity: 1; }
.partner-logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.partner strong { font-size: .85rem; font-weight: 600; }
.partner span { font-size: .75rem; color: var(--muted); line-height: 1.35; margin-top: -.6rem; }

/* ---------- Zone ---------- */
.zone { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
@media (min-width: 940px) { .zone { grid-template-columns: 1.05fr 1fr; } }
.zone-visual { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; }
@media (min-width: 940px) { .zone-visual { aspect-ratio: 1 / 1; } }
.zone-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.zone-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 12, 16, .55) 100%); pointer-events: none; }
.zone-card {
  position: absolute; z-index: 1; left: 1rem; right: 1rem; bottom: 1rem;
  display: flex; align-items: center; gap: .9rem; padding: .85rem .85rem .85rem 1rem;
  border-radius: var(--r-lg); background: rgba(10, 12, 16, .78); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #c3cad4; font-size: .85rem; line-height: 1.4;
}
.zone-card-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--blue); color: #fff; }
.zone-card-icon .i { width: 19px; height: 19px; }
.zone-card-text { flex: 1; min-width: 0; }
.zone-card-text strong { display: block; color: #fff; font-size: .95rem; }
.zone-card .btn { min-height: 42px; padding: .6rem 1rem; font-size: .88rem; }
@media (max-width: 460px) { .zone-card .btn { display: none; } }
.coverage { display: grid; margin-top: 2rem; border-top: 1px solid var(--line); }
.coverage li { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.coverage-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: var(--r); background: var(--blue-soft); color: var(--accent); }
.coverage-icon .i { width: 20px; height: 20px; }
.coverage strong { display: block; font-size: 1rem; }
.coverage span { color: var(--muted); font-size: .9rem; }
.coverage-cities { margin-top: 1.25rem; font-size: .82rem; line-height: 1.7; color: #7b8594; }
/* ---------- Bandeau CTA ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(2.25rem, 6vw, 4.5rem); isolation: isolate; color: #fff; background: #0f2f8f; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(106, 163, 255, .35), transparent 60%),
    linear-gradient(115deg, transparent 0 60%, rgba(255, 255, 255, .06) 60% 61%, transparent 61% 66%, rgba(255, 255, 255, .06) 66% 67%, transparent 67%),
    linear-gradient(135deg, #1d4fd6 0%, #0e2a82 100%);
}
.cta-band-inner { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .cta-band-inner { grid-template-columns: 1.4fr auto; } }
.cta-band .lead { color: #d3def8; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band .btn--ghost { --btn-bg: rgba(255, 255, 255, .08); --btn-bd: rgba(255, 255, 255, .3); --btn-fg: #fff; }
.cta-band .btn--primary { --btn-bg: #fff; --btn-fg: #0c1018; --btn-bd: #fff; }
.cta-phone { font-family: var(--font-display); font-stretch: 110%; font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 2.8rem); letter-spacing: -.035em; line-height: 1; text-decoration: none; color: #fff; display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.75rem; font-variant-numeric: tabular-nums; }
.cta-phone .i { width: .72em; height: .72em; opacity: .8; }

/* ---------- Page services ---------- */
.chips-nav { display: flex; gap: .45rem; overflow-x: auto; padding-bottom: .25rem; margin-top: 2.25rem; scrollbar-width: none; }
.chips-nav::-webkit-scrollbar { display: none; }
.chips-nav a { flex: none; display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(10, 12, 16, .45); backdrop-filter: blur(8px); text-decoration: none; font-weight: 500; font-size: .86rem; color: #fff; transition: background-color .2s, border-color .2s; }
.chips-nav a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); }
.chips-nav .i { width: 15px; height: 15px; color: var(--accent); }

.feature { display: grid; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.feature + .feature { margin-top: clamp(4.5rem, 10vw, 8rem); padding-top: clamp(4.5rem, 10vw, 8rem); border-top: 1px solid var(--line); }
@media (min-width: 940px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature--reverse .feature-media { order: 2; }
}
.feature-media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; }
@media (min-width: 940px) { .feature-media { aspect-ratio: 5 / 6; } }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-cols { display: grid; gap: 1.5rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
@media (min-width: 560px) { .feature-cols { grid-template-columns: repeat(2, 1fr); } }
.feature-block h3 { display: flex; align-items: center; gap: .55rem; font-size: .95rem; font-weight: 600; margin-bottom: .8rem; }
.feature-block h3 .i { color: var(--accent); width: 18px; height: 18px; }
.feature-block .checklist { margin-top: 0; gap: .45rem; font-size: .95rem; color: var(--muted); }
.feature-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.highlight { display: flex; gap: .9rem; align-items: flex-start; margin-top: 1.75rem; padding: 1.1rem 1.2rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.highlight .i { color: var(--amber); width: 22px; height: 22px; margin-top: .1rem; }
.highlight strong { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.highlight p { color: var(--muted); font-size: .92rem; margin-top: .2rem; }
.pill { display: inline-block; padding: .15rem .5rem; border-radius: 999px; font-size: .65rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: rgba(242, 169, 59, .15); color: var(--amber); border: 1px solid rgba(242, 169, 59, .35); }

.adv-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
@media (min-width: 640px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .adv-grid { grid-template-columns: repeat(3, 1fr); } }
.adv { padding: 2rem 1.75rem; background: var(--bg-2); }
.adv .i { width: 26px; height: 26px; color: var(--accent); margin-bottom: 1.75rem; }
.adv h3 { font-family: var(--font-display); font-stretch: 108%; font-weight: 650; font-size: 1.15rem; letter-spacing: -.015em; margin-bottom: .4rem; }
.adv p { color: var(--muted); font-size: .93rem; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0; cursor: pointer; font-family: var(--font-display); font-stretch: 106%; font-weight: 600; font-size: clamp(1.02rem, 1.8vw, 1.18rem); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .3s var(--ease), background-color .2s; color: var(--text); }
.faq details[open] summary .i { transform: rotate(45deg); background: var(--text); color: var(--bg); }
.faq .faq-a { padding: 0 3.5rem 1.5rem 0; color: var(--muted); }

/* ---------- Actualités ---------- */
.news-grid { display: grid; gap: 1.25rem; }
@media (min-width: 680px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .news-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } .news-card--featured { grid-column: span 2; } }
.news-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .35s var(--ease); }
.news-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.news-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.news-card--featured .news-media { aspect-ratio: 16 / 8; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.03); }
.news-media--graphic { display: grid; place-items: center; background: radial-gradient(circle at 70% 20%, rgba(106, 163, 255, .35), transparent 60%), linear-gradient(135deg, #16213a, #0b0f18); }
.news-media--graphic .i { width: 64px; height: 64px; color: rgba(255, 255, 255, .85); stroke-width: 1.2; }
.news-cat { position: absolute; left: .9rem; top: .9rem; display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .65rem; border-radius: 999px; font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: rgba(10, 12, 16, .7); color: #fff; border: 1px solid rgba(255, 255, 255, .15); backdrop-filter: blur(8px); }
.news-cat .i { width: 13px; height: 13px; }
.news-cat--media { background: #fff; color: #0c1018; border-color: #fff; }
.news-cat--new { background: var(--amber); color: #1d1204; border-color: var(--amber); }
.news-play { position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .95); color: #0c1018; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.news-play .i { width: 22px; height: 22px; margin-left: 3px; }
.news-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.35rem 1.4rem 1.5rem; flex: 1; }
.news-date { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--muted); }
.news-date .i { width: 14px; height: 14px; }
.news-title { font-family: var(--font-display); font-stretch: 108%; font-weight: 650; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.02em; }
.news-card--featured .news-title { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.news-excerpt { color: var(--muted); font-size: .93rem; }
.news-body .btn-read { margin-top: auto; padding: .75rem 0 0; border: 0; background: none; align-self: flex-start; }
.news-full { display: none; }

/* ---------- Dialogs ---------- */
.dialog {
  width: min(1120px, 100% - 1.5rem); max-height: calc(100vh - 1.5rem); max-height: calc(100dvh - 1.5rem); padding: 0; border: 1px solid var(--line-strong);
  border-radius: var(--r-xl); background: var(--bg-2); color: var(--text); box-shadow: 0 50px 120px rgba(0, 0, 0, .7); overflow: hidden;
}
.dialog--narrow { width: min(780px, 100% - 1.5rem); }
.dialog::backdrop { background: rgba(4, 6, 9, .75); backdrop-filter: blur(6px); }
.dialog[open] { animation: dialogIn .35s var(--ease); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.dialog-close { position: absolute; top: .8rem; right: .8rem; z-index: 5; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: rgba(10, 12, 16, .7); color: #fff; backdrop-filter: blur(8px); transition: background-color .2s; }
.dialog-close:hover { background: rgba(255, 255, 255, .15); }
.dialog-scroll { max-height: calc(100vh - 1.5rem); max-height: calc(100dvh - 1.5rem); overflow-y: auto; overscroll-behavior: contain; }
.vd { display: grid; }
@media (min-width: 900px) {
  .vd { grid-template-columns: 1.2fr 1fr; }
  .vd .dialog-scroll, .vd-gallery { max-height: min(780px, calc(100dvh - 1.5rem)); }
}
.vd-gallery { position: relative; background: #000; display: flex; flex-direction: column; }
.vd-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; flex: 1; min-height: 0; }
.vd-track::-webkit-scrollbar { display: none; }
.vd-track figure { margin: 0; flex: 0 0 100%; scroll-snap-align: center; display: grid; place-items: center; aspect-ratio: 4 / 3; position: relative; overflow: hidden; isolation: isolate; min-height: 0; }
@media (min-width: 900px) { .vd-track figure { aspect-ratio: auto; } }
.vd-track img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.vd-nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #0c1018; }
.vd-prev { left: .75rem; } .vd-next { right: .75rem; }
.vd-thumbs { display: flex; gap: .4rem; padding: .55rem; background: #050608; overflow-x: auto; }
.vd-thumbs button { flex: none; width: 70px; height: 52px; padding: 0; border-radius: 6px; overflow: hidden; border: 2px solid transparent; background: none; opacity: .5; transition: opacity .2s, border-color .2s; }
.vd-thumbs button[aria-current="true"] { opacity: 1; border-color: #fff; }
.vd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.vd-info { padding: clamp(1.4rem, 3vw, 2.25rem); }
.vd-info .h3 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); padding-right: 2.75rem; }
.vd-price { font-family: var(--font-display); font-stretch: 110%; font-weight: 700; font-size: 2.2rem; letter-spacing: -.035em; color: var(--text); line-height: 1; margin-top: .75rem; font-variant-numeric: tabular-nums; }
.vd-sold { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-strong); margin-top: 1.25rem; font-size: .92rem; color: var(--muted); }
.vd-sold strong { color: var(--text); }
.vd-sold .i { color: var(--accent); margin-top: .1rem; }
.vd-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 1.5rem 0 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.vd-specs div { background: var(--surface); padding: .75rem .95rem; }
.vd-specs dt { font-size: .74rem; color: var(--muted); }
.vd-specs dd { margin: .1rem 0 0; font-weight: 600; font-size: .95rem; }
.vd-info h4 { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 1.75rem 0 .7rem; }
.vd-equip { display: flex; flex-wrap: wrap; gap: .35rem; }
.vd-equip li { padding: .28rem .65rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .8rem; color: #cfd4dc; }
.vd-desc { color: #c3cad4; font-size: .95rem; }
.vd-actions { display: grid; gap: .55rem; margin-top: 1.75rem; }
@media (min-width: 520px) { .vd-actions { grid-template-columns: 1fr 1fr; } .vd-actions .btn:first-child { grid-column: 1 / -1; } }

/* Fiche véhicule sur téléphone : plein écran, une seule zone de défilement (photos puis informations) */
@media (max-width: 899px) {
  .dialog--vehicle { position: fixed; top: 0; left: 0; width: 100%; max-width: 100%; height: 100%; height: 100vh; height: 100dvh; max-height: none; margin: 0; inset: 0; border: 0; border-radius: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .dialog--vehicle .dialog-scroll { max-height: none; overflow: visible; }
  .dialog--vehicle .dialog-close { position: fixed; top: max(.75rem, env(safe-area-inset-top)); right: .75rem; }
  .dialog--vehicle .vd-gallery { max-height: none; }
  .dialog--vehicle .vd-track { flex: none; height: 62vw; height: min(78vw, 50vh); }
  .dialog--vehicle .vd-track figure { aspect-ratio: auto; height: 100%; }
  .dialog--vehicle .vd-track img { width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
  .dialog--vehicle .vd-nav { top: 31vw; top: calc(min(78vw, 50vh) / 2); width: 38px; height: 38px; }
  .dialog--vehicle .vd-thumbs button { width: 60px; height: 45px; }
  .dialog--vehicle .vd-info { padding: 1.4rem 1.1rem calc(1.75rem + env(safe-area-inset-bottom)); }
}

.article { padding: clamp(1.6rem, 4vw, 3rem); }
.article-head { padding-right: 2.75rem; }
.article-head .news-date { margin-bottom: .9rem; }
.article-head .h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.article-media { margin: 1.75rem 0; border-radius: var(--r-lg); overflow: hidden; background: #000; }
.article-media video, .article-media img { width: 100%; max-height: 460px; object-fit: contain; }
.prose { color: #c3cad4; }
.prose > * + * { margin-top: 1rem; }
.prose h3 { font-family: var(--font-display); font-stretch: 108%; font-weight: 650; font-size: 1.2rem; letter-spacing: -.015em; color: var(--text); margin-top: 2rem; }
.prose ul { display: grid; gap: .5rem; }
.prose li { position: relative; padding-left: 1.3rem; }
.prose li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.prose strong { color: var(--text); }
.prose .note { padding: 1rem 1.15rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-strong); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.tags span { padding: .25rem .7rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); font-size: .78rem; font-weight: 500; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 1.5rem; }
@media (min-width: 980px) { .contact-layout { grid-template-columns: .85fr 1.15fr; align-items: start; gap: 2rem; } }
.urgent-card { position: relative; overflow: hidden; padding: clamp(1.6rem, 4vw, 2.25rem); border-radius: var(--r-xl); color: #fff; background: linear-gradient(135deg, #1d4fd6 0%, #0e2a82 100%); isolation: isolate; }
.urgent-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 65%); }
.urgent-card .tag-urgent { display: inline-flex; align-items: center; gap: .45rem; padding: .32rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-weight: 600; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.urgent-card .tag-urgent .i { width: 14px; height: 14px; color: var(--amber); }
.urgent-card .cta-phone { margin-top: 1.25rem; }
.urgent-card p { color: #d3def8; margin-top: .6rem; }
.urgent-card .hero-actions { margin-top: 1.6rem; }
.urgent-card .btn--primary { --btn-bg: #fff; --btn-fg: #0c1018; --btn-bd: #fff; }
.info-list { display: grid; margin-top: 1rem; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: var(--surface); }
.info-item { display: flex; gap: 1rem; padding: 1.2rem 1.3rem; }
.info-item + .info-item { border-top: 1px solid var(--line); }
.info-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); color: var(--accent); }
.info-icon .i { width: 19px; height: 19px; }
.info-item h3 { font-size: .7rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-bottom: .3rem; }
.info-item a { text-decoration: none; font-weight: 600; }
.info-item a:hover { color: var(--accent); }
.hours { width: 100%; border-collapse: collapse; font-size: .9rem; }
.hours td { padding: .18rem 0; }
.hours td:last-child { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.open-status { display: inline-flex; align-items: center; gap: .5rem; margin-top: .6rem; font-size: .8rem; font-weight: 500; color: var(--muted); }
.open-status[data-open="true"] { color: var(--green); }
.open-status[data-open="false"] .pulse-dot { background: var(--muted); }
.open-status[data-open="false"] .pulse-dot::after { display: none; }

.form-card { padding: clamp(1.6rem, 4vw, 2.75rem); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 1.1rem; margin-top: 1.75rem; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.req { color: var(--accent); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--muted); cursor: pointer; line-height: 1.5; }
.check input { width: 18px; height: 18px; margin: .15rem 0 0; accent-color: var(--blue); flex: none; }
.check a { color: var(--text); }
.check--urgent { padding: .9rem 1rem; border-radius: var(--r-sm); border: 1px solid rgba(242, 169, 59, .3); background: rgba(242, 169, 59, .06); color: var(--text); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-message { display: flex; gap: .7rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--r); margin-top: 1.25rem; font-weight: 500; font-size: .93rem; }
.form-message.success { background: rgba(47, 207, 107, .1); border: 1px solid rgba(47, 207, 107, .35); color: #b9f1cf; }
.form-message.error { background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .35); color: #fecaca; }
.form-legal { margin-top: 1rem; font-size: .75rem; color: var(--muted); }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.map-embed { position: relative; margin-top: 2rem; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); height: clamp(340px, 42vw, 480px); background: var(--surface); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 1rem; text-align: center; padding: 1.5rem;
  background: radial-gradient(circle at 50% 45%, rgba(33, 89, 232, .22), transparent 55%), linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px, var(--bg-2); }
.map-facade .i-pin { width: 40px; height: 40px; color: var(--accent); }
.map-facade p { color: var(--muted); font-size: .85rem; max-width: 42ch; margin-top: .25rem; }
.map-facade .btns { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }

/* ---------- Légal ---------- */
.legal { max-width: 820px; }
.legal h2 { font-family: var(--font-display); font-stretch: 110%; font-weight: 700; letter-spacing: -.025em; font-size: 1.6rem; margin: 3rem 0 1rem; }
.legal h3 { font-size: 1.02rem; font-weight: 600; margin: 1.5rem 0 .5rem; }
.legal p, .legal li { color: #c3cad4; }
.legal p + p { margin-top: .75rem; }
.legal ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .35rem; }
.todo { background: rgba(242, 169, 59, .18); color: #ffd28a; padding: 0 .3rem; border-radius: 4px; }

/* ---------- Pied de page ---------- */
.site-footer { background: #07080b; color: #c3cad4; padding-top: clamp(4rem, 8vw, 6rem); border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 2.75rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-brand p { margin-top: 1.25rem; color: var(--muted); font-size: .92rem; max-width: 36ch; }
.footer-call { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.5rem; font-family: var(--font-display); font-stretch: 110%; font-weight: 700; font-size: 1.65rem; letter-spacing: -.03em; color: #fff; text-decoration: none; font-variant-numeric: tabular-nums; }
.footer-call:hover { color: var(--accent); }
.footer-call .i { color: var(--accent); width: 22px; height: 22px; }
.site-footer h2 { font-family: var(--font-body); font-weight: 600; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 1.25rem; }
.footer-links { display: grid; gap: .6rem; font-size: .92rem; color: var(--muted); }
.footer-links a { text-decoration: none; color: #c3cad4; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: .9rem; font-size: .92rem; }
.footer-contact li { display: flex; gap: .7rem; }
.footer-contact .i { color: var(--accent); margin-top: .2rem; width: 17px; height: 17px; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.socials { display: flex; gap: .5rem; margin-top: 1.5rem; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-strong); color: #c3cad4; transition: background-color .2s, border-color .2s, color .2s; }
.socials a:hover { background: #fff; border-color: #fff; color: #0c1018; }
.socials .i { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; margin-top: 3.5rem; padding-block: 1.6rem; border-top: 1px solid var(--line); font-size: .8rem; color: #7b8594; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-bottom a, .footer-bottom button { color: #7b8594; text-decoration: none; background: none; border: 0; padding: 0; font-size: inherit; }
.footer-bottom a:hover, .footer-bottom button:hover { color: #fff; }

/* ---------- Cookies ---------- */
.consent {
  position: fixed; z-index: 120; left: .75rem; right: .75rem; bottom: calc(78px + env(safe-area-inset-bottom));
  max-width: 420px; padding: 1.2rem 1.25rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55); font-size: .86rem; color: var(--muted); line-height: 1.55;
}
.consent strong { display: block; color: var(--text); margin-bottom: .35rem; font-size: .95rem; }
.consent a { color: var(--text); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 1rem; }
.consent-actions .btn { min-height: 42px; font-size: .88rem; }
@media (min-width: 1040px) { .consent { left: 1.5rem; right: auto; bottom: 1.5rem; } }

/* ---------- Apparitions ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Badge reCAPTCHA masqué : la mention obligatoire est affichée sous le formulaire */
.grecaptcha-badge { visibility: hidden; }
@media (max-width: 1239px) { .topbar li:last-child { display: none; } }

/* ==========================================================================
   Ajustements mobile & tablette : photos entières, sans recadrage excessif
   ========================================================================== */
@media (max-width: 1039px) {
  /* Accueil : la photo passe au-dessus du texte au lieu d'être étirée derrière */
  .hero { display: block; min-height: 0; padding: 0 0 clamp(2.5rem, 7vw, 3.5rem); background: var(--bg); }
  .hero::before { display: none; }
  .hero-media { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 3; max-height: 70vh; overflow: hidden; }
  .hero-media img { object-position: 72% center; }
  .hero-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10, 12, 16, .6) 0%, rgba(10, 12, 16, 0) 28%, rgba(10, 12, 16, 0) 55%, var(--bg) 100%);
  }
  .hero-grid { position: relative; z-index: 1; margin-top: clamp(-4rem, -8vw, -2rem); }
  .hero-panel { background: var(--surface); }

  /* Chiffres : photo au format paysage */
  .proof-media { aspect-ratio: 16 / 10; }
  .proof-media img { object-position: center; }
}

@media (max-width: 699px) {
  /* Cartes services : image entière en haut, texte en dessous */
  .svc { min-height: 0; justify-content: flex-start; background: var(--surface); border: 1px solid var(--line); }
  .svc img { position: relative; inset: auto; z-index: 0; height: auto; aspect-ratio: 16 / 10; }
  .svc::before { display: none; }
  .svc-body { padding: 1.2rem 1.3rem 1.35rem; }
  .svc h3 { font-size: 1.4rem; color: var(--text); }
  .svc ul { color: var(--muted); }
  .svc .link-arrow { color: var(--text); border-top-color: var(--line); }
  .services-grid .svc:nth-child(1) img { object-position: center 62%; }
  .services-grid .svc:nth-child(5) img { object-position: center 70%; }

  /* Pages internes et articles */
  .feature-media { aspect-ratio: 4 / 3; }
  .news-card--featured .news-media { aspect-ratio: 16 / 10; }
  .page-hero { padding-bottom: 2.5rem; }
  .page-hero::before { background: linear-gradient(180deg, rgba(10, 12, 16, .7) 0%, rgba(10, 12, 16, .82) 60%, var(--bg) 100%); }

  /* Zone : carte d'adresse sous la photo */
  .zone-visual { overflow: visible; aspect-ratio: auto; border-radius: 0; }
  .zone-visual img { aspect-ratio: 4 / 3; border-radius: var(--r-xl); }
  .zone-visual::after { display: none; }
  .zone-card { position: relative; left: auto; right: auto; bottom: auto; margin-top: .75rem; background: var(--surface); backdrop-filter: none; }
  .zone-card .btn { display: inline-flex; }

  /* Bandeau d'appel : boutons pleine largeur */
  .cta-band-actions .btn { flex: 1 1 100%; }
}
.svc::after { text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
@media (max-width: 699px) {
  .proof-media { aspect-ratio: 4 / 3; }
  .proof-float { right: auto; left: .7rem; bottom: .7rem; padding: .55rem .85rem .55rem .6rem; gap: .65rem; font-size: .78rem; }
  .proof-float strong { font-size: .88rem; }
  .proof-float .i { width: 32px; height: 32px; padding: 7px; }
  .hero .eyebrow { letter-spacing: .1em; }
}
@media (max-width: 699px) {
  .page-hero .h1 { font-size: clamp(2.2rem, 10vw, 2.6rem); }
  /* Filtres véhicules : recherche pleine largeur, listes sur deux colonnes */
  .filters { grid-template-columns: 1fr 1fr; gap: .65rem; padding: .9rem; }
  .filters .field:first-child { grid-column: 1 / -1; }
  .filters .select { font-size: .88rem; padding-left: .7rem; padding-right: 2rem; background-position: right .55rem center; }
}
.hero .h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); }
.topbar p, .topbar li { white-space: nowrap; }
@media (max-width: 1239px) { .topbar li:nth-child(2) { display: none; } }

/* Véhicule vendu : badge rouge, message discret sur la photo */
.vcard.is-sold .vcard-badge { background: #d62828; color: #fff; }
.vcard.is-sold .vcard-badge::before { background: #fff; }
.vcard-sold-msg { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: .15rem; padding: 2.4rem 1rem .85rem; background: linear-gradient(to top, rgba(6, 8, 12, .9), rgba(6, 8, 12, .55) 60%, transparent); color: #d5dae2; font-size: .8rem; line-height: 1.35; text-align: left; }
.vcard-sold-msg strong { color: #fff; font-family: var(--font-display); font-stretch: 108%; font-weight: 650; font-size: .98rem; letter-spacing: -.01em; }
.vcard.is-sold .vcard-count { display: none; }
.vd-sold .i { color: #e04545; }
