/* ============================================
   ASP Fight Impact 93 — Style MMA / Fight Club
   Dark, agressif, rouge sang, impact brut
   Mobile-first | Vanilla CSS
   ============================================ */

/* Google Fonts — Anton (titres) + Oswald (sous-titres) + Barlow (corps) */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Barlow:wght@400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap');

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background-color: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ── Variables — palette agressive ── */
:root {
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --red-primary: #ff0033;
  --red-dark: #cc0029;
  --red-glow: rgba(255, 0, 51, 0.6);
  --red-subtle: rgba(255, 0, 51, 0.1);
  --red-border: rgba(255, 0, 51, 0.3);
  --white: #ffffff;
  --grey-text: #a0a0a0;
  --grey-border: #2a2a2a;
  --grey-light: #333333;

  --font-titre: 'Anton', sans-serif;
  --font-sous-titre: 'Oswald', sans-serif;
  --font-corps: 'Barlow', sans-serif;

  --container-max: 1200px;
  --container-padding: 1rem;

  --radius: 4px;
  --radius-lg: 8px;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ── Typographie — bold, condensed, impact ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-titre);
  font-weight: 400; /* Anton n'a qu'un seul weight */
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  letter-spacing: 0.05em;
}

h2 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  letter-spacing: 0.06em;
}

h3 {
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-family: var(--font-sous-titre);
  font-weight: 600;
  letter-spacing: 0.1em;
}

h4 {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-family: var(--font-sous-titre);
  font-weight: 600;
  letter-spacing: 0.08em;
}

p {
  color: var(--grey-text);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.text-center { text-align: center; }
.text-rouge { color: var(--red-primary); }

/* ── Boutons — agressifs ── */
.btn {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  font-family: var(--font-sous-titre);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  position: relative;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--red-primary);
  color: var(--white);
  box-shadow: 0 0 0 0 var(--red-glow);
}

.btn-primary:hover {
  background-color: var(--red-dark);
  box-shadow: 0 0 25px var(--red-glow), 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-outline {
  border: 2px solid var(--red-primary);
  color: var(--red-primary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--red-primary);
  color: var(--white);
  box-shadow: 0 0 20px var(--red-glow);
}

.btn-lg {
  padding: 1.1rem 2.75rem;
  font-size: 1.05rem;
}

/* Bouton Inscription — fond blanc, texte noir */
.btn-inscription {
  background-color: var(--white);
  color: #000000;
  font-weight: 700;
}

.btn-inscription:hover {
  background-color: #f0f0f0;
  color: #000000;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn-loading::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}

/* Animation pulse pour CTA */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--red-glow); }
  50% { box-shadow: 0 0 20px var(--red-glow); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Header / Navigation ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-border);
  transition: background var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem var(--container-padding);
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Logo image */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: var(--font-titre);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  line-height: 1.1;
}

.logo-text span {
  color: var(--red-primary);
}

/* Menu hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

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

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* Navigation mobile */
.nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--bg-card);
  padding: 5rem 2rem 2rem;
  transition: right var(--transition);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-left: 2px solid var(--red-primary);
}

.nav.open {
  right: 0;
}

.nav a {
  display: block;
  padding: 0.75rem 0;
  font-family: var(--font-sous-titre);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--grey-text);
  transition: color var(--transition), padding-left var(--transition);
  border-bottom: 1px solid var(--grey-border);
}

.nav a:hover,
.nav a.active {
  color: var(--red-primary);
  padding-left: 0.5rem;
}

.nav .btn {
  margin-top: 1.5rem;
  text-align: center;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
}

.nav-overlay.visible {
  display: block;
}

/* ── Hero — plein écran, brutal ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10, 10, 10, 0.97) 0%,
    rgba(20, 20, 20, 0.9) 40%,
    rgba(255, 0, 51, 0.08) 100%
  );
  z-index: 1;
}

/* Fond grain/texture */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(255, 0, 51, 0.06) 0%, transparent 50%),
    url('data:image/svg+xml,<svg viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%25" height="100%25" filter="url(%23n)" opacity="0.03"/></svg>');
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Logo hero — gros, centré */
.hero-logo {
  width: clamp(180px, 40vw, 280px);
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 30px var(--red-glow)) drop-shadow(0 0 60px rgba(255, 0, 51, 0.2));
  border-radius: var(--radius-lg);
}

.hero-badge {
  display: inline-block;
  background: transparent;
  color: var(--red-primary);
  font-family: var(--font-sous-titre);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  padding: 0.4rem 0;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--red-primary);
}

.hero h1 {
  margin-bottom: 1.25rem;
  line-height: 1;
}

.hero h1 .highlight {
  color: var(--red-primary);
  text-shadow: 0 0 40px var(--red-glow);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--grey-text);
  margin-bottom: 2.25rem;
  max-width: 520px;
  line-height: 1.7;
}

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

.hero-ctas .btn-primary {
  animation: pulse 2.5s ease-in-out infinite;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--grey-border);
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  display: block;
  font-family: var(--font-titre);
  font-size: 2rem;
  color: var(--red-primary);
  text-shadow: 0 0 20px rgba(255, 0, 51, 0.3);
}

.hero-stat .label {
  font-family: var(--font-sous-titre);
  font-size: 0.75rem;
  color: var(--grey-text);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ── Cards disciplines — bordure gauche rouge ── */
.disciplines-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.discipline-card {
  background: var(--bg-card);
  border-left: 4px solid var(--red-primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 2rem 1.5rem;
  transition: all var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.discipline-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 0, 51, 0.03) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.discipline-card:hover {
  transform: translateY(-4px) translateX(4px);
  border-left-color: var(--red-primary);
  box-shadow: 0 0 30px rgba(255, 0, 51, 0.15), -4px 0 0 var(--red-primary);
}

.discipline-card:hover::after {
  opacity: 1;
}

.discipline-icon {
  width: 52px;
  height: 52px;
  background: var(--red-subtle);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.discipline-card h3 {
  margin-bottom: 0.5rem;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.discipline-card p {
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

/* ── Pourquoi nous — cards avec accent rouge ── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-item {
  text-align: center;
  padding: 2.25rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-border);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.feature-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--red-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.feature-item:hover {
  border-color: var(--red-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 0, 51, 0.08);
}

.feature-item:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--red-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  border: 1px solid var(--red-border);
}

.feature-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.feature-item p {
  font-size: 0.9rem;
}

/* ── Planning ── */
.planning-placeholder {
  background: var(--bg-card);
  border: 2px dashed var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  text-align: center;
}

.planning-placeholder .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.planning-placeholder h3 {
  margin-bottom: 0.75rem;
}

/* Planning avec code couleur par âge */
.planning-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-border);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sous-titre);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-text);
}

.legend-item span {
  width: 18px;
  height: 18px;
  border-radius: var(--radius);
}

.legend-kids span { background: #ffc107; }
.legend-preados span { background: #4caf50; }
.legend-ados span { background: #2196f3; }
.legend-adultes span { background: var(--red-primary); }

/* Grille planning */
.planning-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.planning-day {
  background: var(--bg-card);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.day-title {
  background: var(--bg-dark);
  padding: 1rem 1.25rem;
  font-family: var(--font-titre);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 2px solid var(--red-primary);
}

.day-courses {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cours-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--grey-border);
  background: var(--bg-dark);
  transition: all var(--transition);
}

.cours-item:hover {
  transform: translateX(4px);
}

.cours-item .cours-horaire {
  font-family: var(--font-sous-titre);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  min-width: 110px;
  letter-spacing: 0.05em;
}

.cours-item .cours-discipline {
  font-size: 0.9rem;
  color: var(--grey-text);
  flex: 1;
}

.cours-item .cours-age {
  font-size: 0.75rem;
  color: var(--grey-text);
  opacity: 0.8;
}

/* Couleurs par catégorie d'âge */
.cours-kids {
  border-left-color: #ffc107;
}
.cours-kids .cours-horaire {
  color: #ffc107;
}

.cours-preados {
  border-left-color: #4caf50;
}
.cours-preados .cours-horaire {
  color: #4caf50;
}

.cours-ados {
  border-left-color: #2196f3;
}
.cours-ados .cours-horaire {
  color: #2196f3;
}

.cours-adultes {
  border-left-color: var(--red-primary);
}
.cours-adultes .cours-horaire {
  color: var(--red-primary);
}

/* Catégorie mixte Ados + Adultes — dégradé bleu/rouge */
.cours-mixte-ados-adultes {
  border-left-color: #9b59b6;
}
.cours-mixte-ados-adultes .cours-horaire {
  color: #9b59b6;
}

/* ── Tarifs ── */
.tarifs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.tarif-card {
  background: var(--bg-card);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.tarif-card:hover {
  border-color: var(--red-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 0, 51, 0.08);
  transform: translateY(-4px);
}

.tarif-badge {
  display: inline-block;
  font-family: var(--font-sous-titre);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  color: var(--bg-dark);
}

.tarif-kids .tarif-badge { background: #ffc107; }
.tarif-preados .tarif-badge { background: #4caf50; }
.tarif-ados .tarif-badge { background: #2196f3; }
.tarif-adultes .tarif-badge { background: var(--red-primary); color: var(--white); }

.tarif-card h3 {
  font-family: var(--font-sous-titre);
  font-size: 1rem;
  font-weight: 600;
  color: var(--grey-text);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.tarif-prix {
  font-family: var(--font-titre);
  font-size: clamp(3rem, 8vw, 4rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.tarif-prix span {
  font-size: 0.5em;
  color: var(--red-primary);
}

.tarif-card p {
  font-size: 0.9rem;
  color: var(--grey-text);
}

@media (min-width: 480px) {
  .tarifs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tarifs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Grille 3 colonnes pour disciplines */
.disciplines-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* Map container pour Google Maps */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-border);
  background: var(--bg-card);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: none;
}

/* WhatsApp icon */
.contact-icon-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.3);
}

.contact-icon-whatsapp svg {
  fill: #25d366;
}

.contact-item a {
  color: var(--red-primary);
  transition: color var(--transition);
}

.contact-item a:hover {
  color: var(--white);
}

.contact-item small {
  display: block;
  font-size: 0.75rem;
  color: var(--grey-text);
  opacity: 0.8;
  margin-top: 0.2rem;
}

/* ── Témoignages — guillemet rouge, bordure rouge ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: border-color var(--transition);
}

.testimonial-card:hover {
  border-color: var(--red-border);
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-titre);
  font-size: 5rem;
  color: var(--red-primary);
  opacity: 0.2;
  position: absolute;
  top: 0;
  left: 1rem;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  color: var(--grey-text);
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-titre);
  font-size: 1.2rem;
  color: var(--red-primary);
  border: 2px solid var(--red-primary);
  box-shadow: 0 0 10px rgba(255, 0, 51, 0.2);
}

.testimonial-name {
  font-family: var(--font-sous-titre);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testimonial-detail {
  font-size: 0.8rem;
  color: var(--grey-text);
}

/* ── Section CTA (Cours d'essai) — rouge sang ── */
.cta-section {
  background: linear-gradient(160deg, #1a0008 0%, var(--red-primary) 50%, #330011 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url('data:image/svg+xml,<svg viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%25" height="100%25" filter="url(%23n)" opacity="0.08"/></svg>');
}

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

.cta-section h2,
.cta-section p {
  color: var(--white);
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Formulaire cours d'essai */
.form-essai {
  max-width: 500px;
  margin: 2rem auto 0;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-family: var(--font-sous-titre);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.4rem;
  color: var(--white);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.form-group select {
  appearance: none;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8"><path d="M1 1l5 5 5-5" stroke="white" stroke-width="1.5" fill="none"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-essai .btn {
  width: 100%;
  margin-top: 0.5rem;
  background: var(--white);
  color: var(--red-primary);
  font-weight: 700;
  letter-spacing: 0.15em;
}

.form-essai .btn:hover {
  background: var(--bg-dark);
  color: var(--white);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Formulaire sur fond sombre (demande-coaching) */
.form-dark .form-group input,
.form-dark .form-group select,
.form-dark .form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--grey-border);
}

.form-dark .form-group input:focus,
.form-dark .form-group select:focus,
.form-dark .form-group textarea:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 12px rgba(255, 0, 51, 0.2);
}

.form-dark .form-group select {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8"><path d="M1 1l5 5 5-5" stroke="%23a0a0a0" stroke-width="1.5" fill="none"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-color: var(--bg-card);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--red-primary);
  cursor: pointer;
}

.checkbox-item label {
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  cursor: pointer;
  margin-bottom: 0;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--red-subtle);
  border: 1px solid var(--red-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-item h4 {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-item p {
  font-size: 0.9rem;
  margin: 0;
}

.contact-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--red-primary);
  border-color: var(--red-primary);
  box-shadow: 0 0 15px var(--red-glow);
}

.map-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

/* ── Footer — sombre ── */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--grey-border);
  padding: 3rem 0 1.5rem;
}

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

.footer-brand .logo {
  margin-bottom: 0.75rem;
}

.footer-brand .logo img {
  height: 60px;
}

.footer-brand p {
  font-size: 0.9rem;
}

.footer-links h4 {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  color: var(--white);
  letter-spacing: 0.15em;
}

.footer-links a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--grey-text);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--red-primary);
}

.footer-bottom {
  border-top: 1px solid var(--grey-border);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--grey-text);
}

.footer-bottom a {
  color: var(--red-primary);
}

/* ── Page Coaching ── */
.coaching-hero {
  padding-top: 6rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--red-primary);
  transform: scaleY(0);
  transition: transform var(--transition);
  transform-origin: top;
}

.benefit-card:hover {
  border-color: var(--red-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.benefit-card:hover::before {
  transform: scaleY(1);
}

.benefit-number {
  font-family: var(--font-titre);
  font-size: 2.25rem;
  color: var(--red-primary);
  line-height: 1;
  min-width: 40px;
  text-shadow: 0 0 15px rgba(255, 0, 51, 0.3);
}

.benefit-card h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.benefit-card p {
  font-size: 0.9rem;
}

/* Section pour qui */
.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.audience-tag {
  background: var(--bg-card);
  border: 1px solid var(--grey-border);
  border-radius: 50px;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-sous-titre);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-text);
  transition: all var(--transition);
}

.audience-tag:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
  box-shadow: 0 0 10px rgba(255, 0, 51, 0.15);
}

/* Process / Étapes */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--red-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-titre);
  font-size: 1.25rem;
  color: var(--white);
  box-shadow: 0 0 15px var(--red-glow);
}

.process-step h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.process-step p {
  font-size: 0.9rem;
}

/* Ligne entre les étapes */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 52px;
  width: 2px;
  height: calc(100% - 12px);
  background: var(--grey-border);
}

/* ── Page Merci ── */
.merci-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 0;
}

.merci-content {
  max-width: 480px;
}

.merci-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
  background: var(--red-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border: 3px solid var(--red-primary);
  box-shadow: 0 0 30px var(--red-glow);
}

.merci-content h1 {
  margin-bottom: 0.75rem;
}

.merci-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* ── Floating CTA mobile — rouge, pulse ── */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--red-primary);
  z-index: 900;
  text-align: center;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.floating-cta.visible {
  display: block;
  transform: translateY(0);
}

.floating-cta .btn {
  width: 100%;
  max-width: 400px;
  animation: pulse 2s ease-in-out infinite;
}

/* ── Scroll reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */

/* 480px+ */
@media (min-width: 480px) {
  .hero-ctas {
    flex-direction: row;
  }

  .disciplines-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .planning-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 768px+ */
@media (min-width: 768px) {
  :root {
    --container-padding: 2rem;
  }

  .section {
    padding: 6rem 0;
  }

  /* Navigation desktop */
  .menu-toggle {
    display: none;
  }

  .nav {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    background: none;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 0;
    border-left: none;
  }

  .nav a {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-bottom: none;
    letter-spacing: 0.12em;
  }

  .nav a:hover {
    padding-left: 1rem;
  }

  .nav .btn {
    margin-top: 0;
    margin-left: 0.5rem;
    padding: 0.6rem 1.25rem;
    font-size: 0.8rem;
  }

  .nav-overlay {
    display: none !important;
  }

  /* Hero */
  .hero-stats {
    max-width: 450px;
  }

  .hero-stat .number {
    font-size: 2.5rem;
  }

  /* Grids */
  .disciplines-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .disciplines-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .planning-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .map-container iframe {
    height: 350px;
  }
}

/* 1024px+ */
@media (min-width: 1024px) {
  .hero-content {
    max-width: 680px;
  }

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .planning-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .map-container iframe {
    height: 400px;
  }

  .floating-cta {
    display: none !important;
  }
}

/* 1280px+ */
@media (min-width: 1280px) {
  .container {
    padding: 0;
  }
}
