/* Dimcar — feuille du site vitrine.
   1) Tokens du design system Dimcar (artefact « Dimcar », tokens.json)
   2) Base
   3) Composants du design system (bundle.css, préfixe dc-)
   4) ÉVOLUTION : classes des gabarits (docs/design/maquettes/dimcar.css)
   5) Anciennes classes du site, retirées au fil du passage des gabarits au nouveau design
   6) Responsive : les @container dc des maquettes deviennent des @media (921 px / 544 px)
   Les sélecteurs « .dc X » des maquettes sont ici globaux (le <body> joue le rôle de .dc).
   Polices : Manrope (titres) + DM Sans (texte), Google Fonts (chargées dans <head>). */

/* ------------------------------ 1. Tokens ------------------------------ */
:root {
  --orange-500: #f36a1d;
  --orange-700: #ba490a;
  --black: #000000;
  --grey-900: #121212;
  --grey-850: #222222;
  --grey-800: #262626;
  --grey-600: #595959;
  --grey-300: #cccccc;
  --white-soft: #f5f5f5;
  --white: #ffffff;
  --green-500: #5ba533;
  --text: var(--white-soft);
  --heading: var(--white);
  --accent: var(--orange-500);
  --border: var(--grey-600);

  --font-display: Manrope, sans-serif;
  --font-sans: "DM Sans", sans-serif;

  --space-20: 0.44rem;
  --space-30: 0.67rem;
  --space-40: 1rem;
  --space-50: 1.5rem;
  --space-60: 2.25rem;
  --space-70: 3.38rem;
  --space-80: 5.06rem;

  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-pill: 50px;

  --container-width: 1200px;
  --container-narrow: 750px;
  --container-padding: 2.5em;
  --border-width: 2px;
}

/* ------------------------------ 2. Base ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--text); font-family: var(--font-sans); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
/* <picture> (variantes WebP / JPEG de render.mjs) : transparent pour la mise en page, l'<img> reste
   l'enfant effectif de son cadre (object-fit, position absolue, hauteur 100 %). */
picture { display: contents; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.3; color: var(--heading); margin: 0; }
h1 { font-size: 50px; }
h2 { font-size: 34px; }
h3 { font-size: 24px; }
h4 { font-size: 22px; line-height: 1.2; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--orange-700); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.is-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 { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); color: var(--black); padding: 8px 14px; border-radius: var(--radius-sm); }
.skip:focus { left: 8px; }

/* ------------------------------ 3. Composants (bundle.css) ------------------------------ */
.dc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 700; line-height: 1.3; text-transform: uppercase;
  padding: 12px 24px; border: var(--border-width) solid var(--orange-500); border-radius: var(--radius-pill);
  background: var(--orange-500); color: var(--black); cursor: pointer; text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s; }
.dc-btn:hover { background: var(--orange-700); border-color: var(--orange-700); color: var(--white); }
.dc-btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.dc-btn--lg { padding: 14px 30px; }
.dc-btn--outline { background: transparent; color: var(--orange-500); }
.dc-btn--outline:hover { background: var(--orange-500); border-color: var(--orange-500); color: var(--black); }
.dc-btn--light { background: transparent; border-color: var(--white); color: var(--white); }
.dc-btn--light:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.dc-btn[disabled] { opacity: .4; cursor: not-allowed; }

.dc-eyebrow { font-family: var(--font-sans); font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: 2px; text-transform: uppercase; color: var(--white); margin: 0 0 var(--space-30); }
.dc-section-head { max-width: var(--container-narrow); }
.dc-section-head--center { margin-inline: auto; text-align: center; }
.dc-section-head h2 { font-size: 34px; }
.dc-section-head p { margin: var(--space-40) 0 0; color: var(--text); }

.dc-nav { display: flex; align-items: center; gap: var(--space-60); padding: var(--space-40) var(--space-60); background: transparent; }
.dc-nav__logo { height: 37px; width: auto; display: block; }
.dc-nav__links { display: flex; gap: 0; list-style: none; margin: 0 0 0 auto; padding: 0; }
.dc-nav__links a { display: block; padding: 0 15px; font-size: 15px; font-weight: 500; color: var(--white); }
.dc-nav__links a:not(.dc-btn) { color: var(--white); }
.dc-nav__links a:hover, .dc-nav__links a[aria-current="page"] { color: var(--orange-500); }

.dc-nav__sister { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--grey-600); border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 500; color: var(--white) !important; white-space: nowrap; }
.dc-nav__sister:hover { border-color: var(--white); }
.dc-nav__sister span { color: var(--grey-300); }
.dc-sister { display: flex; align-items: center; justify-content: space-between; gap: var(--space-50); flex-wrap: wrap;
  padding: var(--space-50) var(--space-60); background: var(--grey-850); border: 1px solid var(--grey-600); border-radius: var(--radius-lg); }
.dc-sister__brand { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--white); line-height: 1.1; }
.dc-sister__brand small { display: block; margin-top: 6px; font-family: var(--font-sans); font-weight: 400; font-size: 15px; color: var(--grey-300); }

.dc-service { display: flex; flex-direction: column; gap: var(--space-40); padding: var(--space-60) var(--space-50); background: var(--black); border-radius: var(--radius-lg); }
.dc-service h3 { font-size: 24px; }
.dc-service p { margin: 0; }

.dc-vehicle { display: flex; flex-direction: column; background: var(--grey-900); border-radius: var(--radius-md); overflow: hidden; color: var(--text); }
.dc-vehicle__media { position: relative; aspect-ratio: 4 / 3; background: var(--grey-800); }
.dc-vehicle__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dc-vehicle__badge { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: var(--radius-sm);
  background: var(--green-500); color: var(--black); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.dc-vehicle__badge--sold { background: var(--grey-600); color: var(--white); }
.dc-vehicle__body { display: flex; flex-direction: column; gap: var(--space-30); padding: var(--space-50); }
.dc-vehicle__title { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--heading); margin: 0; }
.dc-vehicle__specs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--grey-300); }
.dc-vehicle__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-40); margin-top: var(--space-30); padding-top: var(--space-40); border-top: 1px solid var(--border); }
.dc-vehicle__price { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--orange-500); }

.dc-btn--block { width: 100%; }
.dc-service p { flex: 1; } /* aligne les liens « Lire la suite » en bas des cartes */
.dc-vehicle:hover { color: var(--text); }
.dc-vehicle__badge { z-index: 1; }
.dc-vehicle__body { flex: 1; }
.dc-vehicle__foot { margin-top: auto; }
.dc-vehicle__price small { font-size: 14px; color: var(--grey-300); text-decoration: line-through; margin-left: 8px; font-weight: 500; }
.dc-vehicle__price--ask { font-size: 16px; }
.dc-vehicle__type { position: absolute; top: 12px; right: 12px; z-index: 1; padding: 4px 9px; border-radius: var(--radius-sm); background: rgba(0,0,0,.7); color: var(--white); font-size: 12px; font-weight: 500; }
.dc-vehicle__more { font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--orange-500); }
.dc-vehicle--vendu .dc-vehicle__media img { filter: grayscale(1) brightness(.7); }
/* Le rendu produit dc-vehicle__badge--<statut> (reserve / vendu) : mêmes couleurs que --reserved / --sold. */
.dc-vehicle__badge--vendu { background: var(--grey-600); color: var(--white); }

/* ------------------------------ 4. ÉVOLUTION (gabarits) ------------------------------ */
.dc-container { max-width: var(--container-width); margin: 0 auto; padding: 0 var(--container-padding); box-sizing: border-box; }
.dc-section { padding: var(--space-80) 0; }
.dc-section--alt { background: var(--grey-850); }
.dc-muted { color: var(--grey-300); }
.dc-stack { display: flex; flex-direction: column; gap: var(--space-40); }
.dc-actions { display: flex; flex-wrap: wrap; gap: var(--space-40); align-items: center; }
.dc-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-50); flex-wrap: wrap; margin-bottom: var(--space-60); }
.dc-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-60); align-items: center; }
.dc-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-50); }
.dc-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-50); }
.dc-icon { width: 24px; height: 24px; flex: none; }

/* Logo : emplacement (le SVG du design system se pose ici, 37 px de haut) */
.dc-logo-ph { display: inline-flex; align-items: center; justify-content: center; height: 37px; padding: 0 14px; border: 1px dashed var(--grey-600); border-radius: var(--radius-xs);
  font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 2px; color: var(--white); }

/* Photo : emplacement neutre */
.dc-photo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 100%; min-height: 120px;
  background: var(--grey-800); color: var(--grey-300); font-size: 14px; text-align: center; box-sizing: border-box; padding: 16px; }
.dc-photo svg { width: 32px; height: 32px; }

/* Photos réelles */
.dc-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dc-img--low { filter: saturate(.35) brightness(.75); } /* traitement « lumière basse, désaturée » du README — à retirer pour la photo brute */
.dc-partner { display: block; width: 180px; height: auto; border-radius: var(--radius-sm); }

/* Carte service avec photo (comme le site actuel) */
.dc-service__media { aspect-ratio: 3 / 2; margin: calc(-1 * var(--space-60)) calc(-1 * var(--space-50)) 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; }

/* En-tête de page avec photo */
.dc-pagehead { position: relative; padding: var(--space-80) 0; overflow: hidden; }
.dc-pagehead__photo { position: absolute; inset: 0; }
.dc-pagehead__photo img { filter: brightness(.4) saturate(.6); }
.dc-pagehead .dc-container { position: relative; }

/* Galerie « Notre travail en images » */
.dc-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 12px; }
.dc-gallery > * { border-radius: var(--radius-md); overflow: hidden; margin: 0; }
.dc-gallery > :first-child { grid-column: span 2; grid-row: span 2; }

/* Blog */
.dc-post { display: flex; flex-direction: column; background: var(--grey-900); border-radius: var(--radius-md); overflow: hidden; }
.dc-post__media { aspect-ratio: 16 / 10; background: var(--grey-800); }
.dc-post__body { display: flex; flex-direction: column; gap: var(--space-30); padding: var(--space-50); flex: 1; }
.dc-post__date { font-size: 13px; color: var(--grey-300); }
.dc-post h2 { font-size: 22px; line-height: 1.25; }
.dc-post h2 a:not(.dc-btn) { color: var(--heading); }
.dc-post h2 a:hover { color: var(--orange-500); }
.dc-post__body > :last-child { margin-top: auto; }
.dc-article { max-width: var(--container-narrow); margin: 0 auto; }
.dc-article__cover { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; margin: var(--space-60) 0; }
/* Blog — ajouts des gabarits blog.html / article.html (liste, article, pagination, cibles ≥ 44 px) */
.dc-nav__links a { white-space: nowrap; } /* six entrées avec « Blog » : « À propos » ne passe plus à la ligne */
.dc-blog-list { padding-top: var(--space-70); }
.dc-post h2 a:not(.dc-btn) { display: inline-block; padding: 4px 0; }
.dc-post__resume { margin: 0; font-size: 15px; }
.dc-post__more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--orange-500); }
.dc-post--alt { background: var(--black); }
.dc-pager { display: flex; align-items: center; justify-content: space-between; gap: var(--space-40); flex-wrap: wrap; margin-top: var(--space-60); }
.dc-article-page { padding-top: var(--space-60); }
.dc-article .dc-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.dc-article__title { font-size: 44px; line-height: 1.2; }
.dc-article__appel { margin-top: var(--space-60); }
.dc-alire__title { font-size: 26px; }
.dc-prose h3 { font-size: 21px; margin: var(--space-50) 0 var(--space-30); }
.dc-prose h2 + h3 { margin-top: var(--space-40); }
.dc-prose a { color: var(--orange-500); text-decoration: underline; text-underline-offset: 3px; }
.dc-prose strong { color: var(--white); }
@media (max-width: 921px) { .dc-article__title { font-size: 36px; } }
@media (max-width: 544px) {
  .dc-article__title { font-size: 30px; }
  .dc-prose h3 { font-size: 19px; }
  .dc-pager { justify-content: center; }
  .dc-pager > span:empty { display: none; }
}
.dc-prose { font-size: 17px; line-height: 1.7; }
.dc-prose p { margin: 0 0 var(--space-50); }
.dc-prose h2 { font-size: 26px; margin: var(--space-60) 0 var(--space-40); }
.dc-prose ul { margin: 0 0 var(--space-50); padding-left: 1.2em; }
.dc-prose li { margin-bottom: 6px; }
.dc-prose figure { margin: var(--space-60) 0; }
.dc-prose figure > div { aspect-ratio: 3 / 2; border-radius: var(--radius-md); overflow: hidden; }
.dc-prose figcaption { margin-top: 8px; font-size: 14px; color: var(--grey-300); }
.dc-prose blockquote { margin: var(--space-60) 0; padding: var(--space-40) var(--space-50); background: var(--grey-900); border-radius: var(--radius-md); font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--white); }

/* Back-office : éditeur d'article */
.dc-editor { border: 1px solid var(--grey-600); border-radius: var(--radius-xs); background: var(--grey-800); }
.dc-editor__bar { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-bottom: 1px solid var(--grey-600); }
.dc-toolbtn { min-width: 36px; height: 36px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--white-soft); font-family: var(--font-sans); font-size: 14px; font-weight: 700; cursor: pointer; }
.dc-toolbtn:hover { background: var(--grey-850); }
.dc-toolbtn svg { width: 18px; height: 18px; }
.dc-editor__area { padding: var(--space-50); min-height: 420px; }
.dc-editor__area .dc-prose { font-size: 16px; }
.dc-admin__cols { display: flex; flex-wrap: wrap; gap: var(--space-50); align-items: flex-start; }
.dc-admin__cols > :first-child { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-50); }
.dc-admin__cols > :last-child { flex: 1 1 300px; display: flex; flex-direction: column; gap: var(--space-50); }

/* Page Services : lignes numérotées texte + photo, en alternance */
.dc-srow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-60) 48px; align-items: center; }
.dc-srow + .dc-srow { margin-top: var(--space-80); }
.dc-srow { scroll-margin-top: 96px; } /* ancres #service-NN sous l'en-tête collant */
.dc-srow--rev > :first-child { order: 2; }
.dc-srow__media { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; }
.dc-srow--solo { grid-template-columns: minmax(0, 1fr); }
.dc-srow__text { gap: var(--space-40); }
.dc-srow__text p { max-width: 70ch; }

/* En-tête du site */
.dc-header { background: var(--black); border-bottom: 1px solid var(--grey-850); }
.dc-header .dc-nav { max-width: var(--container-width); margin: 0 auto; padding: var(--space-40) var(--container-padding); box-sizing: border-box; }
.dc-nav__burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-left: auto;
  background: transparent; border: 1px solid var(--grey-600); border-radius: var(--radius-pill); color: var(--white); cursor: pointer; }

/* Hero : photo plein cadre + carte black posée dessus */
.dc-hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; justify-content: center; padding: 0 var(--container-padding); }
.dc-hero__photo { position: absolute; inset: 0; }
.dc-hero__card { position: relative; max-width: 860px; width: 100%; box-sizing: border-box; background: var(--black); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: var(--space-60) var(--space-80) var(--space-50); text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--space-40); }

/* Valeurs numérotées */
.dc-value { display: flex; flex-direction: column; gap: var(--space-30); padding-top: var(--space-40); border-top: 1px solid var(--grey-600); }
.dc-value__num { font-family: var(--font-display); font-weight: 700; font-size: 50px; line-height: 1; color: var(--orange-500); }

/* Avis (emplacements, contenu importé de Google) */
.dc-review { display: flex; flex-direction: column; gap: var(--space-40); padding: var(--space-50); background: var(--grey-900); border-radius: var(--radius-md); }
.dc-ph-line { display: block; height: 12px; border-radius: var(--radius-sm); background: var(--grey-800); }
.dc-review p { margin: 0; }
.dc-review__stars { color: var(--orange-500); letter-spacing: 2px; }
.dc-review__stars span { color: var(--grey-600); }
.dc-review__text { font-size: 14px; flex: 1; }
.dc-review__author { font-weight: 700; color: var(--white); }
.dc-review__meta { font-size: 13px; color: var(--grey-300); }

/* Accueil (maquette Main) */
.dc-section-head--spaced { margin-bottom: var(--space-60); }
.dc-section--flush { padding-top: 0; padding-bottom: 0; }
.dc-stack--lg { gap: var(--space-50); }
.dc-stack > p, .dc-stack > .dc-eyebrow { margin: 0; }
.dc-media-43 { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--grey-800); }
.dc-hero__card .dc-eyebrow { margin: 0; }
.dc-hero__lead { max-width: 560px; margin: 0; }
.dc-hero__card .dc-actions { justify-content: center; margin-top: 8px; }
.dc-services-aussi { text-align: center; margin: var(--space-60) 0 0; }
.dc-eurorepar { background: var(--black); margin-top: var(--space-60); padding: var(--space-60); gap: var(--space-50); }
.dc-eurorepar__head { margin: 0; align-items: center; }
.dc-eurorepar__intro { display: flex; align-items: center; gap: var(--space-50); flex-wrap: wrap; }
.dc-eurorepar__intro img { height: 88px; width: auto; display: block; }
.dc-eurorepar__intro .dc-stack { gap: 6px; }
.dc-eurorepar__intro .dc-muted { font-size: 15px; }
.dc-equip.dc-eurorepar__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dc-eurorepar--page { margin-top: 0; }
.dc-eurorepar h2 { font-size: 26px; }
.dc-eurorepar-note { margin: var(--space-50) 0 0; font-size: 14px; }
.dc-value h3 { font-size: 22px; }
.dc-cta { margin-top: var(--space-80); }
.dc-cta--page { margin-top: 0; }
.dc-cta__inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-50); }
.dc-cta__inner p { margin: 0; }
.dc-cta-actions { justify-content: center; }
.dc-nowrap { white-space: nowrap; }

/* Annonces */
.dc-vehicle__badge--reserved, .dc-vehicle__badge--reserve { background: var(--white-soft); color: var(--black); }
.dc-sample-tag { align-self: flex-start; padding: 3px 8px; border: 1px solid var(--grey-600); border-radius: var(--radius-sm); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--grey-300); }
.dc-price-old { display: block; font-size: 14px; color: var(--grey-300); text-decoration: line-through; }
.dc-vehicle__title a:not(.dc-btn) { color: var(--heading); }
.dc-vehicle__title a:hover { color: var(--orange-500); }

/* Formulaires */
.dc-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dc-field label, .dc-label { font-size: 13px; font-weight: 500; color: var(--white-soft); }
.dc-input { width: 100%; min-height: 44px; box-sizing: border-box; padding: 10px 12px; background: var(--grey-800); border: 1px solid var(--grey-600); border-radius: var(--radius-xs);
  color: var(--white-soft); font-family: var(--font-sans); font-size: 15px; line-height: 1.4; }
.dc-input:focus { outline: 2px solid var(--orange-500); outline-offset: 0; border-color: var(--orange-500); }
textarea.dc-input { min-height: 120px; resize: vertical; }
.dc-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--grey-300); }
.dc-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--orange-500); flex: none; }
.dc-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-40); }
.dc-form .dc-span-2 { grid-column: 1 / -1; }

/* Filtres + résultats */
.dc-filters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-40); padding: var(--space-50); background: var(--grey-850); border-radius: var(--radius-lg); }
.dc-results-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-40); flex-wrap: wrap; margin: var(--space-50) 0; font-size: 14px; color: var(--grey-300); }
.dc-empty { display: flex; flex-direction: column; align-items: center; gap: var(--space-40); text-align: center; padding: var(--space-80) var(--space-50); border: 1px dashed var(--grey-600); border-radius: var(--radius-lg); }
.dc-breadcrumb { font-size: 14px; color: var(--grey-300); margin-bottom: var(--space-50); }

/* Fiche voiture */
.dc-detail { display: grid; grid-template-columns: minmax(0, 1fr) 400px; grid-template-areas: "gal side" "desc side"; gap: var(--space-60) 48px; align-items: start; }
.dc-detail__gal { grid-area: gal; display: flex; flex-direction: column; gap: 12px; }
.dc-detail__main { aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; }
.dc-detail__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.dc-detail__thumbs > * { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; }
.dc-detail__thumbs .is-current { outline: 2px solid var(--orange-500); outline-offset: 2px; }
.dc-detail__side { grid-area: side; position: sticky; top: 24px; display: flex; flex-direction: column; gap: var(--space-50); padding: var(--space-50); background: var(--grey-900); border-radius: var(--radius-md); }
.dc-detail__desc { grid-area: desc; display: flex; flex-direction: column; gap: var(--space-60); }
.dc-detail__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dc-detail__price .dc-vehicle__price { font-size: 34px; }
.dc-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 0; padding: var(--space-40) 0; border-top: 1px solid var(--grey-600); border-bottom: 1px solid var(--grey-600); }
.dc-specs dt { font-size: 13px; color: var(--grey-300); }
.dc-specs dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; color: var(--white); }
.dc-equip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.dc-equip li { display: flex; gap: 10px; align-items: flex-start; }
.dc-equip svg { width: 20px; height: 20px; color: var(--orange-500); flex: none; margin-top: 2px; }

/* Véhicules (liste /vehicules et fiche /vehicules/<slug>-<id>) */
.dc-vlist, .dc-vdetail { padding-top: 2.25rem; }
/* Carte : un seul lien (le titre), étendu à toute la carte */
.dc-vehicle { position: relative; }
.dc-vehicle__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.dc-vehicle__title a:focus-visible { outline: none; }
.dc-vehicle:focus-within { outline: 2px solid var(--orange-500); outline-offset: 3px; }
.dc-vehicle:hover .dc-vehicle__title a { color: var(--orange-500); }
.dc-vehicle__media > .dc-photo, .dc-vehicle__media > img, .dc-vehicle__media > picture > img { position: absolute; inset: 0; }
.dc-vehicle__foot > div { display: flex; flex-direction: column; }
.dc-results-bar p { margin: 0; }
.dc-results-bar strong { color: var(--white); }
.dc-linkbtn { min-height: 44px; padding: 0 4px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 500; color: var(--orange-500); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dc-linkbtn:hover { color: var(--white); }
.dc-linkbtn:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.dc-empty h2 { font-size: 26px; }
.dc-empty p { max-width: 520px; margin: 0; }
.dc-empty .dc-actions { justify-content: center; }
/* Fiche */
.dc-breadcrumb a { color: var(--grey-300); text-decoration: underline; text-underline-offset: 3px; }
.dc-breadcrumb a:hover { color: var(--orange-500); }
.dc-breadcrumb [aria-current] { color: var(--white); }
.dc-detail__side { top: 96px; } /* sous l'en-tête collant */
.dc-detail__main { position: relative; background: var(--grey-800); }
.dc-detail__main > .dc-photo, .dc-detail__main > img, .dc-detail__thumb > img,
.dc-detail__main > picture > img, .dc-detail__thumb > picture > img { position: absolute; inset: 0; }
.dc-detail__thumb { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0; border: 0; background: var(--grey-800); color: var(--white); font: 700 15px var(--font-sans); cursor: pointer; }
.dc-detail__thumb:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.dc-detail__thumbs.is-collapsed .is-extra { display: none; }
.dc-detail__tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.dc-detail__tags .dc-vehicle__badge { position: static; }
.dc-detail__head { gap: 10px; }
.dc-detail__title { font-size: 30px; line-height: 1.2; }
.dc-detail__price .dc-price-old { display: inline; font-size: 16px; }
.dc-detail__h { font-size: 26px; }
.dc-detail__h-side { font-size: 22px; }
.dc-detail__desc p { margin: 0; }
.dc-specs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dc-detail__booking textarea.dc-input { min-height: 96px; }
.dc-detail__booking p { margin: 0; }
.dc-check a { color: var(--orange-500); }
.dc-small { font-size: 14px; }
.dc-center { text-align: center; }
.dc-form-error { color: #ffb38a; font-size: 14px; }
.dc-form-success { padding: var(--space-50); border-radius: var(--radius-md); background: var(--grey-850); border-left: 3px solid var(--green-500); }
@media (max-width: 544px) {
  .dc-specs--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dc-detail__title { font-size: 26px; }
  .dc-detail__side { padding: var(--space-50) var(--space-40); }
  .dc-results-bar { margin: var(--space-40) 0; }
}

/* Contact */
.dc-contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.dc-card { display: flex; flex-direction: column; gap: var(--space-40); padding: var(--space-50); background: var(--grey-900); border-radius: var(--radius-md); }
.dc-info-row { display: flex; gap: 12px; align-items: flex-start; }
.dc-info-row svg { width: 22px; height: 22px; color: var(--orange-500); flex: none; margin-top: 2px; }
.dc-hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.dc-hours th { text-align: left; font-weight: 500; color: var(--white-soft); padding: 6px 0; }
.dc-hours td { text-align: right; color: var(--grey-300); padding: 6px 0; }
.dc-map { position: relative; aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-40); padding: var(--space-50);
  background: var(--grey-800); border-radius: var(--radius-md); text-align: center; box-sizing: border-box; }
.dc-contact-head { padding: 3.38rem 0; }
.dc-contact-head .dc-section-head p { margin-top: var(--space-30); }
.dc-contact__photo { height: 280px; border-radius: var(--radius-md); overflow: hidden; }
.dc-contact-body { padding-top: 2.25rem; }
.dc-contact__form { gap: var(--space-50); padding: 2.25rem; }
.dc-contact__form h2 { font-size: 26px; }
.dc-contact__form .dc-stack { gap: var(--space-50); }
.dc-contact__aside { gap: var(--space-50); }
.dc-contact__h { font-size: 22px; }
.dc-contact__note { font-size: 14px; }
.dc-contact address { font-style: normal; }
.dc-contact .dc-info-row a { display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0; }
.dc-contact .dc-check { min-height: 44px; align-items: center; }
.dc-contact .dc-check input { width: 22px; height: 22px; margin: 0; }
.dc-contact .dc-hours tr + tr th, .dc-contact .dc-hours tr + tr td { border-top: 1px solid var(--grey-850); }
.dc-contact .dc-hours .is-closed td { color: var(--grey-300); font-style: italic; }
.dc-map svg { color: var(--orange-500); }
.dc-map__title { font-weight: 700; color: var(--white); }
.dc-map__text { max-width: 320px; }
.dc-map.is-loaded { padding: 0; overflow: hidden; }
.dc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4); }
.dc-form-error { color: #ffb38a; font-size: 14px; }
.dc-form-success { display: flex; flex-direction: column; gap: var(--space-40); padding: var(--space-50); border-radius: var(--radius-md); background: var(--grey-850); border-left: 3px solid var(--green-500); }

/* Pied de page */
.dc-footer { background: var(--black); border-top: 1px solid var(--grey-850); padding: var(--space-70) 0 var(--space-50); }
.dc-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: var(--space-60); }
.dc-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.dc-footer ul a:not(.dc-btn) { color: var(--white-soft); }
.dc-footer ul a:hover { color: var(--orange-500); }
.dc-footer__bottom { display: flex; justify-content: space-between; gap: var(--space-40); flex-wrap: wrap; margin-top: var(--space-60); padding-top: var(--space-50); border-top: 1px solid var(--grey-850); font-size: 14px; color: var(--grey-300); }
.dc-footer__sister { color: var(--white-soft); }

/* Back-office */
.dc-admin { display: flex; flex-wrap: wrap; min-height: 100vh; background: var(--black); }
.dc-admin__side { flex: 1 1 220px; max-width: 240px; padding: var(--space-50); background: var(--grey-900); border-right: 1px solid var(--grey-850); display: flex; flex-direction: column; gap: var(--space-60); box-sizing: border-box; }
.dc-admin__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.dc-admin__menu a:not(.dc-btn) { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--white-soft); font-weight: 500; font-size: 15px; }
.dc-admin__menu a[aria-current="page"] { background: var(--grey-800); color: var(--orange-500); }
.dc-admin__main { flex: 999 1 560px; min-width: 0; padding: var(--space-60) 48px; box-sizing: border-box; display: flex; flex-direction: column; gap: var(--space-50); }
.dc-admin__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-40); flex-wrap: wrap; }
.dc-tablebox { overflow-x: auto; background: var(--grey-900); border-radius: var(--radius-md); }
.dc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.dc-table th { text-align: left; padding: 14px 16px; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--grey-300); border-bottom: 1px solid var(--grey-600); }
.dc-table td { padding: 12px 16px; border-bottom: 1px solid var(--grey-850); vertical-align: middle; }
.dc-table__thumb { width: 72px; height: 54px; border-radius: var(--radius-sm); overflow: hidden; }
.dc-table__thumb .dc-photo { min-height: 0; padding: 0; font-size: 0; }
.dc-table__thumb .dc-photo svg { width: 20px; height: 20px; }
.dc-seg { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--grey-600); border-radius: var(--radius-pill); }
.dc-seg button { min-height: 36px; padding: 0 14px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--grey-300); font-family: var(--font-sans); font-size: 13px; font-weight: 700; cursor: pointer; }
.dc-seg button:hover { color: var(--white); }
.dc-seg button.is-dispo[aria-pressed="true"] { background: var(--green-500); color: var(--black); }
.dc-seg button.is-reserve[aria-pressed="true"] { background: var(--white-soft); color: var(--black); }
.dc-seg button.is-vendu[aria-pressed="true"] { background: var(--grey-600); color: var(--white); }
.dc-iconbtn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--grey-600); border-radius: var(--radius-pill); color: var(--white-soft); cursor: pointer; }
.dc-iconbtn:hover { border-color: var(--white); }
.dc-iconbtn svg { width: 18px; height: 18px; }
.dc-panel { display: flex; flex-direction: column; gap: var(--space-50); padding: var(--space-50); background: var(--grey-900); border-radius: var(--radius-md); }
.dc-panel__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-40); flex-wrap: wrap; }
.dc-panel h2 { font-size: 22px; line-height: 1.2; }
.dc-drop { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: var(--space-60) var(--space-50); border: 2px dashed var(--grey-600); border-radius: var(--radius-md); text-align: center; }
.dc-drop svg { width: 32px; height: 32px; color: var(--orange-500); }
.dc-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.dc-thumb { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--grey-600); }
.dc-thumb .dc-photo { min-height: 0; font-size: 12px; padding: 4px; }
.dc-thumb .dc-photo svg { width: 20px; height: 20px; }
.dc-thumb__num { position: absolute; top: 6px; left: 6px; min-width: 22px; height: 22px; padding: 0 6px; box-sizing: border-box; border-radius: var(--radius-sm); background: var(--black); color: var(--white); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.dc-thumb__handle { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); background: var(--black); color: var(--white); border: 0; cursor: grab; }
.dc-thumb__handle svg { width: 16px; height: 16px; }
.dc-thumb.is-main { border: 2px solid var(--orange-500); }
.dc-thumb__main { position: absolute; bottom: 6px; left: 6px; padding: 2px 6px; border-radius: var(--radius-sm); background: var(--orange-500); color: var(--black); font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.dc-dynhead, .dc-dynrow { display: grid; grid-template-columns: 32px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .6fr) minmax(0, 1.1fr) 64px 64px 40px; gap: 10px; align-items: center; }
.dc-dynhead { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--grey-300); }
.dc-dynrow { padding: 10px 0; border-top: 1px solid var(--grey-850); }
.dc-dynrow .dc-check { justify-content: center; }
.dc-handle { color: var(--grey-300); display: flex; justify-content: center; cursor: grab; }
.dc-handle svg { width: 18px; height: 18px; }
.dc-freerow { display: grid; grid-template-columns: 32px minmax(0, 1fr) minmax(0, 2fr) 40px; gap: 10px; align-items: center; }
.dc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 14px; border: 1px solid var(--grey-600); border-radius: var(--radius-pill); font-size: 14px; color: var(--white-soft); }
.dc-chip button { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: var(--grey-300); cursor: pointer; }
.dc-chip button:hover { background: var(--grey-800); color: var(--white); }
.dc-admin__actions { position: sticky; bottom: 0; display: flex; justify-content: flex-end; align-items: center; gap: var(--space-40); flex-wrap: wrap; padding: var(--space-40) 0; background: var(--black); border-top: 1px solid var(--grey-850); }
.dc-status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }

/* En-tête et pied du site (compléments aux maquettes SiteHeader / SiteFooter) */
.dc-header { position: sticky; top: 0; z-index: 50; }
.dc-nav__brand { display: flex; align-items: center; gap: 20px; flex: none; }
.dc-nav__partner img { height: 48px; width: auto; display: block; }
.dc-nav__links a { min-height: 44px; display: flex; align-items: center; }
.dc-nav__sister, .dc-nav__cta { flex: none; }
.mobile-menu__sister { color: var(--grey-300) !important; }
.dc-footer__text { font-size: 15px; }
.dc-footer .dc-nav__logo, .dc-footer__partner { align-self: flex-start; }
.dc-footer__partner img { height: 72px; width: auto; display: block; }
.dc-footer__hours li { display: flex; justify-content: space-between; gap: 12px; }
.dc-footer__legal { display: inline-flex; flex-wrap: wrap; gap: 4px 16px; }
.dc-footer__legal a { color: var(--grey-300); }
.dc-footer__legal a:hover { color: var(--orange-500); }

/* À propos */
.dc-srow:not(:has(> .dc-srow__media)) { grid-template-columns: minmax(0, 1fr); } /* ligne sans photo : le texte prend la ligne */
.dc-apropos__partner { align-self: flex-start; display: inline-block; margin-top: var(--space-30); }
.dc-apropos__partner img { height: 96px; width: auto; display: block; }
.dc-apropos__missions { align-items: stretch; }
.dc-apropos__missions .dc-value__num { font-size: 40px; }
.dc-apropos__missions p { margin: 0; }
/* Pages légales et 404 (sans photo d'en-tête) */
.dc-pagehead--plain { background: linear-gradient(180deg, #0d0d0d, var(--black)); border-bottom: 1px solid var(--grey-850); }
.dc-notfound { min-height: 50vh; display: flex; align-items: center; }
.dc-notfound .dc-container { width: 100%; }
.dc-notfound .dc-section-head { gap: var(--space-40); }
.dc-legal > * { max-width: 75ch; }
.dc-legal h2 { font-size: 24px; margin: var(--space-60) 0 var(--space-30); }
.dc-legal h2:first-child { margin-top: 0; }
.dc-legal p, .dc-legal ul { margin: 0 0 var(--space-40); }
.dc-legal a { text-decoration: underline; text-underline-offset: 3px; }
.dc-legal__note { margin-top: var(--space-60); font-size: 13px; }

/* ------------------------------ 5. Anciennes classes (à retirer au fil des gabarits) ------------------------------ */

/* Menu mobile (ouvert par .dc-nav__burger) */
@media (min-width: 922px) { .mobile-menu { display: none !important; } }
.mobile-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--black); border-bottom: 1px solid var(--grey-850); padding: 6px var(--container-padding) 22px; display: flex; flex-direction: column; }
.mobile-menu a { padding: 15px 2px; border-bottom: 1px solid var(--grey-850); font-size: 16px; font-weight: 500; color: var(--white); }
.mobile-menu a[aria-current="page"] { color: var(--orange-500); }
.mobile-menu .dc-btn { margin-top: 18px; border-bottom: var(--border-width) solid var(--orange-500); }

/* Formulaires : champ piège anti-robots */
.hp { position: absolute; left: -9999px; }

/* Bandeau cookies */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 640px; margin: 0 auto; background: var(--grey-900); border: 1px solid var(--grey-600); border-radius: var(--radius-md); padding: 16px 18px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.cookies p { flex: 1 1 260px; }
.cookies__actions { display: flex; gap: 10px; }

/* ------------------------------ 6. Responsive ------------------------------ */
@media (max-width: 921px) {
  h1 { font-size: 40px; } h2, .dc-section-head h2 { font-size: 30px; } h4 { font-size: 20px; }
  .dc-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dc-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dc-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dc-nav__links, .dc-nav__cta, .dc-header .dc-nav__sister { display: none; }
  .dc-nav__burger { display: inline-flex; }
  .dc-detail { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gal" "side" "desc"; }
  .dc-detail__side { position: static; }
  .dc-contact { grid-template-columns: minmax(0, 1fr); }
  .dc-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dc-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
  .dc-gallery > :first-child { grid-row: span 1; }
  .dc-equip.dc-eurorepar__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 544px) {
  :root { --container-padding: 1.125rem; }
  h1 { font-size: 32px; } h2, .dc-section-head h2 { font-size: 26px; } h3, .dc-service h3 { font-size: 22px; } h4 { font-size: 18px; }
  .dc-container { padding: 0 1.8em; }
  .dc-section { padding: var(--space-70) 0; }
  .dc-grid-2, .dc-grid-3, .dc-grid-4, .dc-form, .dc-footer__grid, .dc-equip { grid-template-columns: minmax(0, 1fr); }
  .dc-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: var(--space-40); }
  .dc-eurorepar { padding: var(--space-50); }
  .dc-equip.dc-eurorepar__list { grid-template-columns: minmax(0, 1fr); }
  .dc-eurorepar__head > .dc-btn { width: 100%; }
  .dc-form .dc-span-2 { grid-column: auto; }
  .dc-hero { min-height: 560px; padding: 0 12px; }
  .dc-hero__card { padding: var(--space-50) var(--space-50) var(--space-40); }
  .dc-hero__card .dc-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .dc-header .dc-nav { padding: 12px 1.8em; }
  .dc-sister { padding: var(--space-50); }
  .dc-sister .dc-btn { width: 100%; }
  .dc-cta-actions { flex-direction: column; align-items: stretch; }
  .dc-map { aspect-ratio: 4 / 5; }
  .dc-contact__form { padding: var(--space-50); }
  .dc-contact__photo { height: 220px; }
  .dc-pagehead { padding: var(--space-70) 0; }
  .dc-srow { grid-template-columns: minmax(0, 1fr); }
  .dc-srow--rev > :first-child { order: 0; }
  .dc-srow + .dc-srow { margin-top: var(--space-70); }
  .dc-gallery { grid-auto-rows: 140px; }
  .dc-prose { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
