/* Dan's Auto — feuille de style du site vitrine (extraite de index.html, V3) */
    /* ───── RESET & VARIABLES ───── */
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    :root {
      --white:    #FFFFFF;
      --off-white:#F8F6F2;
      --light-gray:#E8E4DC;
      --gray:     #6F6A65; /* texte secondaire : 5,3 : 1 sur blanc, 5,0 : 1 sur ivoire (l'ancien #9A9590 n'atteignait que 2,8 : 1) ; AUDIT § 50 */
      --dark-gray:#3A3632;
      --black:    #0F0E0C;
      --gold:     #C9A84C;
      --gold-light:#E2C97E;
      --gold-dark: #A07830; /* dégradés et bordures seulement : pour du TEXTE, utiliser --gold-ink */
      --gold-ink: #8A6522; /* or foncé pour le texte et les traits sur fond clair : 5,3 : 1 sur blanc, 4,9 : 1 sur ivoire ; 3,6 : 1 sur noir (assez pour un trait de focus) */
      --shadow-soft: 0 8px 40px rgba(15,14,12,0.10);
      --shadow-card: 0 4px 24px rgba(15,14,12,0.08);
      --radius: 2px;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Outfit', sans-serif;
      background: var(--white);
      color: var(--black);
      overflow-x: hidden;
    }

    /* ───── SCROLLBAR ───── */
    ::-webkit-scrollbar { width: 4px; }
    ::-webkit-scrollbar-track { background: var(--off-white); }
    ::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

    /* ───── PAGE MANAGEMENT ───── */
    .page { display: none; }
    .page.active { display: block; }

    /* ═══════════════════════════════════════
       NAVIGATION
    ═══════════════════════════════════════ */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
      padding: 0 clamp(28px, 4vw, 60px);
      display: flex; align-items: center; justify-content: space-between;
      height: 104px;
      transition: all 0.4s ease;
    }

    /* Barre transparente tout en haut de la page ; dès que l'on défile, un verre dépoli sombre : on devine le contenu derrière, flou.
       Une fine ligne claire en bas et une ombre légère détachent la barre du contenu. */
    nav.scrolled {
      background: rgba(15,14,12,0.72);
      -webkit-backdrop-filter: blur(16px) saturate(1.4);
      backdrop-filter: blur(16px) saturate(1.4);
      height: 82px;
      box-shadow: 0 1px 0 rgba(255,255,255,0.08), 0 8px 28px rgba(0,0,0,0.16);
    }
    /* Navigateur sans flou d'arrière-plan : sans lui, une barre à moitié transparente rendrait le menu illisible. On revient à une barre presque pleine. */
    @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
      nav.scrolled { background: rgba(15,14,12,0.96); }
    }
    /* Pages qui n'ont pas de bandeau sombre sous la barre (fiche d'un véhicule, pages de service, page introuvable) : la barre reste sombre et pleine, en permanence. */
    nav.nav-solid {
      background: rgba(15,14,12,0.96);
      -webkit-backdrop-filter: blur(20px);
      backdrop-filter: blur(20px);
      box-shadow: 0 2px 30px rgba(0,0,0,0.3);
    }

    .nav-logo {
      display: flex; align-items: center; gap: 12px;
      cursor: pointer;
      text-decoration: none;
      margin-top: 14px;
      transition: margin 0.4s ease;
    }

    nav.scrolled .nav-logo {
      margin-top: 0;
    }

    .nav-logo img {
      height: 72px;
      width: auto;
      display: block;
    }

    .logo-emblem {
      width: 44px; height: 44px;
      border: 1.5px solid var(--gold);
      display: flex; align-items: center; justify-content: center;
      transform: rotate(45deg);
      transition: transform 0.4s ease;
    }
    .nav-logo:hover .logo-emblem { transform: rotate(225deg); }

    .logo-emblem span {
      font-family: 'Cormorant Garamond', serif;
      font-size: 16px; font-weight: 600;
      color: var(--gold);
      transform: rotate(-45deg);
      display: block;
    }

    .logo-text {
      display: flex; flex-direction: column; line-height: 1;
    }
    .logo-text strong {
      font-family: 'Cormorant Garamond', serif;
      font-size: 20px; font-weight: 600;
      color: var(--white); letter-spacing: 0.05em;
    }
    .logo-text small {
      font-size: 10px; font-weight: 300;
      color: var(--gold); letter-spacing: 0.22em;
      text-transform: uppercase; margin-top: 2px;
    }

    .nav-links {
      display: flex; align-items: center; gap: clamp(22px, 2.6vw, 40px);
      list-style: none;
    }

    .nav-links a {
      color: rgba(255,255,255,0.8);
      text-decoration: none;
      font-size: 13px; font-weight: 500;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      position: relative;
      transition: color 0.3s;
      cursor: pointer;
    }

    .nav-links a::after {
      content: '';
      position: absolute; bottom: -4px; left: 0; right: 0;
      height: 1px; background: var(--gold);
      transform: scaleX(0); transform-origin: left;
      transition: transform 0.3s ease;
    }
    .nav-links a:hover { color: var(--white); }
    .nav-links a:hover::after { transform: scaleX(1); }

    .nav-cta {
      background: linear-gradient(135deg, var(--gold), var(--gold-dark));
      color: var(--black) !important;
      padding: 12px 24px !important;
      font-weight: 600 !important;
      letter-spacing: 0.12em !important;
      transition: all 0.3s ease !important;
    }
    .nav-cta:hover {
      background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
      transform: translateY(-1px);
      box-shadow: 0 4px 16px rgba(201,168,76,0.35) !important;
    }
    .nav-cta::after { display: none !important; }

    /* Choix de la langue (FR / NL / EN) : trois petites lettres, sans cadre ni fond, la langue de la page en plus clair (et sans lien).
       Le même composant sert dans la barre, dans le menu du téléphone (noms complets) et dans le pied de page. Il ne doit pas concurrencer le bouton doré. */
    .lang-switch { display: inline-flex; align-items: center; line-height: 1; }
    .lang-switch a,
    .lang-switch span { position: relative; display: inline-block; text-decoration: none; transition: color 0.25s ease; }
    .lang-switch > * + *::before {
      content: '/'; position: absolute; left: 0; top: 50%;
      transform: translate(-50%, -50%); font-weight: 400;
    }
    .nav-links .lang-switch a,
    .nav-links .lang-switch span { padding: 10px 8px; font-size: 11px; font-weight: 500; letter-spacing: 0.14em; }
    .nav-links .lang-switch a { color: rgba(255,255,255,0.7); } /* 0,45 → 0,7 : lisible aussi sur la photo du héros (AUDIT § 50) */
    .nav-links .lang-switch span { color: var(--gold-light); }
    .nav-links .lang-switch a::after { display: none; }
    .nav-links .lang-switch a:hover { color: var(--white); }
    .nav-links .lang-switch a:focus-visible { color: var(--white); } /* règle à part : un navigateur qui ne connaît pas :focus-visible ignorerait toute la liste */
    .nav-links .lang-switch > * + *::before { color: rgba(255,255,255,0.2); }

    .nav-burger {
      display: none;
      width: 46px;
      height: 46px;
      border: 1px solid rgba(201,168,76,0.42);
      background: rgba(15,14,12,0.34);
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 6px;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .nav-burger span {
      width: 20px;
      height: 1px;
      background: var(--white);
      display: block;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav-burger:hover {
      border-color: var(--gold);
      background: rgba(201,168,76,0.14);
    }

    .nav-burger.open span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .nav-burger.open span:nth-child(2) {
      opacity: 0;
    }

    .nav-burger.open span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-menu {
      position: fixed;
      inset: 0;
      z-index: 990;
      overflow-y: auto; /* le menu défile si les liens, les boutons et l'adresse dépassent la hauteur de l'écran (petit téléphone, tablette couchée) */
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
      background:
        radial-gradient(circle at top right, rgba(201,168,76,0.16), transparent 34%),
        rgba(15,14,12,0.98);
      -webkit-backdrop-filter: blur(18px);
      backdrop-filter: blur(18px);
      display: none;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.35s ease;
    }

    .mobile-menu.open {
      opacity: 1;
      pointer-events: all;
    }

    .mobile-menu-inner {
      min-height: 100%;
      padding: 128px 28px 40px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start; /* les boutons suivent les liens ; l'adresse est poussée en bas par « margin-top: auto » */
      gap: 42px;
    }

    .mobile-menu-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .mobile-menu-links a {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 18px 0;
      border-bottom: 1px solid rgba(255,255,255,0.09);
      color: var(--white);
      text-decoration: none;
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(34px, 10vw, 52px);
      font-weight: 400;
      line-height: 1;
      cursor: pointer;
    }

    .mobile-menu-links a::after {
      content: '→';
      font-family: 'Outfit', sans-serif;
      font-size: 18px;
      color: var(--gold);
      transform: translateX(-8px);
      transition: transform 0.25s ease;
    }

    .mobile-menu-links a:hover::after {
      transform: translateX(0);
    }

    .mobile-menu-stock {
      color: var(--gold-light) !important;
    }

    /* Les deux pages de service (dépôt-vente, vendre sa voiture) : deux petits liens discrets sous les liens principaux, en texte courant et non en grand titre.
       Marge négative : elle rattache la ligne aux liens du dessus malgré l'écart entre les blocs du menu. Marges plutôt que « gap » (anciens iPhone). */
    .mobile-menu-secondary { list-style: none; display: flex; flex-wrap: wrap; margin-top: -26px; }
    .mobile-menu-secondary li { margin-right: 26px; }
    .mobile-menu-secondary a {
      display: inline-flex; align-items: center; min-height: 44px;
      color: rgba(255,255,255,0.62); text-decoration: none;
      font-size: 15px; letter-spacing: 0.02em;
      transition: color 0.25s ease;
    }
    .mobile-menu-secondary a::after {
      content: '→'; margin-left: 8px; color: var(--gold); font-size: 14px;
      transition: transform 0.25s ease;
    }
    .mobile-menu-secondary a:hover { color: var(--white); }
    .mobile-menu-secondary a:focus-visible { color: var(--white); } /* règle à part : un navigateur qui ne connaît pas :focus-visible ignorerait toute la liste */
    .mobile-menu-secondary a:hover::after { transform: translateX(3px); }

    /* Lien vers l'autre langue dans le menu du téléphone : en français il suit la ligne des pages de service (même écart que le reste, d'où la marge qui annule l'espace entre les blocs) ;
       en néerlandais il prend la place de cette ligne (ces pages n'existent qu'en français) et garde la marge de la liste précédente. */
    .mobile-menu-secondary + .mobile-menu-lang { margin-top: -42px; }

    /* Choix de la langue : même ligne discrète que les pages de service, mais sans flèche (ce ne sont pas des pages) ; la langue de la page est en doré et n'est pas un lien. */
    .mobile-menu-lang a::after { content: none; }
    .mobile-menu-lang span {
      display: inline-flex; align-items: center; min-height: 44px;
      color: var(--gold-light); font-size: 15px; letter-spacing: 0.02em;
    }

    .mobile-menu-footer {
      margin-top: auto;
      padding-top: 24px;
      border-top: 1px solid rgba(201,168,76,0.22);
      color: rgba(255,255,255,0.52);
      font-size: 16px;
      line-height: 1.7;
    }

    /* Boutons « Appeler » (doré) et « WhatsApp » (contour) sous les liens. Côte à côte quand la place le permet, l'un sous l'autre sur téléphone.
       Marge plutôt que « gap » entre le picto et le texte : les anciens iPhone (avant iOS 14.1) ne connaissent pas « gap » sur les boîtes flex. */
    .mobile-menu-actions { display: flex; flex-wrap: wrap; gap: 12px; }
    .mobile-menu .mobile-menu-actions a { /* « .mobile-menu » en plus : pages.css redéfinit a.btn-primary et a.btn-outline avec le même poids et se charge après */
      flex: 1 1 220px; display: flex; align-items: center; justify-content: center;
      min-height: 54px; padding: 16px 20px; box-sizing: border-box; text-align: center; text-decoration: none;
    }
    .menu-action { display: inline-flex; align-items: center; justify-content: center; }
    .menu-icon { width: 18px; height: 18px; flex: none; margin-right: 10px; fill: currentColor; }
    .svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; } /* même règle que dans pages.css : l'accueil ne charge pas ce fichier */

    /* ═══════════════════════════════════════
       PAGE 1 — ACCUEIL
    ═══════════════════════════════════════ */

    /* ── HERO ── */
    .hero {
      position: relative; height: 100vh; min-height: 680px;
      display: flex; align-items: center; justify-content: center;
      overflow: hidden;
    }

        .hero-bg {
          position: absolute; inset: 0;
          background:
            linear-gradient(to bottom, rgba(15,14,12,0.65) 0%, rgba(15,14,12,0.3) 50%, rgba(15,14,12,0.85) 100%),
                url("../img/hero-bmw-m1.jpg") center/cover no-repeat;
          transform: scale(1.04);
          transition: transform 8s ease;
        }
        @supports (aspect-ratio: 1 / 1) {
          .hero-bg {
            background:
              linear-gradient(to bottom, rgba(15,14,12,0.65) 0%, rgba(15,14,12,0.3) 50%, rgba(15,14,12,0.85) 100%),
                  url("../img/hero-bmw-m1.webp") center/cover no-repeat;
          }
        }
    .hero:hover .hero-bg { transform: scale(1); }
    /* Téléphone tenu à la verticale : version recadrée au centre de la photo (même cadrage, 40 % de poids en moins).
       À garder en phase avec la balise de préchargement de public/site/index.html (mêmes conditions). */
    @media (max-width: 600px) and (max-aspect-ratio: 5/8) {
      .hero-bg {
        background-image:
          linear-gradient(to bottom, rgba(15,14,12,0.65) 0%, rgba(15,14,12,0.3) 50%, rgba(15,14,12,0.85) 100%),
          url("../img/hero-bmw-m1-telephone.jpg");
      }
      @supports (aspect-ratio: 1 / 1) {
        .hero-bg {
          background-image:
            linear-gradient(to bottom, rgba(15,14,12,0.65) 0%, rgba(15,14,12,0.3) 50%, rgba(15,14,12,0.85) 100%),
            url("../img/hero-bmw-m1-telephone.webp");
        }
      }
    }

    .hero-content {
      position: relative; z-index: 2;
      text-align: center; padding: 86px 40px 0;
      max-width: 980px;
      animation: heroFadeIn 1.2s ease both;
    }

    @keyframes heroFadeIn {
      from { opacity: 0; transform: translateY(30px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .hero-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(48px, 6vw, 82px);
      font-weight: 600; line-height: 1.07;
      color: var(--white);
      letter-spacing: -0.01em;
      margin-bottom: 24px;
      animation: heroFadeIn 1.2s 0.4s ease both;
    }
    .hero-title em {
      font-style: italic;
      color: var(--gold-light);
      display: inline-block;
      white-space: nowrap;
    }

    .titre-gold {
      font-style: italic;
      color: var(--gold-light);
      display: inline-block;
      white-space: nowrap;
    }

    .hero-buttons {
      display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
      animation: heroFadeIn 1.2s 0.8s ease both;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--gold), var(--gold-dark));
      color: var(--black);
      padding: 14px 34px;
      font-family: 'Outfit', sans-serif;
      font-size: 12px; font-weight: 600;
      letter-spacing: 0.18em; text-transform: uppercase;
      border: none; cursor: pointer;
      transition: all 0.35s ease;
      position: relative; overflow: hidden;
    }
    .btn-primary::before {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(135deg, var(--gold-light), var(--gold));
      opacity: 0; transition: opacity 0.3s;
    }
    .btn-primary:hover::before { opacity: 1; }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,168,76,0.4); }
    .btn-primary span { position: relative; z-index: 1; }

    .btn-outline {
      background: transparent;
      color: var(--white);
      padding: 13px 34px;
      font-family: 'Outfit', sans-serif;
      font-size: 12px; font-weight: 600;
      letter-spacing: 0.18em; text-transform: uppercase;
      border: 1px solid rgba(255,255,255,0.4); cursor: pointer;
      transition: all 0.35s ease;
    }
    .btn-outline:hover {
      border-color: var(--gold);
      color: var(--gold);
      transform: translateY(-2px);
    }

    .hero-scroll {
      position: absolute;
      bottom: 40px;
      right: 48px;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      justify-content: center;
      gap: 8px;
      width: max-content;
      text-align: right;
      color: rgba(255,255,255,0.7); font-size: 11px; letter-spacing: 0.3em;
      text-transform: uppercase; animation: heroFadeIn 1.2s 1.2s ease both;
    }
    .hero-scroll-line {
      width: 1px;
      height: 48px;
      background: linear-gradient(to bottom, var(--gold), transparent);
      animation: scrollPulse 2s infinite;
      align-self: flex-end;
      transform: none;
    }
    .hero-scroll-label {
      display: block;
      text-align: right;
      align-self: flex-end;
      padding-left: 0;
      transform: none;
    }
        @keyframes scrollPulse {
          0%, 100% { opacity: 0.3; transform: scaleY(1); }
          50% { opacity: 1; transform: scaleY(0.7); }
        }

        /* ── HERO STATS ── */
        .hero-stats-section {
          padding: 0 clamp(28px, 4vw, 60px) 82px;
          background:
            linear-gradient(to bottom, var(--white) 0%, var(--off-white) 100%);
        }

        .hero-stats-grid {
          max-width: 1220px;
          margin: -68px auto 0;
          display: grid;
          grid-template-columns: repeat(3, minmax(0, 1fr));
          gap: 28px;
          position: relative;
          z-index: 4;
        }

        .hero-stat-card {
          background: rgba(255,255,255,0.94);
          border: 1px solid rgba(201,168,76,0.22);
          box-shadow: 0 14px 38px rgba(15,14,12,0.10);
          border-radius: 28px;
          min-height: 250px;
          padding: 30px 30px 28px;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          position: relative;
          overflow: hidden;
        }

        .hero-stat-card::before {
          content: '';
          position: absolute;
          inset: 0;
          background:
            linear-gradient(140deg, rgba(255,255,255,0.86) 0%, rgba(248,246,242,0.98) 65%, rgba(226,201,126,0.12) 100%);
          pointer-events: none;
        }

        .hero-stat-card::after {
          content: '';
          position: absolute;
          left: 28px;
          right: 28px;
          top: 22px;
          height: 1px;
          background: linear-gradient(to right, rgba(160,120,48,0), rgba(160,120,48,0.55), rgba(160,120,48,0));
          pointer-events: none;
        }

        .hero-stat-inner {
          position: relative;
          z-index: 1;
          display: flex;
          flex-direction: column;
          gap: 18px;
          height: 100%;
        }

        .hero-stat-label {
          font-size: 11px;
          font-weight: 500;
          letter-spacing: 0.34em;
          text-transform: uppercase;
          color: var(--gold-ink);
        }

        .hero-stat-value {
          font-family: 'Cormorant Garamond', serif;
          font-size: clamp(42px, 3.6vw, 60px);
          font-weight: 600;
          line-height: 0.95;
          color: var(--black);
          letter-spacing: -0.03em;
        }

        .hero-stat-title {
          font-family: 'Cormorant Garamond', serif;
          font-size: 32px;
          font-weight: 400;
          color: var(--black);
          line-height: 1;
        }

        .hero-stat-copy {
          font-size: 16px;
          line-height: 1.35;
          color: var(--dark-gray);
          max-width: 260px;
        }

        .hero-stat-foot {
          padding-top: 18px;
          border-top: 1px solid rgba(201,168,76,0.22);
          font-size: 11px;
          letter-spacing: 0.22em;
          text-transform: uppercase;
          color: var(--gray);
        }

        /* ── SECTION VOITURES ── */
        #voitures {
          --rail-gutter: clamp(28px, 4vw, 60px); /* marge latérale de la section : la rangée de cartes la reprend (voir .stock-rail) */
          padding: 96px var(--rail-gutter);
          background: var(--off-white);
      position: relative;
    }

    .section-header {
      text-align: center; margin-bottom: 58px;
    }

    .section-eyebrow {
      display: inline-block;
      font-size: 11px; font-weight: 400;
      letter-spacing: 0.42em; text-transform: uppercase;
      color: var(--gold-ink); margin-bottom: 16px;
      position: relative;
    }
    .section-eyebrow::before, .section-eyebrow::after {
      content: '—'; margin: 0 12px; opacity: 0.5;
    }

    .section-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(36px, 4vw, 56px); font-weight: 300;
      color: var(--black); line-height: 1.15;
    }
    .section-title em { font-style: italic; color: var(--gold-ink); }

    .section-line {
      width: 60px; height: 1px;
      background: linear-gradient(to right, transparent, var(--gold), transparent);
      margin: 24px auto 0;
    }

    /* ── CARTES DU STOCK ──
       Une carte est un seul lien vers la fiche du véhicule : le titre porte le lien, étiré sur toute la carte.
       Les mêmes cartes servent sur l'accueil (injectées par site.js), dans la liste du stock et sous une fiche (HTML : resources/views/public/partials/vehicle-card.blade.php).
       Photo au format 4/3, celui des photos de Dan : affichée sans bande noire ni rognage important. */
    .car-card {
      position: relative;
      display: flex; flex-direction: column;
      background: var(--white);
      box-shadow: var(--shadow-card);
      transition: box-shadow 0.3s ease;
    }
    .car-card:hover, .car-card:focus-within { box-shadow: 0 16px 48px rgba(15,14,12,0.14); }
    .car-card:has(a:focus-visible) { outline: 2px solid var(--gold-ink); outline-offset: 2px; } /* le lien du titre couvre la carte : le clavier voit la carte entière entourée */

    .car-card-badge {
      position: absolute; top: 16px; left: 16px; z-index: 3; /* au-dessus du carrousel de photos (z-index 2) */
      background: linear-gradient(135deg, var(--gold), var(--gold-dark));
      color: var(--black); font-size: 11px; font-weight: 600;
      letter-spacing: 0.18em; text-transform: uppercase;
      padding: 5px 12px;
    }

    .car-card-media {
      position: relative; display: block; overflow: hidden; text-decoration: none;
      aspect-ratio: 4 / 3;
      background: var(--off-white);
    }
    .car-card-img {
      display: block; width: 100%; height: 100%; object-fit: cover;
      transition: transform 0.6s ease;
    }
    .car-card:hover .car-card-img { transform: scale(1.03); }
    .car-card-img--empty {
      display: flex; align-items: center; justify-content: center;
      background: var(--light-gray); color: var(--dark-gray); /* sur ce gris clair, --gray n'atteint que 4,2 : 1 */
      font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
    }
    .car-card:hover .car-card-img--empty { transform: none; }
    .car-card-count {
      position: absolute; right: 12px; bottom: 12px; z-index: 2;
      padding: 5px 10px; font-size: 12px; letter-spacing: 0.04em;
      background: rgba(15,14,12,0.78); color: var(--white);
    }

    /* Carrousel dans la carte (accueil, site.js) : toutes les photos du véhicule, défilement natif avec accroche, flèches à la souris, compteur « 3 / 27 ».
       Les coins restent droits, comme le reste de la carte. */
    .car-card-media--gallery { z-index: 2; } /* au-dessus du lien étiré du titre (z-index 1) : le doigt et le clic arrivent sur le carrousel, dont chaque photo mène à la fiche */
    .car-card-track {
      position: absolute; inset: 0;
      display: flex;
      overflow-x: auto; overflow-y: hidden;
      scroll-snap-type: x mandatory; scrollbar-width: none;
    }
    .car-card-track::-webkit-scrollbar { display: none; }
    .car-card-slide {
      position: relative; flex: 0 0 100%; min-width: 0; overflow: hidden;
      scroll-snap-align: start; scroll-snap-stop: always;
      background: var(--off-white);
    }
    .car-card-slide > a { position: absolute; inset: 0; display: block; }
    .car-card-media--gallery .car-card-count { pointer-events: none; font-variant-numeric: tabular-nums; }

    /* Flèches : mêmes boutons que la galerie de la fiche. Sur écran tactile on fait glisser (pas de flèches) ; à la souris elles apparaissent au survol. */
    .car-card-nav {
      position: absolute; top: 0; bottom: 0; margin: auto 0; z-index: 2;
      width: 40px; height: 52px; padding: 0;
      display: grid; place-items: center;
      border: 0; cursor: pointer;
      background: rgba(15,14,12,0.62); color: var(--white);
      opacity: 0; pointer-events: none;
      transition-property: opacity, background-color, color, scale;
      transition-duration: 0.15s;
      transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
      -webkit-tap-highlight-color: transparent;
    }
    .car-card-nav--prev { left: 0; }
    .car-card-nav--next { right: 0; }
    .car-card-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .car-card-nav:focus-visible:not(:disabled) { opacity: 1; pointer-events: auto; outline: 2px solid var(--gold); outline-offset: -4px; }
    .car-card-nav:not(:disabled):active { scale: 0.96; }
    @media (hover: hover) {
      .car-card:hover .car-card-nav:not(:disabled),
      .car-card-media:focus-within .car-card-nav:not(:disabled) { opacity: 1; pointer-events: auto; }
      .car-card-nav:not(:disabled):hover { background: var(--gold); color: var(--black); }
    }

    .car-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
    .car-card-model {
      font-family: 'Cormorant Garamond', serif; font-weight: 400;
      font-size: clamp(27px, 2.4vw, 31px); line-height: 1.15;
      color: var(--black); margin: 0 0 12px;
    }
    .car-card-model span { color: var(--gold-ink); font-style: italic; margin-left: 4px; }
    .car-card-model a { color: inherit; text-decoration: none; }
    .car-card-model a:hover { color: var(--gold-ink); }
    .car-card-model a::after { content: ''; position: absolute; inset: 0; z-index: 1; } /* toute la carte est cliquable */
    .car-card-facts {
      list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0;
      margin: 0 0 22px; padding: 0;
      font-size: 14px; color: var(--dark-gray);
    }
    .car-card-facts li + li::before {
      content: ''; display: inline-block; width: 1px; height: 11px;
      margin: 0 12px; vertical-align: -1px;
      background: var(--gold); opacity: 0.6;
    }
    .car-card-footer {
      margin-top: auto; padding-top: 18px; border-top: 1px solid var(--light-gray);
      display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    }
    .car-card-price {
      font-family: 'Cormorant Garamond', serif; font-weight: 600;
      font-size: 30px; line-height: 1; color: var(--black); margin: 0;
    }
    .car-card-more {
      font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
      color: var(--gold-ink); padding-bottom: 3px; border-bottom: 1px solid transparent;
      white-space: nowrap;
      transition: border-color 0.3s ease;
    }
    .car-card:hover .car-card-more, .car-card:focus-within .car-card-more { border-bottom-color: var(--gold-ink); }

    /* Rangée de l'accueil : jusqu'à six cartes, en VRAI carrousel horizontal à toutes les largeurs : une seule ligne qui défile
       (doigt, molette horizontale, flèches du clavier, boutons précédent/suivant). Elle ne passe jamais sur plusieurs lignes.
       Jusqu'à trois cartes : elles tiennent à l'écran et se centrent. Dès la quatrième (classe .stock-rail--many posée par site.js), la carte
       suivante dépasse pour montrer qu'il y en a d'autres. La barre de progression et les boutons (#stock-nav) apparaissent seulement si la rangée déborde. */
    .stock-rail { display: flex; gap: 20px; }
    .stock-info { max-width: 560px; margin: 0 auto; padding: 28px 24px; text-align: center; }
    .stock-info-title { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 28px; line-height: 1.2; color: var(--black); margin: 0 0 8px; }
    .stock-info-text { font-size: 15px; line-height: 1.6; color: var(--dark-gray); margin: 0; }
    .stock-info-text a { color: var(--gold-ink); text-decoration: underline; }
    .stock-rail > .stock-info { flex: 1 1 100%; }

    @media (max-width: 1023px) {
      .stock-rail {
        overflow-x: auto; overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory; scrollbar-width: none;
        margin-inline: calc(-1 * var(--rail-gutter, 24px));   /* la rangée va jusqu'aux bords de l'écran… */
        padding: 4px var(--rail-gutter, 24px) 28px;           /* …et commence au même endroit que le titre */
        scroll-padding-inline: var(--rail-gutter, 24px);
      }
      .stock-rail::-webkit-scrollbar { display: none; }
      .stock-rail > .car-card { flex: 0 0 clamp(300px, 42vw, 380px); scroll-snap-align: start; }
      /* Une ou deux cartes seulement : elles se centrent ; dès qu'il y en a plus que la largeur, les marges automatiques tombent à zéro et la rangée défile. */
      .stock-rail > .car-card:first-child { margin-left: auto; }
      .stock-rail > .car-card:last-child { margin-right: auto; }
    }
    @media (max-width: 700px) {
      .stock-rail > .car-card { flex-basis: min(84vw, 360px); }
    }
    /* Ordinateur, accueil : la rangée déborde jusqu'aux bords de l'écran mais ses cartes restent alignées sur une colonne de 1240 px au plus (--rail-pad). */
    @media (min-width: 1024px) {
      #voitures .stock-rail {
        --rail-pad: max(var(--rail-gutter), calc((100vw - 1240px) / 2));
        gap: 28px;
        overflow-x: auto; overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory; scrollbar-width: none;
        margin-inline: calc(-1 * var(--rail-gutter));
        margin-bottom: -32px;                                  /* le bas sert à l'ombre des cartes au survol : il ne doit pas creuser la page */
        padding: 8px var(--rail-pad) 60px;
        scroll-padding-inline: var(--rail-pad);
      }
      #voitures .stock-rail::-webkit-scrollbar { display: none; }
      #voitures .stock-rail > .car-card { flex: 0 0 calc((100% - 56px) / 3); margin: 0; scroll-snap-align: start; }
      #voitures .stock-rail--many > .car-card { flex-basis: calc((100% - 56px) / 3.2); }
      /* « Autres véhicules » d'une fiche : trois cartes au plus, sur une grille qui revient à la ligne. */
      .vehicle-others .stock-rail { flex-wrap: wrap; justify-content: center; gap: 28px; max-width: 1240px; margin: 0 auto; }
      .vehicle-others .stock-rail > .car-card { flex: 0 0 calc((100% - 56px) / 3); margin: 0; }
    }

    /* Navigation du carrousel : un trait de progression doré entre deux boutons ronds. Les boutons disparaissent sur les écrans tactiles (on fait glisser). */
    .stock-nav { display: flex; align-items: center; gap: 22px; max-width: 1240px; margin: 14px auto 0; }
    .stock-nav[hidden] { display: none; }
    .stock-nav-btn {
      flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      background: transparent; color: var(--gold-ink); border: 1px solid var(--gold);
      cursor: pointer; transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
    }
    .stock-nav-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
    .stock-nav-btn:hover { background: var(--gold); color: var(--black); }
    .stock-nav-btn:disabled { opacity: 0.3; cursor: default; background: transparent; color: var(--gold-ink); }
    .stock-nav-btn:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
    .stock-progress { flex: 1 1 auto; position: relative; height: 2px; background: rgba(15,14,12,0.12); }
    .stock-progress-bar { position: absolute; top: -1px; bottom: -1px; left: 0; width: 100%; background: var(--gold); transition: left 0.2s ease, width 0.2s ease; }
    @media (hover: none) and (pointer: coarse) {
      .stock-nav { justify-content: center; }
      .stock-nav-btn { display: none; }
      .stock-progress { flex: 0 1 200px; }
    }

    .option-tag {
      padding: 7px 12px;
      font-size: 12px;
      background: linear-gradient(135deg, rgba(248,246,241,0.98), rgba(255,255,255,1));
      border: 1px solid rgba(15,14,12,0.08);
      color: var(--dark-gray);
      font-weight: 300;
    }

        /* ── CONTACT RAPIDE ── */
        #contact-rapide {
          /* Le cadre doré et le contenu partent de la même variable : le texte reste toujours à l'intérieur du cadre. */
          --cr-frame: clamp(12px, 3.6vw, 56px);
          padding: 92px calc(var(--cr-frame) + clamp(22px, 3vw, 30px));
          background:
            linear-gradient(135deg, rgba(15,14,12,0.96) 0%, rgba(26,23,19,0.98) 42%, rgba(58,45,28,0.94) 100%),
            radial-gradient(circle at 16% 20%, rgba(226,201,126,0.18) 0%, transparent 34%),
            radial-gradient(circle at 82% 76%, rgba(160,120,48,0.22) 0%, transparent 38%),
            var(--black);
          position: relative; overflow: hidden;
        }
        #contact-rapide::before {
          content: '';
          position: absolute;
          inset: 0;
          background:
            repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.089) 0 1px, transparent 1px 62px);
          opacity: 0.42;
          pointer-events: none;
        }

        #contact-rapide::after {
          content: '';
          position: absolute;
          left: var(--cr-frame);
          right: var(--cr-frame);
          top: 30px;
          bottom: 30px;
          border: 1px solid rgba(201,168,76,0.12);
          box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
          pointer-events: none;
        }

        .contact-rapide-inner {
          max-width: 1100px; margin: 0 auto;
          display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 88px);
          align-items: center;
          position: relative;
          z-index: 1;
        }

    /* Colonne de gauche : tout est aligné sur le même bord gauche (eyebrow, accroche, phrase forte). */
    .contact-rapide-text { max-width: 520px; }
    /* Le sur-titre garde ses deux tirets comme tous les autres (« — Notre approche — ») : seule la couleur et la marge du bas changent ici. */
    .contact-rapide-text .section-eyebrow { color: var(--gold); margin-bottom: 22px; }
    .contact-rapide-text .section-line { margin: 20px 0 0; }

    .contact-rapide-heading {
      margin: 0;
      color: var(--white);
      font-family: 'Cormorant Garamond', serif;
      font-weight: 400;
      letter-spacing: -0.01em;
    }

    /* L'accroche (le contexte) est discrète ; la phrase forte porte le titre. Plus de lignes forcées : le texte se replie seul. */
    .contact-rapide-lead {
      display: block;
      font-size: clamp(21px, 2vw, 26px);
      line-height: 1.35;
      color: rgba(255,255,255,0.62);
      text-wrap: balance;
    }

    .contact-rapide-key {
      display: block;
      margin-top: 18px;
      font-size: clamp(36px, 3.7vw, 50px);
      line-height: 1.1;
      text-wrap: balance;
    }

    .contact-rapide-heading em {
      font-style: italic;
      color: var(--gold);
    }

    .contact-rapide-intro {
      font-size: 17px; line-height: 1.8; color: rgba(255,255,255,0.58);
      margin-top: 24px; font-weight: 300;
    }

    .contact-methods {
      display: flex; flex-direction: column; gap: 14px;
    }

        .contact-method {
          display: flex; align-items: center; gap: 20px;
          padding: 18px 26px;
          background: linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
          border: 1px solid rgba(226,201,126,0.15);
          box-shadow: 0 14px 38px rgba(0,0,0,0.16);
          -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
          transition: all 0.35s ease;
          text-decoration: none;
          cursor: pointer;
        }
        .contact-method:hover {
          background: linear-gradient(135deg, rgba(201,168,76,0.13), rgba(255,255,255,0.045));
          border-color: rgba(201,168,76,0.38);
          transform: translateX(6px);
        }

    .contact-method-icon {
      width: 46px; height: 46px; flex-shrink: 0;
      /*border: 1px solid rgba(201,168,76,0.3);*/
      display: flex; align-items: center; justify-content: center;
      font-size: 18px; color: var(--gold);
      transition: all 0.3s ease;
    }
    .contact-method-icon img {
      width: 44px;
      height: 44px;
      object-fit: contain;
      display: block;
    }
    .contact-method:hover .contact-method-icon {
      /*background: var(--gold); color: var(--black);*/
    }

    .contact-method-info { flex: 1; }
    .contact-method-label {
      font-size: 11px; color: rgba(255,255,255,0.6);
      letter-spacing: 0.26em; text-transform: uppercase; margin-bottom: 4px;
    }
    .contact-method-val {
      font-size: 15px; color: var(--white); font-weight: 400;
    }
    .contact-method-arrow {
      font-size: 16px; color: rgba(201,168,76,0.4);
      transition: all 0.3s ease;
    }
    .contact-method:hover .contact-method-arrow {
      color: var(--gold); transform: translateX(4px);
    }

    /* ── ABOUT / SERVICES ── */
    #apropos {
      padding: 96px clamp(28px, 4vw, 60px);
      background: var(--white);
    }

    .about-inner {
      max-width: 1100px; margin: 0 auto;
      display: grid; grid-template-columns: 5fr 7fr; gap: clamp(56px, 7vw, 92px);
      align-items: start;
    }

    .about-text {}

    .about-description {
      font-size: 16px; line-height: 1.9; color: var(--gray);
      margin-top: 28px; font-weight: 300;
    }
    .about-description strong { color: var(--black); font-weight: 500; }

    .about-signature {
      margin-top: 52px; padding-top: 36px;
      border-top: 1px solid var(--light-gray);
      display: flex; align-items: center; gap: 24px;
    }
    .about-signature-photo {
      width: 96px; height: 96px; border-radius: 50%;
      overflow: hidden;
      flex-shrink: 0;
      box-shadow: 0 8px 30px rgba(15,14,12,0.18);
      border: 2px solid rgba(201,168,76,0.28);
      background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    }
    .about-signature-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transform: scale(1.25) translateX(1px);
    }
    .about-signature-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 28px; font-weight: 400; color: var(--black);
      line-height: 1.1;
    }
    .about-signature-role {
      font-size: 14px; color: var(--gray); letter-spacing: 0.16em;
      text-transform: uppercase; margin-top: 6px;
    }

    .about-services {
      display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
    }

    .service-card {
      padding: 36px 32px;
      background: var(--off-white);
      transition: all 0.4s ease;
      position: relative; overflow: hidden;
    }

    .service-card::before {
      content: '';
      position: absolute; bottom: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(to right, var(--gold), var(--gold-dark));
      transform: scaleX(0); transform-origin: left;
      transition: transform 0.4s ease;
    }
    .service-card:hover { background: var(--white); box-shadow: var(--shadow-card); }
    .service-card:hover::before { transform: scaleX(1); }

    .service-icon {
      width: 30px;
      height: 30px;
      margin-bottom: 20px;
      display: block;
      object-fit: contain;
    }

    .service-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 20px; font-weight: 400;
      color: var(--black); margin-bottom: 10px;
    }

    .service-desc {
      font-size: 13px; line-height: 1.7; color: var(--gray); font-weight: 300;
    }

    .service-more {
      display: inline-block; margin-top: 4px; padding: 10px 0 4px; /* 28 px de haut au moins pour le doigt, le texte reste à sa place */
      font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
      color: var(--gold-ink); text-decoration: none;
      border-bottom: 1px solid transparent; transition: border-color 0.25s ease, color 0.25s ease;
    }
    .service-more:hover { color: var(--black); border-bottom-color: var(--gold); }
    .service-more:focus-visible { color: var(--black); border-bottom-color: var(--gold); }

    /* ── FORMULAIRE CONTACT ── */
    #formulaire {
      padding: 96px clamp(28px, 4vw, 60px);
      background: var(--off-white);
    }

    .form-inner {
      max-width: 800px; margin: 0 auto;
    }

    .form-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
      margin-top: 56px;
    }

    .form-group {
      display: flex; flex-direction: column; gap: 8px;
    }
    .form-group.full { grid-column: 1 / -1; }

    .form-label {
      font-size: 12px; font-weight: 500;
      letter-spacing: 0.16em; text-transform: uppercase;
      color: var(--dark-gray);
    }

    .form-input, .form-select, .form-textarea {
      background: var(--white);
      border: 1px solid var(--light-gray);
      padding: 16px 20px;
      font-family: 'Outfit', sans-serif;
      font-size: 14px; color: var(--black);
      transition: all 0.3s ease;
      outline: none;
      appearance: none;
    }
    .form-input:focus, .form-select:focus, .form-textarea:focus {
      border-color: var(--gold-ink);
      box-shadow: 0 0 0 3px rgba(138,101,34,0.22);
    }
    .form-textarea { resize: vertical; min-height: 120px; }

    .form-select-wrap { position: relative; }
    .form-select-wrap::after { display: none; }

    .form-submit-row {
      grid-column: 1 / -1; text-align: center; margin-top: 16px;
    }

    /* ── FOOTER ── */
    footer {
      background: var(--black);
      padding: 68px clamp(28px, 4vw, 60px) 0;
      color: rgba(255,255,255,0.6);
    }

    .footer-top {
      display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 60px; padding-bottom: 60px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .footer-brand strong {
      font-family: 'Cormorant Garamond', serif;
      font-size: 22px; color: var(--white); font-weight: 400;
      display: block; margin-bottom: 6px;
    }
    .footer-brand img {
      height: 42px;
      width: auto;
      display: block;
      margin-bottom: 10px;
    }
    .footer-brand small {
      font-size: 10px; letter-spacing: 0.26em;
      color: var(--gold); text-transform: uppercase;
    }
    .footer-brand p {
      font-size: 13px; line-height: 1.8; margin-top: 20px;
      font-weight: 300;
    }

    .footer-col-title {
      font-size: 11px; font-weight: 500;
      letter-spacing: 0.22em; text-transform: uppercase;
      color: var(--white); margin-bottom: 20px;
    }

    .footer-col ul { list-style: none; }
    .footer-col ul li {
      margin-bottom: 10px;
    }
    .footer-col ul li a {
      font-size: 13px; color: rgba(255,255,255,0.6);
      text-decoration: none; font-weight: 300;
      transition: color 0.3s;
    }
    .footer-col ul li a:hover { color: var(--gold); }

    .footer-hours {}
    .footer-hours-row {
      display: flex; justify-content: space-between;
      font-size: 12px; margin-bottom: 8px;
    }
    .footer-hours-day { color: rgba(255,255,255,0.6); font-weight: 300; }
    .footer-hours-time { color: rgba(255,255,255,0.8); font-weight: 400; }
    .footer-hours-row.closed .footer-hours-time { color: rgba(255,255,255,0.55); }

    .footer-bottom {
      padding: 24px 0;
      display: flex; align-items: center; justify-content: space-between;
      font-size: 12px; color: rgba(255,255,255,0.55);
    }

    .footer-legal a {
      color: rgba(255,255,255,0.6); text-decoration: none;
      transition: color 0.3s; margin-left: 24px;
    }
    .footer-legal a:hover { color: var(--gold); }

    /* Choix de la langue du pied de page : au milieu de la ligne du bas sur ordinateur, entre le copyright et les liens légaux sur téléphone. */
    .footer-lang a,
    .footer-lang span { padding: 12px 10px; font-size: 11px; letter-spacing: 0.14em; }
    .footer-lang a { color: rgba(255,255,255,0.6); }
    .footer-lang span { color: rgba(255,255,255,0.85); }
    .footer-lang a:hover { color: var(--gold); }
    .footer-lang a:focus-visible { color: var(--gold); }
    .footer-lang > * + *::before { color: rgba(255,255,255,0.18); }

    /* Crédit de la photo d'en-tête (licence CC BY-SA 2.0 : auteur, lien vers la licence, mention « recadrée »). Plus lisible que le reste du pied de page : c'est une obligation de la licence. */
    .footer-credit { display: block; margin-top: 6px; color: rgba(255,255,255,0.6); }
    .footer-credit a {
      color: inherit; text-decoration: underline; text-underline-offset: 2px;
      transition: color 0.3s;
    }
    .footer-credit a:hover { color: var(--gold); }

    /* ═══════════════════════════════════════
       PAGE 2 — CATALOGUE
    ═══════════════════════════════════════ */
    #page-catalogue {
      padding-top: 0;
    }

    .catalogue-hero {
      padding: 138px clamp(28px, 4vw, 60px) 74px;
      text-align: center;
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(15,14,12,0.96) 0%, rgba(26,23,19,0.98) 42%, rgba(58,45,28,0.94) 100%),
        radial-gradient(circle at 16% 20%, rgba(226,201,126,0.18) 0%, transparent 34%),
        radial-gradient(circle at 82% 76%, rgba(160,120,48,0.22) 0%, transparent 38%),
        var(--black);
    }
    .catalogue-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.089) 0 1px, transparent 1px 62px);
      opacity: 0.42;
      pointer-events: none;
    }
    .catalogue-hero > * {
      position: relative;
      z-index: 1;
    }
    .catalogue-hero .section-title { color: var(--white); }
    .catalogue-hero .section-eyebrow { color: var(--gold); }
    .catalogue-subtitle {
      font-size: 15px; color: rgba(255,255,255,0.65);
      margin-top: 12px; font-weight: 300;
    }

    .catalogue-filters {
      padding: 28px clamp(28px, 4vw, 60px);
      background: var(--off-white);
      display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
      border-bottom: 1px solid var(--light-gray);
    }

    .filter-label {
      font-size: 12px; color: var(--gray); letter-spacing: 0.16em;
      text-transform: uppercase; margin-right: 8px;
    }

    .filter-btn {
      padding: 8px 20px;
      border: 1px solid var(--light-gray); background: var(--white);
      font-size: 12px; font-weight: 400; letter-spacing: 0.1em;
      color: var(--dark-gray); cursor: pointer;
      transition: all 0.3s ease; font-family: 'Outfit', sans-serif;
    }
    .filter-btn.active, .filter-btn:hover {
      background: var(--black); color: var(--white);
      border-color: var(--black);
    }

    .catalogue-grid {
      padding: 52px clamp(28px, 4vw, 60px);
      display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 28px;
      background: var(--white);
      min-height: 60vh;
    }

    /* ───── REVEAL ANIMATIONS ───── */
    /* Les sections ne sont cachées que si boot.js (chargé en tête de page) a posé la classe « js » sur <html> : sans JavaScript, ou si les
       scripts ne se lisent pas sur ce navigateur, tout le contenu reste visible. Si site.js n'a pas démarré après 3 secondes, boot.js
       ajoute « reveal-all » et tout s'affiche (voir public/assets/js/boot.js). Une page ne doit jamais rester blanche. */
    .reveal {
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .js .reveal {
      opacity: 0; transform: translateY(32px);
    }
    .js .reveal.visible, .reveal-all .reveal {
      opacity: 1; transform: translateY(0);
    }

    /* ───── TOAST ───── */
    .toast {
      position: fixed; bottom: 32px; right: 32px; z-index: 3000;
      background: var(--black); color: var(--white);
      padding: 16px 24px; font-size: 13px;
      border-left: 3px solid var(--gold);
      transform: translateX(120%);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: transform 0.4s ease, opacity 0.3s ease, visibility 0.3s ease;
      max-width: 320px;
    }
    .toast.show {
      transform: translateX(0);
      opacity: 1;
      visibility: visible;
    }

    .back-to-top {
      position: fixed;
      right: 28px;
      bottom: 28px;
      z-index: 2925;
      width: 54px;
      height: 54px;
      border: 1px solid rgba(201,168,76,0.38);
      border-radius: 999px;
      background:
        radial-gradient(circle at 30% 30%, rgba(201,168,76,0.22), transparent 58%),
        rgba(15,14,12,0.84);
      color: var(--white);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      line-height: 1;
      cursor: pointer;
      box-shadow: 0 14px 34px rgba(15,14,12,0.22);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transform: translateY(10px);
      transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease, border-color 0.28s ease, background 0.28s ease;
    }
    .back-to-top:hover {
      border-color: rgba(201,168,76,0.62);
      background:
        radial-gradient(circle at 30% 30%, rgba(201,168,76,0.3), transparent 58%),
        rgba(15,14,12,0.94);
    }
    .back-to-top.show {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateY(0);
    }
    .back-to-top span {
      transform: translateY(-1px);
    }

    /* ───── COOKIE CONSENT ───── */
    .cookie-consent {
      position: fixed;
      left: 28px;
      right: 28px;
      bottom: 28px;
      z-index: 2950;
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      justify-items: end;
      pointer-events: none;
    }

    .cookie-consent-panel {
      width: min(100%, 460px);
      pointer-events: all;
      border: 1px solid rgba(201,168,76,0.28);
      background:
        radial-gradient(circle at top right, rgba(201,168,76,0.18), transparent 36%),
        linear-gradient(135deg, rgba(15,14,12,0.96), rgba(34,30,26,0.98));
      color: var(--white);
      box-shadow: 0 24px 70px rgba(15,14,12,0.32);
      transform: translateY(30px);
      opacity: 0;
      visibility: hidden;
      transition: transform 0.35s ease, opacity 0.3s ease, visibility 0.3s ease;
      overflow: hidden;
    }

    .cookie-consent.show .cookie-consent-panel {
      transform: translateY(0);
      opacity: 1;
      visibility: visible;
    }

    .cookie-consent-body {
      padding: 24px 24px 18px;
    }

    .cookie-consent-topline {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.56);
    }

    .cookie-consent-topline span:last-child {
      color: var(--gold-light);
    }

    .cookie-consent-title {
      margin-top: 14px;
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(30px, 4.4vw, 38px);
      font-weight: 500;
      line-height: 0.98;
      color: var(--white);
    }

    .cookie-consent-copy {
      margin-top: 14px;
      font-size: 13px;
      line-height: 1.75;
      color: rgba(255,255,255,0.72);
    }

    .cookie-consent-copy a {
      color: var(--gold-light);
      text-decoration: none;
      border-bottom: 1px solid rgba(226,201,126,0.32);
    }

    .cookie-consent-actions {
      margin-top: 18px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .cookie-consent-btn {
      appearance: none;
      border: 1px solid rgba(255,255,255,0.16);
      background: rgba(255,255,255,0.06);
      color: var(--white);
      padding: 12px 16px;
      font-family: 'Outfit', sans-serif;
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      cursor: pointer;
      transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
    }

    .cookie-consent-btn:hover {
      transform: translateY(-1px);
      border-color: rgba(201,168,76,0.48);
    }

    .cookie-consent-btn.primary {
      background: linear-gradient(135deg, var(--gold-light), var(--gold));
      border-color: transparent;
      color: var(--black);
      font-weight: 600;
    }

    .cookie-consent-btn.secondary {
      background: transparent;
      color: rgba(255,255,255,0.86);
    }

    .cookie-consent-btn.link {
      background: transparent;
      border-color: transparent;
      color: var(--gold-light);
      padding-left: 0;
      padding-right: 0;
    }

    .cookie-consent-details {
      max-height: 0;
      overflow: hidden;
      border-top: 1px solid transparent;
      transition: max-height 0.35s ease, border-color 0.35s ease, margin-top 0.35s ease, padding-top 0.35s ease;
      margin-top: 0;
      padding-top: 0;
    }

    .cookie-consent-panel.details-open .cookie-consent-details {
      max-height: 320px;
      margin-top: 18px;
      padding-top: 18px;
      border-color: rgba(255,255,255,0.08);
    }

    .cookie-consent-option {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      padding: 12px 0;
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .cookie-consent-option:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    .cookie-consent-option-copy strong {
      display: block;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--white);
    }

    .cookie-consent-option-copy p {
      margin-top: 6px;
      font-size: 12px;
      line-height: 1.65;
      color: rgba(255,255,255,0.62);
      max-width: 270px;
    }

    .cookie-switch {
      position: relative;
      flex-shrink: 0;
      width: 52px;
      height: 31px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.12);
      background: rgba(255,255,255,0.08);
      cursor: pointer;
      transition: background 0.25s ease, border-color 0.25s ease;
    }

    .cookie-switch::after {
      content: '';
      position: absolute;
      top: 4px;
      left: 4px;
      width: 21px;
      height: 21px;
      border-radius: 50%;
      background: var(--white);
      transition: transform 0.25s ease;
    }

    .cookie-switch input {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }

    .cookie-switch.active {
      background: rgba(201,168,76,0.28);
      border-color: rgba(201,168,76,0.42);
    }

    .cookie-switch.active::after {
      transform: translateX(21px);
      background: var(--gold-light);
    }

    .cookie-switch.locked {
      cursor: default;
      background: rgba(201,168,76,0.18);
      border-color: rgba(201,168,76,0.28);
    }

    .cookie-switch.locked::after {
      transform: translateX(21px);
      background: var(--gold);
    }

    .cookie-consent-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 0 24px 22px;
      font-size: 12px;
      color: rgba(255,255,255,0.6);
    }

    .cookie-consent-footer button {
      appearance: none;
      border: none;
      background: none;
      color: var(--gold-light);
      font: inherit;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      cursor: pointer;
    }

    /* ───── RESPONSIVE ───── */
    @media (max-width: 1200px) {
      nav {
        padding: 0 28px;
      }

      .hero-content {
        max-width: 880px;
        padding-top: 96px;
      }

      .hero-title {
        font-size: clamp(44px, 6.6vw, 72px);
      }

      .contact-rapide-inner,
      .about-inner {
        gap: 44px;
      }

      .footer-top {
        gap: 36px;
        grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
      }
    }

    @media (max-width: 1024px) {
      nav {
        height: 92px;
        padding: 0 24px;
      }

      nav.scrolled {
        height: 74px;
      }

      .nav-logo,
      nav.scrolled .nav-logo {
        margin-top: 0;
      }

      .nav-logo img {
        height: 60px;
      }

      .nav-links {
        gap: 22px;
      }

      .nav-links a {
        font-size: 12px;
        letter-spacing: 0.13em;
      }

      .nav-cta {
        padding: 11px 18px !important;
      }

      .hero {
        min-height: 760px;
      }

      .hero-content {
        max-width: 760px;
        padding: 88px 28px 0;
      }

      .hero-title {
        font-size: clamp(42px, 7vw, 64px);
        line-height: 1.02;
      }

      .hero-scroll {
        bottom: 28px;
      }

      #voitures,
      #apropos,
      #formulaire {
        padding: 84px 24px;
      }
      #contact-rapide { padding-top: 84px; padding-bottom: 84px; }
      #voitures { --rail-gutter: 24px; }

      .contact-rapide-inner,
      .about-inner {
        grid-template-columns: 1fr;
        gap: 44px;
      }

      .about-text .section-title {
        max-width: 760px;
      }

      .contact-rapide-text { max-width: 640px; }

      .about-services {
        grid-template-columns: 1fr 1fr;
      }

      .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 34px;
      }

      .catalogue-hero,
      .catalogue-filters,
      .catalogue-grid {
        padding-left: 24px;
        padding-right: 24px;
      }

      .catalogue-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 900px) {
      nav {
        height: 82px;
        padding: 0 20px;
      }

      nav.scrolled {
        height: 70px;
      }

      .nav-links {
        display: none;
      }

      .nav-burger {
        display: flex;
      }

      .mobile-menu {
        display: block;
      }

      .cookie-consent {
        left: 16px;
        right: 16px;
        bottom: 16px;
      }

      .cookie-consent-panel {
        width: 100%;
      }

      .cookie-consent-actions {
        flex-direction: column;
      }

      .cookie-consent-btn,
      .cookie-consent-btn.link {
        width: 100%;
        justify-content: center;
        text-align: center;
      }

      .cookie-consent-footer {
        flex-direction: column;
        align-items: flex-start;
      }

      .hero {
        min-height: 700px;
      }

      .hero-content {
        max-width: 680px;
        padding: 74px 24px 0;
      }

      .hero-title {
        font-size: clamp(40px, 11vw, 58px);
      }

      .hero-buttons {
        gap: 14px;
      }

      .hero-stats-section {
        padding: 0 24px 72px;
      }

      .hero-stats-grid {
        margin-top: -40px;
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .hero-stat-card {
        min-height: auto;
        padding: 28px 24px;
        border-radius: 26px;
      }

      .hero-stat-copy {
        max-width: none;
        font-size: 16px;
      }

      .about-services {
        grid-template-columns: 1fr;
      }

      /* Une seule colonne (tablette portrait, téléphone) : « Aide administrative » passe avant « Présentation & contrôle », pour que les icônes alternent
         noir / or (les dessins sont : achat noir, vente or, contrôle or, administratif noir, conseil noir, dépôt-vente or). Ordre affiché :
         Achat, Vente, Aide administrative, Présentation & contrôle, Conseil, Dépôt-vente. Les trois cartes « order: 1 » viennent après les autres, dans leur ordre. */
      .about-services .service-card:nth-child(3),
      .about-services .service-card:nth-child(n+5) {
        order: 1;
      }

      .form-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 700px) {
      .mobile-menu-inner {
        min-height: 100%;
        padding: 96px 20px 24px;
        justify-content: flex-start;
        gap: 22px;
      }

      .mobile-menu-links a {
        padding: 14px 0;
        font-size: clamp(24px, 9vw, 34px);
      }

      .mobile-menu-links {
        gap: 10px;
      }

      .mobile-menu-secondary {
        margin-top: -14px;
      }

      .mobile-menu-secondary + .mobile-menu-lang {
        margin-top: -22px;
      }

      .mobile-menu-footer {
        margin-top: 18px;
        padding-top: 18px;
        font-size: 15px;
        line-height: 1.6;
      }

      .hero {
        min-height: 100svh;
      }

      .hero-bg {
        background-position: 58% center;
        transform: scale(1.02);
      }

      .hero-content {
        max-width: 100%;
        padding: 82px 18px 90px;
      }

      .hero-title {
        font-size: clamp(34px, 10.4vw, 48px);
        line-height: 0.98;
        margin-bottom: 18px;
      }

      .titre-gold,
      .hero-title em {
        white-space: normal;
      }

      .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
      }

      .btn-primary,
      .btn-outline {
        width: min(100%, 320px);
        margin: 0 auto;
        padding: 14px 18px;
        text-align: center;
      }

      .hero-scroll {
        bottom: 26px;
        letter-spacing: 0.22em;
        font-size: 11px;
        white-space: nowrap;
      }

      .hero-scroll-line {
        height: 34px;
      }

      #voitures,
      #apropos,
      #formulaire {
        padding: 72px 18px;
      }
      #contact-rapide { padding-top: 72px; padding-bottom: 72px; }
      #voitures { --rail-gutter: 18px; }

      .section-header {
        margin-bottom: 42px;
      }

      .section-title {
        font-size: clamp(31px, 10vw, 42px);
        line-height: 1.08;
      }

      .section-eyebrow {
        letter-spacing: 0.26em;
      }

      .about-text .section-title {
        text-align: left;
      }

      .contact-rapide-lead { font-size: clamp(18px, 5.2vw, 22px); }
      .contact-rapide-key { margin-top: 14px; font-size: clamp(30px, 9vw, 40px); overflow-wrap: break-word; }

      .contact-method {
        gap: 14px;
        padding: 16px 16px;
      }

      .contact-method-icon {
        width: 42px;
        height: 42px;
      }

      .contact-method-icon img {
        width: 32px;
        height: 32px;
      }

      .contact-method-val {
        font-size: 14px;
        line-height: 1.45;
      }

      .about-description {
        font-size: 15px;
        line-height: 1.75;
      }

      .about-signature {
        gap: 16px;
        margin-top: 36px;
        padding-top: 28px;
      }

      .about-signature-photo {
        width: 82px;
        height: 82px;
      }

      .service-card {
        padding: 28px 22px;
      }

      .form-grid {
        margin-top: 38px;
        gap: 16px;
      }

      .form-input,
      .form-select,
      .form-textarea {
        padding: 15px 16px;
      }

      /* Téléphone : le bloc marque en haut sur toute la largeur, puis
         Navigation à gauche et Légal à droite (2 colonnes), puis les
         heures d'ouverture sur toute la largeur en dessous. */
      .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px;
        padding-bottom: 36px;
      }

      .footer-brand,
      .footer-col-hours,
      .footer-col-contact {
        grid-column: 1 / -1;
      }

      .footer-col ul li a {
        display: inline-block;
        line-height: 1.5;
      }

      .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
      }

      /* Zones tactiles de 44 px et plus : le remplissage grandit, la marge négative le reprend, les lettres ne bougent pas. */
      .footer-lang { margin: -17px 0; }

      .footer-lang a,
      .footer-lang span { padding: 17px 12px; }

      .footer-lang > :first-child { padding-left: 0; }

      .footer-legal {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 16px;
      }

      .footer-legal a {
        margin-left: 0;
      }

      .catalogue-hero,
      .catalogue-filters,
      .catalogue-grid {
        padding-left: 18px;
        padding-right: 18px;
      }

      .catalogue-filters {
        gap: 10px;
      }

      .filter-label {
        width: 100%;
        margin-right: 0;
      }

      .filter-btn {
        flex: 1 1 calc(50% - 10px);
        text-align: center;
        min-width: 0;
      }

      .catalogue-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-top: 34px;
      }

      .toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
      }

      .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 50px;
        height: 50px;
        font-size: 22px;
      }
    }

    @media (max-width: 480px) {
      nav {
        padding: 0 14px;
        height: 78px;
      }

      nav.scrolled {
        height: 66px;
      }

      .nav-logo img {
        height: 52px;
      }

      .nav-burger {
        width: 44px;
        height: 44px;
      }

      .hero-content {
        padding: 76px 14px 88px;
      }

      .hero-title {
        font-size: clamp(30px, 9.6vw, 40px);
      }

      .hero-buttons {
        gap: 10px;
      }

      .btn-primary,
      .btn-outline {
        width: min(100%, 290px);
        padding: 13px 16px;
        font-size: 12px;
        letter-spacing: 0.12em;
      }

      .hero-scroll {
        bottom: 18px;
        font-size: 11px;
        letter-spacing: 0.18em;
      }

      .hero-scroll-line {
        height: 28px;
      }

      .section-title {
        font-size: clamp(28px, 9vw, 36px);
      }

      .contact-rapide-key { font-size: clamp(28px, 9.4vw, 36px); }

      .contact-method {
        align-items: center;
      }

      .contact-method-arrow {
        display: none;
      }

      .footer-hours-row {
        flex-direction: column;
        gap: 3px;
      }

      .filter-btn {
        flex-basis: 100%;
      }

      .cookie-consent-body {
        padding: 20px 18px 16px;
      }

      .cookie-consent-footer {
        padding: 0 18px 18px;
      }
    }

/* ═══════════════ V3 — ajouts : accessibilité, formulaire, états vides ═══════════════ */

/* Lien d'évitement (clavier / lecteur d'écran) */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 5000;
  background: var(--gold); color: var(--black);
  padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Indicateur de focus clavier visible partout */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold-ink); /* 5,3 : 1 sur blanc : le repère se voit sur fond clair (l'or #C9A84C n'y atteignait que 2,3 : 1) */
  outline-offset: 3px;
}
/* Sur les zones noires, l'or clair reste le plus lisible (règle à part par sélecteur : un navigateur qui ne connaît pas :focus-visible ignorerait toute la liste) */
nav a:focus-visible, nav button:focus-visible,
.mobile-menu a:focus-visible, .mobile-menu button:focus-visible,
footer a:focus-visible, footer button:focus-visible,
.hero a:focus-visible, .hero button:focus-visible,
.contact-rapide a:focus-visible, .contact-rapide button:focus-visible,
.catalogue-hero a:focus-visible, .catalogue-hero button:focus-visible,
.cookie-consent a:focus-visible, .cookie-consent button:focus-visible, .cookie-consent input:focus-visible,
.service-hero a:focus-visible, .service-hero button:focus-visible,
.service-cta a:focus-visible, .service-cta button:focus-visible,
.vehicle-band a:focus-visible, .back-to-top:focus-visible, .toast a:focus-visible {
  outline-color: var(--gold);
}

/* Champ piège anti-spam : invisible pour un humain, rempli par les robots */
.hp-field {
  position: absolute !important; left: -10000px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

/* Mention de confidentialité sous le formulaire */
.form-legal {
  grid-column: 1 / -1;
  font-size: 12px; line-height: 1.6; color: var(--gray);
}
.form-legal a { color: var(--gold-ink); text-decoration: underline; }

/* Message de confirmation ou d'erreur sous le formulaire de contact (AUDIT § 28) : il reste affiché jusqu'au prochain envoi, alors que la
   bulle du coin (.toast) disparaît après 5 s. Vide, il ne prend aucune place (mais reste dans la page : les lecteurs d'écran l'annoncent). */
.form-feedback { max-width: 560px; margin: 0 auto; text-align: left; }
.form-feedback[data-state] {
  margin-bottom: 18px; padding: 14px 18px;
  font-size: 14px; line-height: 1.6; color: var(--black);
  background: var(--white); border-left: 3px solid var(--gold);
}
.form-feedback[data-state="error"] { border-left-color: #b3261e; }
.form-feedback p + p { margin-top: 6px; }
.form-input[aria-invalid="true"], .form-select[aria-invalid="true"], .form-textarea[aria-invalid="true"] { border-color: #b3261e; }

/* Bandeau des cookies sur téléphone, compacté (AUDIT § 28) : à la première visite il prenait 57 % de la hauteur d'un écran de 844 px et cachait le
   titre du héros et ses deux boutons. Mêmes textes, mêmes choix : seuls la taille, la disposition (les deux boutons principaux côte à côte) et
   le bouton « Enregistrer mes préférences » (inutile tant que le détail est fermé) changent. Plus de place pour la page, même clic pour refuser. */
@media (max-width: 700px) {
  .cookie-consent-topline { display: none; }
  .cookie-consent-body { padding: 16px 16px 12px; }
  .cookie-consent-title { margin-top: 0; font-size: 23px; line-height: 1.1; }
  .cookie-consent-copy { margin-top: 8px; font-size: 12.5px; line-height: 1.55; }
  .cookie-consent-actions { flex-direction: row; gap: 8px; margin-top: 12px; }
  .cookie-consent-btn { flex: 1 1 calc(50% - 4px); width: auto; padding: 12px 6px; font-size: 10.5px; letter-spacing: 0.1em; }
  .cookie-consent-btn.link { flex-basis: 100%; min-height: 40px; padding-top: 8px; padding-bottom: 8px; }
  .cookie-consent-footer { padding: 0 16px 14px; font-size: 10.5px; }
  .cookie-consent-panel:not(.details-open) .cookie-consent-footer button { display: none; }
}

/* ── Héros : place gardée par les deux anciennes lignes de texte ─────────────────────────────────────────────────────────────
   Le héros contenait deux phrases rendues invisibles (« Achat · Vente · Dépôt-vente à Tournai » au-dessus du titre, un paragraphe
   d'introduction en dessous). Elles ont été supprimées le 17/11/2026, mais comme le contenu du héros est centré en hauteur, retirer
   leur place aurait fait descendre le titre. On garde donc leur encombrement, sans texte : « margin-top » du titre = l'ancienne ligne
   du haut, « padding-top » des boutons = l'ancien paragraphe (2 à 4 lignes selon la largeur). Les nombres sont les hauteurs mesurées
   de l'ancien texte, par largeur d'écran ; ils ne dépendent plus d'aucun texte. Si le titre ou les boutons doivent bouger, c'est ici.
   Les deux écritures « 103px puis calc(clamp()) » donnent un repli aux navigateurs sans clamp() (avant Safari 13.1). */
.hero-title { margin-top: 35px; }
.hero-buttons { padding-top: 103px; padding-top: calc(3.4 * clamp(15px, 1.5vw, 18px) + 42px); }
@media (max-width: 1024px) { .hero-buttons { padding-top: 85px; padding-top: calc(3.4 * clamp(15px, 1.5vw, 18px) + 34px); } }
@media (max-width: 700px) { .hero-title { margin-top: 28px; } .hero-buttons { padding-top: 69.4px; } }
@media (max-width: 515px) { .hero-buttons { padding-top: 91.1px; } }
@media (max-width: 480px) { .hero-buttons { padding-top: 66.3px; } }
@media (max-width: 473px) { .hero-buttons { padding-top: 86.4px; } }
@media (max-width: 360px) { .hero-buttons { padding-top: 106.6px; } }
@media (max-width: 347px) { .hero-title { margin-top: 42px; } }

/* Bandeau affiché si JavaScript est désactivé */
.noscript-banner {
  background: var(--black); color: var(--white);
  padding: 14px 20px; font-size: 14px; text-align: center;
}
.noscript-banner a { color: var(--gold-light); }

/* Respect de la préférence « réduire les animations » */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-bg { transform: none; }
}

/* La rangée de cartes de l'accueil va jusqu'aux bords de l'écran (marges négatives) : on coupe ce débordement dans la section,
   sinon certains navigateurs mobiles élargissent la page et la « dézooment ». */
#voitures { overflow-x: hidden; }
@supports (overflow: clip) { #voitures { overflow-x: clip; } }

    /* ───── V3.1 — référencement : titres de cartes cliquables, lien « Voir tout le stock » ───── */
    [hidden] { display: none !important; }
    picture { display: contents; } /* les images WebP sont dans <picture> avec une version PNG/JPEG de secours : seule l'<img> compte pour la mise en page */

    .btn-outline-dark {
      display: inline-block; text-align: center; text-decoration: none;
      background: transparent; color: var(--black);
      padding: 13px 28px;
      font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 600;
      letter-spacing: 0.18em; text-transform: uppercase;
      border: 1px solid var(--black); cursor: pointer;
      transition: all 0.3s ease;
    }
    .btn-outline-dark:hover { background: var(--black); color: var(--white); transform: translateY(-2px); }

    .stock-cta { text-align: center; margin-top: 36px; }
.stock-help { max-width: 640px; margin: 44px auto 0; padding-top: 30px; border-top: 1px solid var(--light-gray); text-align: center; }
.stock-help-text { font-size: 16px; line-height: 1.7; color: var(--dark-gray); font-weight: 400; margin: 0; }
.stock-help-links { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
/* Deux boutons dorés d'emblée (comme « Demander… » ailleurs sur le site), texte noir. Au survol, un voile d'or plus clair apparaît en fondu (« isolation » + z-index -1 : le voile passe sous le texte) et le bouton se soulève. */
.stock-help-links a {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-block; padding: 12px 21px; border: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stock-help-links a::before {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  opacity: 0; transition: opacity 0.3s ease;
}
.stock-help-links a::after { content: '\00a0\2192'; color: var(--black); }
.stock-help-links a:hover::before { opacity: 1; }
.stock-help-links a:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,168,76,0.4); }
.stock-help-links a:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; }

/* ═══════════════ V3 — audit § 50 : champs à 16 px et zones tactiles ═══════════════ */

/* Safari sur iPhone zoome la page dès qu'on touche un champ dont le texte fait moins de 16 px, puis ne dézoome pas : 16 px sur téléphone et tablette (téléphone couché compris). */
@media (max-width: 1024px) {
  .form-input, .form-select, .form-textarea { font-size: 16px; }
}

/* Liens du pied de page : 24 px de haut au moins (WCAG 2.5.8), sans changer le rythme de la liste. */
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { display: inline-block; padding: 3px 0; }
.footer-legal a { display: inline-block; padding: 6px 0; }

/* Téléphone : environ 44 px de haut pour chaque lien du pied de page. */
@media (max-width: 700px) {
  .footer-col ul li { margin-bottom: 0; }
  .footer-col ul li a { padding: 13px 0; }
  .footer-legal a { padding: 15px 0; }
}
