/* =====================================================================
   ALABAKOCARS — Design system
   Location de voitures premium · Émerainville (77)
   Dark automobile / street-premium — or automobile + rouge sport.
   Vanilla CSS, mobile-first, responsive, accessible.
   ===================================================================== */

/* ------------------------------------------------------------------ */
/*  1. Tokens                                                          */
/* ------------------------------------------------------------------ */
:root {
  /* Couleurs */
  --bitume:  #0b0b0d;   /* fond principal */
  --carbone: #161619;   /* surfaces surélevées (cartes) */
  --carbone-2:#1d1d21;  /* surfaces secondaires */
  --tole:    #2a2a30;   /* filets / bordures */
  --tole-2:  #3a3a42;   /* bordures survol */
  --or:      #cba14e;   /* signature — or automobile */
  --or-clair:#e3c383;
  --or-sombre:#a8803a;
  --sport:   #e2362b;   /* rouge performance — action / urgence */
  --sport-clair:#ff5347;
  --craie:   #f3efe6;   /* texte principal */
  --fumee:   #97938b;   /* texte atténué */
  --fumee-2: #6d6a64;   /* texte très atténué */
  --vert:    #3fbf7f;   /* succès (dispo) */

  /* Typo */
  --f-display: 'Archivo Expanded', 'Archivo', system-ui, sans-serif;
  --f-titre:   'Archivo', system-ui, sans-serif;
  --f-corps:   'Inter', system-ui, -apple-system, sans-serif;

  /* Rythme */
  --page: min(1200px, 100% - 2.5rem);
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 22px;
  --r-xl: 30px;

  /* Ombres */
  --ombre-carte: 0 1px 0 rgba(255,255,255,.03), 0 18px 40px -20px rgba(0,0,0,.8);
  --ombre-flotte: 0 24px 60px -24px rgba(0,0,0,.9);

  /* Transitions */
  --t-rapide: .16s cubic-bezier(.4,0,.2,1);
  --t: .28s cubic-bezier(.4,0,.2,1);
}

/* ------------------------------------------------------------------ */
/*  2. Reset & base                                                    */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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 {
  font-family: var(--f-corps);
  background: var(--bitume);
  color: var(--craie);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }

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

::selection { background: var(--or); color: var(--bitume); }

/* ------------------------------------------------------------------ */
/*  3. Typographie                                                     */
/* ------------------------------------------------------------------ */
.ab-eyebrow {
  font-family: var(--f-titre);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--or);
  display: inline-flex;
  align-items: center;
  gap: .6ch;
}
.ab-eyebrow--fumee { color: var(--fumee); }

h1, h2, h3 { line-height: 1.02; font-weight: 800; }

.ab-h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 11vw, 6.5rem);
  letter-spacing: -.01em;
  line-height: .92;
  text-transform: uppercase;
}
.ab-h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2rem, 6.5vw, 3.6rem);
  letter-spacing: -.005em;
  line-height: .96;
  text-transform: uppercase;
}
.ab-h3 {
  font-family: var(--f-titre);
  font-weight: 700;
  font-size: clamp(1.2rem, 3.4vw, 1.6rem);
  letter-spacing: -.01em;
}
.ab-lede {
  font-size: clamp(1rem, 2.4vw, 1.22rem);
  color: var(--fumee);
  max-width: 44ch;
  line-height: 1.55;
}
.ab-or { color: var(--or); }
.ab-sport { color: var(--sport); }

/* ------------------------------------------------------------------ */
/*  4. Structure / sections                                            */
/* ------------------------------------------------------------------ */
.ab-page { width: var(--page); margin-inline: auto; }

.ab-section { padding-block: clamp(4rem, 11vw, 7.5rem); }
.ab-section--serre { padding-block: clamp(3rem, 8vw, 5rem); }

.ab-section__tete { margin-bottom: clamp(2rem, 5vw, 3.25rem); max-width: 60ch; }
.ab-section__tete .ab-lede { margin-top: 1rem; }

.ab-filet {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tole) 12%, var(--tole) 88%, transparent);
  border: 0;
}

/* ------------------------------------------------------------------ */
/*  5. Boutons                                                         */
/* ------------------------------------------------------------------ */
.ab-btn {
  --bg: var(--or);
  --fg: var(--bitume);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6ch;
  padding: 1.05rem 1.7rem;
  min-height: 52px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-titre);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  border-radius: var(--r-m);
  transition: transform var(--t-rapide), box-shadow var(--t-rapide), background var(--t-rapide);
  white-space: nowrap;
  text-align: center;
}
.ab-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(203,161,78,.6); }
.ab-btn:active { transform: translateY(0); }

.ab-btn--sport { --bg: var(--sport); --fg: #fff; }
.ab-btn--sport:hover { box-shadow: 0 12px 26px -12px rgba(203,161,78,.6); background: var(--or-clair); }

.ab-btn--ghost {
  --bg: transparent; --fg: var(--craie);
  border: 1px solid var(--tole-2);
}
.ab-btn--ghost:hover { border-color: var(--or); color: var(--or); box-shadow: none; }

.ab-btn--large { padding: 1.2rem 2.1rem; min-height: 58px; font-size: 1.02rem; }
.ab-btn--bloc { width: 100%; }

.ab-btn__fleche { transition: transform var(--t-rapide); }
.ab-btn:hover .ab-btn__fleche { transform: translateX(3px); }

/* ------------------------------------------------------------------ */
/*  6. En-tête / navigation                                            */
/* ------------------------------------------------------------------ */
.ab-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bitume) 82%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.ab-head.est-defile { border-bottom-color: var(--tole); }
.ab-head__in {
  width: var(--page);
  margin-inline: auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.ab-brand { display: inline-flex; align-items: center; gap: .6rem; }
.ab-brand__mark { width: 34px; height: 34px; }
.ab-brand__nom {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.ab-brand__nom b { color: var(--or); font-weight: 800; }

.ab-nav { display: none; align-items: center; gap: 2rem; }
.ab-nav a {
  font-family: var(--f-titre);
  font-weight: 500;
  font-size: .92rem;
  color: var(--fumee);
  transition: color var(--t-rapide);
  position: relative;
}
.ab-nav a:hover { color: var(--craie); }

.ab-head__cta { display: none; }

.ab-burger {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--tole); border-radius: var(--r-s);
}
.ab-burger span { display: block; width: 20px; height: 2px; background: var(--craie); position: relative; transition: var(--t-rapide); }
.ab-burger span::before, .ab-burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--craie); transition: var(--t-rapide); }
.ab-burger span::before { top: -6px; }
.ab-burger span::after { top: 6px; }
.ab-burger[aria-expanded="true"] span { background: transparent; }
.ab-burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.ab-burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Menu mobile */
.ab-menu {
  position: fixed;
  inset: 68px 0 auto 0;
  background: var(--bitume);
  border-bottom: 1px solid var(--tole);
  padding: 1.25rem var(--page-gutter, 1.25rem) 2rem;
  transform: translateY(-120%);
  transition: transform var(--t);
  z-index: 55;
}
.ab-menu.est-ouvert { transform: translateY(0); }
.ab-menu__in { width: var(--page); margin-inline: auto; display: grid; gap: .35rem; }
.ab-menu a {
  font-family: var(--f-titre);
  font-weight: 600;
  font-size: 1.35rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--carbone-2);
  display: flex; justify-content: space-between; align-items: center;
}
.ab-menu a span { color: var(--fumee-2); font-size: 1rem; }
.ab-menu .ab-btn { margin-top: 1.1rem; }

@media (min-width: 900px) {
  .ab-nav { display: flex; }
  .ab-head__cta { display: inline-flex; }
  .ab-burger { display: none; }
  .ab-menu { display: none; }
}

/* ------------------------------------------------------------------ */
/*  7. Hero                                                            */
/* ------------------------------------------------------------------ */
.ab-hero {
  position: relative;
  padding-block: clamp(3rem, 9vw, 6rem) clamp(3.5rem, 9vw, 6rem);
  overflow: hidden;
}
.ab-hero__lueur {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background:
    radial-gradient(60% 80% at 78% 12%, rgba(203,161,78,.16), transparent 60%),
    radial-gradient(50% 70% at 12% 32%, rgba(203,161,78,.07), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.ab-hero__in { position: relative; z-index: 1; }
.ab-hero__logo { width: clamp(190px, 42vw, 300px); height: auto; margin-bottom: 1.5rem; }
.ab-foot__emble { width: clamp(180px, 40vw, 240px); height: auto; margin-bottom: 1.1rem; }

.ab-live {
  display: inline-flex; align-items: center; gap: .6ch;
  font-family: var(--f-titre); font-weight: 600;
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--craie);
  padding: .5rem .9rem;
  border: 1px solid var(--tole); border-radius: 100px;
  background: var(--carbone);
}
.ab-live__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 0 rgba(63,191,127,.6); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(63,191,127,.55); }
  70% { box-shadow: 0 0 0 8px rgba(63,191,127,0); }
  100% { box-shadow: 0 0 0 0 rgba(63,191,127,0); }
}

.ab-hero h1 { margin: 1.4rem 0 0; }
.ab-hero h1 .barre { color: var(--or); }
.ab-hero__sub { margin-top: 1.5rem; }
.ab-hero__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .85rem; }

.ab-hero__meta {
  margin-top: 2.75rem;
  display: flex; flex-wrap: wrap; gap: 1.75rem 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--tole);
}
.ab-hero__stat b {
  display: block;
  font-family: var(--f-display); font-weight: 800;
  font-size: 1.8rem; line-height: 1; color: var(--craie);
}
.ab-hero__stat span { font-size: .82rem; color: var(--fumee); letter-spacing: .04em; }

/* ------------------------------------------------------------------ */
/*  8. Bandeau confiance (USP)                                         */
/* ------------------------------------------------------------------ */
.ab-usp {
  border-block: 1px solid var(--tole);
  background: var(--carbone);
}
.ab-usp__in {
  width: var(--page); margin-inline: auto;
  display: grid; grid-template-columns: 1fr; gap: 0;
}
.ab-usp__item {
  display: flex; align-items: center; gap: .9rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--carbone-2);
}
.ab-usp__item:last-child { border-bottom: 0; }
.ab-usp__ic { color: var(--or); flex: 0 0 auto; }
.ab-usp__t { font-family: var(--f-titre); font-weight: 700; font-size: .98rem; }
.ab-usp__d { font-size: .82rem; color: var(--fumee); }
@media (min-width: 720px) {
  .ab-usp__in { grid-template-columns: repeat(4, 1fr); }
  .ab-usp__item { padding: 1.6rem 1.4rem; border-bottom: 0; border-right: 1px solid var(--carbone-2); flex-direction: column; align-items: flex-start; text-align: left; gap: .7rem; }
  .ab-usp__item:last-child { border-right: 0; }
}

/* ------------------------------------------------------------------ */
/*  9. Catalogue — carte "fiche de collection" (SIGNATURE)             */
/* ------------------------------------------------------------------ */
.ab-filtres { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.ab-filtre {
  font-family: var(--f-titre); font-weight: 600; font-size: .82rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .55rem 1rem;
  border: 1px solid var(--tole); border-radius: 100px;
  color: var(--fumee);
  transition: var(--t-rapide);
}
.ab-filtre:hover { color: var(--craie); border-color: var(--tole-2); }
.ab-filtre.est-actif { background: var(--craie); color: var(--bitume); border-color: var(--craie); }

.ab-flotte {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 680px) { .ab-flotte { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .ab-flotte { grid-template-columns: repeat(3, 1fr); } }

.ab-auto {
  position: relative;
  background: var(--carbone);
  border: 1px solid var(--tole);
  border-radius: var(--r-l);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.ab-auto:hover { transform: translateY(-4px); border-color: var(--tole-2); box-shadow: var(--ombre-flotte); }
.ab-auto.est-cache { display: none; }

.ab-auto__gamme {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--f-titre); font-weight: 700; font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase;
  padding: .38rem .7rem; border-radius: 100px;
  background: rgba(11,11,13,.72); backdrop-filter: blur(6px);
  border: 1px solid var(--tole-2);
}
.ab-auto__gamme[data-g="sport"] { color: var(--or-clair); border-color: rgba(203,161,78,.45); }
.ab-auto__gamme[data-g="premium"] { color: var(--craie); border-color: var(--tole-2); }
.ab-auto__gamme[data-g="essentiel"] { color: var(--fumee); }

/* Zone visuelle — reçoit la photo d'Atef ; en attendant, silhouette + nom */
.ab-auto__visuel {
  position: relative;
  aspect-ratio: 16 / 11;
  background:
    radial-gradient(120% 90% at 50% 120%, rgba(203,161,78,.10), transparent 55%),
    linear-gradient(160deg, var(--carbone-2), var(--bitume));
  display: grid; place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--tole);
}
.ab-auto__visuel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-auto__silhouette { width: 78%; opacity: .5; color: var(--fumee-2); }
.ab-auto__placeholder {
  position: absolute; bottom: 12px; right: 14px;
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--fumee-2);
}

.ab-auto__corps { padding: 1.35rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: 1.1rem; flex: 1; }
.ab-auto__nom {
  font-family: var(--f-display); font-weight: 800;
  font-size: 1.5rem; line-height: .98; text-transform: uppercase;
  letter-spacing: -.01em;
}
.ab-auto__nom small { display: block; font-family: var(--f-titre); font-weight: 500; font-size: .8rem; letter-spacing: .1em; color: var(--or); text-transform: uppercase; margin-top: .35rem; }

/* Fiche specs — grille technique */
.ab-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: .1rem;
  border: 1px solid var(--tole); border-radius: var(--r-s); overflow: hidden;
}
.ab-spec { padding: .6rem .75rem; background: var(--bitume); display: flex; flex-direction: column; gap: .1rem; }
.ab-spec dt { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fumee-2); }
.ab-spec dd { font-family: var(--f-titre); font-weight: 700; font-size: .92rem; font-variant-numeric: tabular-nums; }

.ab-auto__pied { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.ab-auto__prix { line-height: 1; }
.ab-auto__prix b { font-family: var(--f-display); font-weight: 800; font-size: 1.9rem; color: var(--or); }
.ab-auto__prix span { display: block; font-size: .72rem; color: var(--fumee); letter-spacing: .05em; margin-top: .25rem; }
.ab-auto__prix small { font-size: .62rem; color: var(--fumee-2); }

/* ------------------------------------------------------------------ */
/*  10. Carte de fidélité                                              */
/* ------------------------------------------------------------------ */
.ab-fid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .ab-fid { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; } }

.ab-fid__txt .ab-h2 { margin-bottom: 1.1rem; }
.ab-fid__etapes { margin-top: 1.75rem; display: grid; gap: 1rem; }
.ab-fid__etape { display: flex; gap: .95rem; align-items: flex-start; }
.ab-fid__num {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-titre); font-weight: 800; font-size: .9rem;
  color: var(--or); border: 1px solid var(--or-sombre);
}
.ab-fid__etape b { font-family: var(--f-titre); font-weight: 700; }
.ab-fid__etape p { color: var(--fumee); font-size: .92rem; }

/* La carte visuelle */
.ab-carte {
  position: relative;
  aspect-ratio: 1.586;               /* format carte bancaire */
  border-radius: var(--r-l);
  padding: clamp(1.25rem, 4vw, 1.9rem);
  background:
    radial-gradient(120% 140% at 85% -10%, rgba(203,161,78,.22), transparent 45%),
    linear-gradient(155deg, #17171b, #0c0c0e 70%);
  border: 1px solid var(--tole-2);
  box-shadow: var(--ombre-flotte);
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  color: var(--craie);
}
.ab-carte::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.04) 50%, transparent 60%);
}
.ab-carte__haut { display: flex; justify-content: space-between; align-items: flex-start; }
.ab-carte__marque { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem; }
.ab-carte__marque b { color: var(--or); }
.ab-carte__type { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fumee); }
.ab-carte__puce { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, var(--or-clair), var(--or-sombre)); position: relative; }
.ab-carte__puce::before, .ab-carte__puce::after { content:""; position:absolute; background: rgba(11,11,13,.35); }
.ab-carte__puce::before { inset: 6px 0; height: 1px; top: 50%; }
.ab-carte__puce::after { inset: 0 12px; width: 1px; left: 50%; }

.ab-carte__jauge { display: flex; gap: 5px; margin: .4rem 0; }
.ab-carte__pas { flex: 1; height: 7px; border-radius: 3px; background: rgba(255,255,255,.08); }
.ab-carte__pas.est-plein { background: linear-gradient(90deg, var(--or), var(--or-clair)); }
.ab-carte__pas.est-cible { background: transparent; box-shadow: inset 0 0 0 1.5px var(--or); }

.ab-carte__bas { display: flex; justify-content: space-between; align-items: flex-end; }
.ab-carte__offre b { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; color: var(--or); display: block; line-height: 1; }
.ab-carte__offre span { font-size: .68rem; color: var(--fumee); letter-spacing: .06em; }
.ab-carte__compte { text-align: right; }
.ab-carte__compte b { font-family: var(--f-titre); font-weight: 800; font-size: 1.1rem; }
.ab-carte__compte span { display: block; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fumee-2); }

.ab-fid__note { margin-top: 1.4rem; font-size: .8rem; color: var(--fumee-2); }

/* ------------------------------------------------------------------ */
/*  11. Carrousel vidéos                                               */
/* ------------------------------------------------------------------ */
.ab-videos__piste {
  display: flex; gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.25rem;
  margin-inline: calc(var(--page-gutter, 1.25rem) * -1);
  padding-inline: var(--page-gutter, 1.25rem);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--tole) transparent;
}
.ab-videos__piste::-webkit-scrollbar { height: 6px; }
.ab-videos__piste::-webkit-scrollbar-thumb { background: var(--tole); border-radius: 3px; }

.ab-clip {
  flex: 0 0 auto;
  width: min(74vw, 260px);
  aspect-ratio: 9 / 16;
  scroll-snap-align: start;
  border-radius: var(--r-m);
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, var(--carbone-2), var(--bitume));
  border: 1px solid var(--tole);
  display: grid; place-items: center;
}
.ab-clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-clip__play {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(11,11,13,.55); border: 1px solid var(--tole-2);
  display: grid; place-items: center; color: var(--or);
  transition: var(--t-rapide);
}
.ab-clip:hover .ab-clip__play { transform: scale(1.06); border-color: var(--or); }
.ab-clip__label { position: absolute; bottom: 12px; left: 12px; right: 12px; font-size: .72rem; color: var(--fumee); letter-spacing: .06em; }
.ab-videos__aide { margin-top: .5rem; font-size: .8rem; color: var(--fumee-2); }

/* ------------------------------------------------------------------ */
/*  12. Réseaux sociaux                                                */
/* ------------------------------------------------------------------ */
.ab-social {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .85rem;
}
.ab-social__lien {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--tole); border-radius: var(--r-m);
  background: var(--carbone);
  transition: var(--t-rapide);
}
.ab-social__lien:hover { transform: translateY(-3px); border-color: var(--tole-2); }
.ab-social__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto; }
.ab-social__ic svg { width: 22px; height: 22px; }
.ab-social__lien[data-r="insta"] .ab-social__ic { background: linear-gradient(45deg,#f9ce34,#ee2a7b 40%,#6228d7); color:#fff; }
.ab-social__lien[data-r="tiktok"] .ab-social__ic { background:#0b0b0d; border:1px solid var(--tole-2); color:#fff; }
.ab-social__lien[data-r="snap"] .ab-social__ic { background:#fffc00; color:#0b0b0d; }
.ab-social__t { font-family: var(--f-titre); font-weight: 700; font-size: 1rem; }
.ab-social__h { font-size: .82rem; color: var(--fumee); }
.ab-social__fleche { margin-left: auto; color: var(--fumee-2); transition: var(--t-rapide); }
.ab-social__lien:hover .ab-social__fleche { color: var(--or); transform: translateX(3px); }

/* ------------------------------------------------------------------ */
/*  13. FAQ                                                            */
/* ------------------------------------------------------------------ */
.ab-faq { display: grid; gap: .75rem; max-width: 820px; }
.ab-faq__item { border: 1px solid var(--tole); border-radius: var(--r-m); background: var(--carbone); overflow: hidden; }
.ab-faq__q {
  width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 1.4rem;
  font-family: var(--f-titre); font-weight: 700; font-size: 1.02rem;
}
.ab-faq__signe { flex: 0 0 auto; width: 24px; height: 24px; position: relative; color: var(--or); }
.ab-faq__signe::before, .ab-faq__signe::after { content:""; position:absolute; top:50%; left:50%; transform: translate(-50%,-50%); background: currentColor; }
.ab-faq__signe::before { width: 14px; height: 2px; }
.ab-faq__signe::after { width: 2px; height: 14px; transition: transform var(--t-rapide); }
.ab-faq__item[open] .ab-faq__signe::after { transform: translate(-50%,-50%) scaleY(0); }
.ab-faq__q::-webkit-details-marker { display: none; }
.ab-faq__r { padding: 0 1.4rem 1.4rem; color: var(--fumee); font-size: .95rem; line-height: 1.65; }
.ab-faq__r a { color: var(--or); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ */
/*  14. Bandeau réservation (CTA final)                                */
/* ------------------------------------------------------------------ */
.ab-cta-final {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 7vw, 4.5rem);
  background:
    radial-gradient(90% 120% at 80% -20%, rgba(227,195,131,.14), transparent 50%),
    radial-gradient(90% 120% at 10% 120%, rgba(203,161,78,.18), transparent 50%),
    var(--carbone);
  border: 1px solid var(--tole-2);
  text-align: center;
  overflow: hidden;
}
.ab-cta-final .ab-h2 { margin: .5rem auto 1rem; }
.ab-cta-final .ab-lede { margin: 0 auto 2rem; }
.ab-cta-final__actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }

/* ------------------------------------------------------------------ */
/*  15. Formulaire / modale de réservation                             */
/* ------------------------------------------------------------------ */
.ab-modal {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.ab-modal.est-ouvert { display: flex; }
.ab-modal__fond { position: absolute; inset: 0; background: rgba(4,4,6,.7); backdrop-filter: blur(4px); animation: fondIn var(--t); }
@keyframes fondIn { from { opacity: 0; } to { opacity: 1; } }

.ab-modal__boite {
  position: relative;
  width: min(560px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--carbone);
  border: 1px solid var(--tole);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 1.75rem clamp(1.25rem, 5vw, 2.1rem) 2rem;
  animation: monte var(--t);
}
@keyframes monte { from { transform: translateY(30px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
@media (min-width: 640px) {
  .ab-modal { align-items: center; }
  .ab-modal__boite { border-radius: var(--r-xl); }
}

.ab-modal__fermer {
  position: absolute; top: 1rem; right: 1rem;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: var(--fumee);
  border: 1px solid var(--tole);
  transition: var(--t-rapide);
}
.ab-modal__fermer:hover { color: var(--craie); border-color: var(--tole-2); }
.ab-modal__tete { margin-bottom: 1.5rem; padding-right: 3rem; }
.ab-modal__tete .ab-eyebrow { margin-bottom: .6rem; }
.ab-modal__tete h2 { font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; text-transform: uppercase; line-height: 1; }
.ab-modal__tete p { color: var(--fumee); font-size: .9rem; margin-top: .5rem; }

.ab-form { display: grid; gap: 1.1rem; }
.ab-form__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 460px) { .ab-form__duo { grid-template-columns: 1fr; } }
.ab-champ { display: grid; gap: .45rem; }
.ab-champ label { font-family: var(--f-titre); font-weight: 600; font-size: .82rem; letter-spacing: .02em; }
.ab-champ label .req { color: var(--sport); }
.ab-champ input, .ab-champ select, .ab-champ textarea {
  background: var(--bitume);
  border: 1px solid var(--tole);
  border-radius: var(--r-s);
  padding: .85rem .95rem;
  min-height: 50px;
  transition: border-color var(--t-rapide);
  width: 100%;
}
.ab-champ textarea { min-height: 92px; resize: vertical; line-height: 1.5; }
.ab-champ input:focus, .ab-champ select:focus, .ab-champ textarea:focus { outline: none; border-color: var(--or); }
.ab-champ input::placeholder, .ab-champ textarea::placeholder { color: var(--fumee-2); }
.ab-champ select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2397938b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }

.ab-champ--erreur input, .ab-champ--erreur select, .ab-champ--erreur textarea { border-color: var(--sport); }
.ab-champ__err { font-size: .76rem; color: var(--sport-clair); display: none; }
.ab-champ--erreur .ab-champ__err { display: block; }

.ab-form__note {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .78rem; color: var(--fumee); line-height: 1.5;
  background: var(--bitume); border: 1px solid var(--tole); border-radius: var(--r-s);
  padding: .8rem .9rem;
}
.ab-form__note svg { flex: 0 0 auto; color: var(--or); margin-top: 1px; }
.ab-form__envoi { margin-top: .3rem; }
.ab-form__alt { text-align: center; font-size: .82rem; color: var(--fumee); margin-top: .25rem; }
.ab-form__alt a { color: var(--or); }

/* ------------------------------------------------------------------ */
/*  16. Toast                                                          */
/* ------------------------------------------------------------------ */
.ab-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(120%);
  z-index: 200;
  background: var(--craie); color: var(--bitume);
  font-family: var(--f-titre); font-weight: 600; font-size: .9rem;
  padding: .9rem 1.3rem; border-radius: 100px;
  box-shadow: var(--ombre-flotte);
  transition: transform var(--t);
  max-width: calc(100% - 2rem);
}
.ab-toast.est-visible { transform: translateX(-50%) translateY(0); }

/* ------------------------------------------------------------------ */
/*  17. Bandeau installation PWA                                       */
/* ------------------------------------------------------------------ */
.ab-install {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90;
  display: none;
  align-items: center; gap: 1rem;
  background: var(--carbone); border: 1px solid var(--tole-2);
  border-radius: var(--r-m); padding: .9rem 1rem;
  box-shadow: var(--ombre-flotte);
}
.ab-install.est-visible { display: flex; }
.ab-install img { width: 40px; height: 40px; border-radius: 10px; flex: 0 0 auto; }
.ab-install__txt b { font-family: var(--f-titre); font-weight: 700; font-size: .92rem; display: block; }
.ab-install__txt span { font-size: .78rem; color: var(--fumee); }
.ab-install__go { margin-left: auto; }
.ab-install__x { color: var(--fumee-2); padding: .3rem; }
@media (min-width: 560px) { .ab-install { left: auto; width: 380px; } }

/* ------------------------------------------------------------------ */
/*  18. Pied de page                                                   */
/* ------------------------------------------------------------------ */
.ab-foot { border-top: 1px solid var(--tole); background: var(--carbone); padding-block: clamp(3rem, 8vw, 4.5rem) 2rem; }
.ab-foot__grille { display: grid; gap: 2.5rem; }
@media (min-width: 780px) { .ab-foot__grille { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.ab-foot__brand { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.ab-foot__brand img { width: 38px; height: 38px; }
.ab-foot__brand b { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: 1.15rem; }
.ab-foot__brand b i { color: var(--or); font-style: normal; }
.ab-foot p { color: var(--fumee); font-size: .9rem; max-width: 40ch; }
.ab-foot__zones { margin-top: 1.1rem; font-size: .82rem; color: var(--fumee-2); line-height: 1.7; }
.ab-foot__col h4 { font-family: var(--f-titre); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fumee); margin-bottom: 1rem; }
.ab-foot__col a, .ab-foot__col li { display: block; font-size: .92rem; color: var(--craie); padding: .35rem 0; }
.ab-foot__col a:hover { color: var(--or); }
.ab-foot__bas {
  width: var(--page); margin: 2.5rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid var(--carbone-2);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .78rem; color: var(--fumee-2);
}

/* ------------------------------------------------------------------ */
/*  19. Reveal au scroll                                               */
/* ------------------------------------------------------------------ */
.js .ab-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.4,0,.2,1); }
.ab-reveal.est-vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .ab-reveal { opacity: 1; transform: none; } }

/* Accès rapide clavier */
.ab-skip { position: absolute; left: -999px; top: 0; z-index: 300; background: var(--or); color: var(--bitume); padding: .7rem 1.1rem; border-radius: 0 0 var(--r-s) 0; font-weight: 700; }
.ab-skip:focus { left: 0; }
