/* ==========================================================================
   Montaudran Loisirs — style.css
   Direction artistique : noir / rouge / blanc, futuriste, premium
   ========================================================================== */

:root {
  --black: #0a0a0a;
  --black-soft: #131313;
  --panel: #17181a;
  --panel-2: #1e1f22;
  --line: #2a2b2e;
  --white: #f7f7f5;
  --grey: #a7a7ac;
  --grey-dim: #6f7075;
  --red: #e10600;
  --red-bright: #ff2a1f;
  --red-dim: #7a0a06;

  --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ui: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1280px;
  --radius: 4px;
  --ease: cubic-bezier(.22, .68, 0, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; }
p { margin: 0; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
iframe { border: 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: var(--white);
  padding: 12px 20px;
  z-index: 999;
  font-family: var(--font-ui);
  font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

/* ---------- Cursor glow ---------- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 380px; height: 380px;
  margin-left: -190px; margin-top: -190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225,6,0,.16), rgba(225,6,0,0) 70%);
  pointer-events: none;
  z-index: 40;
  opacity: 0;
  transition: opacity .4s;
  will-change: transform;
}
.cursor-glow.active { opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .cursor-glow { display: none; }
}

/* ---------- Page loader ---------- */
.page-loader {
  position: fixed; inset: 0;
  z-index: 300;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s var(--ease), visibility .5s;
}
.page-loader-logo {
  width: 220px;
  max-width: 60vw;
  height: auto;
  animation: loaderPulse 1s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(225,6,0,.55));
}
@keyframes loaderPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.9); opacity: .7; } }
.page-loader.done { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- Utility ---------- */
.eyebrow {
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-size: 0.8rem;
  margin: 0 0 14px;
}
.accent { color: var(--red); text-shadow: 0 0 24px rgba(225,6,0,.35); }

.section-lead {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--grey);
  max-width: 60ch;
  margin-top: 16px;
}

.section-head { max-width: 780px; margin: 0 auto 56px; text-align: center; padding: 0 24px; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.05; }
.section-head .section-lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.92rem;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 0.82rem; }
.btn-lg { padding: 18px 36px; font-size: 1rem; }
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 0 0 0 rgba(225,6,0,.6);
}
.btn-primary:hover { background: var(--red-bright); transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(225,6,0,.7); }
.btn-outline { border-color: rgba(247,247,245,.35); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.06); transform: translateY(-2px); }
.btn-ghost { color: var(--white); padding-left: 4px; padding-right: 4px; }
.btn-ghost span { transition: transform .25s var(--ease); display: inline-block; }
.btn-ghost:hover span { transform: translateX(6px); }

/* Magnetic buttons: JS sets --mx/--my (pull offset), CSS handles the shine sweep */
.btn-magnetic { position: relative; overflow: hidden; will-change: transform; }
.btn-magnetic span { position: relative; z-index: 1; }
.btn-magnetic::before {
  content: '';
  position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  transition: left .6s var(--ease);
  pointer-events: none;
}
.btn-magnetic:hover::before { left: 130%; }
.btn-outline.btn-magnetic {
  background: linear-gradient(var(--black), var(--black)) padding-box,
              linear-gradient(120deg, var(--red), transparent 30%, transparent 70%, var(--red)) border-box;
  border: 1.5px solid transparent;
  background-size: 100% 100%, 300% 300%;
  animation: borderSweep 5s linear infinite;
}
@keyframes borderSweep { to { background-position: 0 0, 100% 100%; } }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10,10,10,.88);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  border-color: var(--line);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 34px; width: auto; display: block; }
.footer-brand .logo-img { height: 52px; }

.main-nav ul { display: flex; align-items: center; gap: 19px; }
.main-nav a {
  font-family: var(--font-ui);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--grey);
  display: flex; align-items: center; gap: 5px;
  padding: 6px 0;
  white-space: nowrap;
  position: relative;
  transition: color .25s;
}
.main-nav a::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--red);
  transition: right .28s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }

.has-dropdown { position: relative; }
.has-dropdown svg { transition: transform .25s var(--ease); }
.has-dropdown:hover svg { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, 8px);
  min-width: 220px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.6);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.dropdown li a {
  padding: 10px 14px;
  border-radius: 3px;
  display: block;
}
.dropdown li a:hover { background: var(--panel-2); color: var(--white); }
.dropdown li a::after { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--grey);
  transition: color .2s;
  white-space: nowrap;
}
.header-phone:hover { color: var(--white); }

.burger {
  display: none;
  width: 30px; height: 22px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
}
.burger span {
  display: block; height: 2px; width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 99;
  display: flex; flex-direction: column;
  padding: 96px 28px 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .4s var(--ease), opacity .4s var(--ease), visibility .4s;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }

.mobile-nav-top {
  padding-bottom: 22px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav-top .btn { display: flex; width: 100%; justify-content: center; }

.mobile-nav ul { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--line); }
.mobile-nav a {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.3rem;
  padding: 15px 0;
  display: block;
}

.mobile-has-sub { display: flex; flex-direction: column; }
.mobile-sub-toggle {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.3rem;
  padding: 15px 0;
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  color: var(--white);
  background: none;
}
.mobile-sub-toggle svg { transition: transform .25s var(--ease); color: var(--grey); flex-shrink: 0; }
.mobile-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-submenu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease);
}
.mobile-submenu > ul { overflow: hidden; }
.mobile-has-sub.sub-open .mobile-submenu { grid-template-rows: 1fr; }
.mobile-submenu li { padding-left: 16px; border-left: 1.5px solid var(--red-dim); }
.mobile-submenu a { font-size: 1.05rem; padding: 12px 0 12px 14px; color: var(--grey); }
.mobile-submenu a:hover, .mobile-submenu a:active { color: var(--white); }


/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; top: -12%; left: 0; right: 0; height: 124%; z-index: 0; will-change: transform; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 22s var(--ease) infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.5) 0%, rgba(10,10,10,.3) 35%, rgba(10,10,10,.85) 82%, var(--black) 100%),
    linear-gradient(90deg, rgba(10,10,10,.7) 0%, rgba(10,10,10,.1) 45%, rgba(10,10,10,.1) 55%, rgba(10,10,10,.7) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(225,6,0,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225,6,0,.14) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 100%, #000 40%, transparent 78%);
          mask-image: radial-gradient(ellipse 90% 65% at 50% 100%, #000 40%, transparent 78%);
  animation: gridDrift 16s linear infinite;
}
@keyframes gridDrift { from { background-position: 0 0, 0 0; } to { background-position: 56px 0, 0 56px; } }
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-vignette {
  position: absolute; inset: 0;
  box-shadow: inset 0 0 140px 20px rgba(0,0,0,.45);
  pointer-events: none;
}
.hero-scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0px, rgba(255,255,255,.035) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: overlay;
  opacity: .5;
}

/* ---------- HUD frame ---------- */
.hud-frame { position: absolute; top: 104px; left: 18px; right: 18px; bottom: 18px; z-index: 3; pointer-events: none; }
.hud-corner { position: absolute; width: 26px; height: 26px; border: 2px solid rgba(225,6,0,.7); opacity: .85; }
.hud-corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.hud-corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.hud-corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.hud-corner.br { bottom: 0; right: 0; border-left: none; border-top: none; }
.hud-label {
  position: absolute;
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: .18em;
  font-size: .65rem;
  color: rgba(247,247,245,.55);
}
.hud-label-tl { top: 10px; left: 36px; }
.hud-label-tr { top: 10px; right: 36px; display: flex; align-items: center; gap: 6px; }
.hud-label-tr::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 8px 2px rgba(255,42,31,.8);
  animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.hero-content {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 90px;
  width: 100%;
}
.eyebrow-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); margin-right: 10px;
  box-shadow: 0 0 10px 2px rgba(225,6,0,.7);
  animation: livePulse 1.6s ease-in-out infinite;
}
.hero-content h1 {
  font-size: clamp(2.6rem, 7.4vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.hero-content h1 .line { display: block; }
.hero-content h1 .accent {
  position: relative;
  display: inline-block;
  color: var(--red-bright);
  text-shadow: 0 0 18px rgba(225,6,0,.75), 0 0 46px rgba(225,6,0,.4);
}
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  background: var(--black);
  clip-path: inset(50% 0 50% 0);
  opacity: 0;
}
.glitch::before { left: 3px; color: #0ff; animation: glitchTop 7s infinite; }
.glitch::after { left: -3px; color: #f0f; animation: glitchBottom 7s infinite; }
@keyframes glitchTop {
  0%, 92%, 100% { opacity: 0; clip-path: inset(50% 0 50% 0); transform: translate(0); }
  93% { opacity: .8; clip-path: inset(10% 0 60% 0); transform: translate(-3px); }
  94% { opacity: .8; clip-path: inset(40% 0 20% 0); transform: translate(3px); }
  95% { opacity: 0; }
}
@keyframes glitchBottom {
  0%, 92%, 100% { opacity: 0; clip-path: inset(30% 0 40% 0); transform: translate(0); }
  93% { opacity: .8; clip-path: inset(60% 0 5% 0); transform: translate(3px); }
  94% { opacity: .8; clip-path: inset(15% 0 65% 0); transform: translate(-3px); }
  95% { opacity: 0; }
}
.hero-sub {
  max-width: 46ch;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--grey);
  margin-bottom: 34px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.scroll-cue {
  position: absolute; z-index: 2;
  right: 32px; bottom: 34px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 0.7rem;
  color: var(--grey);
  writing-mode: vertical-rl;
}
.scroll-cue-line {
  width: 1px; height: 46px;
  background: linear-gradient(var(--red), transparent);
  animation: scrollCue 2s ease-in-out infinite;
}
@keyframes scrollCue { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.hero-content .reveal { transition-delay: 0s; }
.hero-content .eyebrow.reveal.in { transition-delay: .05s; }
.hero-content h1.reveal.in { transition-delay: .15s; }
.hero-content .hero-sub.reveal.in { transition-delay: .28s; }
.hero-content .hero-cta.reveal.in { transition-delay: .4s; }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  position: relative;
  background: var(--red);
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid rgba(0,0,0,.15);
  border-bottom: 1px solid rgba(0,0,0,.15);
  transform: skewY(-1.4deg);
  margin: -1px 0;
}
.marquee::after {
  content: '';
  position: absolute; top: 0; left: -20%;
  width: 20%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-25deg);
  animation: marqueeSweep 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes marqueeSweep { 0% { left: -20%; } 60%, 100% { left: 120%; } }
.marquee-track {
  display: flex;
  width: max-content;
  gap: 22px;
  animation: marquee 32s linear infinite;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: clamp(1.3rem, 2.4vw, 2.1rem);
  color: var(--white);
  white-space: nowrap;
}
.marquee-track .dot { color: rgba(255,255,255,.55); }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { padding: 72px 24px; border-bottom: 1px solid var(--line); }
.stats-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat { padding: 12px; transition: transform .3s var(--ease); }
.stat:hover { transform: translateY(-4px); }
.stat-num, .stat-num-static {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--white);
  line-height: 1;
  text-shadow: 0 0 30px rgba(255,255,255,.15);
  font-variant-numeric: tabular-nums;
}
.stat-suffix { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--white); text-shadow: 0 0 30px rgba(255,255,255,.15); }
.stat p { margin-top: 10px; color: var(--grey); font-family: var(--font-ui); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 0.85rem; }
.stat + .stat, .stats-grid .stat:not(:first-child) { border-left: 1px solid var(--line); }

/* ==========================================================================
   Activities
   ========================================================================== */
.activities { padding: 120px 24px; max-width: var(--container); margin: 0 auto; }
.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 360px;
  gap: 20px;
}
.activity-card { position: relative; border-radius: 10px; overflow: hidden; grid-column: span 1; }
.activity-card.large { grid-column: span 2; grid-row: span 2; }
.activity-card.wide { grid-column: span 2; }
.activity-card a { display: block; height: 100%; position: relative; }
.activity-card.tilt { transition: transform .18s var(--ease), box-shadow .3s var(--ease); will-change: transform; transform-style: preserve-3d; }
.activity-card.tilt:hover { box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(225,6,0,.35); }
.activity-media { position: absolute; inset: 0; }
.activity-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.activity-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.4) 0%, rgba(10,10,10,.05) 12%, rgba(10,10,10,.35) 35%, rgba(10,10,10,.97) 100%);
  transition: background .4s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.activity-card:hover .activity-media img { transform: scale(1.08); }

.card-corner {
  position: absolute; z-index: 3;
  width: 22px; height: 22px;
  border: 2px solid var(--red-bright);
  opacity: 0;
  transition: opacity .3s var(--ease), width .3s var(--ease), height .3s var(--ease);
  filter: drop-shadow(0 0 6px rgba(255,42,31,.7));
}
.card-corner.tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.card-corner.br { bottom: 14px; right: 14px; border-left: none; border-top: none; }
.activity-card:hover .card-corner { opacity: 1; width: 30px; height: 30px; }
.activity-body {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px;
}
.activity-tag {
  align-self: flex-start;
  font-family: var(--font-ui);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 0.72rem;
  color: var(--white);
  background: var(--red);
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.activity-card h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 10px; text-shadow: 0 2px 14px rgba(0,0,0,.85); }
.activity-card.large h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.activity-body p { color: var(--white); opacity: .82; font-size: 0.94rem; max-width: 46ch; margin-bottom: 16px; text-shadow: 0 1px 10px rgba(0,0,0,.9); }
.activity-link {
  font-family: var(--font-ui);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 0.82rem;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--white);
  text-shadow: 0 1px 10px rgba(0,0,0,.9);
}
.activity-link span { transition: transform .25s var(--ease); }
.activity-card:hover .activity-link span { transform: translateX(6px); }

/* ==========================================================================
   Groupes & Entreprises
   ========================================================================== */
.groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.groups-media { position: relative; min-height: 460px; }
.groups-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.groups-content {
  padding: 90px 60px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--black-soft);
}
.groups-content h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 4px; }
.groups-list { margin: 30px 0; display: flex; flex-direction: column; gap: 14px; }
.groups-list li {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-ui); font-weight: 600; font-size: 1.02rem;
}
.groups-list svg { color: var(--red); flex-shrink: 0; }
.groups-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ==========================================================================
   Event space / features
   ========================================================================== */
.event-space {
  padding: 120px 24px;
  background: linear-gradient(180deg, var(--black) 0, var(--black-soft) 80px, var(--black-soft) calc(100% - 80px), var(--black) 100%);
}
.feature-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px 26px;
  transition: border-color .3s var(--ease), transform .15s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
}
.feature-card.tilt-soft:hover { border-color: var(--red-dim); box-shadow: 0 20px 40px -18px rgba(225,6,0,.35); }
.feature-icon {
  width: 54px; height: 54px;
  border-radius: 10px;
  background: rgba(225,6,0,.12);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.feature-card:hover .feature-icon { background: rgba(225,6,0,.2); box-shadow: 0 0 24px rgba(225,6,0,.45); }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { color: var(--grey); font-size: 0.92rem; }

/* ==========================================================================
   Local SEO section
   ========================================================================== */
.local-seo {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px 24px;
  gap: 60px;
  align-items: center;
}
.local-seo-text h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 22px; }
.local-seo-text p { color: var(--grey); font-size: 1.02rem; }
.local-seo-text strong { color: var(--white); }
.local-seo-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.local-seo-info h3 {
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: .06em;
  font-size: 0.8rem; color: var(--red); margin-bottom: 8px;
}
.local-seo-info p { color: var(--grey); font-size: 0.92rem; }
.local-seo-info a:hover { color: var(--white); }
.local-seo-map { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/5; }
.local-seo-map iframe { width: 100%; height: 100%; filter: grayscale(.4) invert(.92) contrast(.9); }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
  position: relative;
  padding: 130px 24px;
  text-align: center;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.final-cta-media { position: absolute; inset: 0; z-index: 0; }
.final-cta-media img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 0%, rgba(225,6,0,.28), transparent 60%),
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, var(--black) 78%),
    repeating-linear-gradient(45deg, rgba(225,6,0,.05) 0 2px, transparent 2px 24px);
  pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.final-cta h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 16px; }
.final-cta p { color: var(--grey); font-size: 1.1rem; margin-bottom: 40px; }
.final-cta-btns { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  background: var(--black-soft);
  padding: 90px 24px 0;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(225,6,0,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225,6,0,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 20%, transparent 78%);
          mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 20%, transparent 78%);
  pointer-events: none;
}
.site-footer::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red) 50%, transparent);
  opacity: .7;
}
.footer-top {
  position: relative; z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-brand p { color: var(--grey); margin: 18px 0 20px; max-width: 34ch; font-size: 0.92rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey);
  transition: all .25s var(--ease);
}
.footer-social a:hover {
  border-color: var(--red); color: var(--white); background: var(--red);
  box-shadow: 0 0 18px 2px rgba(225,6,0,.55);
  transform: translateY(-2px);
}
.footer-col {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.footer-col h4 {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: .08em;
  font-size: 0.82rem; color: var(--white); margin-bottom: 22px;
}
.footer-col h4::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px 1px rgba(225,6,0,.7);
  flex-shrink: 0;
}
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a, .footer-contact li { color: var(--grey); font-size: 0.92rem; transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 13px; }
.footer-contact a:hover { color: var(--red); }

.footer-bottom {
  position: relative; z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px;
}
.footer-bottom-left { display: flex; flex-direction: column; gap: 9px; }
.footer-bottom p { color: var(--grey-dim); font-size: 0.82rem; }
.footer-credits { font-size: 0.78rem; }
.footer-credits a { color: var(--grey-dim); transition: color .2s; }
.footer-credits a:hover { color: var(--red); }
.footer-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; font-size: 0.68rem; color: var(--grey);
}
.footer-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 8px 2px rgba(255,42,31,.8);
  animation: livePulse 1.6s ease-in-out infinite;
}

/* ==========================================================================
   Activity page templates (bowling / karting / laser game / arcades ...)
   ========================================================================== */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-weight: 600; text-transform: uppercase;
  letter-spacing: .05em; font-size: 0.75rem; color: var(--grey);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--grey); transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: var(--red); }
.breadcrumb .current { color: var(--white); }

.hero.page-hero { height: auto; min-height: 72vh; }
.hero.page-hero .hero-content { padding-top: 130px; }

.page-intro {
  max-width: var(--container);
  margin: 0 auto;
  padding: 110px 24px 60px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}
.page-intro-text { padding-top: 8px; }
.page-intro-media { border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 4/5; }
.page-intro-media img { width: 100%; height: 100%; object-fit: cover; }
.page-intro-text p { color: var(--grey); font-size: 1.02rem; margin-bottom: 18px; }
.page-intro-text p:last-child { margin-bottom: 0; }
.page-intro-text strong { color: var(--white); }

.pricing-section { padding: 60px 24px 120px; max-width: var(--container); margin: 0 auto; }
.faq-section-fade { position: relative; }
/* Le gris apparaît et disparaît en fondu : aucune ligne de démarcation
   avec les sections voisines, quelle que soit leur couleur de fond. */
.faq-section-fade::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background: linear-gradient(180deg,
    rgba(19, 19, 19, 0) 0%,
    rgba(19, 19, 19, 1) 160px,
    rgba(19, 19, 19, 1) calc(100% - 160px),
    rgba(19, 19, 19, 0) 100%);
  z-index: -1;
  pointer-events: none;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px;
}
.price-card h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.price-card .price-sub { color: var(--grey); font-size: 0.85rem; margin-bottom: 20px; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table tr { border-bottom: 1px solid var(--line); }
.price-table tr:last-child { border-bottom: none; }
.price-table td { padding: 14px 0; font-family: var(--font-ui); }
.price-table td:first-child { color: var(--grey); font-size: 0.92rem; }
.price-table td:last-child {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--white);
  font-size: 1.15rem;
  white-space: nowrap;
}
.price-note {
  color: var(--grey-dim);
  font-size: 0.8rem;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

/* Règles importantes pour les enfants (karting) */
.kid-rules {
  margin-top: 20px;
  padding: 16px 18px;
  background: rgba(225,6,0,.07);
  border: 1px solid var(--red-dim);
  border-radius: 10px;
  display: flex; flex-direction: column; gap: 9px;
}
.kid-rules > strong {
  font-family: var(--font-ui);
  font-size: .7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .09em;
  color: var(--red-bright);
}
.kid-rules > span {
  position: relative;
  padding-left: 18px;
  font-size: .84rem; line-height: 1.5;
  color: var(--grey);
}
.kid-rules > span::before {
  content: '';
  position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
}
.kid-rules strong { color: var(--white); }

.grandprix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.grandprix-card {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding-top: 40px;
}
.grandprix-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 7px;
  background-image: repeating-linear-gradient(90deg, var(--white) 0 9px, var(--black) 9px 18px);
  opacity: .9;
}
.grandprix-badge {
  display: inline-block;
  font-family: var(--font-ui); font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; font-size: 0.66rem; color: var(--grey);
  border: 1px solid var(--line); border-radius: 30px;
  padding: 4px 12px; margin-bottom: 12px;
}
.grandprix-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 1.25rem;
}
.grandprix-price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--red);
  margin: 10px 0 22px;
}
.grandprix-card .price-table td { text-align: left; }
.grandprix-card .price-table td:first-child {
  font-family: var(--font-ui); font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; font-size: 0.72rem;
}
.grandprix-card .price-table td:last-child { font-size: 0.98rem; }
.grandprix-note {
  text-align: center;
  color: var(--grey);
  font-size: 0.88rem;
  margin-top: 28px;
}
.grandprix-note strong { color: var(--white); }

.formula-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.formula-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 26px;
  text-align: center;
  transition: border-color .3s var(--ease), transform .15s var(--ease), box-shadow .3s var(--ease);
}
.formula-card:hover { border-color: var(--red-dim); box-shadow: 0 20px 40px -18px rgba(225,6,0,.35); }
.formula-card h4 {
  font-family: var(--font-ui); font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; font-size: 0.95rem; color: var(--white); margin-bottom: 14px;
}
.formula-price {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--red-bright);
  text-shadow: 0 0 24px rgba(225,6,0,.4);
  line-height: 1;
}
.formula-price small {
  font-family: var(--font-ui); font-weight: 600; font-size: 0.85rem;
  color: var(--grey); text-shadow: none; display: block; margin-top: 6px;
}
.formula-card p { color: var(--grey); font-size: 0.85rem; margin-top: 14px; }
.formula-min {
  display: inline-block; margin-top: 16px;
  font-family: var(--font-ui); font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; font-size: 0.68rem; color: var(--red);
  background: rgba(225,6,0,.12); padding: 5px 12px; border-radius: 20px;
}
.formula-condition { color: var(--grey-dim); font-size: 0.74rem; margin-top: 12px; line-height: 1.5; }
.formula-card.formula-total {
  grid-column: 1 / -1;
  text-align: center;
  background: var(--panel-2);
  border-color: var(--red-dim);
}
.formula-card.formula-total h4 { color: var(--red); font-size: 1.05rem; }
.formula-card.formula-total .formula-price { font-size: clamp(1.6rem, 3.2vw, 2.1rem); }

.info-note-box {
  max-width: var(--container);
  margin: 0 auto 60px;
  padding: 0 24px;
}
.info-note-box .box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  padding: 20px 26px;
  color: var(--grey);
  font-size: 0.92rem;
}
.info-note-box .box strong { color: var(--white); }

/* ==========================================================================
   Booking / ticketing widgets (Apex Timing)
   ========================================================================== */
.widget-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 120px;
}
.widget-frame {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  min-height: 640px;
}
.widget-frame iframe.axiframe {
  border: 0;
  min-height: 900px;
  display: block;
}
.widget-tabs {
  display: flex; gap: 10px; justify-content: center;
  margin: 0 auto 40px; flex-wrap: wrap; max-width: var(--container); padding: 0 24px;
}
.widget-tabs a {
  font-family: var(--font-ui); font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; font-size: 0.82rem; color: var(--grey);
  border: 1.5px solid var(--line); border-radius: 30px; padding: 10px 22px;
  transition: all .25s var(--ease);
}
.widget-tabs a:hover, .widget-tabs a.active { color: var(--white); border-color: var(--red); background: rgba(225,6,0,.1); }

/* ==========================================================================
   Legal / prose content
   ========================================================================== */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 160px 24px 120px;
}
.legal-content h2 {
  font-size: 1.4rem;
  margin: 48px 0 16px;
  color: var(--white);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--grey); font-size: 0.95rem; margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; list-style: disc; }
.legal-content a { color: var(--red); }
.legal-content strong { color: var(--white); }
.legal-placeholder {
  background: rgba(225,6,0,.1);
  border: 1px dashed var(--red-dim);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--red-bright);
  font-style: normal;
}

/* ==========================================================================
   Forms (devis / contact)
   ========================================================================== */
.form-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 120px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 40px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--font-ui); font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; font-size: 0.72rem; color: var(--grey);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225,6,0,.18);
}
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a7a7ac' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
}
.form-submit { grid-column: 1 / -1; margin-top: 6px; }
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.checkbox-item {
  display: flex; align-items: center; gap: 9px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 13px;
  transition: border-color .2s;
  cursor: pointer;
}
.checkbox-item:has(input:checked) { border-color: var(--red); background: rgba(225,6,0,.08); }
.checkbox-item input { accent-color: var(--red); width: 16px; height: 16px; flex-shrink: 0; }
.checkbox-item span { font-family: var(--font-body); font-size: 0.88rem; color: var(--white); }
.form-note { color: var(--grey-dim); font-size: 0.8rem; margin-top: 16px; text-align: center; }

.contact-tabs {
  display: flex; gap: 10px; justify-content: center;
  margin-bottom: 40px; flex-wrap: wrap;
}
.contact-tabs a {
  font-family: var(--font-ui); font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; font-size: 0.82rem; color: var(--grey);
  border: 1.5px solid var(--line); border-radius: 30px; padding: 10px 22px;
  transition: all .25s var(--ease);
}
.contact-tabs a:hover, .contact-tabs a.active { color: var(--white); border-color: var(--red); background: rgba(225,6,0,.1); }

.contact-methods {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: var(--container); margin: 0 auto 70px; padding: 0 24px;
}
.contact-method {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 28px; text-align: center;
}
.contact-method .feature-icon { margin: 0 auto 18px; }
.contact-method h3 { font-size: 1.05rem; margin-bottom: 8px; }
.contact-method p { color: var(--grey); font-size: 0.88rem; }
.contact-method a { color: var(--red); font-weight: 700; }

/* ==========================================================================
   FAQ search
   ========================================================================== */
.faq-search-wrap { max-width: 760px; margin: 0 auto 40px; padding: 0 24px; }
.faq-search-box {
  position: relative;
  display: flex; align-items: center;
  background: var(--panel-2);
  border: 1.5px solid var(--line);
  border-radius: 30px;
  padding: 4px 4px 4px 22px;
  transition: border-color .2s, box-shadow .2s;
}
.faq-search-box:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(225,6,0,.15); }
.faq-search-box svg { flex-shrink: 0; color: var(--grey); }
.faq-search-box input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--white);
  background: transparent;
  border: none;
  padding: 15px 12px;
}
.faq-search-box input:focus { outline: none; }
.faq-search-box input::placeholder { color: var(--grey-dim); }
.faq-search-clear {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  color: var(--grey);
  display: none;
  align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.faq-search-clear:hover { background: rgba(255,255,255,.08); color: var(--white); }
.faq-search-box.has-value .faq-search-clear { display: flex; }

.faq-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; justify-content: center; }
.faq-pill {
  font-family: var(--font-ui); font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; font-size: 0.72rem; color: var(--grey);
  border: 1.5px solid var(--line); border-radius: 30px; padding: 8px 16px;
  transition: all .2s var(--ease); cursor: pointer; background: none;
}
.faq-pill:hover { color: var(--white); border-color: var(--red-dim); }
.faq-pill.active { color: var(--white); border-color: var(--red); background: rgba(225,6,0,.12); }

.faq-status {
  max-width: var(--container); margin: 0 auto 20px; padding: 0 24px;
  color: var(--grey-dim); font-size: 0.82rem; text-align: center;
}

.faq-results { max-width: var(--container); margin: 0 auto; padding: 0 24px 40px; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 30px;
  transition: border-color .25s var(--ease);
}
.faq-item:hover { border-color: var(--red-dim); }
.faq-item .faq-item-tag {
  display: inline-block;
  font-family: var(--font-ui); font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; font-size: 0.65rem; color: var(--red);
  margin-bottom: 10px;
}
.faq-item h3 { font-family: var(--font-ui); font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.faq-item p { color: var(--grey); font-size: 0.92rem; line-height: 1.6; }
.faq-item mark { background: rgba(225,6,0,.28); color: var(--white); border-radius: 3px; padding: 0 2px; }
.faq-item a.faq-item-link { display: inline-block; margin-top: 12px; color: var(--red); font-weight: 700; font-size: 0.85rem; }

.faq-empty {
  max-width: var(--container); margin: 0 auto; padding: 0 24px 100px;
  text-align: center;
}
.faq-empty p { color: var(--grey); margin-bottom: 22px; }
.faq-empty .faq-empty-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.event-banner { max-width: var(--container); margin: 0 auto 70px; padding: 0 24px; }
.event-banner-inner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(225,6,0,.16), rgba(225,6,0,0) 70%), var(--panel);
  border: 1.5px solid var(--red-dim);
  border-radius: 16px;
  padding: 44px 50px;
}
.event-banner-icon {
  position: relative; z-index: 1;
  width: 62px; height: 62px; flex-shrink: 0;
  border-radius: 14px;
  background: rgba(225,6,0,.15);
  color: var(--red-bright);
  display: flex; align-items: center; justify-content: center;
}
.event-banner-text { position: relative; z-index: 1; flex: 1; }
.event-banner-text .eyebrow { margin-bottom: 8px; }
.event-banner-text h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; margin-bottom: 10px; }
.event-banner-text p { color: var(--grey); max-width: 56ch; font-size: 0.98rem; }
.event-banner-cta { position: relative; z-index: 1; flex-shrink: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 900px) {
  .groups { grid-template-columns: 1fr; }
  .groups-media { min-height: 320px; }
  .groups-content { padding: 60px 32px; }
  .local-seo { grid-template-columns: 1fr; padding: 80px 24px; }
  .local-seo-map { aspect-ratio: 16/9; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .stats-grid .stat:nth-child(3) { border-left: 1px solid var(--line); }
  .stats-grid .stat:nth-child(2n+1) { border-left: none; }
  .activity-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 320px; }
  .activity-card.large { grid-column: span 2; grid-row: span 1; }
  .activity-card.wide { grid-column: span 2; }
  .page-intro { grid-template-columns: 1fr; padding-top: 90px; }
  .page-intro-media { aspect-ratio: 16/9; }
  .pricing-grid { grid-template-columns: 1fr; }
  .grandprix-grid { grid-template-columns: 1fr; }
  .formula-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-methods { grid-template-columns: 1fr; }
  .event-banner-inner { flex-direction: column; text-align: center; padding: 36px 28px; }
  .event-banner-text p { max-width: none; }
}

/* ==========================================================================
   Pop-up d'accueil
   ========================================================================== */
.site-popup-overlay {
  position: fixed; inset: 0;
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(10,10,10,.82);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.site-popup-overlay.open { opacity: 1; visibility: visible; }
.site-popup-card {
  position: relative;
  max-width: min(560px, 92vw);
  max-height: 88vh;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transform: scale(.94);
  transition: transform .3s var(--ease);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
}
.site-popup-overlay.open .site-popup-card { transform: scale(1); }
.site-popup-card img {
  display: block;
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
}
.site-popup-card a { display: block; }
.site-popup-card.has-btn img { max-height: calc(88vh - 92px); }
.site-popup-actions {
  padding: 18px 20px 22px;
  background: linear-gradient(180deg, #121314 0%, #0a0a0a 100%);
  display: flex; justify-content: center;
}
.site-popup-card .site-popup-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red-bright) 0%, var(--red) 55%, #b00500 100%);
  color: #fff;
  font-family: var(--font-ui); font-weight: 800; font-size: .95rem;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 10px 28px -8px rgba(225,6,0,.75), inset 0 1px 0 rgba(255,255,255,.28);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  animation: popupBtnPulse 2.6s ease-in-out infinite;
}
.site-popup-card .site-popup-btn::after {
  content: ""; position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  animation: popupBtnShine 3.6s ease-in-out infinite;
}
.site-popup-btn svg { transition: transform .25s var(--ease); }
.site-popup-card .site-popup-btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 16px 36px -8px rgba(255,42,31,.9), inset 0 1px 0 rgba(255,255,255,.35); }
.site-popup-btn:hover svg { transform: translateX(5px); }
@keyframes popupBtnPulse {
  0%, 100% { box-shadow: 0 10px 28px -8px rgba(225,6,0,.7), inset 0 1px 0 rgba(255,255,255,.28); }
  50% { box-shadow: 0 10px 36px -4px rgba(255,42,31,.95), inset 0 1px 0 rgba(255,255,255,.28); }
}
@keyframes popupBtnShine {
  0%, 55% { left: -60%; }
  100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
  .site-popup-card .site-popup-btn, .site-popup-card .site-popup-btn::after { animation: none; }
}
.site-popup-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(10,10,10,.65);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
  transition: background .2s, border-color .2s, transform .2s;
}
.site-popup-close:hover { background: var(--red); border-color: var(--red); transform: rotate(90deg); }

/* ==========================================================================
   Application mobile
   ========================================================================== */
.app-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  padding: 140px 24px 80px;
  background: var(--black);
}
.app-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(225,6,0,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225,6,0,.1) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 20% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 20% 40%, #000 30%, transparent 75%);
}
.app-hero-inner {
  position: relative; z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.app-hero-text .eyebrow { display: flex; align-items: center; margin-bottom: 18px; }
.app-hero-text h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.02; margin-bottom: 20px; }
.app-hero-lead { color: var(--grey); font-size: 1.05rem; max-width: 46ch; margin-bottom: 34px; }

.app-store-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.app-store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--panel);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 20px;
  color: var(--white);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.app-store-btn:hover { border-color: var(--red-dim); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(225,6,0,.5); }
.app-store-btn svg { flex-shrink: 0; color: var(--white); }
.app-store-btn span { display: flex; flex-direction: column; font-family: var(--font-ui); font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.app-store-btn span small { font-family: var(--font-body); font-weight: 400; font-size: 0.68rem; color: var(--grey); text-transform: none; letter-spacing: 0; }

.app-feature-list { display: flex; flex-direction: column; gap: 12px; }
.app-feature-list li {
  display: flex; align-items: center; gap: 10px;
  color: var(--grey); font-size: 0.94rem;
}
.app-feature-list svg { flex-shrink: 0; color: var(--red); }

.app-hero-visual { display: flex; justify-content: center; }
.phone-mockup {
  width: 240px;
  aspect-ratio: 9 / 19.5;
  background: #050505;
  border: 8px solid #1a1a1a;
  border-radius: 46px;
  position: relative;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06);
  overflow: hidden;
  transform: rotate(-2deg);
}
.phone-mockup::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 46%; height: 24px;
  background: #1a1a1a;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone-screen {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 15%, rgba(225,6,0,.22), transparent 55%),
    linear-gradient(165deg, #150505, var(--black) 65%);
  padding: 54px 18px 24px;
  display: flex; align-items: center;
}
.phone-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 100%;
}
.phone-app-icon {
  aspect-ratio: 1;
  border-radius: 14px;
  background: linear-gradient(155deg, var(--red), #7a0500);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 16px -6px rgba(225,6,0,.5);
}

@media (max-width: 900px) {
  .app-hero { padding-top: 120px; min-height: auto; }
  .app-hero-inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .app-hero-text { order: 1; }
  .app-hero-lead { margin-left: auto; margin-right: auto; }
  .app-store-btns { justify-content: center; }
  .app-feature-list { align-items: center; }
  .app-hero-visual { order: 2; }
  .phone-mockup { width: 170px; transform: none; }
  .phone-app-grid { gap: 9px; }
  .phone-app-icon svg { width: 18px; height: 18px; }
}

@media (max-width: 620px) {
  .hero.page-hero { min-height: 60vh; }
  .hero.page-hero .hero-content { padding-top: 100px; }
  .price-table td:first-child { font-size: 0.85rem; }
  .formula-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; padding: 26px; }
  .checkbox-group { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .contact-tabs { flex-direction: column; align-items: stretch; }
  .header-phone { display: none; }
  .hud-label { display: none; }
  .hero-content { padding-bottom: 60px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .scroll-cue { display: none; }
  .activities, .event-space { padding: 80px 20px; }
  /* Hauteur libre : les textes longs (karting) ne sont plus rognés en haut */
  .activity-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .activity-card.large, .activity-card.wide { grid-column: span 1; grid-row: span 1; }
  .activity-card, .activity-card a, .activity-body { height: auto; min-height: 300px; }
  .feature-grid { grid-template-columns: 1fr; }
  .local-seo-info { grid-template-columns: 1fr; gap: 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-col { padding-left: 0; padding-top: 24px; border-left: none; border-top: 1px solid var(--line); }
  .final-cta-btns { flex-direction: column; }
  .final-cta-btns .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Chatbot d'accueil (bulle + fenêtre)
   ========================================================================== */
.chatbot {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 200;
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
  font-family: var(--font-ui);
  /* IMPORTANT : le conteneur occupe la hauteur de la fenêtre de discussion,
     même quand elle est fermée. Sans ceci, il intercepterait les clics sur
     tout le bas de la page (menu compris). Seuls la bulle et la fenêtre
     elle-même redeviennent cliquables. */
  pointer-events: none;
}
.chatbot-launcher,
.chatbot-panel { pointer-events: auto; }

/* ---------- Bulle flottante ---------- */
.chatbot-launcher {
  position: relative;
  width: 60px; height: 60px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--red-bright), var(--red) 55%, #a80400);
  color: var(--white);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(225,6,0,.55), 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .25s var(--ease), box-shadow .3s var(--ease);
}
.chatbot-launcher:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 20px 38px -8px rgba(225,6,0,.7), 0 0 0 1px rgba(255,255,255,.14); }
.chatbot-launcher:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

.chatbot-launcher-icon { position: absolute; display: flex; transition: opacity .25s var(--ease), transform .3s var(--ease); }
.chatbot-icon-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.chatbot.is-open .chatbot-icon-chat { opacity: 0; transform: rotate(90deg) scale(.6); }
.chatbot.is-open .chatbot-icon-close { opacity: 1; transform: rotate(0) scale(1); }

/* Pastille d'appel discrète */
.chatbot-badge {
  position: absolute; top: 2px; right: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--black);
  opacity: 0; transform: scale(0);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.chatbot-badge.is-visible { opacity: 1; transform: scale(1); animation: chatbotPulse 2.4s ease-in-out infinite; }
@keyframes chatbotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.5); }
  50% { box-shadow: 0 0 0 7px rgba(255,255,255,0); }
}

/* ---------- Fenêtre ---------- */
.chatbot-panel {
  width: 380px;
  height: 540px;
  max-height: calc(100vh - 130px);
  background: var(--black-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.85), 0 0 0 1px rgba(225,6,0,.12);
  transform-origin: bottom right;
  opacity: 0; visibility: hidden;
  transform: translateY(16px) scale(.94);
  transition: opacity .28s var(--ease), transform .32s var(--ease), visibility .32s;
}
.chatbot.is-open .chatbot-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.chatbot.no-anim .chatbot-panel { transition: none; }

/* ---------- En-tête ---------- */
.chatbot-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 16px 16px 18px;
  background: linear-gradient(135deg, rgba(225,6,0,.20), rgba(225,6,0,0) 70%), var(--panel);
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.chatbot-avatar {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 11px;
  background: rgba(225,6,0,.16);
  border: 1px solid var(--red-dim);
  color: var(--red-bright);
  display: flex; align-items: center; justify-content: center;
}
.chatbot-header-text { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.chatbot-header-text strong {
  font-size: .92rem; font-weight: 700; color: var(--white);
  letter-spacing: .01em;
}
.chatbot-status { display: flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--grey); }
.chatbot-status i {
  width: 6px; height: 6px; border-radius: 50%; background: #3ddc7f;
  animation: livePulse 2s ease-in-out infinite;
}
.chatbot-reduce {
  width: 32px; height: 32px; flex-shrink: 0;
  border: none; border-radius: 8px;
  background: transparent; color: var(--grey);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.chatbot-reduce:hover { background: rgba(255,255,255,.07); color: var(--white); }
.chatbot-reduce:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 2px; }

/* ---------- Messages ---------- */
.chatbot-messages {
  flex: 1; overflow-y: auto;
  padding: 18px 16px;
  display: flex; flex-direction: column; gap: 12px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.chatbot-messages::-webkit-scrollbar { width: 7px; }
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }

.chatbot-msg { display: flex; max-width: 88%; animation: chatbotIn .28s var(--ease) both; }
.chatbot-msg-bot { align-self: flex-start; }
.chatbot-msg-user { align-self: flex-end; justify-content: flex-end; }
@keyframes chatbotIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.chatbot-bubble {
  padding: 12px 15px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: .875rem; line-height: 1.55;
  word-wrap: break-word; overflow-wrap: anywhere;
}
.chatbot-msg-bot .chatbot-bubble {
  background: var(--panel);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
  color: var(--white);
}
.chatbot-msg-user .chatbot-bubble {
  background: linear-gradient(150deg, var(--red), #b00500);
  border-bottom-right-radius: 5px;
  color: #fff;
  font-weight: 500;
}
.chatbot-bubble a { color: var(--red-bright); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.chatbot-msg-bot .chatbot-bubble .chatbot-link {
  display: inline-block; margin-top: 10px;
  font-family: var(--font-ui); font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; text-decoration: none;
}
.chatbot-msg-bot .chatbot-bubble .chatbot-link:hover { text-decoration: underline; }
.chatbot-cat {
  display: block; margin-bottom: 6px;
  font-family: var(--font-ui); font-size: .64rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em; color: var(--red-bright);
}

/* Indicateur d'écriture */
.chatbot-typing .chatbot-bubble { display: flex; gap: 4px; padding: 14px 15px; }
.chatbot-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--grey);
  animation: chatbotDot 1.3s ease-in-out infinite;
}
.chatbot-typing span:nth-child(2) { animation-delay: .18s; }
.chatbot-typing span:nth-child(3) { animation-delay: .36s; }
@keyframes chatbotDot { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

/* Suggestions cliquables */
.chatbot-chips { display: flex; flex-wrap: wrap; gap: 7px; animation: chatbotIn .3s var(--ease) both; }
.chatbot-chip {
  border: 1px solid var(--red-dim);
  background: rgba(225,6,0,.09);
  color: var(--white);
  font-family: var(--font-ui); font-size: .76rem; font-weight: 600;
  padding: 7px 12px; border-radius: 20px;
  cursor: pointer; text-align: left;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.chatbot-chip:hover { background: rgba(225,6,0,.2); border-color: var(--red); transform: translateY(-1px); }
.chatbot-chip:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 2px; }

/* ---------- Saisie ---------- */
.chatbot-input {
  display: flex; gap: 8px; align-items: center;
  padding: 12px; flex-shrink: 0;
  background: var(--panel);
  border-top: 1px solid var(--line);
}
.chatbot-input input {
  flex: 1; min-width: 0;
  background: var(--black-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--white);
  font-family: var(--font-body); font-size: .875rem;
}
.chatbot-input input::placeholder { color: var(--grey-dim); }
.chatbot-input input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(225,6,0,.15); }
.chatbot-send {
  width: 42px; height: 42px; flex-shrink: 0;
  border: none; border-radius: 10px;
  background: var(--red); color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease), transform .15s var(--ease);
}
.chatbot-send:hover { background: var(--red-bright); transform: scale(1.05); }
.chatbot-send:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

/* ---------- Mobile ---------- */
@media (max-width: 620px) {
  .chatbot { right: 16px; bottom: 16px; left: 16px; align-items: flex-end; }
  .chatbot-panel {
    width: 100%;
    height: calc(100vh - 120px);
    height: calc(100dvh - 120px);
    max-height: 620px;
  }
  .chatbot-launcher { width: 56px; height: 56px; }
}

/* Le pop-up promo passe devant le chatbot */
.site-popup-overlay { z-index: 999; }

/* ==========================================================================
   Bandeau défilant "application" (tout en haut, au-dessus du menu)
   ========================================================================== */
:root { --topbar-h: 40px; }

.topbar {
  /* En haut du document (pas fixé) : le bandeau défile avec la page
     et n'est donc visible qu'en haut du site. */
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  z-index: 101;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--black);
  border-bottom: 1px solid rgba(0,0,0,.35);
  text-decoration: none;
}
/* Dégradé noir → rouge qui défile lentement derrière le texte.
   Le motif se répète toutes les moitiés : un déplacement de -50%
   reboucle donc sans coupure visible. */
.topbar::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 200%; height: 100%;
  background: repeating-linear-gradient(90deg,
    #0a0a0a 0%,
    #6b0803 10%,
    var(--red) 25%,
    #6b0803 40%,
    #0a0a0a 50%);  /* le motif se répète ici : la boucle reste invisible */
  animation: topbarFlux 26s linear infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes topbarFlux {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.topbar::after {
  content: '';
  position: absolute; top: 0; left: -20%;
  width: 18%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.16), transparent);
  transform: skewX(-25deg);
  animation: marqueeSweep 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
.topbar-track {
  position: relative;   /* au-dessus du dégradé animé */
  z-index: 1;
  display: flex; align-items: center;
  width: max-content;
  gap: 18px;
  animation: marquee 38s linear infinite;
}
.topbar:hover .topbar-track { animation-play-state: paused; }
.topbar-track span {
  font-family: var(--font-ui);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: 0.76rem;
  color: #fff;
  white-space: nowrap;
}
.topbar-track .dot { color: rgba(255,255,255,.6); letter-spacing: 0; }
.topbar-track .tb-cta { text-decoration: underline; text-underline-offset: 3px; }

/* L'en-tête et le menu mobile se placent sous le bandeau */
.site-header { top: var(--topbar-h); }
.mobile-nav { top: var(--topbar-h); }

@media (max-width: 620px) {
  :root { --topbar-h: 34px; }
  .topbar-track { gap: 14px; animation-duration: 30s; }
  .topbar-track span { font-size: 0.68rem; letter-spacing: .05em; }
}

/* --------------------------------------------------------------------------
   Bandeau + en-tête : bloc fixe stabilisé et fondu noir sous le bandeau
   -------------------------------------------------------------------------- */

/* Force une couche de composition dédiée : évite que l'en-tête "flotte"
   pendant le défilement inertiel sur iPhone / iPad. */
.site-header {
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}

/* Voile noir dégradé sous le bandeau : relie le bandeau au contenu et rend
   le logo et le menu lisibles même sur une photo claire. */
.site-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 190%;
  background: linear-gradient(180deg,
    rgba(10,10,10,.92) 0%,
    rgba(10,10,10,.72) 35%,
    rgba(10,10,10,.32) 68%,
    rgba(10,10,10,0) 100%);
  pointer-events: none;
  z-index: -1;
  transition: opacity .35s var(--ease);
}
/* Une fois défilé, l'en-tête a son propre fond : le voile s'efface. */
.site-header.scrolled::before { opacity: 0; }

/* ==========================================================================
   Page 404 — raccourcis sous le hero
   ========================================================================== */
.error-shortcuts {
  max-width: var(--container);
  margin: 0 auto;
  padding: 70px 24px 110px;
  text-align: center;
}
.error-shortcuts-title {
  font-family: var(--font-ui); font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em;
  font-size: .74rem; color: var(--grey-dim);
  margin-bottom: 22px;
}
.error-links {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: center;
}
.error-links a {
  font-family: var(--font-ui); font-weight: 600; font-size: .86rem;
  color: var(--white);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 10px 20px;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .18s var(--ease);
}
.error-links a:hover {
  border-color: var(--red);
  background: rgba(225,6,0,.12);
  transform: translateY(-2px);
}
@media (max-width: 620px) {
  .error-shortcuts { padding: 50px 20px 80px; }
  .error-links { gap: 9px; }
  .error-links a { font-size: .8rem; padding: 9px 16px; }
}

/* --------------------------------------------------------------------------
   Correctif : sur petit écran, le logo + le bouton Billetterie dépassaient
   et le bouton menu (burger) sortait de l'écran. On réduit le logo et les
   espacements pour que tout tienne.
   -------------------------------------------------------------------------- */
@media (max-width: 620px) {
  .header-inner { padding: 0 16px; }
  .logo-img { height: 27px; }
  .header-actions { gap: 10px; }
  .header-actions .btn-sm { padding: 9px 14px; font-size: 0.74rem; }
}
@media (max-width: 380px) {
  .header-inner { padding: 0 12px; }
  .logo-img { height: 24px; }
  .header-actions .btn-sm { padding: 8px 11px; font-size: 0.7rem; letter-spacing: .02em; }
}

/* ==========================================================================
   Anti-spam des formulaires
   ========================================================================== */
.form-captcha label span[data-captcha-question] {
  color: var(--red-bright);
  font-weight: 800;
  letter-spacing: .04em;
}
.form-error {
  margin-top: 8px;
  color: var(--red-bright);
  font-family: var(--font-ui);
  font-size: .82rem;
  font-weight: 600;
}
.form-captcha input[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225,6,0,.16);
}
/* Champ piège : invisible pour les visiteurs, détectable par les robots.
   On évite display:none, que certains robots savent ignorer. */
.form-trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Grille de 5 cartes (Groupes & Entreprises) : 3 + 2 plutôt que 4 + 1,
   pour éviter une carte seule sur la dernière ligne. */
@media (min-width: 1081px) {
  .feature-grid.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Listes à puces dans les réponses (chatbot et FAQ du site) */
.chatbot-bubble p { margin: 0 0 8px; }
.chatbot-bubble p:last-child { margin-bottom: 0; }
.chatbot-liste,
.faq-liste {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex; flex-direction: column; gap: 7px;
}
.chatbot-liste li,
.faq-liste li {
  position: relative;
  padding-left: 16px;
  line-height: 1.45;
}
.chatbot-liste li::before,
.faq-liste li::before {
  content: '';
  position: absolute; left: 0; top: .55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red-bright);
}
.faq-item p { margin: 0 0 8px; }
.faq-item p:last-of-type { margin-bottom: 0; }
.faq-liste { margin-top: 10px; }
