/* ===========================================================
   Sangoku Club — Identité visuelle moderne
   Palette noir profond + jaune Saiyan, typo display Bebas Neue
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* ===== UN SEUL NOIR ===== */
  --ink: #0c0d10;

  /* Alias historiques : tous redirigés vers le noir unique
     (les surfaces surélevées sont créées avec --surface, pas un autre noir) */
  --ink-2: var(--ink);
  --ink-3: var(--ink);
  --ink-4: var(--ink);
  --card: var(--ink);

  /* Surfaces surélevées : overlay blanc translucide sur le noir unique */
  --surface-1: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-3: rgba(255, 255, 255, 0.09);

  --yellow: #edf000;
  --yellow-bright: #fff700;
  --yellow-soft: rgba(237, 240, 0, 0.12);
  --gray: #9c9ea4;
  --gray-d: #62646a;
  --white: #f4f4f0;
  --border: #26272c;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-yellow: 0 20px 60px rgba(237, 240, 0, 0.2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--ink); color: var(--white); overflow-x: hidden; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--yellow-bright); }
button { cursor: pointer; font-family: inherit; }

.font-display { font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: 0.02em; }
.text-yellow { color: var(--yellow); }
.text-gray { color: var(--gray); }
.uppercase { text-transform: uppercase; }

/* ============== LOADER D'ENTRÉE ============== */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink); display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader img {
  width: 100px; height: 100px;
  animation: loaderPulse 1.4s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(237, 240, 0, 0.8));
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(0.85); filter: drop-shadow(0 0 30px rgba(237, 240, 0, 0.5)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 80px rgba(237, 240, 0, 0.9)); }
}

/* ============== LAYOUT ============== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; position: relative; }
@media (max-width: 768px) { section { padding: 70px 0; } }

/* ============== HEADER ============== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(12, 13, 16, 0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
}
.site-header.scrolled { background: rgba(12, 13, 16, 0.96); border-bottom-color: var(--border); }
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1200px; margin: 0 auto;
}
.site-header .logo {
  display: flex; align-items: center; gap: 12px;
}
.site-header .logo img { height: 42px; width: auto; transition: transform 0.3s ease; }
.site-header .logo:hover img { transform: rotate(-5deg); }
.site-header .logo .title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; letter-spacing: 0.05em; color: var(--white);
}
.site-header .logo .title strong { color: var(--yellow); }
.site-header nav { display: flex; gap: 2px; align-items: center; flex-wrap: nowrap; }
.site-header nav a {
  color: var(--white); padding: 8px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  transition: all 0.18s ease; white-space: nowrap;
}
.site-header nav a:hover { background: var(--surface-2); color: var(--yellow); }
.site-header nav a.cta {
  background: var(--yellow); color: var(--ink); padding: 10px 18px; font-weight: 700;
  margin-left: 6px; font-size: 12px;
}
.site-header nav a.cta:hover { background: var(--yellow-bright); transform: translateY(-1px); box-shadow: var(--shadow-yellow); }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); padding: 10px; }
/* Le menu reste sur une ligne sur desktop (jusqu'à 1080px), hamburger en-dessous */
@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .site-header nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink); flex-direction: column; padding: 14px; gap: 4px;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    transform: translateY(-110%); opacity: 0; pointer-events: none;
    transition: all 0.3s ease;
  }
  .site-header nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-header nav a { width: 100%; text-align: center; font-size: 14px; padding: 12px; }
}

/* ============== HERO IMMERSIF ============== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 140px 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('https://images.unsplash.com/photo-1555597673-b21d5c935865?auto=format&fit=crop&w=2000&q=80');
  background-size: cover; background-position: center;
  filter: brightness(0.35) saturate(1.1);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 90% 60% at 50% 30%, rgba(237, 240, 0, 0.18), transparent 65%),
              linear-gradient(180deg, rgba(12, 13, 16, 0.4) 0%, var(--ink) 100%);
}

/* ============== HERO MOSAÏQUE PHOTOS ============== */
.hero-mosaic { background: var(--ink); }
.hero-mosaic-grid {
  position: absolute; inset: 0; z-index: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 2px;
  padding: 2px;
}
.hero-tile {
  background-size: cover; background-position: center;
  border-radius: 8px;
  filter: brightness(0.78) saturate(1.15);
  transition: filter 0.6s ease, transform 0.6s ease;
  animation: tileBreath 8s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}
.hero-tile .tile-layer {
  position: absolute; inset: 0;
  background-size: contain; background-position: center; background-repeat: no-repeat;
  background-color: var(--ink-2);
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  border-radius: 8px;
}
.hero-tile .tile-layer.active { opacity: 1; }
.hero-tile.t1 { grid-column: 1 / 3; grid-row: 1 / 3; animation-delay: 0s; }
.hero-tile.t2 { grid-column: 3 / 5; grid-row: 1 / 2; animation-delay: 1s; }
.hero-tile.t3 { grid-column: 5 / 7; grid-row: 1 / 3; animation-delay: 2s; }
.hero-tile.t4 { grid-column: 1 / 3; grid-row: 3 / 5; animation-delay: 3s; }
.hero-tile.t5 { grid-column: 3 / 5; grid-row: 2 / 5; animation-delay: 4s; }
.hero-tile.t6 { grid-column: 5 / 7; grid-row: 3 / 5; animation-delay: 5s; }
@keyframes tileBreath {
  0%, 100% { transform: scale(1); filter: brightness(0.78) saturate(1.15); }
  50% { transform: scale(1.04); filter: brightness(0.7) saturate(1.2); }
}
.hero-mosaic-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(12, 13, 16, 0.75) 0%, rgba(12, 13, 16, 0.15) 60%, rgba(12, 13, 16, 0.85) 100%),
    linear-gradient(180deg, rgba(12, 13, 16, 0.2) 0%, var(--ink) 100%);
}
.hero-mosaic .hero-content { z-index: 2; }
@media (max-width: 768px) {
  .hero-mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
  .hero-tile.t1 { grid-column: 1 / 2; grid-row: 1 / 2; }
  .hero-tile.t2 { grid-column: 2 / 3; grid-row: 1 / 2; }
  .hero-tile.t3 { grid-column: 1 / 2; grid-row: 2 / 3; }
  .hero-tile.t4 { grid-column: 2 / 3; grid-row: 2 / 3; }
  .hero-tile.t5 { grid-column: 1 / 2; grid-row: 3 / 4; }
  .hero-tile.t6 { grid-column: 2 / 3; grid-row: 3 / 4; }
}
.hero-content { position: relative; z-index: 1; max-width: 850px; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border: 2px solid var(--yellow);
  border-radius: 999px; color: var(--yellow);
  font-family: 'Bebas Neue', sans-serif; font-size: 16px; letter-spacing: 0.18em;
  margin-bottom: 24px; backdrop-filter: blur(8px);
  background: rgba(237, 240, 0, 0.05);
}
.hero .pill .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--yellow);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero h1 {
  font-family: 'Bebas Neue', sans-serif; font-weight: 400;
  font-size: clamp(56px, 11vw, 140px); line-height: 0.92;
  letter-spacing: 0.01em; margin: 0 0 18px;
  text-transform: uppercase;
}
.hero h1 .yellow { color: var(--yellow); display: inline-block; }
.hero .subtitle {
  font-size: clamp(18px, 2.2vw, 22px); color: var(--gray);
  margin: 0 auto 40px; max-width: 620px; line-height: 1.5;
}
.hero .cta-row {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.hero .scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: var(--gray); font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: floatY 2s ease-in-out infinite;
}
@keyframes floatY { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -6px); } }
.hero .scroll-cue::after {
  content: ''; width: 1px; height: 30px; background: var(--gray);
}

/* Logo Goku flottant dans le hero (optionnel) */
.hero .logo-wrap {
  width: 140px; height: 140px; margin: 0 auto 28px;
  display: flex; align-items: center; justify-content: center;
}
.hero .logo-wrap img {
  width: 100%; height: auto;
  animation: float 4.5s ease-in-out infinite, haloPulse 4.5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes haloPulse {
  0%, 100% { filter: drop-shadow(0 0 50px rgba(237, 240, 0, 0.5)); }
  50% { filter: drop-shadow(0 0 100px rgba(237, 240, 0, 0.85)); }
}

/* ============== BUTTONS ============== */
.btn { display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border-radius: 999px; font-weight: 700;
  font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em;
  transition: all 0.25s ease; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--yellow); color: var(--ink); position: relative; overflow: hidden; }
.btn-primary:hover { background: var(--yellow-bright); transform: translateY(-2px); box-shadow: 0 14px 40px rgba(237, 240, 0, 0.35); color: var(--ink); }
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -130%;
  width: 60%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  animation: shine 3.5s ease-in-out infinite;
}
@keyframes shine { 0% { left: -130%; } 38%, 100% { left: 140%; } }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.25); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }
.btn-lg { padding: 20px 42px; font-size: 16px; }

/* ============== SECTION TITLES ============== */
.section-eyebrow {
  font-family: 'Bebas Neue', sans-serif; color: var(--yellow);
  font-size: 16px; letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 14px; display: inline-block;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif; font-weight: 400;
  font-size: clamp(40px, 6vw, 76px); line-height: 1;
  margin: 0 0 18px; text-transform: uppercase;
}
.section-title .yellow { color: var(--yellow); }
.section-intro { color: var(--gray); font-size: 18px; max-width: 700px; margin-bottom: 50px; line-height: 1.7; }
.text-center { text-align: center; }
.text-center .section-intro { margin-left: auto; margin-right: auto; }

/* ============== COMPTEURS ANIMÉS ============== */
.stats-section {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  padding: 70px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  text-align: center;
}
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
.stat-block { padding: 20px; position: relative; }
.stat-block::before {
  content: ''; position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 1px; background: linear-gradient(180deg, transparent, var(--border), transparent);
}
.stat-block:first-child::before { display: none; }
.stat-block .num {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(50px, 7vw, 80px);
  line-height: 1; color: var(--yellow); margin-bottom: 8px;
}
.stat-block .lbl {
  color: var(--gray); font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.15em; font-weight: 600;
}

/* ============== CARDS ============== */
.cards-grid {
  display: grid; gap: 24px;
}
.cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .cards-grid.cols-3, .cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cards-grid.cols-2, .cards-grid.cols-3, .cards-grid.cols-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px;
  transition: all 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
  position: relative; overflow: hidden;
}
.card:hover { border-color: var(--yellow); transform: translateY(-6px); box-shadow: var(--shadow-yellow); }
.card .icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--yellow-soft); display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; color: var(--yellow);
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 {
  font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 0.02em;
  margin: 0 0 12px; color: var(--white);
}
.card p { margin: 0; color: var(--gray); }
.card .card-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; color: var(--yellow); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.card .card-link::after {
  content: '→'; transition: transform 0.2s ease;
}
.card:hover .card-link::after { transform: translateX(4px); }

/* Card discipline avec image */
.card-discipline {
  padding: 0; overflow: hidden;
}
.card-discipline .img {
  height: 200px; background-size: cover; background-position: center;
  position: relative; overflow: hidden;
}
.card-discipline .img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(12, 13, 16, 0.95) 100%);
}
.card-discipline .body { padding: 28px; }
.card-discipline h3 { margin-top: 0; }

/* ============== QUOTE PRÉSIDENTE ============== */
.quote-section {
  position: relative; padding: 120px 24px; text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(237, 240, 0, 0.08), transparent 70%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.quote-section::before {
  content: ''; position: absolute; inset: 0;
  background: none;
  pointer-events: none;
}
.quote-inner { position: relative; max-width: 800px; margin: 0 auto; }
.quote-mark {
  font-family: 'Bebas Neue', sans-serif; font-size: 140px; line-height: 0.5;
  color: var(--yellow); opacity: 0.4; margin-bottom: 8px;
}
.quote-section blockquote {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25; color: var(--white); margin: 0 0 30px;
  letter-spacing: 0.01em;
}
.quote-section .author {
  display: flex; align-items: center; gap: 18px; justify-content: center;
  color: var(--gray);
}
.quote-section .author .avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background-size: cover; background-position: center 30%;
  border: 3px solid var(--yellow);
  box-shadow: 0 6px 22px rgba(237, 240, 0, 0.28), 0 0 0 6px rgba(237, 240, 0, 0.08);
  flex-shrink: 0;
}
.quote-section .author .name {
  font-weight: 700; color: var(--white); display: block; font-size: 17px;
}
.quote-section .author .role {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
}

/* ============== TÉMOIGNAGES ============== */
.testimonial-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 28px;
  position: relative;
}
.testimonial-card .stars {
  color: var(--yellow); margin-bottom: 14px; font-size: 18px; letter-spacing: 2px;
}
.testimonial-card .text {
  color: var(--white); font-size: 15px; line-height: 1.7; margin-bottom: 22px;
  font-style: italic;
}
.testimonial-card .author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial-card .author .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background-size: cover; background-position: center;
  background: var(--ink-3);
}
.testimonial-card .author .info .name { font-weight: 700; font-size: 14px; }
.testimonial-card .author .info .role { font-size: 12px; color: var(--gray-d); text-transform: uppercase; letter-spacing: 0.05em; }

/* ============== GALERIE TEASER ============== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
}
@media (max-width: 768px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
/* Toutes les tuiles ambiance sont carrées identiques */
.gallery-item.ambiance-tile { aspect-ratio: 1 !important; grid-column: auto !important; grid-row: auto !important; }
.ambiance-tile .a-layer {
  position: absolute; inset: 0;
  background-size: contain; background-position: center; background-repeat: no-repeat;
  background-color: var(--ink-2);
  opacity: 0; transition: opacity 1.6s ease-in-out;
  border-radius: 12px;
}
.ambiance-tile .a-layer.active { opacity: 1; }
.gallery-item {
  aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  background-size: cover; background-position: center;
  cursor: pointer; position: relative;
  transition: all 0.3s ease;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(237, 240, 0, 0); transition: background 0.3s ease;
}
.gallery-item:hover::after { background: rgba(237, 240, 0, 0.12); }
.gallery-item.tall { aspect-ratio: 1/1.5; grid-row: span 2; }
.gallery-item.wide { aspect-ratio: 2/1; grid-column: span 2; }
@media (max-width: 768px) {
  .gallery-item.tall, .gallery-item.wide { aspect-ratio: 1; grid-row: auto; grid-column: auto; }
}

/* ============== CARTE GUADELOUPE ============== */
.map-section { padding: 100px 0; }
.map-container {
  height: 480px; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--border);
  background: var(--ink-2);
}
@media (max-width: 768px) { .map-container { height: 360px; } }
/* Override Leaflet styles for dark mode */
.leaflet-container { background: var(--ink-2); font-family: 'Inter', sans-serif; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
  background: var(--card); color: var(--white); border: 1px solid var(--yellow);
}
.leaflet-popup-content {
  margin: 14px 18px; color: var(--white); font-size: 14px;
}
.leaflet-popup-content strong { color: var(--yellow); font-family: 'Bebas Neue', sans-serif; font-size: 18px; }
.leaflet-popup-close-button { color: var(--yellow) !important; }
.leaflet-control-attribution { background: rgba(12, 13, 16, 0.7) !important; color: var(--gray-d) !important; }
.leaflet-control-attribution a { color: var(--gray) !important; }
.leaflet-bar a { background: var(--ink-2) !important; color: var(--white) !important; border-color: var(--border) !important; }
.leaflet-bar a:hover { background: var(--yellow) !important; color: var(--ink) !important; }
/* Marker pulse */
.marker-pulse {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--yellow); position: relative;
  box-shadow: 0 0 0 4px rgba(237, 240, 0, 0.3);
}
.marker-pulse::after {
  content: ''; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid var(--yellow); animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ============== CTA FINAL ============== */
.cta-band {
  background: linear-gradient(135deg, var(--ink-2) 0%, var(--ink-3) 100%);
  border: 1px solid var(--border); border-radius: 28px;
  padding: 70px 40px; text-align: center; position: relative; overflow: hidden;
  margin: 60px 0;
}
.cta-band::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(237, 240, 0, 0.18), transparent 70%);
  pointer-events: none;
}
.cta-band h2 {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(40px, 6vw, 64px);
  line-height: 1; margin: 0 0 18px; text-transform: uppercase;
}
.cta-band h2 .yellow { color: var(--yellow); }
.cta-band p { color: var(--gray); max-width: 600px; margin: 0 auto 32px; font-size: 18px; }

/* ============== FOOTER ============== */
.site-footer {
  background: var(--ink); padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}
.site-footer .container-foot {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
/* Bandeau du haut : logo + description + social */
.site-footer .brand-band {
  display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center;
  padding-bottom: 40px; border-bottom: 1px solid var(--border); margin-bottom: 40px;
}
.site-footer .brand-band .logo-foot img { width: 70px; }
.site-footer .brand-band .tag {
  color: var(--gray); font-size: 14px; line-height: 1.7; max-width: 540px;
}
.site-footer .brand-band .social { display: flex; gap: 12px; }
@media (max-width: 760px) {
  .site-footer .brand-band {
    grid-template-columns: 1fr; text-align: center; gap: 20px;
  }
  .site-footer .brand-band .logo-foot img { margin: 0 auto; }
  .site-footer .brand-band .social { justify-content: center; }
}

/* 4 colonnes de liens : Le club / Inscription / Contact / Légal — toutes alignées */
.site-footer .columns {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
@media (max-width: 880px) { .site-footer .columns { grid-template-columns: repeat(2, 1fr); gap: 36px; } }
@media (max-width: 480px) { .site-footer .columns { grid-template-columns: 1fr; gap: 28px; } }

.site-footer h4 {
  font-family: 'Bebas Neue', sans-serif; color: var(--yellow);
  font-size: 18px; letter-spacing: 0.15em; margin: 0 0 16px;
}
.site-footer p, .site-footer a, .site-footer li {
  color: var(--gray); font-size: 14px; line-height: 1.9;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .copyright {
  border-top: 1px solid var(--border); margin-top: 40px; padding-top: 24px;
  text-align: center; color: var(--gray-d); font-size: 13px;
}
.site-footer .social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface-1); display: inline-flex; align-items: center; justify-content: center;
  color: var(--gray); transition: all 0.25s ease;
}
.site-footer .social a:hover { background: var(--yellow); color: var(--ink); transform: translateY(-3px); }
.site-footer .social svg { width: 18px; height: 18px; fill: currentColor; }

/* ============== ANIMATIONS AU SCROLL ============== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* ============== BANNIÈRE D'ANNONCE (haut du site) ============== */
/* Injectée automatiquement via main.js sur toutes les pages */
.announcement-bar {
  position: relative;
  background: var(--yellow);
  color: var(--ink);
  padding: 11px 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: 0.1em;
  z-index: 1001;
  overflow: hidden;
  min-height: 44px;
  border-bottom: 1px solid rgba(12, 13, 16, 0.15);
  /* Fondu doux sur les deux bords pour un look propre */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 50px, #000 calc(100% - 50px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 50px, #000 calc(100% - 50px), transparent 100%);
}
.announcement-bar .ann-track {
  display: flex;
  width: max-content;
  animation: annScroll 42s linear infinite;
  will-change: transform;
}
.announcement-bar:hover .ann-track { animation-play-state: paused; }
.announcement-bar .ann-item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 0 38px;
  white-space: nowrap;
}
.announcement-bar .ann-text { font-weight: 600; }
.announcement-bar .ann-logo {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}
@keyframes annScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 600px) {
  .announcement-bar { font-size: 13px; padding: 9px 0; }
  .announcement-bar .ann-item { gap: 12px; padding: 0 22px; }
  .announcement-bar .ann-logo { width: 22px; height: 22px; }
  .announcement-bar .ann-track { animation-duration: 32s; }
}
/* Respecte prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .announcement-bar .ann-track { animation: none; }
}
/* Header se déplace en dessous de la bannière */
body.has-announcement .site-header { top: 48px; }
@media (max-width: 600px) {
  body.has-announcement .site-header { top: 44px; }
}

/* ============== BOUTON WHATSAPP FLOTTANT ============== */
.whatsapp-btn {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 95;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: pulseGreen 2.5s ease-in-out infinite;
}
.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
  color: #fff; text-decoration: none;
}
.whatsapp-btn svg { width: 32px; height: 32px; fill: currentColor; }

/* ============== AVIS GOOGLE (carousel défilant) ============== */
.google-reviews-marquee {
  margin: 44px -24px 0;
  overflow: hidden;
  position: relative;
  /* Fondu doux sur les bords */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.google-reviews-marquee .gr-track {
  display: flex;
  width: max-content;
  gap: 22px;
  padding: 8px 24px;
  animation: grScroll 110s linear infinite;
  will-change: transform;
}
.google-reviews-marquee:hover .gr-track { animation-play-state: paused; }
@keyframes grScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.gr-card {
  flex-shrink: 0;
  width: 340px;
  background: var(--card, #16181e);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.gr-card:hover {
  transform: translateY(-4px);
  border-color: rgba(237, 240, 0, 0.35);
}
.gr-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.gr-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.gr-name {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
}
.gr-stars {
  color: var(--yellow);
  letter-spacing: 1px;
  font-size: 14px;
  margin-top: 2px;
}
.gr-google-mark {
  margin-left: auto;
  opacity: 0.85;
  flex-shrink: 0;
}
.gr-text {
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
  flex: 1;
  /* Limite à ~5 lignes pour uniformité visuelle */
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gr-meta {
  color: var(--gray-d);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: 'Bebas Neue', sans-serif;
}
@media (max-width: 600px) {
  .google-reviews-marquee { margin: 32px -18px 0; }
  .gr-card { width: 280px; padding: 18px; }
  .gr-text { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .google-reviews-marquee .gr-track { animation: none; }
}
@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0); }
}
.whatsapp-tooltip {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: var(--white);
  padding: 8px 14px; border-radius: 999px;
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
  white-space: nowrap;
  border: 1px solid var(--border);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.whatsapp-btn:hover .whatsapp-tooltip { opacity: 1; }
@media (max-width: 600px) {
  .whatsapp-btn { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .whatsapp-btn svg { width: 28px; height: 28px; }
  .whatsapp-tooltip { display: none; }
}

/* ============== PHOTO FRAME (vignette fondue + watermark logo) ============== */
/* Toute photo de contenu utilise ce composant : fondue sur les 4 côtés
   pour se marier au fond noir, avec le logo Sangoku discret en bas à droite. */
.photo-frame {
  position: relative;
  display: block;
  overflow: visible;
}
.photo-frame .ph-media {
  display: block; width: 100%; height: auto;
  -webkit-mask-image: radial-gradient(ellipse 95% 92% at center,
    rgba(0,0,0,1) 35%,
    rgba(0,0,0,0.85) 60%,
    rgba(0,0,0,0.45) 82%,
    rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(ellipse 95% 92% at center,
    rgba(0,0,0,1) 35%,
    rgba(0,0,0,0.85) 60%,
    rgba(0,0,0,0.45) 82%,
    rgba(0,0,0,0) 100%);
  -webkit-mask-mode: alpha; mask-mode: alpha;
}
.photo-frame .ph-watermark {
  position: absolute; bottom: 12px; right: 12px;
  width: 60px; height: auto; opacity: 0.7;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
  pointer-events: none;
}
/* Variante pour les images en background (sections hero, etc.) */
.bg-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 95% 90% at center,
    rgba(0,0,0,1) 30%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(ellipse 95% 90% at center,
    rgba(0,0,0,1) 30%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0) 100%);
}
/* Watermark à poser sur un container relatif (background image) */
.watermark-corner {
  position: absolute; bottom: 14px; right: 14px;
  width: 60px; height: 60px; opacity: 0.7;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
  pointer-events: none; z-index: 2;
}

/* Carte image inline (carte-discipline, équipe, etc.) */
.card-img-frame {
  position: relative; height: 240px; overflow: hidden;
  border-radius: 14px 14px 0 0;
}
.card-img-frame .ph-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 100% 95% at center,
    rgba(0,0,0,1) 40%, rgba(0,0,0,0.7) 75%, rgba(0,0,0,0.2) 100%);
  mask-image: radial-gradient(ellipse 100% 95% at center,
    rgba(0,0,0,1) 40%, rgba(0,0,0,0.7) 75%, rgba(0,0,0,0.2) 100%);
}
.card-img-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(12, 13, 16, 0.9) 100%);
}
.card-img-frame .watermark-corner { z-index: 3; }

/* ============== PHOTO PLACEHOLDER (encadré vide à remplir) ============== */
.photo-placeholder {
  background:
    repeating-linear-gradient(45deg, rgba(237, 240, 0, 0.04) 0, rgba(237, 240, 0, 0.04) 12px, transparent 12px, transparent 24px),
    linear-gradient(135deg, var(--ink-3) 0%, var(--ink-2) 100%);
  border: 2px dashed rgba(237, 240, 0, 0.35);
  border-radius: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--gray-d); text-align: center; padding: 24px;
  position: relative; overflow: hidden;
  transition: all 0.3s ease;
}
.photo-placeholder:hover {
  border-color: var(--yellow);
  background:
    repeating-linear-gradient(45deg, rgba(237, 240, 0, 0.08) 0, rgba(237, 240, 0, 0.08) 12px, transparent 12px, transparent 24px),
    linear-gradient(135deg, var(--ink-3) 0%, var(--ink-2) 100%);
}
.photo-placeholder .ph-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(237, 240, 0, 0.08); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.photo-placeholder .ph-icon svg { width: 28px; height: 28px; }
.photo-placeholder .ph-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px; letter-spacing: 0.18em;
  color: var(--gray);
}
.photo-placeholder .ph-hint {
  font-size: 11px; color: var(--gray-d);
  margin-top: 4px; font-style: italic;
}

/* Hero placeholder (tuiles mosaïque) — version sans image */
.hero-tile.photo-placeholder {
  filter: none;
  animation: tileBreathPH 8s ease-in-out infinite;
  border-width: 1px;
}
@keyframes tileBreathPH {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.02); opacity: 1; }
}

/* Card discipline avec placeholder image */
.card-discipline .img.photo-placeholder {
  border-radius: 0;
  border-left: none; border-right: none; border-top: none;
}
.card-discipline .img.photo-placeholder::after { display: none; }

/* Avatar placeholder pour témoignages */
.avatar.photo-placeholder {
  width: 44px; height: 44px; border-radius: 50%; padding: 0;
  border-width: 1px;
}
.avatar.photo-placeholder.lg { width: 60px; height: 60px; }
.avatar.photo-placeholder .ph-icon { width: 24px; height: 24px; margin: 0; background: none; }
.avatar.photo-placeholder .ph-icon svg { width: 16px; height: 16px; }
.avatar.photo-placeholder .ph-label, .avatar.photo-placeholder .ph-hint { display: none; }

/* ============== PAGE HERO (pages internes) ============== */
.page-hero {
  text-align: center; padding: 160px 24px 70px;
  background: linear-gradient(180deg, rgba(237, 240, 0, 0.08), transparent 70%), var(--ink);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(48px, 8vw, 88px);
  margin: 0 0 12px; line-height: 1; text-transform: uppercase;
}
.page-hero h1 .yellow { color: var(--yellow); }
.page-hero .subtitle { color: var(--gray); font-size: 18px; max-width: 680px; margin: 0 auto; }

/* ============== INSCRIPTION CHOIX (en ligne / papier) ============== */
.path-choice {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  max-width: 1000px; margin: 0 auto;
}
@media (max-width: 768px) { .path-choice { grid-template-columns: 1fr; } }
.path-card {
  background: var(--card); border: 2px solid var(--border);
  border-radius: 24px; padding: 40px; transition: all 0.3s ease;
  display: flex; flex-direction: column;
}
.path-card.featured { border-color: var(--yellow); position: relative; }
.path-card.featured::before {
  content: 'RECOMMANDÉ'; position: absolute; top: -12px; right: 24px;
  background: var(--yellow); color: var(--ink); padding: 6px 14px;
  font-family: 'Bebas Neue', sans-serif; font-size: 13px; letter-spacing: 0.18em;
  border-radius: 999px;
}
.path-card .badge {
  width: 60px; height: 60px; border-radius: 18px;
  background: var(--yellow-soft); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.path-card.featured .badge { background: var(--yellow); color: var(--ink); }
.path-card h3 {
  font-family: 'Bebas Neue', sans-serif; font-size: 32px; margin: 0 0 10px;
}
.path-card .price { color: var(--gray); margin: 0 0 18px; }
.path-card ul {
  list-style: none; padding: 0; margin: 0 0 26px; flex: 1;
}
.path-card ul li {
  padding: 8px 0 8px 28px; position: relative; color: var(--white); font-size: 15px;
}
.path-card ul li::before {
  content: '✓'; position: absolute; left: 0; top: 8px;
  color: var(--yellow); font-weight: bold;
}
.path-card .btn { width: 100%; justify-content: center; }

/* Liste documents */
.docs-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  margin-top: 30px;
}
@media (max-width: 700px) { .docs-list { grid-template-columns: 1fr; } }
.doc-item {
  background: var(--ink-3); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px;
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; transition: all 0.2s ease;
}
.doc-item:hover { border-color: var(--yellow); transform: translateY(-2px); }
.doc-item .doc-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(237, 0, 0, 0.15); color: #ff5252;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 13px; font-weight: 700;
}
.doc-item .doc-info { flex: 1; min-width: 0; }
.doc-item .doc-info .doc-name { color: var(--white); font-weight: 600; font-size: 14px; }
.doc-item .doc-info .doc-meta { color: var(--gray-d); font-size: 12px; }
.doc-item .doc-arrow { color: var(--gray); font-size: 18px; }
