/* ===== Variables ===== */
:root {
  --marine: #172A52;
  --marine-dark: #0F1C38;
  --lime: #A4C61A;
  --blue: #1E73BE;
  --white: #F4F6F8;
  --font-title: 'Anton', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --container: min(1200px, 100% - 3rem);
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--marine-dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
}

address {
  font-style: normal;
}

/* ===== Preloader / Transition Veil ===== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--marine-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.preloader-inner {
  text-align: center;
}

.preloader-wordmark {
  display: inline-block;
}

.preloader-text {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  letter-spacing: 0.1em;
  color: var(--white);
  clip-path: inset(0 100% 0 0);
}

.preloader-underline {
  height: 3px;
  background: var(--lime);
  margin-top: 0.5rem;
  transform: scaleX(0);
  transform-origin: left center;
}

/* Transition ball (inside preloader) */
#transition-ball {
  position: absolute;
  bottom: 35%;
  left: -80px;
  width: 64px;
  height: 64px;
  opacity: 0;
  will-change: transform;
  pointer-events: none;
}

#transition-ball svg {
  width: 100%;
  height: 100%;
}

/* ===== Header ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

#header.scrolled {
  background: rgba(15, 28, 56, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(244, 246, 248, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 1.5rem;
  max-width: calc(var(--container) + 3rem);
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-title);
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--white);
  flex-shrink: 0;
}

.nav-logo span {
  color: var(--lime);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(244, 246, 248, 0.6);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link.is-active {
  color: var(--white);
}

.nav-link.is-active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--lime);
}

.btn-reserve-nav {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--lime);
  color: var(--marine-dark);
  border: none;
  padding: 0.6rem 1.3rem;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.btn-reserve-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(164, 198, 26, 0.35);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
  flex-shrink: 0;
}

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

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

.burger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(10, 20, 45, 0.99);
  padding: 0 1.5rem 2rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(244, 246, 248, 0.08);
  margin-bottom: 1.5rem;
}

.mobile-menu ul li a {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(244, 246, 248, 0.85);
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(244, 246, 248, 0.06);
  transition: color 0.2s;
}

.mobile-menu ul li:last-child a {
  border-bottom: none;
}

.mobile-reserve {
  align-self: flex-start;
  font-size: 0.85rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-lime {
  background: var(--lime);
  color: var(--marine-dark);
}

.btn-lime:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(164, 198, 26, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(244, 246, 248, 0.4);
}

.btn-ghost:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  display: block;
  text-align: center;
}

/* ===== Hero (index only) ===== */
#hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
}

#hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 28, 56, 0.1) 0%,
    rgba(15, 28, 56, 0.4) 45%,
    rgba(15, 28, 56, 0.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  height: 100%;
  max-width: calc(var(--container) + 3rem);
  margin: 0 auto;
  padding: 0 1.5rem clamp(2.5rem, 7vh, 5rem);
}

.hero-location {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 1rem;
  max-width: 18ch;
}

.hero-sub {
  font-size: clamp(0.82rem, 1.4vw, 0.95rem);
  font-weight: 500;
  color: rgba(244, 246, 248, 0.7);
  margin-bottom: 1.75rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Decorative balls (index hero) */
.deco-ball {
  position: absolute;
  pointer-events: none;
  will-change: transform;
  user-select: none;
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  padding: calc(70px + 4rem) 0 3.5rem;
  background: var(--marine-dark);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(244, 246, 248, 0.06);
}

.page-hero-deco {
  position: absolute;
  right: -3%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}

.page-hero-deco img {
  width: clamp(180px, 28vw, 380px);
  height: auto;
}

.page-hero-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.85rem;
}

.page-hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.07;
  color: var(--white);
}

/* ===== Sections base ===== */
.section {
  padding: var(--section-pad) 0;
}

.section-dark {
  background: var(--marine-dark);
}

.section-mid {
  background: var(--marine);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--white);
}

/* Grain overlay */
.section-grain {
  position: relative;
  overflow: hidden;
}

.section-grain::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.045;
  pointer-events: none;
  animation: grain 0.5s steps(2) infinite;
  z-index: 0;
}

.section-grain > .container {
  position: relative;
  z-index: 1;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  25%       { transform: translate(-2%, 1%); }
  50%       { transform: translate(1%, -2%); }
  75%       { transform: translate(2%, 2%); }
}

/* Story frame */
.story-frame {
  width: 290px;
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  flex-shrink: 0;
}

.story-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Index: Teasers ===== */
.section-teasers {
  padding: 0;
}

.teasers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(244, 246, 248, 0.07);
}

.teaser-card {
  background: var(--marine);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  display: block;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.teaser-card:hover {
  background: rgba(30, 48, 90, 0.95);
}

.teaser-card:hover .teaser-link::after {
  transform: translateX(4px);
}

.teaser-card .section-label {
  margin-bottom: 0.6rem;
}

.teaser-card h3 {
  font-family: var(--font-title);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.teaser-link {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.teaser-link::after {
  content: '→';
  transition: transform 0.2s;
}

/* Index bandeau réservation */
.bandeau-resa {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.bandeau-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.bandeau-title {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 0.4rem;
}

.bandeau-inner > div > p {
  font-size: 0.95rem;
  color: rgba(244, 246, 248, 0.65);
}

/* ===== Le Club ===== */
.club-grid {
  display: flex;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: flex-start;
}

.club-story {
  flex: 1;
  min-width: 0;
}

.club-story > p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(244, 246, 248, 0.75);
  margin-bottom: 2.5rem;
}

.spaces-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.space-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.space-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
  margin-top: 7px;
}

.space-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.space-item span {
  font-size: 0.85rem;
  color: rgba(244, 246, 248, 0.55);
  line-height: 1.5;
}

.club-story-video {
  flex-shrink: 0;
}

/* ===== Terrains ===== */
.terrains-grid {
  display: flex;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: flex-start;
}

.terrains-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.terrain-type {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.terrain-count {
  font-family: var(--font-title);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--lime);
  flex-shrink: 0;
  width: 2.5rem;
}

.terrain-type strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.terrain-type p {
  font-size: 0.88rem;
  color: rgba(244, 246, 248, 0.65);
  line-height: 1.65;
}

.terrain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.terrain-tags span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--lime);
  background: rgba(164, 198, 26, 0.1);
  border: 1px solid rgba(164, 198, 26, 0.25);
  padding: 0.35rem 0.85rem;
}

.terrain-orientation {
  border-radius: 4px;
  width: 100%;
  max-width: 400px;
  height: auto;
}

.terrains-stories {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
}

/* ===== Tarifs ===== */
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: rgba(244, 246, 248, 0.07);
  border: 1px solid rgba(244, 246, 248, 0.07);
  margin-bottom: 1.5rem;
}

.tarif-card {
  background: var(--marine-dark);
  padding: 2rem 1.75rem;
  transition: background 0.25s;
}

.tarif-card:hover {
  background: rgba(30, 48, 90, 0.9);
}

.tarif-card-accent {
  border-left: 3px solid var(--lime);
}

.tarif-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244, 246, 248, 0.5);
  margin-bottom: 1.25rem;
}

.tarif-prices {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tarif-row {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.tarif-amount {
  font-family: var(--font-title);
  font-size: 2.2rem;
  letter-spacing: 0.01em;
  color: var(--lime);
  line-height: 1;
}

.tarif-detail {
  font-size: 0.8rem;
  color: rgba(244, 246, 248, 0.55);
}

.tarif-off .tarif-amount {
  font-size: 1.7rem;
  color: rgba(164, 198, 26, 0.6);
}

.wallet-block {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(164, 198, 26, 0.06);
  border: 1px solid rgba(164, 198, 26, 0.18);
  padding: 1.75rem 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.wallet-content {
  flex: 1;
  min-width: 200px;
}

.wallet-content strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--lime);
  margin-bottom: 0.4rem;
}

.wallet-content p {
  font-size: 0.88rem;
  color: rgba(244, 246, 248, 0.65);
  line-height: 1.65;
}

.wallet-cta {
  flex-shrink: 0;
  font-size: 0.78rem;
}

/* ===== Communauté : Level Balls ===== */
.level-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(244, 246, 248, 0.07);
  margin-bottom: 3rem;
}

.level-card {
  background: var(--marine-dark);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: background 0.25s;
  position: relative;
}

.level-card:hover {
  background: rgba(20, 38, 80, 0.95);
}

.level-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.level-ball-wrap {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  will-change: transform;
}

.level-ball-img {
  width: 40px;
  height: 40px;
  display: block;
  will-change: transform;
}

.level-badge {
  font-family: var(--font-title);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--white);
}

.level-card p {
  font-size: 0.82rem;
  color: rgba(244, 246, 248, 0.6);
  line-height: 1.6;
  flex: 1;
}

.wa-join-btn {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #25D366;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 0.5rem 0.9rem;
  transition: background 0.2s;
  align-self: flex-start;
}

.wa-join-btn:hover {
  background: rgba(37, 211, 102, 0.18);
}

.level-girls .wa-join-btn {
  color: rgb(236, 100, 175);
  background: rgba(236, 100, 175, 0.08);
  border-color: rgba(236, 100, 175, 0.25);
}

.level-girls .wa-join-btn:hover {
  background: rgba(236, 100, 175, 0.15);
}

/* Communauté : autres blocs */
.communaute-grid {
  display: flex;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: flex-start;
}

.communaute-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.communaute-block h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.communaute-block p {
  font-size: 0.9rem;
  color: rgba(244, 246, 248, 0.7);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.coach-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--lime);
  border-bottom: 1px solid rgba(164, 198, 26, 0.3);
  padding-bottom: 0.2rem;
  transition: border-color 0.2s;
}

.coach-link:hover {
  border-color: var(--lime);
}

.communaute-photo {
  flex-shrink: 0;
}

.communaute-photo img {
  width: 290px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

/* ===== Entreprise ===== */
.entreprise-grid {
  display: flex;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: flex-start;
}

.entreprise-content {
  flex: 1;
  min-width: 0;
}

.entreprise-intro {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(244, 246, 248, 0.75);
  margin-bottom: 2.5rem;
}

.entreprise-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  margin-bottom: 2.5rem;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(244, 246, 248, 0.07);
}

.feature-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
}

.feature-desc {
  font-size: 0.82rem;
  color: rgba(244, 246, 248, 0.5);
}

.entreprise-contact p {
  font-size: 0.82rem;
  color: rgba(244, 246, 248, 0.5);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

.entreprise-tel {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--lime);
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
}

.entreprise-tel:hover {
  opacity: 0.8;
}

.entreprise-video {
  flex-shrink: 0;
}

/* ===== Contact ===== */
.contact-grid {
  display: flex;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: flex-start;
}

.contact-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-block h3 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.6rem;
}

.contact-block p,
.contact-block address {
  font-size: 0.92rem;
  color: rgba(244, 246, 248, 0.8);
  line-height: 1.65;
}

.map-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--lime);
  border-bottom: 1px solid rgba(164, 198, 26, 0.3);
  transition: border-color 0.2s;
}

.map-link:hover {
  border-color: var(--lime);
}

.tel-link {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: 0.03em;
  display: block;
  margin-bottom: 0.25rem;
  transition: color 0.2s;
}

.tel-link:hover {
  color: var(--lime);
}

.tel-note {
  font-size: 0.8rem;
  color: rgba(244, 246, 248, 0.45);
}

.email-link {
  font-size: 0.92rem;
  color: rgba(244, 246, 248, 0.8);
  transition: color 0.2s;
}

.email-link:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(244, 246, 248, 0.6);
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--white);
}

.contact-reserve {
  flex-shrink: 0;
  width: 360px;
}

.reserve-box {
  background: rgba(15, 28, 56, 0.6);
  border: 1px solid rgba(244, 246, 248, 0.1);
  padding: 2.5rem;
}

.reserve-box h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.reserve-box > p {
  font-size: 0.88rem;
  color: rgba(244, 246, 248, 0.6);
  margin-bottom: 1.5rem;
}

.reserve-or {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(244, 246, 248, 0.35);
  margin: 1.25rem 0;
  position: relative;
}

.reserve-or::before,
.reserve-or::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 1.5rem);
  height: 1px;
  background: rgba(244, 246, 248, 0.1);
}

.reserve-or::before { left: 0; }
.reserve-or::after  { right: 0; }

.reserve-phone-label {
  font-size: 0.82rem;
  color: rgba(244, 246, 248, 0.55);
  margin-bottom: 0.75rem;
}

.reserve-note {
  font-size: 0.75rem;
  color: rgba(244, 246, 248, 0.35);
  text-align: center;
  margin-top: 1.25rem;
  line-height: 1.6;
}

/* ===== Footer ===== */
#footer {
  background: #070E1E;
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(244, 246, 248, 0.05);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-top {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-logo {
  font-family: var(--font-title);
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.footer-brand p {
  font-size: 0.82rem;
  color: rgba(244, 246, 248, 0.4);
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  font-size: 0.82rem;
  color: rgba(244, 246, 248, 0.45);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-social a {
  font-size: 0.82rem;
  color: rgba(244, 246, 248, 0.45);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(244, 246, 248, 0.05);
  padding-top: 1.5rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 0.76rem;
  color: rgba(244, 246, 248, 0.3);
}

/* ===== Modal ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.open {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 14, 30, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-box {
  position: relative;
  background: var(--marine);
  border: 1px solid rgba(244, 246, 248, 0.1);
  padding: 2.5rem;
  width: min(430px, 100%);
  max-height: 90svh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(244, 246, 248, 0.5);
  font-size: 1.25rem;
  line-height: 1;
  transition: color 0.2s;
  padding: 0.25rem;
}

.modal-close:hover {
  color: var(--white);
}

.modal-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.modal-sub {
  font-size: 0.88rem;
  color: rgba(244, 246, 248, 0.6);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.modal-divider {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(244, 246, 248, 0.35);
  margin: 1.25rem 0;
  position: relative;
}

.modal-divider::before,
.modal-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 2rem);
  height: 1px;
  background: rgba(244, 246, 248, 0.1);
}

.modal-divider::before { left: 0; }
.modal-divider::after  { right: 0; }

.modal-phone-label {
  font-size: 0.85rem;
  color: rgba(244, 246, 248, 0.6);
  margin-bottom: 0.75rem;
}

.modal-note {
  font-size: 0.75rem;
  color: rgba(244, 246, 248, 0.35);
  text-align: center;
  margin-top: 1.25rem;
  line-height: 1.6;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .nav-links,
  .btn-reserve-nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .club-grid,
  .terrains-grid,
  .communaute-grid,
  .entreprise-grid,
  .contact-grid {
    flex-direction: column;
  }

  .contact-reserve {
    width: 100%;
  }

  .story-frame {
    width: 240px;
    margin: 0 auto;
  }

  .terrains-stories {
    justify-content: flex-start;
  }

  .communaute-photo img {
    width: 240px;
    margin: 0 auto;
  }

  .entreprise-features {
    grid-template-columns: 1fr;
  }

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

  .bandeau-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  :root {
    --section-pad: 3rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-ctas .btn {
    width: 100%;
    text-align: center;
  }

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

  .wallet-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .story-frame {
    width: 100%;
    max-width: 280px;
  }

  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-nav,
  .footer-social {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
  }

  .level-cards {
    grid-template-columns: 1fr;
  }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  #preloader {
    display: none !important;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ===== Mobile performance & iOS scroll fixes ===== */
@media (max-width: 960px) {
  /* Heavy blurred shadows repaint on every scroll frame on mobile GPUs.
     Lighter shadows keep scrolling smooth. */
  .story-frame {
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
  }
  .club-story-video .story-frame,
  .story-frame {
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
  }
  /* Smooth momentum scrolling on iOS */
  body {
    -webkit-overflow-scrolling: touch;
  }
  /* Hint the compositor for the hero media so it stays on its own layer */
  #hero-video {
    transform: translateZ(0);
    will-change: transform;
  }
}

/* Use small viewport unit fallback chain so the hero doesn't resize
   while the iOS address bar collapses (a cause of scroll jank). */
#hero {
  height: 100vh;       /* fallback */
  height: 100svh;      /* stable on mobile: ignores toolbar */
}

/* ===== Ball trajectory separator (fills text-only sections) ===== */
.ball-sep {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0.5rem;
  overflow: visible;
}
.ball-sep svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.ball-sep .bp-line {
  fill: none;
  stroke: var(--lime, #A4C61A);
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0.5;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
}
.ball-sep.in-view .bp-line {
  transition: stroke-dashoffset 1.6s cubic-bezier(0.22, 1, 0.36, 1);
  stroke-dashoffset: 0;
}
.ball-sep .bp-dot {
  offset-path: path('M0 90 Q150 90 220 55 T440 55 Q560 55 620 85 T860 45 Q980 18 1060 50 T1180 28');
  offset-distance: 0%;
  opacity: 0;
}
.ball-sep.in-view .bp-dot {
  transition: offset-distance 1.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  offset-distance: 100%;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .ball-sep .bp-line { stroke-dashoffset: 0; transition: none; }
  .ball-sep .bp-dot { display: none; }
}
