/* MEDIUM — 1050px à 1249px — chargé via media query dans fr/scripts/header.php */
/* =====================================================================
   AS Auto – feuille de style du site (générée depuis la maquette validée)
   Agence Digitale Defaweux
   ===================================================================== */

/* ---------- Polices (locales, Barlow / Barlow Condensed) ---------- */
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/barlow-latin-700-normal.woff2") format("woff2"); }

/* ---------- Jetons ---------- */
:root {
  --ink: #16181B;
  --graphite: #1F2226;
  --black: #0C0D0E;
  --red: #D6202C;
  --red-dark: #B5161F;
  --steel: #6E737B;
  --line: #E3E5E8;
  --mist: #F2F3F5;
  --white: #FFFFFF;
  --star: #FBBC04;

  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", Arial, Helvetica, sans-serif;

  --wrap: 1280px;
  --gutter: 32px;
  --radius: 6px;
  --plate-radius: 10px;
  --shadow-plate: 0 18px 40px rgba(12, 13, 14, .18);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); line-height: 1; }
p { margin: 0 0 1em; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.main_width { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: 104px; }

h2 {
  font-size: clamp(40px, 4.6vw, 62px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: .95;
}
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  margin-bottom: 44px;
}
.lead { font-size: 20px; line-height: 1.5; }

/* ---------- Motif « plaque » (barre de recherche) ---------- */
.plate {
  background: var(--white);
  border-radius: var(--plate-radius);
  box-shadow: var(--shadow-plate);
  position: relative;
  overflow: hidden;
}
.plate::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 8px;
  background: var(--red);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px;
  font-family: var(--display);
  font-size: 19px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase;
  line-height: 1;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-lg { padding: 17px 28px; font-size: 21px; }
.btn-red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; display: block; }

.link-more {
  font-family: var(--display);
  font-size: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em;
  padding-bottom: 4px;
  border-bottom: 3px solid var(--red);
  white-space: nowrap;
}
.link-more:hover { color: var(--red); }

/* ---------- Header ---------- */
#banner {
  position: sticky; top: 0; z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.banner_inner { display: flex; align-items: center; gap: 32px; height: 92px; }
#banner .logo { display: inline-block; flex: none; line-height: 0; }
#banner .logo img { width: 112px; height: auto; }
#cssmenu ul { display: flex; gap: 26px; margin-left: auto; }
#cssmenu ul a {
  font-family: var(--display);
  font-size: 17px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
  padding: 6px 0;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
#cssmenu ul a.selected, #cssmenu ul a:hover { border-bottom-color: var(--red); }
.banner_tools { display: flex; align-items: center; gap: 10px; }
/* Sélecteur de langue en menu déroulant */
.lang { position: relative; margin-right: 6px; }
.lang summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 10px 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 600; font-size: 14px; color: var(--ink);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after {
  content: ""; width: 10px; height: 10px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23D6202C' d='M7 10l5 5 5-5z'/></svg>") center / 14px no-repeat;
  transition: transform .15s;
}
.lang[open] summary::after { transform: rotate(180deg); }
.lang ul {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(12,13,14,.14); padding: 4px 0; z-index: 30;
}
.lang li a { display: block; padding: 8px 12px; font-weight: 600; font-size: 14px; color: var(--steel); }
.lang li a:hover { color: var(--ink); background: var(--mist); }

/* Bouton téléphone : icône et chiffres centrés sur la même ligne optique */
.btn-phone { font-size: 16px; letter-spacing: .04em; padding: 0 16px; height: 40px; gap: 8px; min-width: 13.6em; }
.btn-phone svg { width: 15px; height: 15px; }
.btn-phone span { display: block; line-height: 1; padding-top: 0; }
/* Au survol, le préfixe +32 glisse en place et le 0 s'efface, sans changer la largeur du bouton */
.btn-phone .ph { position: relative; display: inline-block; }
.btn-phone .ph-ghost, .btn-phone .ph-live { white-space: nowrap; }
.btn-phone .ph-live { position: absolute; top: 0; left: 50%; transform: translateX(-50%); }
.btn-phone .ph-ghost { visibility: hidden; }
.btn-phone .ph-live i { font-style: normal; display: inline-block; overflow: hidden; vertical-align: top; white-space: pre;
  transition: max-width .7s cubic-bezier(.2,.7,.2,1), opacity .5s ease; }
.btn-phone .ph-cc { max-width: 0; opacity: 0; }
.btn-phone .ph-zero { max-width: 1em; opacity: 1; }
.btn-phone:hover .ph-cc, .btn-phone:focus-visible .ph-cc { max-width: 2.4em; opacity: 1; }
.btn-phone:hover .ph-zero, .btn-phone:focus-visible .ph-zero { max-width: 0; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .btn-phone .ph-live i { transition: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: var(--graphite);
  padding-top: 150px;
  isolation: isolate;
  min-height: calc(100vh - 93px);
  box-sizing: border-box;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 86%;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12,13,14,.86) 0%, rgba(12,13,14,.62) 42%, rgba(12,13,14,.18) 100%),
    linear-gradient(0deg, rgba(12,13,14,.75) 0%, rgba(12,13,14,0) 35%);
}
.hero-inner { max-width: 900px; margin-left: calc((100% - min(var(--wrap), 100% - var(--gutter) * 2)) / 2); padding-bottom: 72px; }
.hero-kicker { font-weight: 500; font-size: 18px; color: rgba(255,255,255,.85); margin-bottom: 22px; }
h1 {
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.012em;
  line-height: .92;
  text-wrap: balance;
}
.hero-text { font-size: 20px; line-height: 1.55; max-width: 640px; margin: 30px 0 36px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Barre de recherche chevauchant le bas du hero */
.search-wrap {     
    position: absolute;
    right: 0;
    bottom: 50px;
    transform: none;
    width: fit-content;
    z-index: 2;
  }
.search {
  display: grid;
  grid-template-columns: 400px 1fr;
  border-radius: 0;
  align-items: stretch;
  padding: 10px 10px 18px;
  color: var(--ink);
}
.field { display: flex; flex-direction: column; gap: 4px; padding: 10px 24px; border-right: 1px solid var(--line); }
.field span { font-size: 13px; font-weight: 600; color: var(--steel); }
.field select {
  appearance: none; -webkit-appearance: none;
  border: 0; background: transparent; margin: 0;
  font: 600 19px/1.3 var(--body); color: var(--ink);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'><path fill='%23D6202C' d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat; background-position: right center;    
  background-size: 30px;
  padding: 0 30px 0 0;
}
.btn-search { align-self: center; margin: 0 6px 0 18px; padding: 18px 34px; font-size: 21px; }
.search-count { grid-column: 1 / -1; padding: 10px 24px 0; font-size: 14px; color: var(--steel); }

/* ---------- Bande de confiance ---------- */
/* ---------- Vidéo (affiche + bouton lecture) ---------- */
.video { background: var(--white); padding: 96px 0 0; }
.video-frame { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--plate-radius); overflow: hidden; background: var(--graphite); }
.video-frame img { width: 100%; height: 100%; object-fit: cover; }
.video-frame::after { content: ""; position: absolute; inset: 0; background: rgba(12,13,14,.28); transition: background .2s; }
.video-frame:hover::after { background: rgba(12,13,14,.12); }
.video-play {
  position: absolute; z-index: 1; left: 50%; top: 50%;
  width: 112px; height: 112px; margin: -56px 0 0 -56px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 14px rgba(255,255,255,.22), 0 18px 40px rgba(12,13,14,.35);
}
.video-play svg { width: 46px; height: 46px; fill: var(--white); margin-left: 6px; }

.trust { background: var(--white); padding: 64px 0 0; }
.trust-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trust-item { display: flex; align-items: center; gap: 16px; padding: 26px 24px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item svg { width: 34px; height: 34px; fill: var(--red); flex: none; }
.trust-item strong { display: block; font-family: var(--display); font-size: 24px; font-weight: 700; text-transform: uppercase; line-height: 1.05; }
.trust-item span { display: block; font-size: 15px; color: var(--steel); margin-top: 3px; line-height: 1.35; }

/* ---------- Occasions ---------- */
.occasions { padding-top: 96px; }
.cars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.car { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--plate-radius); overflow: hidden; }
.car-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.car-media img { width: 100%; height: 100%; object-fit: cover; }
.tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--red); color: var(--white);
  font-family: var(--display); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 5px 10px; border-radius: 3px;
}
.car-body { padding: 20px 22px 18px; flex: 1; }
.car h3 { font-size: 28px; font-weight: 700; text-transform: uppercase; line-height: 1; }
.car h3 span { display: block; font-family: var(--body); font-size: 15px; font-weight: 500; text-transform: none; color: var(--steel); margin-top: 6px; letter-spacing: 0; }
.specs { display: flex; flex-wrap: wrap; margin-top: 14px; font-size: 15px; font-weight: 500; }
.specs li { padding-right: 12px; margin-right: 12px; border-right: 1px solid var(--line); line-height: 1.2; }
.specs li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.car-plate { display: flex; align-items: center; justify-content: space-between; background: var(--red); color: var(--white); padding: 14px 22px; }
.car-plate:hover { background: var(--red-dark); }
.price { font-family: var(--display); font-size: 30px; font-weight: 800; line-height: 1; }
.car-plate .more { font-family: var(--display); font-size: 17px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

.brands {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px;
  margin-top: 64px; padding-top: 34px;
  border-top: 1px solid var(--line);
  font-family: var(--display); font-size: 22px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  color: #A7ACB3;
}
.brands .brands-more { text-transform: none; letter-spacing: .02em; color: var(--ink); }

/* ---------- Atelier ---------- */
.atelier { background: var(--graphite); color: var(--white); padding-bottom: 0; }
.atelier-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.atelier-photo { position: relative; }
.atelier-photo::before {
  content: ""; position: absolute; inset: 28px -28px -28px 28px;
  background: var(--red); border-radius: var(--plate-radius); z-index: 0;
}
.atelier-photo img { position: relative; z-index: 1; border-radius: var(--plate-radius); width: 100%; height: auto; }
.atelier .lead { color: rgba(255,255,255,.82); margin: 26px 0 34px; max-width: 60ch; }
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 36px; }
.services li { display: flex; gap: 16px; align-items: flex-start; }
.services svg { width: 30px; height: 30px; fill: var(--red); flex: none; margin-top: 2px; }
.services strong { display: block; font-family: var(--display); font-size: 23px; font-weight: 700; text-transform: uppercase; line-height: 1.05; }
.services span { display: block; font-size: 15px; color: rgba(255,255,255,.72); margin-top: 5px; line-height: 1.45; }
.atelier-cta { display: flex; align-items: center; gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.14); }
.atelier-cta p { margin: 0; font-size: 16px; color: rgba(255,255,255,.75); line-height: 1.4; }
.nowrap { white-space: nowrap; }
.atelier-cta p a { color: var(--white); font-weight: 700; }

/* Trois photos bord à bord, pleine largeur d'écran */
/* Deux sites côte à côte */
.sites { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 104px; }
.site-card { background: #2A2D31; border-radius: var(--plate-radius); overflow: hidden; }
.site-media { position: relative; aspect-ratio: 16 / 10; }
.site-media img { width: 100%; height: 100%; object-fit: cover; }
.site-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,13,14,.85) 0%, rgba(12,13,14,.45) 20%, rgba(12,13,14,0) 36%); pointer-events: none; }
.site-overlay { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 18px; color: var(--white); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.site-tag { position: absolute; z-index: 1; top: 30px; right: 22px; color: var(--white); background: var(--red); padding: 7px 12px; border-radius: 3px; box-shadow: 0 8px 20px rgba(12,13,14,.25); font-family: var(--display); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; line-height: 1; }
.site-addr { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.3; }
.site-tels { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.site-tel { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: .02em; line-height: 1; }
.site-tel svg { width: 18px; height: 18px; fill: var(--red); flex: none; }
.site-tel:hover .ph-cc, .site-tel:focus-visible .ph-cc { max-width: 2.4em; opacity: 1; }
.site-tel:hover .ph-zero, .site-tel:focus-visible .ph-zero { max-width: 0; opacity: 0; }
.site-pin { z-index: 1;
  position: absolute; left: 22px; top: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--ink);
  padding: 10px 18px 10px 12px; border-radius: 999px;
  font-family: var(--display); font-size: 24px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1;
  box-shadow: 0 10px 24px rgba(12,13,14,.3);
}
.site-pin svg { width: 26px; height: 26px; fill: var(--red); flex: none; }
.site-list { padding: 26px 30px 30px; display: grid; gap: 12px; }
.site-list li { position: relative; padding-left: 30px; font-size: 18px; font-weight: 500; line-height: 1.35; }
.site-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/></svg>") center / 13px no-repeat;
}

.atelier-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 104px; }
.atelier-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- À propos ---------- */
.apropos-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: center; }
.apropos-photo img { border-radius: var(--plate-radius); width: 100%; height: auto; }
.apropos-content p { max-width: 52ch; }
.apropos-content h2 { margin-bottom: 26px; }
.apropos-content .link-more { display: inline-block; margin-top: 12px; }

/* ---------- Bandeau photo parallax ---------- */
.parallax {
  height: 560px;
  background: var(--graphite) url("images/batiment.jpg") center 40% / cover no-repeat;
  background-attachment: fixed;
}

/* ---------- Avis (style badge Google) ---------- */
.avis { background: var(--mist); }
.avis .section-head { align-items: center; }
.google-score { display: flex; align-items: center; gap: 14px; }
.google-score .score { font-family: var(--body); font-size: 58px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.score-detail { display: flex; flex-direction: column; gap: 4px; }
.stars { display: inline-flex; gap: 3px; }
.stars i {
  width: 24px; height: 24px; display: inline-block;
  background: var(--star);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.stars i.part { background: linear-gradient(90deg, var(--star) 20%, #D9DCE0 20%); }
.stars.sm i { width: 16px; height: 16px; }
.score-label { font-size: 16px; color: var(--ink); }
.score-label strong { font-weight: 600; }

/* Slider : défilement natif (scroll-snap), 3 cartes visibles, flèches + défilement auto (JS dans home.php) */
.avis-slider { position: relative; }
.avis-track {
  display: flex; gap: 28px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
}
.avis-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; } /* pendant le glisser à la souris */
.avis-track::-webkit-scrollbar { display: none; }
.avis-track:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: var(--plate-radius); }
.avis-card {
  flex: 0 0 calc((100% - 56px) / 3); /* 3 cartes + 2 espaces de 28px */
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 18px;
  background: var(--white); border-radius: var(--plate-radius); padding: 28px 30px 30px; border: 1px solid var(--line);
}
.avis-card header { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--graphite); color: var(--white);
  font-weight: 700; font-size: 19px;
}
.avis-card:nth-child(3n+2) .avatar { background: var(--red); }
.avis-card:nth-child(3n+3) .avatar { background: var(--steel); }
.who strong { display: block; font-weight: 700; font-size: 17px; line-height: 1.2; margin-bottom: 6px; }
.avis-card p { font-size: 17px; line-height: 1.6; margin: 0; }
.avis-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; }
.avis-nav button {
  width: 46px; height: 46px; border-radius: 50%; padding: 0;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.avis-nav button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.avis-nav button:hover, .avis-nav button:focus-visible { background: var(--red); border-color: var(--red); color: var(--white); outline: none; }
.avis-slider.no-nav .avis-nav { display: none; }

/* ---------- Contact ---------- */
.contact { background: var(--black); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.contact-intro { color: rgba(255,255,255,.75); margin: 22px 0 26px; }
.addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.addresses address { font-style: normal; font-size: 18px; line-height: 1.45; padding-left: 16px; border-left: 3px solid var(--red); }
.addresses strong { display: block; font-family: var(--display); font-size: 22px; font-weight: 700; text-transform: uppercase; line-height: 1.05; margin-bottom: 8px; }
.contact-lines { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.contact-lines .btn:not(.btn-phone) span { display: block; line-height: 1; padding-top: 1px; }
.contact-lines .btn { height: 52px; }
.contact-lines .btn-phone { font-size: 17px; padding: 0 18px; }
.contact-lines .btn-phone svg { width: 17px; height: 17px; }
.contact-lines .btn-ghost { text-transform: none; letter-spacing: .01em; font-size: 18px; padding: 0 20px; }
.hours { border-collapse: collapse; font-size: 16px; width: 100%; max-width: 360px; }
.hours th { text-align: left; font-weight: 500; color: rgba(255,255,255,.7); padding: 7px 24px 7px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.hours td { font-weight: 600; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.12); text-align: right; }
.hours-note { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 10px; }
.maps { display: grid; gap: 24px; }
.map figcaption { font-family: var(--display); font-size: 19px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 10px; }
.map iframe { display: block; width: 100%; height: 300px; border: 0; border-radius: var(--plate-radius); background: #2A2D31; }

/* ---------- Footer ---------- */
#footer { background: var(--black); color: rgba(255,255,255,.6); border-top: 1px solid rgba(255,255,255,.1); }
.footer_logo img { width: 110px; height: auto; margin-bottom: 8px; }
.footer_inner { padding: 40px 0 34px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 13px; }
.footer_nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-family: var(--display); font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.85); }
.footer_coords, .footer-legal { margin: 0; }
.footer-legal a { margin-left: 14px; }
#footer a:hover { color: var(--white); }

.fbot{
	margin-top: 40px;
}
.fbot>a{    
    display: block;
    margin: 20px auto;
    text-align: center;
}
.fbot img{    
    height: 14px;
    width: auto;
    opacity: 0.4;
    margin: 0 auto;
    background-color: transparent;
    margin-bottom: -28px;
}

/* ---------- Responsive ---------- */



@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .parallax { background-attachment: scroll; }
}

/* ---------- Pop-up contact ---------- */
.cm-form[hidden], .cm-done[hidden] { display: none; }
html.modal-open { overflow: hidden; }
.contact-modal {
  width: min(1040px, calc(100% - 32px)); max-height: calc(100vh - 48px);
  padding: 0; border: 0; border-radius: 14px; overflow: auto;
  background: var(--white); color: var(--ink);
  box-shadow: 0 30px 80px rgba(12,13,14,.45);
}
.contact-modal::backdrop { background: rgba(12,13,14,.72); backdrop-filter: blur(3px); }
.contact-modal[open] { animation: cm-in .35s cubic-bezier(.2,.7,.2,1); }
.contact-modal[open]::backdrop { animation: cm-fade .35s ease; }
@keyframes cm-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes cm-fade { from { opacity: 0; } to { opacity: 1; } }

.cm-grid { display: grid; grid-template-columns: 5fr 7fr; }
.cm-info { background: var(--black); color: var(--white); padding: 40px 36px; display: flex; flex-direction: column; gap: 22px; }
.cm-logo { width: 110px; height: auto; }
.cm-phones { display: grid; gap: 10px; }
.cm-phones a {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border-radius: var(--radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  transition: background .15s, border-color .15s;
}
.cm-phones a:hover { background: var(--red); border-color: var(--red); }
.cm-phones svg { width: 20px; height: 20px; fill: var(--red); flex: none; }
.cm-phones a:hover svg { fill: var(--white); }
.cm-phones span { display: flex; flex-direction: column; font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: .02em; line-height: 1.05; }
.cm-phones a:last-child span { font-family: var(--body); font-size: 17px; font-weight: 600; letter-spacing: 0; }
.cm-phones small { font-family: var(--body); font-size: 12px; font-weight: 500; letter-spacing: .02em; color: rgba(255,255,255,.6); margin-bottom: 3px; }
.cm-phones a:hover small { color: rgba(255,255,255,.85); }
.cm-num { font-weight: inherit; white-space: nowrap; }
.cm-num i { font-style: normal; display: inline-block; overflow: hidden; vertical-align: top; white-space: pre;
  transition: max-width .7s cubic-bezier(.2,.7,.2,1), opacity .5s ease; }
.cm-num .ph-cc { max-width: 0; opacity: 0; }
.cm-num .ph-zero { max-width: 1em; opacity: 1; }
.cm-phones a:hover .ph-cc, .cm-phones a:focus-visible .ph-cc { max-width: 2.4em; opacity: 1; }
.cm-phones a:hover .ph-zero, .cm-phones a:focus-visible .ph-zero { max-width: 0; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .cm-num i { transition: none; } }
.cm-sites { margin: 0; display: grid; gap: 12px; }
.cm-sites div { padding-left: 12px; border-left: 3px solid var(--red); }
.cm-sites dt { font-family: var(--display); font-size: 17px; font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.cm-sites dd { margin: 2px 0 0; font-size: 14px; color: rgba(255,255,255,.75); }
.cm-hours { margin: auto 0 0; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.6); }

.cm-form-wrap { position: relative; padding: 40px 40px 36px; display: flex; flex-direction: column; }
.cm-form-wrap h2:empty { display: none; }
.cm-done { margin: auto 0; }
.cm-form-wrap h2 { font-size: 40px; margin: 0 48px 26px 0; }
.cm-close {
  position: absolute; top: 18px; right: 18px; width: 42px; height: 42px;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: var(--mist); cursor: pointer; transition: background .15s;
}
.cm-close:hover { background: var(--line); }
.cm-close svg { width: 22px; height: 22px; fill: var(--ink); }
.cm-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.cm-full { grid-column: 1 / -1; }
.cm-field { display: flex; flex-direction: column; gap: 6px; }
.cm-field[hidden] { display: none; } /* champ « Véhicule concerné » : visible uniquement depuis une fiche véhicule */
.cm-field > span { font-size: 13px; font-weight: 600; color: var(--steel); }
.cm-field em { font-style: normal; font-weight: 400; }
.cm-field input, .cm-field select, .cm-field textarea {
  width: 100%; font: 500 16px/1.4 var(--body); color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.cm-field select {
  appearance: none; -webkit-appearance: none; padding-right: 38px;
  background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'><path fill='%23D6202C' d='M7 10l5 5 5-5z'/></svg>") right 14px center / 16px no-repeat;
}
.cm-field textarea { resize: vertical; min-height: 110px; }
.cm-field input:focus, .cm-field select:focus, .cm-field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(214,32,44,.15); }
.cm-form.was-validated :invalid { border-color: var(--red); }
.cm-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--steel); line-height: 1.45; cursor: pointer; }
.cm-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--red); flex: none; }
.cm-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 4px; }
.cm-notice { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--red); }
.cm-notice svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn:disabled, .btn[disabled] { opacity: .45; cursor: not-allowed; pointer-events: none; }

.cm-done { text-align: center; padding: 60px 20px 40px; }
.cm-done-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.cm-done-icon svg { width: 36px; height: 36px; fill: var(--white); }
.cm-done h3 { font-family: var(--display); font-size: 34px; font-weight: 700; text-transform: uppercase; margin: 0 0 10px; }
.cm-done p { color: var(--steel); max-width: 40ch; margin: 0 auto 24px; }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost-dark:hover { border-color: var(--ink); }


@media (prefers-reduced-motion: reduce) {
  .contact-modal[open], .contact-modal[open]::backdrop { animation: none; }
}

/* =====================================================================
   VOITURES : page « Véhicules d'occasion » et fiche d'un véhicule
   ===================================================================== */
.car h3 a:hover { color: var(--red); }
.cars-vide { padding: 28px 32px; background: var(--mist); border-radius: var(--plate-radius); font-size: 18px; }
.cars-vide a { color: var(--red); font-weight: 700; white-space: nowrap; }
.brands a { transition: color .15s; }
.brands a:hover { color: var(--red); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* En-tête de page */
.page-head { background: var(--graphite); color: var(--white); padding: 64px 0 120px; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: 14%; top: -20%; width: 120px; height: 140%; background: rgba(214,32,44,.12); transform: skewX(-24deg); pointer-events: none; } /* bande diagonale, comme le mur du showroom */
.page-kicker { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.page-kicker a:hover { color: var(--white); }
.page-kicker span { margin: 0 6px; color: var(--red); }
.page-head h1 { font-size: clamp(44px, 5vw, 72px); max-width: 22ch; }
.page-text { font-size: 19px; max-width: 640px; margin: 22px 0 0; color: rgba(255,255,255,.82); }

/* Filtre par marques (plaque chevauchant l'en-tête) */
.stock-marques-wrap { position: relative; z-index: 2; margin-top: -72px; }
.stock-marques { padding: 24px 28px 34px; color: var(--ink); }
.stock-marques-titre { font-family: var(--display); font-size: 21px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 16px; }
.stock-marques-titre span { font-family: var(--body); font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--steel); margin-left: 10px; }
.stock-marques ul { display: flex; flex-wrap: wrap; gap: 10px; }
.stock-marques a {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  font-family: var(--display); font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
  transition: border-color .15s, background .15s, color .15s;
}
.stock-marques a b { font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--steel); background: var(--mist); border-radius: 3px; padding: 2px 7px; letter-spacing: 0; }
.stock-marques a:hover { border-color: var(--ink); }
.stock-marques a.is-active { background: var(--red); border-color: var(--red); color: var(--white); }
.stock-marques a.is-active b { background: rgba(255,255,255,.2); color: var(--white); }
.stock-marques a.is-active:not(:first-child)::after, .stock-marques li:not(:first-child) a.is-active::after {
  content: ""; width: 10px; height: 10px; margin-left: 2px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M6.4 5 12 10.6 17.6 5 19 6.4 13.4 12l5.6 5.6-1.4 1.4L12 13.4 6.4 19 5 17.6 10.6 12 5 6.4z'/></svg>") center / contain no-repeat;
}

/* Barre résultats */
.stock-resultats { padding-top: 56px; }
.stock-barre { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.stock-compte { margin: 0; font-size: 18px; }
.stock-compte strong { font-family: var(--display); font-size: 30px; font-weight: 800; margin-right: 4px; }
.stock-reset { margin-left: 14px; font-size: 15px; font-weight: 600; color: var(--red); border-bottom: 2px solid currentColor; }
.stock-tri label { display: flex; align-items: center; gap: 10px; }
.stock-tri span { font-size: 14px; font-weight: 600; color: var(--steel); }
.stock-tri select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  font: 600 16px/1.2 var(--body); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); background-color: var(--white);
  padding: 10px 40px 10px 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'><path fill='%23D6202C' d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 24px;
}
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 56px; }
.pagination a, .pagination span {
  min-width: 46px; height: 46px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 19px; font-weight: 700; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.pagination a:hover { border-color: var(--ink); }
.pagination .active { background: var(--red); border-color: var(--red); color: var(--white); }
.stock-vide { text-align: center; padding: 64px 24px; background: var(--mist); border-radius: var(--plate-radius); }
.stock-vide h2 { font-size: 40px; }
.stock-vide p { max-width: 560px; margin: 18px auto 26px; color: var(--steel); }


/* Fiche véhicule */
#fiche-voiture { padding-top: 34px; }
.fiche-ariane { font-size: 15px; color: var(--steel); margin-bottom: 26px; }
.fiche-ariane a:hover { color: var(--red); }
.fiche-ariane span { margin: 0 6px; color: var(--red); }
.fiche-vendu { background: var(--ink); color: var(--white); padding: 14px 20px; border-radius: var(--radius); font-weight: 600; }
.fiche-vendu a { color: var(--white); border-bottom: 2px solid var(--red); margin-left: 8px; }
.fiche-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.fiche-photo { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; border-radius: var(--plate-radius); overflow: hidden; background: var(--mist); aspect-ratio: 4 / 3; }
.fiche-photo img { width: 100%; height: 100%; object-fit: cover; }
.fiche-photo-vide { cursor: default; display: grid; place-items: center; }
.fiche-photo-vide img { position: absolute; inset: 0; opacity: .5; }
.fiche-photo-vide span { position: relative; font-family: var(--display); font-size: 24px; font-weight: 700; text-transform: uppercase; }
.fiche-compteur { position: absolute; right: 14px; bottom: 14px; background: rgba(12,13,14,.72); color: var(--white); font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 3px; }
.fiche-vignettes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 10px; }
.fiche-vignettes button { display: block; width: 100%; padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; background: var(--mist); opacity: .7; transition: opacity .15s, border-color .15s; }
.fiche-vignettes button:hover { opacity: 1; }
.fiche-vignettes button.is-active { border-color: var(--red); opacity: 1; }
.fiche-vignettes img { width: 100%; height: 100%; object-fit: cover; }
.fiche-resume { position: sticky; top: 116px; }
.fiche-resume h1 { font-size: clamp(40px, 3.6vw, 56px); font-weight: 800; color: var(--ink); }
.fiche-resume h1 span { display: block; font-family: var(--body); font-size: 19px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--steel); margin-top: 10px; line-height: 1.3; }
.fiche-resume .specs { font-size: 16px; margin-top: 20px; }
.fiche-prix { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 26px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); }
.fiche-prix .price { font-size: 42px; }
.fiche-tva { font-size: 14px; font-weight: 500; color: var(--steel); text-align: right; }
.fiche-atouts { display: grid; gap: 8px; margin-top: 24px; }
.fiche-atouts li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.fiche-atouts svg { width: 20px; height: 20px; fill: var(--red); flex: none; }
.fiche-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.fiche-actions .btn { height: 52px; min-width: 0; padding: 0 12px; }
.fiche-actions .btn-phone { font-size: 17px; }
.fiche-lieu { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: 15px; color: var(--steel); }
.fiche-lieu svg { width: 18px; height: 18px; fill: var(--red); flex: none; }
.fiche-carpass { margin: 10px 0 0; font-size: 15px; }
.fiche-carpass a { font-weight: 600; border-bottom: 2px solid var(--red); }
.fiche-details { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin-top: 72px; padding-top: 8px; border-top: 1px solid var(--line); }
.fiche-bloc { padding-top: 48px; }
.fiche-bloc-large { grid-column: 1 / -1; }
.fiche-bloc h2 { font-size: 40px; margin-bottom: 24px; }
.fiche-caract div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.fiche-caract dt { color: var(--steel); }
.fiche-caract dd { margin: 0; font-weight: 600; text-align: right; }
.fiche-description { font-size: 17px; line-height: 1.65; }
.fiche-equipements { columns: 3; column-gap: 48px; margin-bottom: 80px;}
.fiche-equipements > div { break-inside: avoid; margin-bottom: 28px; }
.fiche-equipements h3 { font-size: 21px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.fiche-equipements li { position: relative; padding-left: 18px; font-size: 16px; line-height: 1.4; margin-bottom: 6px; }
.fiche-equipements li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; background: var(--red); border-radius: 1px; }
.fiche-autres { margin-top: 32px; background: var(--mist); }

/* Visionneuse */
.visionneuse { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12,13,14,.94); }
.visionneuse[open] { display: grid; place-items: center; }
.visionneuse img { max-width: calc(100vw - 160px); max-height: calc(100vh - 100px); object-fit: contain; }
.visionneuse button { position: absolute; display: grid; place-items: center; width: 56px; height: 56px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); cursor: pointer; }
.visionneuse button:hover { background: var(--red); }
.visionneuse svg { width: 28px; height: 28px; fill: var(--white); }
.vis-fermer { top: 20px; right: 20px; }
.vis-prec { left: 24px; top: 50%; margin-top: -28px; }
.vis-suiv { right: 24px; top: 50%; margin-top: -28px; }
.vis-compteur { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-weight: 600; }




.cm-vehicule input { background: var(--mist); font-weight: 600; }

/* ---------- Compléments CMS ---------- */
#heading { background: var(--red); color: var(--white); text-align: center; font-weight: 600; padding: 10px 16px; }
#heading p { margin: 0; }
#cssmenu { margin-left: auto; }
#cssmenu ul { margin-left: 0; }
#cssmenu ul li { display: flex; }
#cssmenu .menu-links { display: none; }
/* Vidéo de présentation (lecture auto, sans son, en boucle) */
.video-frame { background: var(--white); }
.video-frame::after { display: none; }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Ajustements medium ---------- */
  #cssmenu ul { gap: 18px; }
  #cssmenu ul a { font-size: 15px; }
  #banner .logo img { width: 96px; }
  .banner_inner { gap: 20px; }
  .btn-phone { font-size: 14px; padding: 0 12px; }
  .fiche-grid { gap: 40px; }
  .fiche-actions { grid-template-columns: 1fr; }
  .fiche-equipements { columns: 2; }
/* ---------- Cartes voitures : animation au survol (home, stock, autres véhicules) ---------- */
.car { transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease; }
.car:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(12,13,14,.14); border-color: transparent; }
.car-media img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.car:hover .car-media img { transform: scale(1.06); }
.car h3 a { transition: color .2s; }
.car:hover h3 a { color: var(--red); }
@media (prefers-reduced-motion: reduce) { .car, .car-media img { transition: none; } .car:hover { transform: none; } .car:hover .car-media img { transform: none; } }

/* ---------- Page Garage & réparation ---------- */
.page-head-simple { padding-bottom: 72px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.page-actions .btn-phone { height: 56px; font-size: 18px; }
.garage-services { padding-bottom: 88px; }
.garage-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.garage-service { padding: 30px 30px 32px; border: 1px solid var(--line); border-radius: var(--plate-radius); background: var(--white); }
.garage-service svg { width: 40px; height: 40px; fill: var(--red); margin-bottom: 20px; }
.garage-service h3 { font-size: 26px; font-weight: 700; text-transform: uppercase; }
.garage-service p { margin: 10px 0 0; color: var(--steel); font-size: 16px; }
.garage-atelier { background: var(--mist); }
.garage-atelier-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 72px; align-items: center; }
.garage-atelier-grid img { width: 100%; border-radius: var(--plate-radius); }
.garage-atelier-grid h2 { margin-bottom: 26px; }
.garage-atelier-grid p { font-size: 18px; }
.garage-points { display: grid; gap: 12px; margin: 26px 0 32px; }
.garage-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.garage-points svg { width: 22px; height: 22px; fill: var(--red); flex: none; margin-top: 2px; }
.garage-sites .sites { margin-top: 0; }
.garage-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.garage-cta .btn-phone { height: 58px; font-size: 18px; }
.garage-sites h2 { margin-bottom: 44px; }

/* ---------- Garage : l'atelier en images (bandes de photos qui avancent avec le scroll, JS dans garage-reparation.php) ---------- */
.garage-galerie { padding: 16px 0 0; overflow: hidden; display: grid; gap: 16px; }
.galerie-piste { display: flex; gap: 16px; width: max-content; will-change: transform; }
.galerie-piste figure { flex: none; width: 480px; aspect-ratio: 3 / 2; margin: 0; border-radius: var(--plate-radius); overflow: hidden; background: var(--mist); }
.galerie-piste img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .galerie-bande { overflow-x: auto; } }

/* ---------- Carte voiture entièrement cliquable (lien du titre étendu à toute la carte) ---------- */
.car { position: relative; }
.car h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.car:hover h3 a { color: var(--red); }

/* ---------- Header : resserré pour ne pas déborder près de 1050px ---------- */
.banner_inner { gap: 14px; }
#cssmenu ul { gap: 14px; }
.banner_tools { gap: 8px; }

/* ---------- Pop-up téléphones (icône du header en tiny) ---------- */
.btn-tels { display: none; }
.tel-modal {
  width: min(380px, calc(100% - 32px)); padding: 30px 24px 24px; border: 0; border-radius: 14px;
  background: var(--black); color: var(--white); box-shadow: 0 30px 80px rgba(12,13,14,.45);
}
.tel-modal::backdrop { background: rgba(12,13,14,.72); backdrop-filter: blur(3px); }
.tel-modal[open] { animation: cm-in .35s cubic-bezier(.2,.7,.2,1); }
.tel-modal[open]::backdrop { animation: cm-fade .35s ease; }
.tel-modal h2 { font-size: 30px; margin: 0 0 20px; padding-right: 44px; }
.tel-modal .cm-close { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,.1); }
.tel-modal .cm-close:hover { background: rgba(255,255,255,.2); }
.tel-modal .cm-close svg { fill: var(--white); }
.tel-modal .cm-phones a:last-child span { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: .02em; }

/* ---------- Header DE / NL : libellés plus longs, menu resserré pour tenir dans la largeur ---------- */
html:lang(de) #cssmenu ul, html:lang(nl) #cssmenu ul { gap: 10px; }
html:lang(de) #cssmenu ul a, html:lang(nl) #cssmenu ul a { font-size: 14px; letter-spacing: .02em; }
html:lang(de) .banner_inner, html:lang(nl) .banner_inner { gap: 10px; }

/* ---------- Versions DE / NL / EN : les mots longs (« Tweedehandswagens », « Gebrauchtwagen »...) passent à la ligne au lieu de déborder ---------- */
h1, h2, h3, p, dd, dt, li { overflow-wrap: break-word; }
:lang(de) h1, :lang(de) h2, :lang(de) h3, :lang(nl) h1, :lang(nl) h2, :lang(nl) h3 { hyphens: auto; -webkit-hyphens: auto; }
.stock-tri, .stock-tri label { max-width: 100%; }
.stock-tri span { white-space: nowrap; }
.stock-tri select { min-width: 0; max-width: 100%; flex: 1 1 auto; }

/* ---------- Bannière cookies (cookie-consent-2024.js) : carte blanche discrète aux couleurs du site ---------- */
#termsfeed-com---nb.termsfeed-com---nb-simple {
  left: 24px; right: auto; bottom: 24px; top: auto; width: 380px; max-width: calc(100% - 48px); max-height: none; overflow: visible;
  background: var(--white); color: var(--steel); border-radius: 12px; border: 1px solid var(--line); border-top: 3px solid var(--red);
  box-shadow: 0 18px 45px rgba(12,13,14,.18); font-family: "Barlow", Arial, sans-serif; z-index: 9000;
}
#termsfeed-com---nb .cc-nb-main-container { padding: 20px 22px 18px; }
#termsfeed-com---nb .cc-nb-title { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--ink); line-height: 1.2; margin: 0 0 6px; }
#termsfeed-com---nb .cc-nb-text { font-family: inherit; font-size: 14px; line-height: 1.5; color: var(--steel); margin: 0 0 16px; }
#termsfeed-com---nb .cc-nb-buttons-container { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#termsfeed-com---nb .cc-nb-okagree, #termsfeed-com---nb .cc-nb-reject, #termsfeed-com---nb .cc-nb-changep {
  display: inline-flex; align-items: center; width: auto; margin: 0 !important; padding: 9px 16px; border-radius: 6px;
  font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; line-height: 1.2; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
#termsfeed-com---nb .cc-nb-okagree { background: var(--red); color: var(--white); border: 1px solid var(--red); }
#termsfeed-com---nb .cc-nb-okagree:hover { background: var(--red-dark); border-color: var(--red-dark); }
#termsfeed-com---nb .cc-nb-reject { background: transparent; color: var(--ink); border: 1px solid var(--line); }
#termsfeed-com---nb .cc-nb-reject:hover { border-color: var(--ink); }
#termsfeed-com---nb .cc-nb-changep { background: none; color: var(--steel); border: 0; padding: 9px 4px; text-decoration: underline; text-underline-offset: 3px; text-transform: none; letter-spacing: 0; font-family: inherit; font-weight: 400; font-size: 13px; }
#termsfeed-com---nb .cc-nb-changep:hover { color: var(--ink); }
#termsfeed-com---nb button:focus-visible { box-shadow: 0 0 0 2px var(--red); outline: 0; }

/* centre de préférences */
#termsfeed-com---preferences-center, #termsfeed-com---preferences-center * { font-family: "Barlow", Arial, sans-serif; }
#termsfeed-com---preferences-center .cc-pc-container { border-radius: 12px; overflow: hidden; border-top: 3px solid var(--red); }
#termsfeed-com---preferences-center .cc-pc-head-title-headline, #termsfeed-com---preferences-center .cc-cp-body-content-entry-title { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-weight: 700; }
#termsfeed-com---preferences-center .cc-cp-foot-save { background: var(--red); border-radius: 6px; font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
#termsfeed-com---preferences-center .cc-cp-foot-save:hover { background: var(--red-dark); }
#termsfeed-com---preferences-center .cc-pc-head-close { border-radius: 6px; }
#termsfeed-com---preferences-center .cc-pc-head-close:focus, #termsfeed-com---preferences-center .cc-pc-head-close:active { border-color: var(--red); }
#termsfeed-com---preferences-center .cc-custom-checkbox:checked + label::before { background: var(--red); }
#termsfeed-com---preferences-center .cc-cp-body-content-entry a:focus, #termsfeed-com---preferences-center .cc-pc-head-lang select:focus { box-shadow: 0 0 0 2px var(--red); }

/* ---------- Fiche voiture : référence et description (paragraphes, listes à tirets) ---------- */
.fiche-ref { margin: 22px 0 0; font-size: 14px; letter-spacing: .02em; color: var(--steel); }
.fiche-ref strong { color: var(--ink); font-weight: 600; }
.fiche-description { max-width: 760px; color: var(--ink); }
.fiche-description p { margin: 0 0 16px; }
.fiche-description ul { margin: 4px 0 20px; padding: 0; list-style: none; }
.fiche-description li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); }
.fiche-description li:last-child { border-bottom: 0; }
.fiche-description li::before { content: ""; position: absolute; left: 0; top: 1.3em; width: 12px; height: 2px; background: var(--red); }
.fiche-description > :last-child { margin-bottom: 0; }



#e404{
  padding: 50px 0
}

#legal{
text-align:center;
margin-bottom:100px;
padding-bottom:30px;

}

#legal .main_width{
padding-top:85px;
padding-bottom:30px;
}


#legal h1{
text-align:center;
background-position:bottom center;
margin-bottom:73px;
}

#legal h2{
background-position: 0px 7px;
position: relative;
bottom: 0px;
margin-top: 14px;
margin-bottom: 14px;
font-size:28px;
line-height:30px;
background-position: bottom left;
padding-bottom: 7px;
}

#legal h3{
line-height:23px!important;
padding-bottom: 6px!important;
}

#legal p{
margin-bottom:5px;
}

#legal p span{
display:inline-block;
vertical-align:top;
width:166px;
text-decoration:underline;
}

#legal .c0{
width:600px;
text-align:left;
display:inline-block;
vertical-align:top;
border:1px solid #c0c0c0;
text-align:left;
padding:1%;
margin-bottom:30px;
background-color:white;
border-radius:13px;
}

#legal .c1{
display:inline-block;
vertical-align:top;
width:36%;
margin-right:6%;
padding:1%;
border:1px solid #c0c0c0;
text-align:left;
margin-bottom:30px;
min-height:262px;
background-color:white;
border-radius:13px;
}

#legal .c1.last{
margin-right:0px;
}

#legal .c1 p{
margin-bottom:8px;
font-size:13px;
line-height:22px;
}

#legal .c2{
width:36%;
padding:1%;
margin-right:4%;
text-align:left;
display:inline-block;
vertical-align:top;
border:1px solid #c0c0c0;
margin-bottom:30px;
height:600px;
overflow:auto;
padding-bottom:30px;
background-color:white;
border-radius:13px;
}

#legal .c2 h3{

}

#legal .c2 h4{

}

#legal .c2 p{
margin-bottom:8px;
font-size:13px;
line-height:22px;
}

#legal .c2 ul li{
margin-bottom:5px;
font-size:13px;
line-height:22px;
padding-left:15px;
list-style-type:none;
}

#legal .c2 ul ul li{
padding-left:30px;
}

#legal .c2.last{
margin-right:0px;
}