/* ==========================================================================
   Garage-Carrosserie Gailloud SA — Feuille de style principale
   Palette : blanc (dominante), noir (encre), jaune (logo)
   Typo    : Futura PT (Light 300 → Heavy 900)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Polices
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Futura';
  src: url('../fonts/futura-300.woff') format('woff'),
       url('../fonts/futura-300.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Futura';
  src: url('../fonts/futura-400.woff') format('woff'),
       url('../fonts/futura-400.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Futura';
  src: url('../fonts/futura-500.woff') format('woff'),
       url('../fonts/futura-500.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Futura';
  src: url('../fonts/futura-600.woff') format('woff'),
       url('../fonts/futura-600.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Futura';
  src: url('../fonts/futura-700.woff') format('woff'),
       url('../fonts/futura-700.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Futura';
  src: url('../fonts/futura-900.woff') format('woff'),
       url('../fonts/futura-900.ttf') format('truetype');
  font-weight: 900; font-style: normal; font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs — le jaune est repris du logo Gailloud.
     👉 Une seule variable à ajuster si le jaune exact du logo diffère. */
  --jaune:        #fcb040;
  --jaune-fonce:  #d68f1e;
  --jaune-pale:   #fdecd0;

  --blanc:        #ffffff;
  --encre:        #0e0e0e;
  --encre-soft:   #1c1c1c;

  --gris-50:      #fafafa;
  --gris-100:     #f4f4f2;
  --gris-200:     #e9e9e5;
  --gris-300:     #dcdcd7;
  --gris-500:     #8d8d88;
  --gris-700:     #55554f;

  /* Typo */
  --font: 'Futura', 'Futura PT', 'Century Gothic', 'Avenir Next', system-ui, sans-serif;

  /* Rayons — Renault = rondeur généreuse ; Dacia = angle coupé */
  --r-xs: 0;
  --r-sm: 0;
  --r-md: 0;
  --r-lg: 0;
  --r-xl: 0;
  --chamfer: 26px;

  /* Rythme */
  --wrap: 1280px;
  --gap: 24px;
  --section-y: clamp(64px, 8vw, 128px);

  --shadow-sm: 0 2px 8px rgba(14,14,14,.06);
  --shadow-md: 0 12px 32px rgba(14,14,14,.10);
  --shadow-lg: 0 28px 64px rgba(14,14,14,.16);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.03em;
  text-transform: lowercase;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.65rem); letter-spacing: -.02em; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.015em; }

::selection { background: var(--jaune); color: var(--encre); }

:focus-visible {
  outline: 3px solid var(--jaune);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--encre); color: var(--blanc);
  padding: 12px 20px; border-radius: var(--r-sm);
  font-weight: 700; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   4. Utilitaires de mise en page
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.wrap--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 5vw, 80px); }
.section--gris { background: var(--gris-100); }
.section--noir { background: var(--encre); color: var(--blanc); }
.section--jaune { background: var(--jaune); color: var(--encre); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: lowercase;
  color: var(--gris-700);
}
.eyebrow::before {
  content: ''; width: 26px; height: 3px;
  background: var(--jaune); flex: none;
}
.section--noir .eyebrow { color: var(--gris-300); }
.section--jaune .eyebrow { color: var(--encre); }
.section--jaune .eyebrow::before { background: var(--encre); }

.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-weight: 400;
  color: var(--gris-700);
  max-width: 62ch;
}
.section--noir .lead { color: #b9b9b4; }
.section--jaune .lead { color: #5a4a00; }

.section-head { max-width: 780px; margin-bottom: clamp(36px, 4vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.hr-jaune { width: 64px; height: 5px; background: var(--jaune); border: 0; margin: 0 0 28px; }

/* --------------------------------------------------------------------------
   5. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  border: 2px solid transparent;
  border-radius: 0;
  font-family: var(--font);
  font-size: .88rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--noir   { background: var(--encre); color: var(--blanc); border-color: var(--encre); }
.btn--noir:hover { background: var(--jaune); color: var(--encre); border-color: var(--jaune); }

.btn--jaune  { background: var(--jaune); color: var(--encre); border-color: var(--jaune); }
.btn--jaune:hover { background: var(--encre); color: var(--blanc); border-color: var(--encre); }

.btn--ghost  { background: transparent; color: var(--encre); border-color: var(--encre); }
.btn--ghost:hover { background: var(--encre); color: var(--blanc); }

.btn--blanc  { background: var(--blanc); color: var(--encre); border-color: var(--blanc); }
.btn--blanc:hover { background: var(--jaune); border-color: var(--jaune); }

.btn--ghost-blanc { background: transparent; color: var(--blanc); border-color: rgba(255,255,255,.45); }
.btn--ghost-blanc:hover { background: var(--blanc); color: var(--encre); border-color: var(--blanc); }

.btn--sm { padding: 11px 22px; font-size: .8rem; }
.btn--full { width: 100%; }

.btn svg { width: 16px; height: 16px; flex: none; }

/* Lien fléché */
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .88rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--jaune);
  transition: gap .25s var(--ease);
}
.link-arrow:hover { gap: 18px; }
.link-arrow svg { width: 15px; height: 15px; }

/* --------------------------------------------------------------------------
   6. Barre utilitaire + En-tête
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--encre);
  color: #b9b9b4;
  font-size: .78rem;
  letter-spacing: .04em;
}
.topbar__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 40px; padding-block: 8px;
}
.topbar__list { display: flex; align-items: center; gap: 22px; list-style: none; flex-wrap: wrap; }
.topbar__list li { display: inline-flex; align-items: center; gap: 7px; }
.topbar__list svg { width: 14px; height: 14px; color: var(--jaune); flex: none; }
.topbar a:hover { color: var(--jaune); }
.topbar__social { display: flex; gap: 14px; }
.topbar__social svg { width: 16px; height: 16px; color: currentColor; }
.topbar__social a:hover svg { color: var(--jaune); }
@media (max-width: 900px) { .topbar__hide-sm { display: none; } }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--gris-200);
  transition: box-shadow .3s var(--ease);
}
.header.is-stuck { box-shadow: 0 6px 24px rgba(14,14,14,.08); }
.header__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 74px;
}

/* Logo officiel */
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { display: block; height: 34px; width: auto; }
.footer .brand__logo { height: 40px; }
@media (max-width: 640px) { .brand__logo { height: 30px; } }

/* Navigation */
.nav { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 11px;
  font-size: .92rem; font-weight: 600;
  letter-spacing: -.01em; text-transform: lowercase;
  border-radius: 0; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav__link:hover, .nav__item:focus-within > .nav__link { background: var(--gris-100); }
.nav__link[aria-current="page"] { color: var(--encre); }
.nav__link[aria-current="page"]::after {
  content: ''; position: absolute; left: 11px; right: 11px; bottom: 2px;
  height: 3px; background: var(--jaune); border-radius: 2px;
}
/* mots à garder tels quels malgré la mise en minuscules (marques, noms propres) */
.kw { text-transform: none; }
.nav__caret { width: 10px; height: 10px; transition: transform .2s var(--ease); }
.nav__item:hover .nav__caret, .nav__item:focus-within .nav__caret { transform: rotate(180deg); }

.nav__drop {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 260px; padding: 10px;
  background: var(--blanc);
  border: 1px solid var(--gris-200);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__item:hover .nav__drop,
.nav__item:focus-within .nav__drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__drop a {
  display: block; padding: 11px 14px; border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 500;
}
.nav__drop a:hover { background: var(--gris-100); }
.nav__drop a strong { display: block; font-weight: 700; }
.nav__drop a span { display: block; font-size: .78rem; color: var(--gris-500); }

.header__cta { display: flex; align-items: center; gap: 12px; flex: none; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--gris-300); background: var(--blanc);
  border-radius: 0; cursor: pointer;
  padding: 0; place-items: center;
}
.burger span {
  display: block; width: 20px; height: 2px; background: var(--encre);
  position: relative; transition: background .2s var(--ease);
}
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--encre);
  transition: transform .25s var(--ease), top .2s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* Menu mobile */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: var(--blanc);
  padding: 110px clamp(20px, 6vw, 40px) 40px;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform .4s var(--ease);
  visibility: hidden;
}
.mobile-nav.is-open { transform: translateY(0); visibility: visible; }
.mobile-nav__group { border-top: 1px solid var(--gris-200); padding: 6px 0; }
.mobile-nav__group:first-child { border-top: 0; }
.mobile-nav__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  font-size: 1.4rem; font-weight: 700; text-transform: lowercase;
  letter-spacing: -.02em;
}
.mobile-nav__link:hover { color: var(--jaune-fonce); }
/* bouton repliable */
.mobile-nav__toggle {
  width: 100%; background: none; border: 0; cursor: pointer;
  font-family: var(--font); color: inherit; text-align: left;
}
.mobile-nav__caret { width: 22px; height: 22px; flex: none; transition: transform .25s var(--ease); color: var(--gris-500); }
.mobile-nav__toggle[aria-expanded="true"] .mobile-nav__caret { transform: rotate(180deg); }
.mobile-nav__sub { list-style: none; padding: 2px 0 14px 16px; border-left: 3px solid var(--jaune); }
.mobile-nav__sub[hidden] { display: none; }
.mobile-nav__sub a { display: block; padding: 9px 0; font-weight: 500; font-size: 1.05rem; color: var(--gris-700); }
.mobile-nav__sub a:hover { color: var(--encre); }
.mobile-nav__foot { margin-top: 32px; display: grid; gap: 12px; }

@media (max-width: 1180px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: grid; }
  .header__cta { gap: 8px; }
}

/* --------------------------------------------------------------------------
   7. Hero — le sélecteur de marque (élément signature)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(48px, 6vw, 92px) clamp(56px, 7vw, 110px);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; z-index: 0;
  top: -180px; right: -160px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, var(--jaune-pale) 0%, rgba(255,255,255,0) 68%);
  pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__title { margin-bottom: 22px; }
.hero__title em {
  font-style: normal;
  display: block;
  color: var(--encre);
  position: relative;
  width: max-content;
  max-width: 100%;
}
.hero__title em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .1em;
  height: .16em; background: var(--jaune); z-index: -1;
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  margin: 30px 0 34px;
  list-style: none;
}
.hero__meta li {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .84rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
}
.hero__meta svg { width: 16px; height: 16px; color: var(--jaune-fonce); flex: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Les deux panneaux marque */
.switch {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.switch__line {
  position: absolute; inset: -40px -20px -40px -20px;
  z-index: 0; pointer-events: none;
  color: var(--jaune);
}
.brandcard {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 3 / 4.1;
  padding: 26px;
  overflow: hidden;
  color: var(--blanc);
  background: var(--encre);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  box-shadow: var(--shadow-md);
}
.brandcard::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 34%, rgba(0,0,0,.72) 100%);
}
.brandcard__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.brandcard:hover .brandcard__img { transform: scale(1.06); }
.brandcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.brandcard__body { position: relative; z-index: 2; }
.brandcard__name {
  font-size: 1.7rem; font-weight: 900;
  letter-spacing: -.02em; text-transform: lowercase;
  margin: 0 0 4px;
}
.brandcard__tag {
  font-size: .78rem; font-weight: 500; color: #d5d5d0;
  margin: 0 0 16px;
}
.brandcard__go {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.brandcard__go svg { width: 14px; height: 14px; color: var(--jaune); transition: transform .3s var(--ease); }
.brandcard:hover .brandcard__go svg { transform: translateX(5px); }
.brandcard__badge {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  background: var(--blanc); color: var(--encre);
  padding: 6px 13px; border-radius: 0;
  font-size: .64rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}

/* Renault = rondeur généreuse — Dacia = angle coupé (langage des deux marques) */
.brandcard--renault { border-radius: 0; }
.brandcard--renault .brandcard__badge { border-radius: 0; }
.brandcard--dacia {
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer)));
  margin-top: 40px;
}
.brandcard--dacia .brandcard__badge { border-radius: 0; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .brandcard { aspect-ratio: 3 / 3.6; }
  .brandcard--dacia { margin-top: 0; }
  .switch__line { display: none; }
}
@media (max-width: 520px) {
  .switch { grid-template-columns: 1fr; gap: 16px; }
  .brandcard { aspect-ratio: 16 / 10; }
}

/* --------------------------------------------------------------------------
   8. Bandeau d'accès rapide
   -------------------------------------------------------------------------- */
.quick { background: var(--encre); color: var(--blanc); }
.quick__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.quick__item {
  display: flex; align-items: center; gap: 18px;
  padding: 30px 28px;
  border-left: 1px solid rgba(255,255,255,.12);
  transition: background .3s var(--ease);
}
.quick__item:first-child { border-left: 0; }
.quick__item:hover { background: rgba(255,255,255,.05); }
.quick__ico {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 0;
  background: rgba(255,255,255,.08);
  transition: background .3s var(--ease);
}
.quick__item:hover .quick__ico { background: rgba(255,204,0,.14); }
.quick__ico svg { width: 22px; height: 22px; color: var(--jaune); transition: color .3s var(--ease); }
.quick__item:hover .quick__ico svg { color: var(--jaune); }
.quick__txt strong {
  display: block; font-size: 1rem; font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase;
}
.quick__txt span { display: block; font-size: .84rem; color: #a9a9a4; transition: color .3s var(--ease); }
.quick__item:hover .quick__txt span { color: #a9a9a4; }
@media (max-width: 900px) {
  .quick__grid { grid-template-columns: 1fr; }
  .quick__item { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .quick__item:first-child { border-top: 0; }
}

/* --------------------------------------------------------------------------
   9. Cartes de prestations
   -------------------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards, .cards--2, .cards--4 { grid-template-columns: 1fr; } }

/* Cartes modèle (emplacements image de la gamme) */
.model {
  display: flex; flex-direction: column;
  background: var(--blanc); border: 1px solid var(--gris-200);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.model:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gris-300); }
.model__media { aspect-ratio: 8 / 5; overflow: hidden; background: var(--gris-100); }
.model__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.model:hover .model__media img { transform: scale(1.05); }
.model__body { padding: 22px 22px 26px; }
.model__body h3 { margin: 0 0 8px; }
.model__body p { margin: 0; color: var(--gris-700); font-size: .95rem; line-height: 1.55; }

.card {
  display: flex; flex-direction: column;
  background: var(--blanc);
  border: 1px solid var(--gris-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gris-300); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gris-200); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--encre); color: var(--blanc);
  padding: 6px 12px; border-radius: 0;
  font-size: .64rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 10px; }
.card__body p { color: var(--gris-700); font-size: .95rem; flex: 1; }
.card__body .link-arrow { margin-top: 14px; align-self: flex-start; }

/* Carte "chiffre / atout" sans image */
.tile {
  padding: 32px 28px;
  background: var(--blanc);
  border: 1px solid var(--gris-200);
  border-radius: var(--r-lg);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.tile:hover { border-color: var(--jaune); transform: translateY(-4px); }
.tile__ico {
  width: 52px; height: 52px; margin-bottom: 20px;
  display: grid; place-items: center;
  background: var(--encre); border-radius: 0;
}
.tile__ico svg { width: 24px; height: 24px; color: var(--jaune); }
.tile h3 { font-size: 1.15rem; margin-bottom: 8px; }
.tile p { color: var(--gris-700); font-size: .93rem; margin: 0; }
.section--noir .tile { background: var(--encre-soft); border-color: rgba(255,255,255,.1); }
.section--noir .tile p { color: #a9a9a4; }
.section--noir .tile__ico { background: rgba(255,255,255,.07); }
.section--noir .tile__ico svg { color: var(--jaune); }

/* --------------------------------------------------------------------------
   10. Blocs texte + image
   -------------------------------------------------------------------------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 76px); align-items: center;
}
.split--reverse .split__media { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}
.split__media { position: relative; }
.split__media img {
  width: 100%; border-radius: var(--r-lg);
  aspect-ratio: 4 / 3; object-fit: cover;
}
.split__media--chamfer img {
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 36px 100%, 0 calc(100% - 36px));
}
.split__stamp {
  position: absolute; right: -14px; bottom: -14px;
  background: var(--jaune); color: var(--encre);
  border-radius: var(--r-md);
  padding: 18px 24px;
  box-shadow: var(--shadow-md);
}
.split__stamp strong { display: block; font-size: 2rem; font-weight: 900; line-height: 1; }
.split__stamp span {
  display: block; font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; margin-top: 5px;
}

/* Liste à puces jaunes */
.list-check { list-style: none; display: grid; gap: 12px; margin: 24px 0; }
.list-check li {
  display: flex; gap: 13px; align-items: flex-start;
  font-size: .97rem;
}
.list-check li::before {
  content: ''; flex: none;
  width: 20px; height: 20px; margin-top: 3px;
  border-radius: 50%;
  background: var(--jaune) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0e0e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.section--noir .list-check li { color: #d5d5d0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 22px 0; border-top: 3px solid var(--jaune); }
.stat strong {
  display: block; font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 900; line-height: 1; letter-spacing: -.03em;
}
.stat span {
  display: block; margin-top: 8px;
  font-size: .74rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gris-500);
}

/* --------------------------------------------------------------------------
   11. Hôtel des pneus (le grand moment jaune)
   -------------------------------------------------------------------------- */
.pneus { position: relative; overflow: hidden; }
.pneus__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
@media (max-width: 900px) { .pneus__grid { grid-template-columns: 1fr; } }
.pneus__price {
  display: flex; align-items: baseline; gap: 12px;
  margin: 8px 0 26px;
}
.pneus__price strong {
  font-size: clamp(3.6rem, 8vw, 6rem);
  font-weight: 900; line-height: .9; letter-spacing: -.04em;
  color: var(--jaune);
}
.pneus__price span {
  font-size: .84rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.pneus__card {
  background: var(--encre-soft); color: var(--blanc);
  border: 1px solid rgba(255,255,255,.12);
  padding: 34px;
}
.pneus__card h3 { color: var(--blanc); }
.pneus__card .list-check li { color: #d5d5d0; }
.pneus__card .list-check li::before { background-color: var(--jaune); }

/* --------------------------------------------------------------------------
   12. Processus (séquence réelle → la numérotation porte une information)
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 34px 26px 34px 0; }
.step::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--gris-200);
}
.step::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0; height: 3px; background: var(--jaune);
  transition: width .8s var(--ease);
}
.step.is-in::after { width: 100%; }
.step__no {
  display: block; margin-bottom: 14px;
  font-size: .8rem; font-weight: 700;
  letter-spacing: .18em; color: var(--jaune-fonce);
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--gris-700); margin: 0; }

/* --------------------------------------------------------------------------
   13. Bandeau sombre plein format
   -------------------------------------------------------------------------- */
.banner {
  position: relative; overflow: hidden;
  color: var(--blanc);
  background: var(--encre);
}
.banner__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .5;
}
.banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,14,14,.94) 0%, rgba(14,14,14,.72) 45%, rgba(14,14,14,.25) 100%);
}
.banner__in { position: relative; z-index: 2; padding-block: clamp(64px, 8vw, 120px); text-align: left; }
.banner__in > * { max-width: 620px; margin-left: 0; margin-right: auto; }
.banner h2 { color: var(--blanc); }
.banner p { color: #c8c8c3; }

/* --------------------------------------------------------------------------
   14. Avis clients
   -------------------------------------------------------------------------- */
.avis {
  display: flex; flex-direction: column;
  padding: 30px;
  background: var(--blanc);
  border: 1px solid var(--gris-200);
  border-radius: var(--r-lg);
  height: 100%;
}
.avis__stars { display: flex; gap: 3px; margin-bottom: 16px; }
.avis__stars svg { width: 17px; height: 17px; color: var(--jaune); }
.avis p { font-size: .97rem; color: var(--gris-700); flex: 1; }
.avis__who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avis__ini {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 0; background: var(--encre); color: var(--jaune);
  font-weight: 900; font-size: .9rem;
}
.avis__who strong { display: block; font-size: .92rem; }
.avis__who span { display: block; font-size: .76rem; color: var(--gris-500); }

/* --------------------------------------------------------------------------
   15. Contact, horaires, carte
   -------------------------------------------------------------------------- */
.info-list { list-style: none; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 15px; align-items: flex-start; }
.info-list svg { width: 20px; height: 20px; color: var(--jaune-fonce); flex: none; margin-top: 3px; }
.info-list strong {
  display: block; font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gris-500);
  margin-bottom: 2px;
}
.info-list a:hover { color: var(--jaune-fonce); }

.hours { list-style: none; display: grid; gap: 0; }
.hours li {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--gris-200);
  font-size: .93rem;
}
.hours li:last-child { border-bottom: 0; }
.hours strong { font-weight: 600; }
.hours span { color: var(--gris-700); text-align: right; }
.hours__title {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 6px;
  font-size: .74rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--encre);
}
.hours__title::before { content: ''; width: 18px; height: 3px; background: var(--jaune); }
.hours + .hours__title { margin-top: 30px; }
.section--noir .hours li { border-color: rgba(255,255,255,.12); }
.section--noir .hours span { color: #a9a9a4; }
.section--noir .hours__title { color: var(--blanc); }

/* Carte Google (chargée uniquement après consentement) */
.map {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--gris-100);
  border: 1px solid var(--gris-200);
}
.map iframe { width: 100%; height: 100%; border: 0; }
.map__hold {
  position: absolute; inset: 0;
  display: grid; place-items: center; align-content: center; gap: 14px;
  padding: 30px; text-align: center;
}
.map__hold p { max-width: 34ch; color: var(--gris-700); font-size: .93rem; margin: 0; }

/* --------------------------------------------------------------------------
   16. Formulaire
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 7px; }
.field label {
  font-size: .74rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gris-700);
}
.field .req { color: var(--jaune-fonce); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font); font-size: .98rem; color: var(--encre);
  background: var(--blanc);
  border: 1px solid var(--gris-300);
  border-radius: var(--r-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--encre);
  box-shadow: 0 0 0 3px var(--jaune-pale);
}
.field input::placeholder, .field textarea::placeholder { color: var(--gris-500); }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0e0e' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
}

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice span {
  display: inline-flex; align-items: center;
  padding: 11px 20px;
  border: 1px solid var(--gris-300);
  border-radius: 0;
  font-size: .87rem; font-weight: 600;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.choice input:checked + span { background: var(--encre); color: var(--blanc); border-color: var(--encre); }
.choice input:focus-visible + span { outline: 3px solid var(--jaune); outline-offset: 2px; }
.choice span:hover { border-color: var(--encre); }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .87rem; color: var(--gris-700); }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--encre); }
.consent a { text-decoration: underline; text-underline-offset: 3px; }

.form__note {
  padding: 16px 18px;
  background: var(--jaune-pale);
  border-left: 4px solid var(--jaune);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .87rem; color: var(--gris-700);
}
.form__note p { margin: 0; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.alert {
  padding: 16px 20px; border-radius: var(--r-sm);
  font-size: .93rem; font-weight: 500;
  display: flex; gap: 12px; align-items: flex-start;
}
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.alert--ok  { background: #e9f7ec; color: #1c5c2c; border: 1px solid #bfe6c8; }
.alert--err { background: #fdecec; color: #8a2020; border: 1px solid #f3c6c6; }

/* --------------------------------------------------------------------------
   17. Timeline (historique)
   -------------------------------------------------------------------------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px;
  width: 2px; background: var(--gris-200);
}
.tl {
  position: relative;
  padding: 0 0 34px;
}
.tl::before {
  content: ''; position: absolute; left: -34px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--jaune);
  box-shadow: 0 0 0 4px var(--blanc);
}
.tl__year {
  display: inline-block; margin-bottom: 6px;
  font-size: .8rem; font-weight: 900;
  letter-spacing: .14em;
  color: var(--jaune-fonce);
}
.tl h3 { font-size: 1.05rem; margin-bottom: 6px; }
.tl p { font-size: .95rem; color: var(--gris-700); margin: 0; }
.tl--major::before { background: var(--encre); width: 14px; height: 14px; left: -35px; }
.tl--major h3 { font-size: 1.25rem; }

/* --------------------------------------------------------------------------
   18. Équipe
   -------------------------------------------------------------------------- */
.person {
  background: var(--blanc);
  border: 1px solid var(--gris-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.person__ph {
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  background: var(--gris-100);
  font-size: 2.6rem; font-weight: 900; color: var(--gris-300);
  letter-spacing: -.03em;
}
.person__body { padding: 22px 24px 26px; }
.person__body h3 { font-size: 1.12rem; margin-bottom: 3px; }
.person__role {
  font-size: .74rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--jaune-fonce);
  margin-bottom: 14px;
}
.person__links { list-style: none; display: grid; gap: 6px; font-size: .88rem; }
.person__links a { color: var(--gris-700); }
.person__links a:hover { color: var(--encre); }

/* --------------------------------------------------------------------------
   19. FAQ / accordéon
   -------------------------------------------------------------------------- */
.acc { border-top: 1px solid var(--gris-200); }
.acc__item { border-bottom: 1px solid var(--gris-200); }
.acc__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; padding: 24px 0;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font); font-size: 1.05rem; font-weight: 700;
  letter-spacing: -.01em; color: var(--encre);
  text-align: left;
}
.acc__btn:hover { color: var(--jaune-fonce); }
.acc__no {
  flex: none; width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 0; background: var(--jaune);
  font-size: .82rem; font-weight: 900; color: var(--encre);
}
.acc__ico { flex: none; width: 20px; height: 20px; margin-left: auto; transition: transform .3s var(--ease); }
.acc__btn[aria-expanded="true"] .acc__ico { transform: rotate(45deg); }
.acc__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}
.acc__panel[data-open="true"] { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 0 24px 46px; margin: 0; color: var(--gris-700); font-size: .97rem; max-width: 74ch; }
@media (max-width: 560px) { .acc__panel p { padding-left: 0; } }

/* Encadré d'alerte éditorial */
.notice {
  display: flex; gap: 18px;
  padding: 26px 28px;
  background: var(--jaune-pale);
  border-left: 5px solid var(--jaune);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.notice svg { width: 26px; height: 26px; flex: none; color: var(--jaune-fonce); }
.notice h3 { font-size: 1.05rem; margin-bottom: 6px; }
.notice p { margin: 0; font-size: .95rem; color: var(--gris-700); }

/* --------------------------------------------------------------------------
   20. En-tête de page intérieure
   -------------------------------------------------------------------------- */
.pagehead {
  position: relative;
  padding-block: clamp(48px, 6vw, 84px) clamp(40px, 5vw, 64px);
  background: var(--gris-100);
  border-bottom: 1px solid var(--gris-200);
  overflow: hidden;
}
.pagehead::after {
  content: ''; position: absolute; right: -100px; top: -100px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,204,0,.22) 0%, rgba(255,204,0,0) 70%);
}
.pagehead__in { position: relative; z-index: 1; }
.pagehead h1 { margin-bottom: 14px; }
.pagehead .lead { margin: 0; }
.crumbs {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  list-style: none; margin: 0 0 22px;
  font-size: .78rem; color: var(--gris-500);
}
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: '/'; color: var(--gris-300); }
.crumbs a:hover { color: var(--encre); }
.crumbs [aria-current] { color: var(--encre); font-weight: 600; }

/* Page marque : bandeau immersif */
.brandhero { position: relative; overflow: hidden; background: var(--encre); color: var(--blanc); }
.brandhero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.brandhero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,14,14,.55) 0%, rgba(14,14,14,.15) 40%, rgba(14,14,14,.92) 100%);
}
.brandhero__in {
  position: relative; z-index: 2;
  padding-block: clamp(90px, 14vw, 200px) clamp(44px, 6vw, 76px);
  text-align: left;
}
.brandhero__in > * { max-width: 700px; margin-left: 0; margin-right: auto; }
.brandhero h1 { color: var(--blanc); }
.brandhero .lead { color: #d5d5d0; }
.brandhero .crumbs { color: #a9a9a4; }
.brandhero .crumbs a:hover { color: var(--jaune); }
.brandhero .crumbs [aria-current] { color: var(--blanc); }
.brandhero__logo {
  display: inline-flex; align-items: center;
  padding: 10px 18px; margin-bottom: 20px;
  background: var(--blanc); color: var(--encre);
  font-weight: 900; font-size: .9rem;
  letter-spacing: .22em; text-transform: uppercase;
}
.brandhero__logo--renault { border-radius: 0; }
.brandhero__logo--dacia {
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

/* --------------------------------------------------------------------------
   21. Contenu éditorial (pages légales)
   -------------------------------------------------------------------------- */
.prose { max-width: 74ch; }
.prose h2 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  margin: 48px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--gris-200);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.1rem; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--gris-700); font-size: .98rem; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--encre); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--jaune); text-decoration-thickness: 2px; }
.prose a:hover { background: var(--jaune-pale); }
.prose strong { color: var(--encre); font-weight: 700; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: .93rem; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--gris-200); text-align: left; }
.prose th { background: var(--gris-100); font-weight: 700; color: var(--encre); }
.prose td { color: var(--gris-700); }
.prose__meta {
  display: inline-block; margin-bottom: 34px; padding: 8px 16px;
  background: var(--gris-100); border-radius: 0;
  font-size: .78rem; font-weight: 600; color: var(--gris-700);
}
.todo {
  background: var(--jaune-pale);
  border-bottom: 2px solid var(--jaune);
  padding: 0 4px; font-weight: 700; color: var(--encre);
}

/* --------------------------------------------------------------------------
   22. Véhicules en stock
   -------------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter {
  padding: 10px 20px;
  border: 1px solid var(--gris-300); background: var(--blanc);
  border-radius: 0;
  font-family: var(--font); font-size: .85rem; font-weight: 600;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--encre); }
.filter[aria-pressed="true"] { background: var(--encre); color: var(--blanc); border-color: var(--encre); }

.veh { display: flex; flex-direction: column; background: var(--blanc); border: 1px solid var(--gris-200); border-radius: var(--r-lg); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.veh:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.veh__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--gris-100); }
.veh__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.veh:hover .veh__media img { transform: scale(1.06); }
.veh__brand {
  position: absolute; top: 14px; left: 14px;
  background: var(--encre); color: var(--blanc);
  padding: 5px 12px; border-radius: 0;
  font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.veh__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.veh__body h3 { font-size: 1.15rem; margin-bottom: 4px; }
.veh__sub { font-size: .84rem; color: var(--gris-500); margin-bottom: 16px; }
.veh__specs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.veh__specs li {
  padding: 5px 11px; background: var(--gris-100); border-radius: 0;
  font-size: .76rem; font-weight: 600; color: var(--gris-700);
}
.veh__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--gris-200); }
.veh__price { font-size: 1.3rem; font-weight: 900; letter-spacing: -.02em; }
.veh__price small { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gris-500); }

.empty {
  padding: 60px 30px; text-align: center;
  background: var(--gris-100); border-radius: var(--r-lg);
}
.empty h3 { margin-bottom: 10px; }
.empty p { color: var(--gris-700); max-width: 46ch; margin-inline: auto; }

/* --------------------------------------------------------------------------
   23. Pied de page
   -------------------------------------------------------------------------- */
.footer { background: var(--encre); color: #a9a9a4; padding-top: clamp(56px, 6vw, 88px); }
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 52px;
}
@media (max-width: 980px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }
.footer .brand__name { color: var(--blanc); }
.footer h4 {
  color: var(--blanc); font-size: .76rem;
  letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 20px;
}
.footer__about { max-width: 34ch; font-size: .92rem; margin-top: 20px; }
.footer__nav { list-style: none; display: grid; gap: 11px; font-size: .92rem; }
.footer__nav a:hover { color: var(--jaune); }
.footer .info-list li { font-size: .92rem; }
.footer .info-list strong { color: var(--gris-500); }
.footer .info-list a { color: #d5d5d0; }
.footer .info-list a:hover { color: var(--jaune); }
.footer .hours li { border-color: rgba(255,255,255,.1); font-size: .87rem; padding: 10px 0; }
.footer .hours strong { color: var(--blanc); font-weight: 600; }
.footer .hours span { color: #a9a9a4; }
.footer .hours__title { color: var(--blanc); }

.social { display: flex; gap: 10px; margin-top: 22px; }
.social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 0;
  transition: all .25s var(--ease);
}
.social a:hover { background: var(--jaune); border-color: var(--jaune); color: var(--encre); }
.social svg { width: 18px; height: 18px; }

.footer__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; }
.footer__legal a:hover { color: var(--jaune); }
.footer__legal button {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--font); font-size: .8rem; color: inherit;
}
.footer__legal button:hover { color: var(--jaune); }
.footer__sign a { color: #6f6f6a; }
.footer__sign a:hover { color: var(--jaune); }

/* --------------------------------------------------------------------------
   24. Bannière cookies
   -------------------------------------------------------------------------- */
.ck-back {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(14,14,14,.5);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.ck-back.is-open { opacity: 1; visibility: visible; }

.ck {
  position: fixed; z-index: 999;
  left: 50%; bottom: 24px;
  transform: translate(-50%, 130%);
  width: min(760px, calc(100vw - 32px));
  background: var(--blanc);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px 32px;
  transition: transform .45s var(--ease);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
.ck.is-open { transform: translate(-50%, 0); }
.ck__title {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.2rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: -.01em; margin-bottom: 12px;
}
.ck__title svg { width: 24px; height: 24px; color: var(--jaune-fonce); }
.ck p { font-size: .92rem; color: var(--gris-700); margin-bottom: 20px; }
.ck p a { text-decoration: underline; text-underline-offset: 3px; }
.ck__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ck__actions .btn { flex: 1 1 auto; }
.ck__link {
  background: none; border: 0; cursor: pointer; padding: 15px 20px;
  font-family: var(--font); font-size: .82rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--gris-700); text-decoration: underline; text-underline-offset: 4px;
}
.ck__link:hover { color: var(--encre); }

.ck__prefs { display: none; margin: 4px 0 22px; }
.ck.is-prefs .ck__prefs { display: grid; gap: 12px; }
.ck.is-prefs .ck__intro { display: none; }
.ck__cat {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--gris-200);
  border-radius: var(--r-md);
}
.ck__cat strong { display: block; font-size: .95rem; margin-bottom: 3px; }
.ck__cat p { margin: 0; font-size: .85rem; }
.ck__cat--locked { background: var(--gris-100); }

/* Interrupteur */
.sw { position: relative; flex: none; width: 50px; height: 28px; margin-top: 2px; }
.sw input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.sw i {
  position: absolute; inset: 0;
  background: var(--gris-300); border-radius: 999px;
  transition: background .25s var(--ease);
  pointer-events: none;
}
.sw i::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blanc);
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: transform .25s var(--ease);
}
.sw input:checked + i { background: var(--jaune); }
.sw input:checked + i::after { transform: translateX(22px); }
.sw input:disabled + i { background: var(--gris-500); opacity: .5; cursor: not-allowed; }
.sw input:focus-visible + i { outline: 3px solid var(--jaune); outline-offset: 2px; }

@media (max-width: 560px) {
  .ck { padding: 24px 20px; bottom: 12px; border-radius: var(--r-md); }
  .ck__actions .btn, .ck__link { width: 100%; }
}

/* --------------------------------------------------------------------------
   25. Révélation au scroll
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   26. Divers
   -------------------------------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

.err-code {
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 900; line-height: .85; letter-spacing: -.05em;
  margin: 0 0 12px;
}
.err-code span { color: var(--jaune); }

@media print {
  .header, .topbar, .footer, .ck, .ck-back, .burger, .mobile-nav { display: none !important; }
  body { font-size: 12pt; }
  .section { padding-block: 16px; }
}
