/* =====================================================================
   SATUEV AUTOMOBILES — feuille de style
   Système éditorial monochrome (blanc, encre, gris) + bleu de marque.
   Pour ajuster le bleu au logo : modifier --blue et --blue-press ci-dessous.
   ===================================================================== */

:root {
  /* Couleurs */
  --ink: #1f1f1f;
  --black: #000;
  --white: #fff;
  --ash: #c9c9cd;
  --mist: #f7f7f7;
  --slate: #717173;
  --graphite: #4c4c4c;
  --silver: #a1a1a6;
  --line-dark: rgba(255, 255, 255, .14);
  --field: #8e8e93;
  --blue: #1227fd;
  --blue-press: #0c1bd0;
  --blue-light: #6fa0ff;
  --blue-tint: #eef1ff;
  --gradient: linear-gradient(to right, #1227fd, #3d63ff); /* fin du dégradé assombrie : texte blanc lisible sur toute la largeur */
  --error: #b3261e;

  /* Typographie */
  --font-display: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display-xl: clamp(2.6rem, 1.5rem + 5vw, 5.5rem);
  --fs-display: clamp(1.9rem, 1.2rem + 3.4vw, 3.25rem);
  --fs-h2: clamp(1.85rem, 1.45rem + 1.6vw, 2.5rem);
  --fs-h3: clamp(1.3rem, 1.2rem + .45vw, 1.5rem);
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);

  /* Formes et espacements */
  --r-card: 22.5px;
  --r-list: 20px;
  --r-sm: 12px;
  --r-pill: 9999px;
  --maxw: 1200px;
  --gutter: 16px;
  --section-y: 64px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 80px; }
}

@media (min-width: 1280px) {
  :root { --section-y: 96px; }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; overflow-wrap: break-word; }
p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }

.icon { width: 24px; height: 24px; flex: none; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible, .chip:focus-visible, .lang-link:focus-visible { border-radius: var(--r-pill); }
.site-header :focus-visible, .mobile-menu :focus-visible, .site-footer :focus-visible,
.hero :focus-visible, .section--dark :focus-visible, .service--dark :focus-visible,
.cta-band :focus-visible, .card--feature:focus-visible, .card--cta :focus-visible { outline-color: var(--white); }

.sr-only {
  position: absolute !important; 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: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; border-radius: var(--r-pill);
  background: var(--white); color: var(--ink); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

main:focus { outline: none; }

/* ---------- Typographie ---------- */

.display-xl { font-size: var(--fs-display-xl); line-height: 1.02; letter-spacing: -.024em; }
.display { font-size: var(--fs-display); line-height: 1.05; letter-spacing: -.016em; }
.h2 { font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -.012em; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.01em; }
.lead { font-family: var(--font-display); font-size: var(--fs-lead); line-height: 1.5; color: var(--graphite); letter-spacing: -.005em; text-wrap: pretty; }
.muted { color: var(--slate); }
.eyebrow { font: 600 .75rem/1.5 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.eyebrow + .h2, .eyebrow + .h3, .eyebrow + .display { margin-top: 12px; }

/* ---------- Mise en page ---------- */

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .55); }
.section--tight-top { padding-top: calc(var(--section-y) * .4); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark .eyebrow { color: var(--silver); }
.section--dark .muted { color: var(--silver); }
.section--dark .lead { color: rgba(255, 255, 255, .78); }

.section-head { max-width: 860px; margin-bottom: 40px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head .lead { margin-top: 18px; max-width: 46em; }
.section-foot { margin-top: 32px; display: flex; justify-content: center; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions--center { justify-content: center; }

/* ---------- Boutons (pilules) ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font: 600 1rem/1.1 var(--font-ui); letter-spacing: -.005em;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, opacity .2s, transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 20px; height: 20px; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-press); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--black); }
.btn--light { background: var(--white); color: var(--ink); border: 2px solid var(--ink); }
.btn--light:hover { background: var(--ink); color: var(--white); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: rgba(255, 255, 255, .85); }
.btn--ghost {
  background: rgba(255, 255, 255, .1); color: var(--white); border-color: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .2); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ash); }
.btn--outline:hover { border-color: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn--sm .icon { width: 18px; height: 18px; }
.btn--lg { min-height: 56px; padding: 0 28px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: inherit; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon, a:hover > .link-arrow .icon { transform: translateX(4px); }

/* ---------- Bandeau promotionnel ---------- */

.promo { background: var(--gradient); color: var(--white); font-size: .875rem; text-align: center; }
.promo .container { min-height: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; padding-block: 9px; }
.promo a { color: var(--white); font-weight: 600; text-decoration: underline; }
.promo__short { display: none; }
@media (max-width: 599px) {
  .promo__long { display: none; }
  .promo__short { display: inline; }
}
@media (max-width: 399px) {
  .promo { font-size: .8125rem; }
}

/* ---------- En-tête ---------- */

.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--white); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 12px; }

.brand { display: inline-flex; align-items: center; margin-right: auto; color: var(--white); text-decoration: none; }
.brand__text { font: 600 .875rem/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.brand__logo { height: 34px; width: auto; }

.nav-main { display: none; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border-radius: var(--r-pill); color: rgba(255, 255, 255, .78);
  font-size: .9375rem; font-weight: 500; text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav-link:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.nav-link[aria-current] { color: var(--white); background: rgba(255, 255, 255, .13); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch { display: inline-flex; padding: 3px; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--r-pill); }
.lang-link {
  min-width: 34px; height: 30px; padding: 0 8px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill); color: rgba(255, 255, 255, .72);
  font: 600 .75rem/1 var(--font-ui); letter-spacing: .05em; text-decoration: none;
  transition: color .2s, background-color .2s;
}
.lang-link:hover { color: var(--white); }
.lang-link[aria-current="true"] { background: var(--white); color: var(--ink); }
.lang-switch--lg { justify-self: start; }
.lang-switch--lg .lang-link { min-width: 52px; height: 38px; font-size: .8125rem; }

.header-call { display: none; }
.header-call .num { display: none; }

.menu-btn {
  width: 44px; height: 44px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .1); color: var(--white);
}
.menu-btn:hover { background: rgba(255, 255, 255, .18); }

@media (max-width: 479px) {
  .header-inner { gap: 8px; }
  .brand__text { font-size: .75rem; letter-spacing: .12em; }
  .header-inner .lang-link { min-width: 30px; padding: 0 6px; }
}

@media (max-width: 359px) {
  .header-inner .lang-switch { display: none; }
}

@media (min-width: 1024px) {
  .nav-main { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
  .brand { margin-right: 0; }
  .header-call { display: inline-flex; }
  .header-inner .menu-btn { display: none; }
}

@media (min-width: 1200px) {
  .header-call .num { display: inline; }
  .header-call .lbl { display: none; }
}

/* ---------- Menu mobile ---------- */

.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column;
  padding: 0 var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background: var(--ink); color: var(--white);
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu__top { height: var(--header-h); flex: none; display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__nav { display: flex; flex-direction: column; margin-top: 12px; }
.mobile-menu__nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 15px 0; border-bottom: 1px solid var(--line-dark);
  color: var(--white); text-decoration: none;
  font: 500 1.625rem/1.2 var(--font-display); letter-spacing: -.012em;
}
.mobile-menu__nav a .icon { width: 22px; height: 22px; opacity: .45; }
.mobile-menu__nav a[aria-current] { color: var(--blue-light); }
.mobile-menu__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.menu-open { overflow: hidden; }

@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

/* ---------- Statut d'ouverture ---------- */

.status { display: inline-flex; align-items: center; gap: 10px; font-size: .875rem; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--silver); flex: none; }
.status.is-open .status__dot { background: var(--blue-light); box-shadow: 0 0 0 4px rgba(111, 160, 255, .25); }
.status--light.is-open .status__dot { background: var(--blue); box-shadow: 0 0 0 4px rgba(18, 39, 253, .14); }
.status strong { font-weight: 600; }
.status--dark { color: rgba(255, 255, 255, .9); }

/* ---------- Héros (accueil) ---------- */

/* La photo garde son cadrage d'origine : elle est affichee entiere, jamais recadree */
.hero { position: relative; isolation: isolate; display: grid; background: var(--ink); color: var(--white); overflow: hidden; }
.hero__media { position: relative; align-self: start; }
.hero__media picture { display: block; }
.hero__media img { display: block; width: 100%; height: auto; }
.hero__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14%; background: linear-gradient(180deg, rgba(31, 31, 31, 0), var(--ink)); pointer-events: none; }
.hero__content { position: relative; z-index: 1; padding-block: 20px 96px; }

/* Grands ecrans : texte pose sur la photo, voile degrade pour la lisibilite */
@media (min-width: 900px) {
  .hero__media, .hero__content { grid-area: 1 / 1; }
  .hero__content { align-self: end; padding-block: 112px 96px; }
  .hero__media::after {
    top: 0; height: auto;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .32) 0%, rgba(0, 0, 0, .06) 26%, rgba(0, 0, 0, .42) 62%, rgba(31, 31, 31, .9) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .22) 45%, rgba(0, 0, 0, 0) 75%);
  }
}
.hero__brand { margin-bottom: 22px; }
.hero__brand-text { font: 600 .8125rem/1 var(--font-display); letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .9); }
.hero__logo { height: 56px; width: auto; }
.hero__h1 { font-size: clamp(1.0625rem, 1rem + .4vw, 1.375rem); font-weight: 600; line-height: 1.3; letter-spacing: -.005em; }
.hero__title { max-width: 13em; margin-top: 10px; font-family: var(--font-display); font-weight: 500; text-wrap: balance; }
.hero__lead {
  max-width: 38em; margin-top: 24px;
  font-family: var(--font-display); font-size: var(--fs-lead); line-height: 1.5;
  color: rgba(255, 255, 255, .86);
}
.hero__actions { margin-top: 32px; }
/* Note Google : sa place est reservee, rien ne bouge quand les avis arrivent */
.hero__rating {
  display: flex; align-items: center; gap: 8px; width: fit-content; min-height: 24px; margin-top: 22px;
  color: var(--white); font-size: .9375rem; text-decoration: none; visibility: hidden;
}
.hero__rating.is-ready { visibility: visible; }
.hero__rating:hover .hero__rating-count { text-decoration: underline; }
.hero__rating .stars { color: var(--white); }
.hero__rating .stars .icon { width: 16px; height: 16px; }
.hero__rating-value { font-weight: 600; }
.hero__rating-count { color: rgba(255, 255, 255, .86); }
.hero__meta { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; font-size: .875rem; color: rgba(255, 255, 255, .82); }
.hero__meta-item { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta-item .icon { width: 18px; height: 18px; opacity: .8; }

@media (max-width: 599px) {
  .hero__brand:has(.hero__logo) { display: none; }
  .hero__title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  /* Telephone : la note Google remonte au-dessus des boutons, pour rester dans le premier ecran */
  .hero__content { display: flex; flex-direction: column; padding-block: 16px 84px; }
  .hero__rating { order: 1; margin-top: 18px; }
  .hero__actions { order: 2; margin-top: 18px; }
  .hero__meta { order: 3; margin-top: 24px; }
}

/* Carte d'accès rapide chevauchant le héros */
.quick-wrap { position: relative; z-index: 2; background: var(--mist); }
.quick {
  position: relative; top: -44px; margin-bottom: -44px;
  display: grid; background: var(--white);
  border: 1px solid var(--ash); border-radius: var(--r-card); overflow: hidden;
}
.quick__item {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  color: var(--ink); text-decoration: none; border-top: 1px solid var(--ash);
  transition: background-color .2s;
}
.quick__item:first-child { border-top: 0; }
.quick__item:hover { background: var(--mist); }
.quick__icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--mist); }
.quick__icon .icon { width: 22px; height: 22px; }
.quick__item:hover .quick__icon { background: var(--white); }
.quick__label { display: block; font-size: .8125rem; color: var(--slate); }
.quick__value { display: block; font: 500 1.125rem/1.3 var(--font-display); letter-spacing: -.01em; }

@media (min-width: 768px) {
  .quick { grid-template-columns: repeat(3, 1fr); }
  .quick__item { border-top: 0; border-left: 1px solid var(--ash); padding: 24px 28px; }
  .quick__item:first-child { border-left: 0; }
}

.section--after-quick { padding-top: calc(var(--section-y) + 8px); }

/* ---------- Cartes de prestations ---------- */

.cards { display: grid; gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 28px; background: var(--white); color: var(--ink);
  border: 1px solid var(--ash); border-radius: var(--r-card);
  text-decoration: none; transition: border-color .25s, background-color .25s;
}
.section--mist .card { border-color: var(--white); }
a.card:hover { border-color: var(--ink); }
.card__icon {
  width: 48px; height: 48px; margin-bottom: 14px;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--ash); color: var(--ink);
}
.card__icon .icon { width: 22px; height: 22px; }
.card__title { font-size: var(--fs-h3); }
.card__text { color: var(--graphite); }
.card__link { margin-top: auto; padding-top: 14px; }

.card--feature { background: var(--ink); color: var(--white); border-color: var(--ink) !important; }
.card--feature .card__icon { border-color: rgba(255, 255, 255, .25); color: var(--white); }
.card--feature .card__text { color: rgba(255, 255, 255, .74); max-width: 34em; }
.card--feature:hover { background: var(--black); }
.card__points { list-style: none; display: grid; gap: 8px; margin-top: 8px; color: rgba(255, 255, 255, .88); font-size: .9375rem; }
.card__points li { display: flex; gap: 10px; align-items: flex-start; }
.card__points .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--blue-light); }

.card--cta { background: var(--blue); color: var(--white); border-color: var(--blue) !important; }
.card--cta .card__icon { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.card--cta .card__text { color: rgba(255, 255, 255, .85); }
.card--cta .btn--white { color: var(--blue); }

@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; }
  .card--feature { grid-column: span 2; }
}

@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .card--cta { grid-column: span 2; }
  .card--feature { grid-column: span 2; padding: 36px; }
  .card--feature .card__title { font-size: var(--fs-h2); }
  .card--feature .card__points { grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 28px; }
}

/* ---------- Atouts (« Pourquoi nous choisir ») ---------- */

.features { display: grid; border-top: 1px solid var(--ash); }
.feature {
  display: grid; grid-template-columns: 48px 1fr; gap: 18px;
  padding: 26px 0; border-bottom: 1px solid var(--ash);
}
.feature__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--mist); }
.feature__icon .icon { width: 22px; height: 22px; }
.feature__title { font-size: 1.25rem; line-height: 1.25; }
.feature__text { margin-top: 6px; color: var(--graphite); }

@media (min-width: 768px) {
  .features { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
  .feature { padding: 32px 0; }
}

@media (min-width: 1024px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}

.features--cards { border-top: 0; gap: 16px; }
.features--cards .feature { background: var(--white); border: 0; border-radius: var(--r-card); padding: 28px; }
.features--cards .feature__icon { background: var(--mist); }

/* ---------- Achat & vente (bandeau sombre) ---------- */

.trade-grid { display: grid; gap: 20px; }
.trade-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); color: var(--ink); border-radius: var(--r-card); }
.trade-card__media { aspect-ratio: 16 / 10; background: var(--mist); overflow: hidden; }
.trade-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.trade-card:hover .trade-card__media img { transform: scale(1.03); }
.trade-card__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.trade-card__text { color: var(--graphite); }
.trade-card__body .actions { margin-top: auto; padding-top: 12px; }

@media (min-width: 900px) {
  .trade-grid { grid-template-columns: 1fr 1fr; }
  .trade-card__body { padding: 36px; }
}

/* Accueil : les dernieres voitures, puis la reprise sur toute la largeur */
.latest-title { margin-bottom: 20px; }
.trade-grid--single { margin-top: 40px; }
@media (min-width: 900px) {
  .trade-grid--single { grid-template-columns: 1fr; }
  .trade-grid--single .trade-card { flex-direction: row; }
  .trade-grid--single .trade-card__media { position: relative; flex: 1 1 50%; aspect-ratio: auto; min-height: 300px; }
  .trade-grid--single .trade-card__media img { position: absolute; inset: 0; }
  .trade-grid--single .trade-card__body { flex: 1 1 50%; justify-content: center; }
  .trade-grid--single .trade-card__body .actions { margin-top: 0; }
}

/* ---------- Avis ---------- */

.stars { display: inline-flex; gap: 2px; color: var(--ink); }
.stars .icon { width: 18px; height: 18px; }

.rating { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.rating__value { font: 500 3.5rem/1 var(--font-display); letter-spacing: -.02em; }
.rating__meta { display: grid; gap: 6px; }
.rating__count { font-size: .875rem; color: var(--slate); }

.reviews-empty {
  display: grid; gap: 22px; align-items: center;
  padding: 32px 28px; background: var(--mist); border-radius: var(--r-list);
}
.reviews-empty__text { margin-top: 8px; color: var(--graphite); max-width: 42em; }
.reviews-empty__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--white); }

@media (min-width: 900px) {
  .reviews-empty { grid-template-columns: auto 1fr auto; gap: 36px; padding: 40px 44px; }
}

.reviews-grid { display: grid; gap: 16px; }
.review { display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--ash); border-radius: var(--r-card); }
.review__text { font-family: var(--font-display); font-size: 1.0625rem; line-height: 1.55; }
.review__text p { white-space: pre-line; overflow-wrap: break-word; }
.review.is-clamped .review__text p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
.review__more {
  align-self: flex-start; margin-top: -6px; padding: 0; border: 0; background: none;
  font: 600 .875rem/1.4 var(--font-ui); color: var(--ink);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.review__author { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: .875rem; }
.review__avatar {
  flex: none; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: var(--mist); font: 600 1rem/1 var(--font-display); color: var(--ink);
}
.review__who { display: grid; gap: 2px; min-width: 0; }
.review__meta { color: var(--slate); }
.reviews-actions { margin-top: 28px; }
.reviews-credit { margin-top: 20px; font-size: .8125rem; color: var(--slate); }
.reviews-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Avis à jour (Featurable) : cartes d'attente pendant le chargement ; sans JavaScript
   ou si le service ne répond pas, encadré renvoyant vers la fiche Google */
.review--ghost { min-height: 220px; border-color: transparent; background: var(--mist); animation: review-wait 1.2s ease-in-out infinite alternate; }
.review--ghost:nth-child(n+2) { display: none; }
.reviews-live__fallback, html:not(.js) .reviews-live__list, .reviews-live.is-failed .reviews-live__list { display: none; }
html:not(.js) .reviews-live__fallback, .reviews-live.is-failed .reviews-live__fallback { display: block; }
.reviews-live.is-ready .review { animation: review-in .45s ease both; }
@keyframes review-wait { from { opacity: .45; } to { opacity: 1; } }
@keyframes review-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .review--ghost, .reviews-live.is-ready .review { animation: none; } }

@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } .review--ghost:nth-child(2) { display: block; } }
@media (min-width: 1100px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } .review--ghost:nth-child(3) { display: block; } }

.write-review { display: grid; gap: 28px; align-items: end; }
.write-review .lead { margin-top: 16px; max-width: 40em; }
@media (min-width: 900px) { .write-review { grid-template-columns: 1fr auto; } }

/* ---------- Contact : liste, horaires, carte ---------- */

.contact-grid { display: grid; gap: 20px; align-items: stretch; }
.contact-side { display: grid; gap: 16px; align-content: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 6fr; } }

.info-list { background: var(--white); border-radius: var(--r-list); overflow: hidden; }
.section:not(.section--mist) .info-list { background: var(--mist); }
.info-row {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center;
  padding: 18px 20px; color: var(--ink); text-decoration: none;
  border-top: 1px solid rgba(201, 201, 205, .6);
  transition: background-color .2s;
}
.info-row:first-child { border-top: 0; }
a.info-row:hover { background: rgba(0, 0, 0, .025); }
.info-row__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ash); }
.info-row__icon .icon { width: 20px; height: 20px; }
.info-row__body { display: grid; gap: 2px; min-width: 0; }
.info-row__label { font-size: .8125rem; color: var(--slate); }
.info-row__value { font-weight: 600; overflow-wrap: anywhere; }
.info-row__aside { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; color: var(--slate); }
.info-row__aside .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
a.info-row:hover .info-row__aside .icon { transform: translateX(3px); color: var(--ink); }
.info-row--hours { grid-template-columns: 44px 1fr; align-items: center; row-gap: 12px; }
.info-row--hours .status { margin-top: 2px; }
.info-row__hours { grid-column: 1 / -1; }
@media (max-width: 479px) { .info-row__aside-text { display: none; } }

.hours { display: grid; gap: 0; font-size: .9375rem; }
.hours__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; padding: 8px 12px; border-radius: 10px; }
.hours__row dt { color: var(--graphite); }
.hours__row dd { margin-left: auto; font-weight: 600; text-align: right; }
.hours__row .sep { color: var(--ash); font-weight: 400; }
.nowrap { white-space: nowrap; }
.hours__row.is-today { background: var(--blue-tint); }
.hours__row.is-today dt { color: var(--ink); font-weight: 600; }

.map { position: relative; min-height: 340px; border-radius: var(--r-list); overflow: hidden; background: #ececee; }
.map--tall { min-height: 420px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- En-tête des pages intérieures ---------- */

.page-hero { padding-top: 36px; }
.page-hero > .container:first-child { padding-bottom: 8px; }
.breadcrumb { margin-bottom: 28px; font-size: .8125rem; color: var(--slate); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--ash); }
.breadcrumb a { color: var(--slate); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero__title { max-width: 15em; }
.page-hero__lead { max-width: 42em; margin-top: 20px; }
.page-hero__actions { margin-top: 28px; }
.page-hero__media { margin-top: 44px; display: flex; justify-content: center; }
.page-hero__media picture { display: contents; }
.page-hero__media img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(680px, 80vh); border-radius: var(--r-card); }
.page-hero__media .ph { aspect-ratio: 21 / 9; border-radius: var(--r-card); }
.page-hero:not(:has(.page-hero__media)) { padding-bottom: 8px; }
/* Page Vehicules sur telephone : les voitures arrivent vite, sans grande photo avant elles */
@media (max-width: 767px) {
  .page-vehicles .page-hero__media, .page-vehicles .page-hero__actions .btn:first-child, .vehicles-stock .section-head .lead { display: none; }
  .vehicles-stock.section { padding-top: 32px; }
  .vehicles-stock .section-head { margin-bottom: 20px; }
}

@media (min-width: 768px) {
  .page-hero { padding-top: 56px; }
}

/* ---------- Page Services ---------- */

.chips-label { margin-bottom: 14px; }
.chips {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px;
  -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 16px;
  border: 1px solid var(--ash); border-radius: var(--r-pill);
  background: var(--white); color: var(--ink);
  font-size: .9375rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: border-color .2s, background-color .2s;
}
.chip .icon { width: 18px; height: 18px; }
.chip:hover { border-color: var(--ink); }
.chips--wrap { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; overflow: visible; }

@media (min-width: 1024px) {
  .chips { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; overflow: visible; }
}

.service { padding-block: 56px; border-top: 1px solid var(--ash); }
.services-list .service:first-child { border-top: 0; }
.service__grid { display: grid; gap: 32px; align-items: center; }
.service__media { display: flex; justify-content: center; }
.services-list .service:first-child { padding-top: 24px; }
.service__media img { display: block; width: auto; max-width: 100%; height: auto; max-height: 680px; border-radius: var(--r-card); }
.service__icon-panel { width: 100%; aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--mist); border-radius: var(--r-card); }
.service__icon-panel .icon { width: 30%; height: 30%; max-width: 140px; stroke-width: 1; color: var(--ink); }
.service__index { font: 500 .875rem/1 var(--font-ui); letter-spacing: .04em; color: var(--slate); }
.service__index span { color: var(--ink); font-weight: 600; }
.service__title { margin-top: 14px; }
.service__lead { margin-top: 16px; }
.checklist { list-style: none; display: grid; gap: 12px; margin-top: 26px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.checklist .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--blue); }
.service__note { display: flex; gap: 12px; margin-top: 22px; padding: 16px 18px; border-radius: var(--r-sm); background: var(--mist); font-size: .9375rem; color: var(--graphite); }
.service__note .icon { width: 20px; height: 20px; margin-top: 1px; }
.service__actions { margin-top: 28px; }
.service__form { margin-top: 18px; font-size: .9375rem; color: var(--slate); }
.service__form:hover { color: var(--ink); }

.service--dark { background: var(--ink); color: var(--white); border-top-color: var(--ink); }
.service--dark + .service { border-top-color: transparent; }
.service--dark .service__index { color: var(--silver); }
.service--dark .service__index span { color: var(--white); }
.service--dark .lead { color: rgba(255, 255, 255, .78); }
.service--dark .checklist .icon { color: var(--blue-light); }
.service--dark .service__note { background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .85); }
.service--dark .service__form { color: var(--silver); }
.service--dark .service__form:hover { color: var(--white); }
.service--dark .service__icon-panel { background: #2a2a2a; }
.service--dark .service__icon-panel .icon { color: var(--white); }
.service--dark .ph { background: #2a2a2a; border-color: #444; color: var(--silver); }
.service--dark .ph strong { color: var(--white); }

@media (min-width: 560px) {
  .checklist { grid-template-columns: 1fr 1fr; column-gap: 28px; }
}

@media (min-width: 960px) {
  .service { padding-block: 80px; }
  .service__grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .service--alt .service__media { order: 2; }
}

.faq-grid { display: grid; gap: 8px; }
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--mist); border-radius: var(--r-list); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; list-style: none; cursor: pointer;
  font: 500 1.125rem/1.35 var(--font-display); letter-spacing: -.005em;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q .icon { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.faq__item[open] .faq__q .icon { transform: rotate(180deg); }
.faq__a { padding: 0 24px 22px; color: var(--graphite); max-width: 70ch; }

@media (min-width: 1024px) {
  .faq-grid { grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
  .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Bandeau d'appel à l'action ---------- */

.cta-band {
  display: grid; gap: 24px; padding: 40px 28px;
  background: var(--ink); color: var(--white); border-radius: var(--r-card);
}
.cta-band__text { margin-top: 12px; max-width: 40em; color: rgba(255, 255, 255, .75); font-family: var(--font-display); font-size: var(--fs-lead); line-height: 1.5; }
@media (min-width: 960px) {
  .cta-band { grid-template-columns: 1fr auto; align-items: center; gap: 48px; padding: 56px; }
}

.note { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; font-size: .875rem; color: var(--slate); max-width: 62em; }
.note .icon { width: 18px; height: 18px; margin-top: 1px; }
.contact-side .note { margin-top: 0; padding-inline: 4px; }

/* ---------- Véhicules ---------- */

/* Filtres et tri (sans JavaScript : masques, tous les vehicules restent visibles) */
.vehicle-filters { margin-bottom: 20px; padding: 16px; background: var(--mist); border-radius: var(--r-list); }
html:not(.js) .vehicle-filters { display: none; }
.vehicle-filters__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.vehicle-filters__field { display: grid; gap: 4px; min-width: 0; font-size: .8125rem; font-weight: 600; }
.vehicle-filters__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; min-height: 24px; margin-top: 12px; font-size: .875rem; color: var(--graphite); }
.vehicle-filters__reset { padding: 0; border: 0; background: none; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.vehicles-none { padding: 28px; border-radius: var(--r-list); background: var(--mist); color: var(--graphite); text-align: center; }
@media (min-width: 900px) { .vehicle-filters__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }

.vehicles-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .vehicles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .vehicles-grid { grid-template-columns: repeat(3, 1fr); } }

/* Accueil : les cartes defilent au doigt tant qu'elles ne tiennent pas sur une ligne */
@media (max-width: 1023px) {
  .vehicles-grid--home {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
  }
  .vehicles-grid--home::-webkit-scrollbar { display: none; }
  .vehicles-grid--home .vehicle { flex: 0 0 min(280px, 72vw); scroll-snap-align: start; }
}

/* Toute la carte mene a la page du vehicule (lien etire sur le titre) */
.vehicle { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--white); color: var(--ink); border: 1px solid var(--ash); border-radius: var(--r-card); transition: border-color .25s; }
.vehicle:hover { border-color: var(--ink); }
.vehicle__link { color: inherit; text-decoration: none; }
.vehicle__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.vehicle__link:focus-visible { outline: none; }
.vehicle:has(.vehicle__link:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.section--dark .vehicle:has(.vehicle__link:focus-visible) { outline-color: var(--white); }
.vehicle__ask { position: relative; z-index: 2; }
.vehicle:hover .vehicle__view { background: var(--blue-press); }
/* Cadre en hauteur : les photos (souvent prises en hauteur) s’affichent entières, sans recadrage */
.vehicle__media { position: relative; aspect-ratio: 4 / 5; background: var(--mist); overflow: hidden; }
.vehicle__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.vehicle:hover .vehicle__media img { transform: scale(1.03); }
.vehicle__count {
  position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px;
  min-height: 30px; padding: 0 12px; border-radius: var(--r-pill);
  background: rgba(20, 20, 20, .72); color: var(--white); font: 600 .8125rem/1 var(--font-ui);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.vehicle__count .icon { width: 16px; height: 16px; }
.vehicle__badges { position: absolute; top: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.vehicle__body { flex: 1; display: flex; flex-direction: column; gap: 18px; padding: 24px; }
.vehicle__title { font-size: 1.5rem; line-height: 1.2; }
.vehicle__version { margin-top: 4px; font-size: .9375rem; color: var(--slate); }
.vehicle__foot { margin-top: auto; display: grid; gap: 10px; }
.vehicle__price { margin-bottom: 4px; font: 500 1.75rem/1 var(--font-display); letter-spacing: -.015em; }
.vehicle.is-sold .vehicle__media img { filter: grayscale(1); opacity: .55; }

.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ash); border: 1px solid var(--ash); border-radius: var(--r-sm); overflow: hidden; }
.spec { display: grid; gap: 2px; padding: 10px 12px; background: var(--white); }
.spec dt { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--slate); }
.spec dt .icon { width: 14px; height: 14px; }
.spec dd { font-size: .9375rem; font-weight: 600; }

/* Telephone : cartes compactes, deux par ligne ; un toucher ouvre la page du vehicule */
@media (max-width: 639px) {
  .vehicles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .vehicle { border-radius: var(--r-list); }
  .vehicle__body { gap: 8px; padding: 12px; }
  .vehicle__title { font-size: 1.0625rem; line-height: 1.25; }
  .vehicle__version { margin-top: 2px; font-size: .8125rem; line-height: 1.35; }
  /* Annee et kilometrage sur une ligne, motorisation et boite sur les suivantes */
  .vehicle .specs { display: block; background: none; border: 0; border-radius: 0; font-size: .8125rem; line-height: 1.4; color: var(--graphite); }
  .vehicle .spec { display: inline; padding: 0; background: none; }
  .vehicle .spec:nth-child(n+3) { display: block; }
  .vehicle .spec:nth-child(2)::before { content: "\00a0\00b7\00a0"; }
  .vehicle .spec dt { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .vehicle .spec dd { display: inline; font-size: inherit; font-weight: 500; }
  .vehicle__foot { padding-top: 2px; }
  .vehicle__price { margin-bottom: 0; font-size: 1.1875rem; line-height: 1.15; }
  .vehicle__foot .btn { display: none; }
  .vehicle__count { right: 8px; bottom: 8px; min-height: 26px; padding: 0 8px; font-size: .75rem; }
  .vehicle__count .icon { width: 14px; height: 14px; }
  .vehicle__badges { top: 8px; left: 8px; }
}

/* Page d'un vehicule */
.vehicle-page { padding-block: 28px 8px; }
.vehicle-page .breadcrumb { margin-bottom: 20px; }
.vehicle-page__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; grid-template-areas: "gallery" "info" "desc"; }
.vehicle-page__gallery { grid-area: gallery; min-width: 0; }
.vehicle-page__info { grid-area: info; display: grid; gap: 16px; align-content: start; min-width: 0; }
.vehicle-page__desc { grid-area: desc; min-width: 0; }
/* La grande photo garde son format d'origine (en hauteur ou en largeur), entiere */
.vehicle-page__main { position: relative; display: block; width: 100%; background: var(--mist); border-radius: var(--r-card); overflow: hidden; }
a.vehicle-page__main { cursor: zoom-in; }
.vehicle-page__main img { width: 100%; height: auto; max-height: min(82vh, 760px); object-fit: contain; }
.vehicle-page__thumbs {
  display: flex; gap: 8px; margin: 8px calc(var(--gutter) * -1) 0; padding-inline: var(--gutter);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.vehicle-page__thumbs::-webkit-scrollbar { display: none; }
.vehicle-page__thumb { flex: 0 0 84px; aspect-ratio: 3 / 4; background: var(--mist); border-radius: var(--r-sm); overflow: hidden; cursor: zoom-in; }
.vehicle-page__thumb img { width: 100%; height: 100%; object-fit: contain; }
.vehicle-page__thumb:hover { outline: 2px solid var(--ink); outline-offset: -2px; }
.vehicle-page__info .eyebrow { margin-bottom: -8px; }
.vehicle-page__title { font-size: clamp(1.625rem, 1.4rem + 1vw, 2.125rem); line-height: 1.15; letter-spacing: -.012em; }
.vehicle-page__price { font: 500 2rem/1.1 var(--font-display); letter-spacing: -.015em; }
.vehicle-page__actions { display: grid; gap: 10px; }
.vehicle-page__info .note { margin-top: 0; }
.vehicle-page__desc { max-width: 46em; color: var(--graphite); }
.vehicle-page__desc h2 { margin-bottom: 14px; color: var(--ink); }
.vehicle-page__desc p + p { margin-top: 10px; }
.vehicle-page__desc h3 { margin-top: 26px; font: 600 .75rem/1.5 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.vehicle-page__desc ul { display: grid; gap: 6px; margin-top: 10px; list-style: none; }
.vehicle-page__desc li { position: relative; padding-left: 16px; }
.vehicle-page__desc li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }

@media (min-width: 1024px) {
  .vehicle-page { padding-top: 40px; }
  .vehicle-page__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "gallery info" "desc info"; gap: 36px 56px; align-items: start; }
  .vehicle-page__info { position: sticky; top: calc(var(--header-h) + 24px); }
  .vehicle-page__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-inline: 0; padding-inline: 0; overflow: visible; }
}

.badge {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 11px;
  border-radius: var(--r-pill); background: var(--white); color: var(--ink);
  font: 600 .6875rem/1 var(--font-ui); letter-spacing: .07em; text-transform: uppercase;
}
.badge--dark { background: var(--ink); color: var(--white); }
.badge--example { background: var(--blue); color: var(--white); }

.vehicles-empty { display: grid; gap: 22px; align-items: center; padding: 36px 28px; background: var(--mist); border-radius: var(--r-list); }
.vehicles-empty__text { color: var(--graphite); max-width: 46em; font-size: 1.0625rem; }
.vehicles-empty__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--white); }
@media (min-width: 900px) { .vehicles-empty { grid-template-columns: auto 1fr auto; gap: 32px; padding: 40px 44px; } }

/* Fenêtre « Demander des informations » */
.dialog { width: min(460px, calc(100% - 32px)); padding: 0; border: 0; border-radius: var(--r-card); background: var(--white); color: var(--ink); }
.dialog::backdrop { background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dialog__inner { display: grid; gap: 18px; padding: 28px; }
.dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.dialog__head .eyebrow { margin-bottom: 8px; }
.dialog__close { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 1px solid var(--ash); border-radius: 50%; background: var(--white); }
.dialog__close:hover { border-color: var(--ink); }
.dialog__close .icon { width: 18px; height: 18px; }
.dialog__text { color: var(--graphite); }
.dialog__options { display: grid; gap: 10px; }
.dialog[open] { animation: dialog-in .3s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 599px) {
  .dialog { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: var(--r-card) var(--r-card) 0 0; }
  .dialog__inner { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}

/* Reprise : étapes + formulaire */
.sell-grid { display: grid; gap: 40px; align-items: start; }
.sell-intro .lead { margin-top: 18px; }
.steps { list-style: none; display: grid; margin-top: 32px; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.step__num { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; font-weight: 600; }
.step__title { font-size: 1.125rem; line-height: 1.3; }
.step__text { margin-top: 4px; color: rgba(255, 255, 255, .72); font-size: .9375rem; }
.sell-alt { margin: 26px 0 14px; color: rgba(255, 255, 255, .78); }
@media (min-width: 1024px) {
  .sell-grid { grid-template-columns: 5fr 7fr; gap: 64px; }
  .sell-intro { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Formulaires ---------- */

.form-card { padding: 24px; background: var(--white); color: var(--ink); border-radius: var(--r-card); }
.form-card__title { margin-bottom: 6px; }
.form-card__lead { margin-bottom: 24px; color: var(--graphite); }
@media (min-width: 768px) { .form-card { padding: 40px; } }

.form-layout { display: grid; gap: 32px; align-items: start; }
.form-layout__intro .lead { margin-top: 16px; }
@media (min-width: 1024px) { .form-layout { grid-template-columns: 4fr 7fr; gap: 64px; } }

.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: .875rem; font-weight: 600; }
.field__label .opt { font-weight: 400; color: var(--slate); }
.field__hint { font-size: .8125rem; color: var(--slate); }
.field__error { display: none; font-size: .8125rem; font-weight: 500; color: var(--error); }
.field.is-invalid .field__error { display: block; }

.input {
  width: 100%; min-height: 52px; padding: 0 20px;
  border: 1px solid var(--field); border-radius: var(--r-pill);
  background: var(--white); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #9a9aa0; }
.input:hover { border-color: var(--ink); }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18, 39, 253, .16); }
textarea.input { min-height: 140px; padding: 14px 20px; border-radius: var(--r-list); line-height: 1.5; resize: vertical; }
.input--sm { min-height: 44px; padding-left: 16px; }
select.input {
  padding-right: 48px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1f1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 18px;
}
select.input--sm { padding-right: 34px; background-position: right 12px center; background-size: 16px; text-overflow: ellipsis; }
.field.is-invalid .input { border-color: var(--error); border-width: 2px; }

.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: .875rem; color: var(--graphite); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.check a { color: var(--ink); font-weight: 600; }
.field.is-invalid .check { color: var(--error); }

.upload {
  position: relative; display: grid; justify-items: center; gap: 6px;
  padding: 24px; text-align: center; color: var(--graphite);
  border: 1px dashed var(--field); border-radius: var(--r-list); cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.upload:hover { border-color: var(--ink); background: var(--mist); }
.upload strong { color: var(--ink); }
.upload__hint { font-size: .8125rem; color: var(--slate); }
.upload input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload__list { font-size: .8125rem; color: var(--graphite); }
.upload__list:empty { display: none; }

.form__hint-box { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r-sm); background: var(--mist); font-size: .9375rem; color: var(--graphite); }
.form__hint-box .icon { width: 20px; height: 20px; margin-top: 1px; }

.form__foot { display: grid; gap: 14px; justify-items: start; margin-top: 26px; }
.form__note { display: flex; gap: 8px; align-items: center; font-size: .8125rem; color: var(--slate); }
.form__note .icon { width: 16px; height: 16px; }
.form__status { display: none; width: 100%; padding: 16px 20px; border-radius: var(--r-sm); font-size: .9375rem; }
.form__status.is-visible { display: block; }
.form__status.is-success { background: var(--blue-tint); color: var(--ink); }
.form__status.is-error { background: #fdecea; color: #6c1712; }
.form__status a { font-weight: 600; }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 599px) {
  .form__foot .btn { width: 100%; }
}

/* ---------- Page Contact ---------- */

.action-cards { display: grid; gap: 14px; }
.action-card {
  position: relative; display: grid; gap: 4px; padding: 26px;
  color: var(--ink); text-decoration: none;
  border: 1px solid var(--ash); border-radius: var(--r-card);
  transition: border-color .25s, background-color .25s;
}
.action-card:hover { border-color: var(--ink); }
.action-card:first-child { background: var(--blue); color: var(--white); border-color: var(--blue); }
.action-card:first-child:hover { background: var(--blue-press); }
.action-card:first-child .action-card__icon { border-color: rgba(255, 255, 255, .35); }
.action-card:first-child .action-card__hint { color: rgba(255, 255, 255, .8); }
.action-card__icon { width: 52px; height: 52px; margin-bottom: 18px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ash); }
.action-card__title { font-size: .875rem; font-weight: 600; }
.action-card__value { font: 500 1.375rem/1.25 var(--font-display); letter-spacing: -.01em; }
.action-card__hint { margin-top: 4px; font-size: .875rem; color: var(--slate); }
.action-card__arrow { position: absolute; top: 26px; right: 26px; }
.action-card__arrow .icon { width: 22px; height: 22px; transition: transform .25s var(--ease); }
.action-card:hover .action-card__arrow .icon { transform: translateX(4px); }
@media (min-width: 900px) { .action-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.social-block { display: grid; gap: 12px; padding-top: 8px; }

/* ---------- Page À propos ---------- */

.statement { display: grid; gap: 28px; }
.statement__title { max-width: 14em; }
.statement__text { display: grid; gap: 16px; color: var(--graphite); font-size: 1.0625rem; line-height: 1.65; }
@media (min-width: 960px) { .statement { grid-template-columns: 6fr 5fr; gap: 72px; align-items: start; } }

.photo-slots { display: grid; gap: 16px; align-items: start; }
.photo-slot { display: grid; gap: 12px; }
.photo-slot__media { overflow: hidden; border-radius: var(--r-card); background: var(--mist); }
.photo-slot__media img { display: block; width: 100%; height: auto; }
.photo-slot__media .ph { aspect-ratio: 4 / 5; }
.photo-slot__label { font-weight: 600; }
@media (min-width: 768px) { .photo-slots { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery__item { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-list); background: var(--mist); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
a.gallery__item:hover img { transform: scale(1.04); }
.gallery__item--empty .ph { min-height: 0; font-size: .8125rem; }
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .gallery > :first-child { grid-column: span 2; grid-row: span 2; }
}

/* Visionneuse photo */
.lightbox { width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: rgba(12, 12, 12, .96); color: var(--white); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 80vh; width: auto; height: auto; object-fit: contain; border-radius: var(--r-sm); }
.lightbox__btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: var(--white); }
.lightbox__btn:hover { background: rgba(255, 255, 255, .24); }
.lightbox__btn[hidden] { display: none; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__caption { position: absolute; left: 16px; right: 16px; bottom: 20px; text-align: center; font-size: .875rem; color: var(--silver); }

/* Emplacement photo réservé */
.ph {
  width: 100%; height: 100%; min-height: 200px;
  display: grid; place-content: center; justify-items: center; gap: 6px;
  padding: 20px; text-align: center;
  background: var(--mist); color: var(--slate);
  border: 1px dashed var(--ash); border-radius: inherit;
  font-size: .875rem;
}
.ph .icon { width: 30px; height: 30px; margin-bottom: 4px; stroke-width: 1.5; }
.ph strong { color: var(--ink); font-weight: 600; }
.section--dark .ph { background: #2a2a2a; border-color: #444; color: var(--silver); }
.section--dark .ph strong { color: var(--white); }
.trade-card .ph { border-radius: 0; border-width: 0 0 1px; }

/* ---------- Textes juridiques ---------- */

.prose { max-width: 780px; }
.prose__section + .prose__section { margin-top: 40px; }
.prose h2 { font-size: 1.5rem; margin-bottom: 14px; }
.prose h3 { font-size: 1.125rem; margin: 22px 0 8px; }
.prose p, .prose ul { color: var(--graphite); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 12px; }
.prose ul { padding-left: 1.25em; display: grid; gap: 6px; }
.prose a { color: var(--blue); }
.prose strong { color: var(--ink); }
.prose__updated { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--ash); font-size: .875rem; color: var(--slate); }
.todo { padding: 1px 6px; border-radius: 6px; background: #fff1b8; color: #5c4400; font-weight: 600; font-size: .9em; }

/* ---------- Pages message (merci / 404) ---------- */

.message-page { padding-block: 96px 120px; text-align: center; }
.message-page__inner { display: grid; justify-items: center; gap: 20px; max-width: 720px; }
.message-page__icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: var(--mist); margin-bottom: 8px; }
.message-page__icon .icon { width: 30px; height: 30px; }
.message-page .actions { margin-top: 12px; }

/* ---------- Pied de page ---------- */

.site-footer { padding-block: 64px 32px; background: var(--ink); color: var(--white); }
.footer-top { display: grid; gap: 40px; }
.footer-brand .brand { margin: 0; }
.footer-slogan { margin-top: 22px; max-width: 18em; font: 500 1.375rem/1.25 var(--font-display); letter-spacing: -.01em; }
.footer-brand p:not(.footer-slogan) { margin-top: 12px; max-width: 34em; color: var(--silver); font-size: .9375rem; }
.footer-brand .actions { margin-top: 24px; }
.footer-title { margin-bottom: 16px; font: 600 .75rem/1.4 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--silver); }
.footer-title--spaced { margin-top: 28px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: rgba(255, 255, 255, .86); text-decoration: none; font-size: .9375rem; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-address { margin-bottom: 14px; color: rgba(255, 255, 255, .86); font-size: .9375rem; line-height: 1.6; }
.footer-hours { list-style: none; display: grid; gap: 8px; font-size: .875rem; font-variant-numeric: tabular-nums; }
.footer-hours li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; color: rgba(255, 255, 255, .86); }
.footer-hours li > span:first-child { color: var(--silver); }
/* Horaires alignés à droite, une plage horaire par ligne */
.footer-hours li > span:last-child { text-align: right; }
.footer-hours li > span:last-child .nowrap { display: block; }
.footer-hours .sep { display: none; }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  font-size: .8125rem; color: var(--silver);
}
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a { color: var(--silver); text-decoration: none; }
.footer-legal a:hover { color: var(--white); text-decoration: underline; }
.social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }

@media (min-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .footer-top { grid-template-columns: 1.5fr .8fr 1fr 1.15fr; gap: 48px; }
}

/* ---------- Barre d'actions mobile & WhatsApp flottant ---------- */

.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  border-top: 1px solid var(--ash);
  transition: transform .3s var(--ease);
}
.is-typing .action-bar, .menu-open .action-bar { transform: translateY(120%); }
@media (max-width: 359px) {
  .action-bar .btn { padding-inline: 12px; gap: 8px; font-size: .9375rem; }
}
.site-footer { padding-bottom: calc(32px + 72px + env(safe-area-inset-bottom)); }
.wa-float { display: none; }

@media (min-width: 1024px) {
  .action-bar { display: none; }
  .site-footer { padding-bottom: 32px; }
  .wa-float {
    position: fixed; right: 24px; bottom: 24px; z-index: 40;
    width: 58px; height: 58px; display: grid; place-items: center;
    border-radius: 50%; background: var(--ink); color: var(--white);
    border: 1px solid rgba(255, 255, 255, .16);
    transition: transform .25s var(--ease), background-color .25s;
  }
  .wa-float:hover { transform: scale(1.06); background: var(--blue); }
  .wa-float .icon { width: 26px; height: 26px; }
}

/* ---------- Animations discrètes ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

@media print {
  .promo, .site-header, .mobile-menu, .action-bar, .wa-float, .map, .lang-switch { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  body { color: #000; }
}
