/* ──────────────────────────────────────────────────────────────
 * M2A DETAILING — Carbon
 * Design system · pure CSS · mobile-first responsive
 * ──────────────────────────────────────────────────────────── */

:root {
  /* Colors */
  --bg:         #0a0a0a;
  --bg-deep:    #060606;
  --panel:      #131312;
  --panel-2:    #1a1a18;
  --ink:        #ededeb;
  --ink-soft:   #b7b3a8;
  --ink-mute:   #6a685f;
  --gold:       #c9a84c;
  --gold-hi:    #e8c96a;
  --gold-rgb:   201, 168, 76;
  --line:       rgba(255, 255, 255, 0.08);
  --line-hi:    rgba(201, 168, 76, 0.35);
  --line-soft:  rgba(255, 255, 255, 0.04);
  --glow:       0 0 30px rgba(var(--gold-rgb), 0.22);
  --glow-faint: 0 0 20px rgba(var(--gold-rgb), 0.12);
  --glow-big:   0 0 40px rgba(var(--gold-rgb), 0.24);

  /* Fonts */
  --display: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
  --sans:    "DM Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --pad-x:   20px;
  --pad-y:   16px;
  --gap:     14px;
  --gap-lg:  28px;
  --gap-xl:  48px;

  /* Container */
  --max:     1280px;
}

/* ── Accessibilité ─────────────────────────────────────────── */
/* Skip link : invisible jusqu'au focus clavier */
.skip-link {
  position: absolute; top: -100px; left: 0; z-index: 100;
  background: var(--gold); color: var(--bg);
  padding: 12px 18px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; }

/* Focus visible globalement repérable */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* sr-only utilitaire */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Cache un élément sur petit écran (mobile/tablette portrait) */
@media (max-width: 700px) {
  .hide-mobile { display: none; }
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure {
  margin: 0; padding: 0;
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 14px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; background: none; border: 0; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }

::selection { background: var(--gold); color: var(--bg); }

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ── Typography utility classes ────────────────────────────── */
.mono {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 500;
  color: var(--gold);
}
.mono.mute { color: var(--ink-mute); }
.mono.ink  { color: var(--ink); }

.display {
  font-family: var(--display);
  font-weight: 400; letter-spacing: 2px; line-height: 0.9;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; letter-spacing: 2px; line-height: 0.9; }
.h1 { font-size: clamp(54px, 10vw, 120px); }
.h2 { font-size: clamp(40px, 7vw, 80px); }
.h3 { font-size: clamp(28px, 4vw, 44px); }
.h4 { font-size: clamp(22px, 3vw, 28px); }

.gold { color: var(--gold); text-shadow: 0 0 30px rgba(var(--gold-rgb), 0.35); }

p { color: var(--ink-soft); }

.lead { font-size: 16px; color: var(--ink-soft); max-width: 60ch; line-height: 1.6; }
.muted { color: var(--ink-mute); }

.num {
  font-family: var(--display); letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}

/* ── Header / Nav ──────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--pad-x);
  max-width: var(--max); margin: 0 auto;
  gap: 14px;
}
.site-header .brand {
  font-family: var(--display); font-size: 26px; letter-spacing: 4px;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(var(--gold-rgb), 0.4);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 12px;
}
.site-header .brand img {
  height: 52px; width: auto;
  margin: -6px 0;
  display: block;
  transition: transform 0.3s ease;
}
.site-header .brand:hover img { transform: scale(1.05); }
.site-header .menu-toggle {
  width: 44px; height: 44px;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
}
.site-header .menu-toggle span {
  width: 16px; height: 1px; background: var(--gold);
}
.site-header nav.primary {
  display: none;
  gap: 28px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-left: auto;
}
.site-header nav.primary a {
  color: var(--ink-soft);
  transition: color 0.15s;
  position: relative;
}
.site-header nav.primary a:hover { color: var(--gold); }
.site-header nav.primary a.active { color: var(--gold); }
/* underline animé : voir bloc animations en bas de fichier */
.site-header .cta-mini {
  display: none;
  padding: 10px 16px;
  background: var(--gold); color: var(--bg);
  font-family: var(--display); font-size: 16px; letter-spacing: 2px;
  box-shadow: var(--glow-faint);
}
.site-header .cta-mini:hover { box-shadow: var(--glow); }
.site-header .cta-account {
  display: none;
  padding: 10px 14px;
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; transition: all 0.15s;
  align-items: center; gap: 6px;
  margin-left: auto;
}
.site-header .cta-account:hover { border-color: var(--gold); color: var(--gold); }
.site-header .cta-account svg { width: 12px; height: 12px; }

@media (min-width: 900px) {
  .site-header nav.primary { display: flex; }
  .site-header .menu-toggle { display: none; }
  .site-header .cta-mini { display: inline-block; }
  .site-header .cta-account { display: inline-flex; }
}

/* Mobile drawer */
.mobile-menu {
  display: none;
  background: var(--bg-deep); border-bottom: 1px solid var(--line);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--pad-x);
  border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: 20px; letter-spacing: 2px;
}
.mobile-menu a .arrow { color: var(--gold); font-family: var(--display); }
.mobile-menu a:active { background: var(--panel); }
@media (min-width: 900px) {
  .mobile-menu { display: none !important; }
}

/* ── HUD strip ─────────────────────────────────────────────── */
.hud {
  padding: 8px var(--pad-x);
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--ink-mute);
  max-width: var(--max); margin: 0 auto;
}
.hud .live { color: var(--gold); }

/* ── Section ───────────────────────────────────────────────── */
.section { padding: 60px 0; position: relative; }
.section.tight { padding: 32px 0; }
.section.alt { background: var(--bg-deep); }

.section-head { margin-bottom: 36px; padding: 0 var(--pad-x); max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-head .kicker { margin-bottom: 14px; }
.section-head h2 { letter-spacing: 2px; margin-top: 10px; }
.section-head .sub { margin-top: 16px; max-width: 60ch; color: var(--ink-soft); }

@media (min-width: 900px) {
  .section { padding: 100px 0; }
  .section-head { margin-bottom: 60px; }
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  font-family: var(--display); font-size: 18px; letter-spacing: 2px;
  border: 1px solid transparent;
  transition: box-shadow 0.2s, transform 0.15s, background 0.15s;
  text-align: left;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn .arrow { font-family: var(--display); font-size: 22px; }
/* Empêche le rendu emoji des flèches Unicode (↗ ↘ ↓ etc.) sur mobile */
.arrow, .mono { font-variant-emoji: text; }

.btn.primary { background: var(--gold); color: var(--bg); box-shadow: var(--glow); }
.btn.primary:hover { box-shadow: var(--glow-big); }

.btn.ghost { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn.ghost:hover { background: rgba(var(--gold-rgb), 0.08); }

.btn.outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.outline:hover { border-color: var(--gold); color: var(--gold); }

.btn.block { display: flex; width: 100%; justify-content: space-between; }
.btn .kicker {
  display: block;
  font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px;
  margin-top: 4px; opacity: 0.8;
  text-transform: uppercase;
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px 20px;
  position: relative;
}
.card.featured {
  background: var(--panel-2);
  border-color: var(--line-hi);
  box-shadow: var(--glow-big);
}
.card .crosshair { position: absolute; pointer-events: none; }
.card.featured::before,
.card.featured::after,
.card.featured > .crh-tl,
.card.featured > .crh-tr,
.card.featured > .crh-bl,
.card.featured > .crh-br {
  content: ""; position: absolute; width: 10px; height: 10px;
  border: 0 solid var(--gold);
  pointer-events: none;
}
.card.featured::before { top: -1px; left: -1px; border-top-width: 1px; border-left-width: 1px; }
.card.featured::after  { top: -1px; right: -1px; border-top-width: 1px; border-right-width: 1px; }
.card.featured > .crh-bl, .card.featured > .crh-br {
  bottom: -1px; width: 10px; height: 10px;
}
/* Use two pseudos on the card for top corners; explicit divs for bottom — but we can use simpler approach with a wrapper. */

/* Simpler crosshair: separate corner spans */
.crh {
  pointer-events: none; position: absolute;
  width: 10px; height: 10px;
}
.crh::before, .crh::after {
  content: ""; position: absolute; background: var(--gold);
}
.crh::before { width: 100%; height: 1px; left: 0; }
.crh::after  { width: 1px; height: 100%; top: 0; }
.crh.tl { top: -1px;    left: -1px;    } .crh.tl::before { top: 0; }    .crh.tl::after  { left: 0; }
.crh.tr { top: -1px;    right: -1px;   } .crh.tr::before { top: 0; right: 0; }  .crh.tr::after { right: 0; }
.crh.bl { bottom: -1px; left: -1px;    } .crh.bl::before { bottom: 0; }            .crh.bl::after { left: 0;  }
.crh.br { bottom: -1px; right: -1px;   } .crh.br::before { bottom: 0; right: 0; }  .crh.br::after { right: 0; }

/* ── Badges ────────────────────────────────────────────────── */
.badge {
  display: inline-block; padding: 4px 10px;
  border: 1px solid var(--gold); color: var(--gold);
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500;
}
.badge.solid { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.badge.absolute {
  position: absolute; top: -12px; right: 14px;
}

.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border: 1px solid var(--line);
  font-family: var(--mono); font-size: 9px; letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 500;
}
.status-pill .dot {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}
.status-pill.confirmed { color: var(--gold); border-color: var(--gold); }
.status-pill.pending   { color: var(--ink-soft); border-color: var(--ink-soft); }
.status-pill.done      { color: var(--ink-mute); border-color: var(--ink-mute); }

/* ── Grid helpers ──────────────────────────────────────────── */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: var(--gap-lg); }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; gap: var(--gap-lg); }
  .grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; gap: var(--gap-lg); }
}

/* ── Forms ─────────────────────────────────────────────────── */
.field { display: block; }
.field-label {
  display: block; margin-bottom: 8px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--ink-mute);
}
.field-input {
  width: 100%;
  background: var(--panel); border: 1px solid var(--line);
  padding: 14px 16px;
  color: var(--ink); font-family: var(--mono); font-size: 16px;
  letter-spacing: 0.3px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field-input::placeholder { color: var(--ink-mute); }
.field-input:focus {
  outline: none; border-color: var(--gold); box-shadow: var(--glow-faint);
}

/* ── Segmented controls ────────────────────────────────────── */
.segmented {
  display: flex; border: 1px solid var(--line);
}
.segmented > button, .segmented > a {
  flex: 1; padding: 14px 0;
  background: transparent; color: var(--ink);
  border-right: 1px solid var(--line);
  text-align: center;
  font-family: var(--display); font-size: 18px; letter-spacing: 2px;
  transition: background 0.15s, color 0.15s;
}
.segmented > *:last-child { border-right: none; }
.segmented > .active {
  background: var(--gold); color: var(--bg);
  box-shadow: inset 0 0 30px rgba(var(--gold-rgb), 0.4);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 36px var(--pad-x) 60px;
}
.hero .container { padding: 0; }
.hero h1 {
  font-size: clamp(64px, 12vw, 140px);
  letter-spacing: 1px; line-height: 0.86;
  margin-top: 18px;
}
.hero .lead { margin-top: 24px; }
.hero .cta-row {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.hero .stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 36px; gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
.hero .stats > div {
  background: var(--bg); padding: 18px 12px; text-align: center;
}
.hero .stats .v {
  font-family: var(--display); font-size: 42px;
  color: var(--gold); letter-spacing: 1px; line-height: 1;
}
.hero .stats .k {
  margin-top: 6px;
}

/* Hero logo (right column, above stats) */
.hero-right {
  display: flex; flex-direction: column;
  gap: var(--gap-lg);
}
.hero-logo {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.hero-logo img {
  width: 100%; height: auto;
  transition: transform 0.4s ease;
}
.hero-logo:hover img { transform: scale(1.03); }

/* Mobile : on cache le gros logo du hero (déjà visible dans la nav) */
@media (max-width: 899px) {
  .hero-right { display: none; }
}

@media (min-width: 900px) {
  .hero {
    padding: 80px var(--pad-x) 120px;
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: var(--gap-xl); align-items: stretch;
    max-width: var(--max); margin: 0 auto;
  }
  .hero-right {
    justify-content: space-between;
    height: 100%;
  }
  .hero-logo {
    max-width: 480px;
    margin: 0;
    align-self: center;
    flex: 1;
    display: flex; align-items: center;
  }
  .hero .stats {
    grid-template-columns: 1fr 1fr;
    margin-top: 0;
  }
  .hero .stats .v { font-size: 56px; }
}

/* ── TEST : bannière en fond du hero (assombrie) ───────────────
   Pour retirer ce test : supprimer ce bloc + assets/banner-test.jpg */
.hero::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  /* fond pleine largeur viewport, même si le hero est centré à --max */
  left: 50%; width: 100vw; transform: translateX(-50vw);
  background:
    linear-gradient(90deg,
      rgba(6,6,6,0.97) 0%,
      rgba(6,6,6,0.93) 40%,
      rgba(6,6,6,0.74) 70%,
      rgba(6,6,6,0.5) 100%),
    linear-gradient(rgba(6,6,6,0.5), rgba(6,6,6,0.75)),
    url('/assets/banner-test.jpg') center right / cover no-repeat;
  z-index: 0;
  pointer-events: none;
}
/* le contenu du hero passe au-dessus du fond */
.hero > * { position: relative; z-index: 1; }
/* la bannière contient déjà le logo M2A : on masque le logo de droite
   pour éviter le doublon (sinon logo sur logo) */
.hero .hero-right { opacity: 0; }
/* Desktop : on utilise la photo recadrée (voiture seule, sans le panneau
   logo de gauche) + dégradé allégé à droite pour mieux voir la voiture.
   Mobile garde la bannière complète (réglage au-dessus). */
@media (min-width: 900px) {
  .hero::before {
    background:
      linear-gradient(90deg,
        rgba(6,6,6,0.96) 0%,
        rgba(6,6,6,0.88) 42%,
        rgba(6,6,6,0.45) 72%,
        rgba(6,6,6,0.28) 100%),
      linear-gradient(rgba(6,6,6,0.32), rgba(6,6,6,0.58)),
      url('/assets/banner-car.jpg') center / cover no-repeat;
  }
}
/* ── FIN TEST ──────────────────────────────────────────────── */

/* ── Image placeholder (striped) ───────────────────────────── */
.img-slot {
  position: relative;
  background: repeating-linear-gradient(
    135deg,
    rgba(255,255,255,0.025) 0 10px,
    rgba(var(--gold-rgb), 0.06) 10px 20px
  );
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  min-height: 180px;
}
.img-slot .label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(var(--gold-rgb), 0.55);
  padding: 4px 10px;
}
.img-slot .hud-top, .img-slot .hud-bottom {
  position: absolute; left: 12px; right: 12px;
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px;
  color: var(--gold); text-transform: uppercase;
}
.img-slot .hud-top { top: 12px; }
.img-slot .hud-bottom { bottom: 12px; }

/* ── Forfaits cards ────────────────────────────────────────── */
.forfait {
  display: flex; flex-direction: column; gap: 16px;
}
.forfait .head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 14px;
}
.forfait-id {
  display: flex; gap: 16px; align-items: center;
}

/* Logo "tableau périodique" devant chaque formule */
.pt-elem {
  width: 64px; height: 64px;
  border: 1.5px solid var(--gold);
  background: rgba(var(--gold-rgb), 0.05);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 4px 5px 5px;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 16px -4px rgba(var(--gold-rgb), 0.2);
}
.pt-num {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-mute);
  letter-spacing: 0.5px;
  line-height: 1;
}
.pt-symbol {
  font-family: var(--display);
  font-size: 24px;
  color: var(--gold);
  text-align: center;
  align-self: center;
  line-height: 1;
  letter-spacing: 1px;
  text-shadow: 0 0 14px rgba(var(--gold-rgb), 0.5);
}
.pt-name {
  font-family: var(--mono);
  font-size: 7px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
}
/* Badge "featured" est désormais positionné au-dessus du bord (top:-12px),
   donc plus besoin de pousser le head : titres alignés avec les non-featured */
.forfait .name {
  font-family: var(--display); font-size: 56px;
  color: var(--ink); letter-spacing: 3px; line-height: 0.92;
}
.forfait.featured .name { color: var(--gold); text-shadow: 0 0 30px rgba(var(--gold-rgb), 0.35); }
.forfait .price {
  font-family: var(--display); font-size: 44px;
  color: var(--ink); letter-spacing: 1px; line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.forfait .meta { margin-top: 6px; }
.forfait .desc { color: var(--ink-soft); font-style: normal; }
.forfait ul {
  border-top: 1px solid var(--line); padding-top: 14px;
}
.forfait ul li {
  display: flex; gap: 12px; padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px; line-height: 1.45;
}
.forfait ul li:last-child { border-bottom: none; }
.forfait ul li .n {
  font-family: var(--mono); font-size: 9px; color: var(--gold);
  letter-spacing: 1px; min-width: 24px; line-height: 1.6; font-weight: 500;
}
.forfait .btn { margin-top: 4px; }
/* Pousse le bouton CTA en bas de la card pour aligner les boutons
   sur toute la row, même quand le nombre d'étapes diffère */
.forfait > .btn:last-child { margin-top: auto; }

/* ── Supplement rows ───────────────────────────────────────── */
.supp-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.supp-row:last-child { border-bottom: 1px solid var(--line); }
.supp-row .price {
  font-family: var(--mono); font-size: 13px;
  color: var(--gold); letter-spacing: 1px; font-weight: 500;
}

/* ── FAQ accordion ─────────────────────────────────────────── */
details.qa {
  border-bottom: 1px solid var(--line);
}
details.qa[open] { background: var(--panel); }
details.qa summary {
  list-style: none; cursor: pointer;
  padding: 18px var(--pad-x);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: var(--display); font-size: 18px; letter-spacing: 1.5px;
  line-height: 1.15;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary .num { font-family: var(--mono); font-size: 10px; color: var(--gold); letter-spacing: 1px; margin-right: 14px; min-width: 24px; font-weight: 500; }
details.qa summary .plus { color: var(--gold); font-family: var(--display); font-size: 22px; transition: transform 0.2s; }
details.qa[open] summary .plus { transform: rotate(45deg); }
details.qa .answer {
  padding: 0 var(--pad-x) 18px 58px;
  color: var(--ink-soft); font-size: 13px; line-height: 1.6;
}

/* ── Reviews / Avis ────────────────────────────────────────── */
.stars {
  font-family: var(--display); font-size: 14px;
  color: var(--gold); letter-spacing: 2px;
}
.stars .dim { opacity: 0.2; }

/* ── Filter chips ──────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-block; padding: 8px 14px;
  border: 1px solid var(--line); background: transparent;
  color: var(--ink-soft);
  font-family: var(--mono); font-size: 10px; letter-spacing: 1.4px;
  text-transform: uppercase; font-weight: 500;
  white-space: nowrap;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.active {
  background: rgba(var(--gold-rgb), 0.1);
  border-color: var(--gold); color: var(--gold);
}

/* ── Calendar / reservation ────────────────────────────────── */
.week {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px;
}
.day-cell {
  padding: 14px 4px; text-align: center;
  background: var(--panel); border: 1px solid var(--line);
  cursor: pointer; transition: background 0.15s;
}
.day-cell:hover { background: var(--panel-2); }
.day-cell .dow {
  font-family: var(--mono); font-size: 9px; color: var(--ink-mute);
  letter-spacing: 1px; font-weight: 500;
}
.day-cell .d {
  font-family: var(--display); font-size: 26px; margin-top: 4px;
  letter-spacing: 1px; font-variant-numeric: tabular-nums;
}
.day-cell .dot-bar {
  margin: 8px auto 0; width: 60%; height: 2px;
}
.day-cell .dot-bar.free { background: var(--gold); }
.day-cell .dot-bar.half { background: rgba(var(--gold-rgb), 0.4); }
.day-cell.active {
  background: var(--gold); color: var(--bg);
  border-color: var(--gold);
  box-shadow: var(--glow);
}
.day-cell.active .dow { color: var(--bg); }
.day-cell.disabled { opacity: 0.3; cursor: not-allowed; }

.slots {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
}
@media (min-width: 700px) {
  .slots { grid-template-columns: repeat(6, 1fr); }
}
.slot-cell {
  padding: 14px 4px; text-align: center;
  background: var(--panel); border: 1px solid var(--line);
  cursor: pointer;
  font-family: var(--display); font-size: 22px;
  letter-spacing: 1.5px; font-variant-numeric: tabular-nums;
  transition: background 0.15s, border-color 0.15s;
}
.slot-cell:hover:not(.taken):not(.active) { border-color: var(--gold); color: var(--gold); }
.slot-cell.active {
  background: var(--gold); color: var(--bg);
  border-color: var(--gold);
  box-shadow: var(--glow);
}
.slot-cell.taken { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }

/* ── Step progress ─────────────────────────────────────────── */
.steps {
  display: flex; gap: 4px;
  padding: 16px var(--pad-x);
  max-width: var(--max); margin: 0 auto;
}
.steps .step {
  flex: 1; height: 3px;
  background: var(--line);
}
.steps .step.active { background: var(--gold); box-shadow: 0 0 10px rgba(var(--gold-rgb), 0.4); }
.steps .step.done   { background: rgba(var(--gold-rgb), 0.6); }

.steps-labels {
  display: flex; justify-content: space-between;
  padding: 0 var(--pad-x) 16px;
  max-width: var(--max); margin: 0 auto;
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 500;
}
.steps-labels .active, .steps-labels .done { color: var(--gold); }

/* ── Stat grid ─────────────────────────────────────────────── */
.stat-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 700px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-grid > div {
  background: var(--bg); padding: 18px 14px;
}
.stat-grid .v {
  font-family: var(--display); font-size: 36px;
  color: var(--gold); letter-spacing: 1px; line-height: 1;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
}
.site-footer .columns {
  display: grid; grid-template-columns: 1fr; gap: var(--gap-lg);
}
@media (min-width: 700px) {
  .site-footer .columns { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--gap-xl); }
}
.site-footer .brand-block .logo {
  font-family: var(--display); font-size: 48px; letter-spacing: 4px;
  color: var(--gold); text-shadow: 0 0 30px rgba(var(--gold-rgb), 0.4);
  line-height: 1;
}
.site-footer .brand-block p { margin-top: 14px; max-width: 36ch; font-size: 13px; }
.site-footer h4 {
  font-size: 14px; letter-spacing: 2px;
  color: var(--gold); margin-bottom: 18px;
}
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: var(--ink-soft); font-size: 13px; transition: color 0.15s; }
.site-footer a:hover { color: var(--gold); }
.site-footer .legal {
  margin-top: 60px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--ink-mute);
}

/* ── Misc ──────────────────────────────────────────────────── */
hr.rule { border: none; border-top: 1px solid var(--line); margin: 32px 0; }
.divider-or {
  display: flex; align-items: center; gap: 14px; margin: 28px 0;
}
.divider-or::before, .divider-or::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.divider-or span { color: var(--ink-mute); font-family: var(--mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }

.list-rows { border: 1px solid var(--line); }
.list-rows > * {
  padding: 16px var(--pad-x);
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 220ms ease,
              padding-left 280ms cubic-bezier(.16,1,.3,1),
              transform 300ms cubic-bezier(.16,1,.3,1),
              box-shadow 300ms cubic-bezier(.16,1,.3,1);
}
.list-rows > *:last-child { border-bottom: none; }
.list-rows > *:nth-child(odd) { background: var(--panel); }
.list-rows > *::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(var(--gold-rgb), 0.5);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 280ms cubic-bezier(.16,1,.3,1);
}
.list-rows > *:hover {
  background: rgba(var(--gold-rgb), 0.08);
  padding-left: calc(var(--pad-x) + 10px);
  transform: translateY(-2px);
  z-index: 2;
  box-shadow: 0 8px 28px -8px rgba(0,0,0,0.5),
              0 0 24px -6px rgba(var(--gold-rgb), 0.35);
}
.list-rows > *:hover::before { transform: scaleY(1); }
.list-rows > *:hover .num {
  text-shadow: 0 0 14px rgba(var(--gold-rgb), 0.55);
  transition: text-shadow 220ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .list-rows > *, .list-rows > *::before { transition: none; }
}

.checkmark-circle {
  width: 84px; height: 84px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-family: var(--display); font-size: 40px; line-height: 1;
  box-shadow: var(--glow-big);
  margin: 0 auto;
}

/* Page title block — reused across pages */
.page-title {
  padding: 36px var(--pad-x) 24px;
  max-width: var(--max); margin: 0 auto;
}
.page-title .kicker { margin-bottom: 12px; }
.page-title h1 {
  font-size: clamp(56px, 10vw, 110px);
  letter-spacing: 2px; line-height: 0.88; margin-top: 12px;
}
.page-title .sub {
  margin-top: 18px; max-width: 60ch;
}

/* "Section CTA card" — gold reverse CTA at end of pages */
.cta-card {
  background: var(--panel-2);
  border: 1px solid var(--line-hi);
  padding: 32px 24px;
  position: relative;
}
@media (min-width: 900px) {
  .cta-card {
    padding: 60px 48px;
    display: grid; grid-template-columns: 2fr 1fr;
    gap: var(--gap-lg); align-items: center;
  }
}
.cta-card h3 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 2px; line-height: 0.95;
  margin-top: 14px;
}
.cta-card p { margin-top: 12px; }
.cta-card .btn { margin-top: 24px; }
@media (min-width: 900px) { .cta-card .btn { margin-top: 0; } }

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS — subtle premium, respect prefers-reduced-motion
   ══════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: no-preference) {

  /* ── Reveal on scroll ───────────────────────────────────────
     Apply class .reveal to an element. JS adds .visible when it
     enters the viewport. Use .reveal-stagger on a parent to
     cascade direct children with 80ms steps. */
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms cubic-bezier(.16,1,.3,1),
                transform 600ms cubic-bezier(.16,1,.3,1);
    will-change: opacity, transform;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-stagger > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms cubic-bezier(.16,1,.3,1),
                transform 600ms cubic-bezier(.16,1,.3,1);
  }
  .reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
  .reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
  .reveal-stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
  .reveal-stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
  .reveal-stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
  .reveal-stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
  .reveal-stagger.visible > *:nth-child(6) { transition-delay: 400ms; }
  .reveal-stagger.visible > *:nth-child(7) { transition-delay: 480ms; }

  /* ── Card hover : lift + gold glow ──────────────────────────
     Renforce les .card (sauf celles dans la nav ou les rows
     d'options de réservation). Cible spécifiquement les cards
     contenues dans la section forfait/canapé/teaser. */
  .card {
    transition: transform 300ms cubic-bezier(.16,1,.3,1),
                box-shadow 300ms cubic-bezier(.16,1,.3,1),
                border-color 300ms ease;
  }
  .card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--gold-rgb), 0.55);
    box-shadow: 0 12px 40px -10px rgba(0,0,0,0.5),
                0 0 30px -8px rgba(var(--gold-rgb), 0.35);
  }
  .card.featured:hover {
    box-shadow: 0 12px 50px -10px rgba(0,0,0,0.6),
                0 0 50px -8px rgba(var(--gold-rgb), 0.5);
  }

  /* ── Hero logo : pulse glow doré subtil ─────────────────────
     Glow doré qui pulse doucement (4s loop) — très léger pour
     ne pas distraire. */
  @keyframes m2a-gold-pulse {
    0%, 100% { filter: drop-shadow(0 0 18px rgba(var(--gold-rgb), 0.20)); }
    50%      { filter: drop-shadow(0 0 32px rgba(var(--gold-rgb), 0.45)); }
  }
  .hero-logo img {
    animation: m2a-gold-pulse 4s ease-in-out infinite;
  }

  /* ── Hero text : fade-up à l'arrivée ────────────────────────
     Auto-anim au load, sans JS. */
  @keyframes m2a-hero-in {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .hero > div > * {
    animation: m2a-hero-in 700ms cubic-bezier(.16,1,.3,1) both;
  }
  .hero > div > *:nth-child(1) { animation-delay: 0ms; }
  .hero > div > *:nth-child(2) { animation-delay: 120ms; }
  .hero > div > *:nth-child(3) { animation-delay: 240ms; }
  .hero > div > *:nth-child(4) { animation-delay: 360ms; }

  /* ── Nav links : soulignement doré qui glisse au hover ─────
     Trait gold sous le lien qui scale-x de gauche à droite. */
  .site-header nav.primary a::after {
    content: ""; position: absolute; bottom: -8px; left: 0; right: 0;
    height: 2px; background: var(--gold);
    box-shadow: 0 0 10px rgba(var(--gold-rgb), 0.5);
    transform: scaleX(0); transform-origin: left;
    transition: transform 300ms cubic-bezier(.16,1,.3,1);
  }
  .site-header nav.primary a:hover::after { transform: scaleX(1); }
  .site-header nav.primary a.active::after { transform: scaleX(1); }

  /* ── Buttons : press feedback ──────────────────────────────
     Léger scale-down au clic pour un retour tactile. */
  .btn { transition: transform 120ms ease, box-shadow 300ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease; }
  .btn:active { transform: scale(0.97); }
  .cta-mini { transition: transform 120ms ease, box-shadow 300ms ease; }
  .cta-mini:active { transform: scale(0.97); }

  /* ── Scroll progress bar (haut de page, gold) ──────────────
     Width gérée par JS via --scroll-progress (0-1). */
  .scroll-progress {
    position: fixed; top: 0; left: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(to right, var(--gold), rgba(var(--gold-rgb), 0.5));
    box-shadow: 0 0 8px rgba(var(--gold-rgb), 0.6);
    transform: scaleX(var(--scroll-progress, 0));
    transform-origin: left;
    z-index: 9999; pointer-events: none;
    transition: transform 100ms linear;
  }

  /* ── Social links (footer) : icône SVG + texte ─────────────
     Pour Instagram, Facebook, email. Icône reprend la couleur
     du texte (currentColor) et passe en gold au hover. */
  .social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: color 200ms ease;
  }
  .social-ico {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: color 200ms ease, transform 200ms ease;
  }
  .social-link:hover .social-ico { transform: scale(1.1); color: var(--gold); }

  /* ── Mobile menu : slide-down fluide ───────────────────────
     Remplace display:none/block par max-height + opacity pour
     une transition smooth (uniquement < 900px). */
  @media (max-width: 899px) {
    .mobile-menu {
      display: block;
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      transition: max-height 350ms cubic-bezier(.16,1,.3,1),
                  opacity 250ms ease;
      pointer-events: none;
    }
    .mobile-menu.open {
      max-height: 80vh;
      opacity: 1;
      pointer-events: auto;
    }
  }
}
