/* ========== VARIABLES ========== */
:root {
  --blue: #0b3c7d;
  --yellow:#e9c04ef1;
  --dark: #000000;
  --gray: #f5f5f5;
  --red: #c1121f;
}

/* ========== RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  padding-top: 70px; /* uniquement la navbar */
}



/* ========== CONTAINER ========== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ========== HEADER FIXED ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  height: 80px;
  width: 100%;
  background: var(--dark);
  z-index: 1000;
  transition:
    background .3s,
    backdrop-filter .3s,
    height .3s,
    box-shadow .3s;
}


header.scrolled{
  background:rgba(255,255,255,.82);

  backdrop-filter:blur(12px);

  box-shadow:
    0 10px 35px rgba(0,0,0,.08);
}

header.scrolled .logo span {
  color: var(--blue)
}

header.scrolled nav a {
  color: var(--blue)
}

.nav {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
}

.logo img {
  max-height: 60px;
  width: auto;
  display: block;
}


.logo span {
  color: var(--yellow);
  font-style: italic;
}

/* ========== NAV DESKTOP ========== */
nav {
  display: flex;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--yellow);
  font-size: 18px;
   transition: color 0.2s;
    position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

/* ligne invisible de base */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--yellow);

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* effet au hover */
nav a:hover::after {
  transform: scaleX(1);
}

nav a:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(233, 191, 78, 0.4);
}


/* ========== BURGER ========== */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  margin: 5px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}


/* Barre du haut */
.burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

/* Barre du milieu */
.burger.active span:nth-child(2) {
  opacity: 0;
}

/* Barre du bas */
.burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 85vh;

  background:
    linear-gradient(
      to bottom,
      rgb(0, 0, 0) 0%,
      rgba(0, 0, 0, 0.349) 50%,
      rgb(255, 255, 255) 100%
    ),
    url('images/heroimg3.webp') center 60%;
background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero h1 {
  font-size: 3.6rem;
  font-style: italic;
  text-shadow: 1px 1px var(--yellow);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 170px;
  padding-left: 10%;
  padding-right: 10%;
}

.hero-content {
  animation: fadeUp 1s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-logo {
  max-width: 200px;
  margin-bottom: 25px;
  opacity: 0.95;
}


.hero-subtitle{
  color: rgba(255,255,255,0.92);
margin:auto;
  margin-top: 15px;
  font-size: 1.5rem;
  line-height: 1.8;

  max-width: 700px;

  text-shadow:
    0 2px 12px rgba(0,0,0,0.45);
}


/* Bouton plus visible */
.hero-btn {
  display: inline-block;
  margin-top: 25px;
  margin-bottom: 20px;
  padding: 14px 28px;
  background: var(--yellow);
  color: white;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.hero-btn:hover {
  transform: translateY(-3px);
  background: #ffd84d;
}


h2 {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  color: var(--blue);
  position: relative;
  margin-bottom: 40px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);

  width: 30%;
  height: 4px;

  background: linear-gradient(
    90deg,
    transparent,
    var(--blue),
    var(--blue),
    transparent
  );

  border-radius: 2px;
}



/* ========== FEATURES ========== */
#why-boxe {
  padding: 100px 0;

} 

#why-boxe .container {
  max-width: 1100px;
}

.why-intro {
  text-align: center;
  max-width: 700px;
  margin: -10px auto 40px;
  color: #555;
  font-size: 17px;
  line-height: 1.7;
}

.bienfaits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.bienfait img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  filter: contrast(1.05) saturate(1.1);
}

.bienfait {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,.08);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}


.bienfait.show {
  opacity: 1;
  transform: translateY(0);
}


.bienfait,
.schedule-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bienfait:hover,
.schedule-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0,0,0,0.2);
}


/* ========== GALERIE PHOTO PREMIUM ========== */

/* ========== GALERIE – VERSION PREMIUM IMMERSIVE ========== */
/* ========== GALERIE – SECTION FULL WIDTH IMMERSIVE ========== */

#gallery-section {
  padding: 100px 0;
  background:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url("images/heroimg3.webp") center / cover no-repeat fixed;
  color: #fff;
  text-align: center;
}


#gallery-section h2 {
  color: var(--yellow);
}

#gallery-section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 30%;
  height: 4px;
  background: linear-gradient( 90deg, transparent, var(--yellow), var(--yellow), transparent );
  border-radius: 2px;
}
/* Bouton galerie simple */
#gallery-section button {
    margin: 30px auto 0;
  padding: 12px 24px;

  background: var(--yellow);
  color: rgb(0, 0, 0);

  border: none;
  border-radius: 6px;

  font-size: 15px;
  font-weight: 600;

  cursor: pointer;

  transition: 0.3s;
}

#gallery-section button:hover {
  background: rgb(255, 217, 0);
  color: black;
}

/* TEXTE INTRO */
.gallery-intro {
  max-width: 750px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
}

/* GRILLE */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* IMAGES */
.gallery-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 30px 60px rgba(238, 232, 232, 0.45);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

/* HOVER */
.gallery-img:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 30px 70px rgba(0,0,0,0.6);
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

 
  .hero-logo {
    width: 280px;
  }

}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-img {
    height: 220px;
  }

  #gallery-section {
    background-attachment: scroll;
  }
}




.testimonials{
  margin: auto;
  padding:100px 0;
  background: 
    linear-gradient(rgb(0, 0, 0), 
    rgba(0, 0, 0, 0.5), 
    rgb(255, 255, 255)),
    url('images/texture14.webp');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.testimonials-intro {
  max-width: 700px;
  margin: -10px auto 50px;
  text-align: center;

  color: rgba(255,255,255,0.9);

  font-size: 17px;
  line-height: 1.8;
}

.testimonials .container {
  max-width: 900px;
}


.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
}

.testimonials h2 {
  color: var(--yellow);
}

.testimonials h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 30%;
  height: 4px;
  background: linear-gradient( 90deg, transparent, var(--yellow), var(--yellow), transparent );
  border-radius: 2px;
}


.testimonial-card{
  background:#fff;

  padding:35px;

  border-radius:18px;

  box-shadow:
    0 20px 45px rgba(0,0,0,.08);

  transition:.3s;
}

.testimonial-card:hover{
  transform:translateY(-8px);
}

.testimonial-card p{
  line-height:1.8;
  margin-bottom:25px;
}

.testimonial-card img {
  width: 100%;
}

/* ========== PLANNING ========== */

#planning {
  padding: 90px 20px;
}


/* ===== WRAPPER ===== */

.planning-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}


/* ===== COLONNE HORAIRES ===== */

.schedule {
  flex: 1;
  max-width: 500px;

  display: flex;
  flex-direction: column;
  gap: 20px;
}


/* ===== CARTE ===== */

.schedule-card {
  background: #fff;
  padding: 10px 28px;
  border-left: 6px solid var(--blue);
  border-radius: 10px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.schedule-card:hover {
  transform: translateY(-4px);

  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.schedule-card h3 {
  margin-bottom: 15px;
  color: var(--blue);
  font-size: 24px;
}

.schedule-card p {
  margin: 8px 0;
  color: #333;
  font-size: 16px;
  line-height: 1.5;
}


/* ===== ADRESSE PREMIUM ===== */

.planning-location {
  flex: 1;
  max-width: 420px;

  padding: 30px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;

  background: #fff;

  border-left: 6px solid var(--blue);
  border-radius: 10px;

  box-shadow: 0 15px 40px rgba(0,0,0,0.08);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.planning-location:hover {
  transform: translateY(-4px);

  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}


/* ===== ICÔNE ===== */

.location-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-icon svg {
  width: 38px;
  height: 38px;
  color: var(--blue);
  flex-shrink: 0;
}


/* ===== TEXTE ===== */

.location-text strong {
  display: block;

  margin-bottom: 10px;

  font-size: 13px;
  font-weight: 700;

  color: var(--blue);

  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.location-text p {
  margin-bottom: 20px;

  font-size: 16px;
  line-height: 1.7;

  color: #333;
}


/* ===== BOUTON MAPS ===== */

.maps-btn {
  display: inline-block;

  padding: 12px 20px;

  background: var(--blue);
  color: #fff;

  font-size: 14px;
  font-weight: 600;

  text-decoration: none;

  border-radius: 8px;

  transition:
    background 0.3s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.maps-btn:hover {
  background: #062c5c;

  transform: translateY(-2px);

  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}


/* ===== MOBILE ===== */

@media (max-width: 900px) {

  .planning-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
  }

  .schedule,
  .planning-location {
    max-width: 100%;
    width: 100%;
  }

  .planning-location {
    flex-direction: column;
    text-align: center;
  }

  .location-icon svg {
    width: 42px;
    height: 42px;
  }
}





/* ========== MOBILE ========== */
@media (max-width: 868px) {
  .burger {
    display: block;
  }

  nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: #000000;
    width: 220px;
    flex-direction: column;
    display: none;
  }

  nav.open {
    display: flex;
  }

  nav a {
    padding: 15px;
    border-bottom: 1px solid #eee;
  }

}



/* ==========LE COACH =========*/



#coach {
  padding: 70px 0;
   background: 
    linear-gradient(rgb(255, 255, 255),
     rgba(0, 0, 0, 0), 
     rgba(0, 0, 0));


}
.coach-wrapper { 
  display: grid; 
  grid-template-columns: 0.7fr 1.3fr; 
  gap: 70px; 
  align-items: center; }

  /* =========================================
   ANIMATION SECTION COACH
========================================= */

.coach-wrapper {
  opacity: 0;
  transform: translateX(-80px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

/* état visible */
.coach-wrapper.show {
  opacity: 1;
  transform: translateX(0);
}
/* ==== PHOTO ==== */
.coach-photo {
  position: relative;
  max-width: 300px;        /* ≈ -30% */
  margin: 0 auto;
}

.coach-photo::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--yellow);
  z-index: -1;
}

.coach-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;     /* proportion portrait */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

/* ==== TEXTE ==== */







/* Paragraphes */
.coach-info p {
  font-size: 16px;
  line-height: 1.8;
  color: #000000;
  margin-bottom: 30px;
}

.coach-info h3 {
  color: var(--yellow);
}

/* Citation */
.personal-note {
  font-style: italic;
  margin-top: 10px;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.85),
    rgba(245,245,245,0.6)
  );

  padding: 26px 28px;
  border-left: 5px solid var(--yellow);

  border-radius: 14px;

  box-shadow: 0 20px 50px rgba(0,0,0,0.12);

  position: relative;
  color: #222;
}

.personal-note::before {
  content: "“";
  font-size: 52px;
  color: var(--yellow);
  position: absolute;
  top: -18px;
  left: 12px;
  font-family: serif;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1000px) {
  .coach-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .coach-photo {
    max-width: 260px;
  }

}

@media (max-width: 500px) {
  .coach-photo {
    max-width: 220px;
  }

}

/* ===== STATS SECTION – MODERNE PREMIUM ===== */
.stats-section {
  padding: 60px 0;
  background: var(--dark);
  color: #fff;
}

/* grille */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 60px;
  align-items: center;
}

/* bloc */
.stat {
  position: relative;
  padding-left: 20px;
}

/* ligne verticale stylée */
.stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 3px;
  height: 40px;
  background: var(--yellow);
}

/* chiffre */
.stat h3 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

/* texte */
.stat p {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #bbb;
}

/* effet subtil au hover */
.stat:hover h3 {
  transform: translateX(5px);
  transition: 0.3s;
}

/* petit effet fade-in */
.stat {
  opacity: 0;
  transform: translateY(20px);
  animation: statFade 0.8s ease forwards;
}

.stat:nth-child(2) { animation-delay: 0.2s; }
.stat:nth-child(3) { animation-delay: 0.4s; }
.stat:nth-child(4) { animation-delay: 0.6s; }

@keyframes statFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== FOOTER ========== */
footer {
  background: var(--dark);
  color: #fff;
 
}


.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding: 60px 0;
}

.footer-col h4 {
  margin-bottom: 15px;
  font-size: 16px;
  color: var(--yellow);
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
}






/* BAS DU FOOTER */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
  opacity: 0.8;
}

/* ========== MENTIONS LEGALES ========== */
.legal-page {
  padding-top: 40px;
}

.legal-page h1 {
  margin-bottom: 30px;
  text-align: center;
}

.legal-page p {
  font-size: 15px;
  line-height: 1.7;
}

.legal-page a {
  color: var(--blue);
  text-decoration: underline;
}

/* ========== COOKIES (RGPD) ========== */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111;
  color: #fff;
  padding: 15px 20px;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  z-index: 999;
}

.cookie-banner p {
  font-size: 14px;
}

.cookie-banner a {
  color: var(--yellow);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-banner button {
  border: none;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
}

.cookie-banner button.refuse {
  background: #444;
  color: #fff;
}

.cookie-banner button:not(.refuse) {
  background: var(--yellow);
}

.cookie-banner.active {
  display: flex;
}









/* ======== INFOS PRATIQUES / TARIFS PREMIUM ======== */
.infos-pratiques-section {
  padding: 80px 0;
}



.infos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.info-card {
  background: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}



.info-card ul {
  list-style: disc inside;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}


/* ===== BADGE SITE DE DEMONSTRATION ===== */
/* ===== BADGE SITE DE DEMONSTRATION (FERMABLE) ===== */
.demo-badge {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;

  display: flex;
  align-items: center;
  gap: 12px;

  background: linear-gradient(120deg, var(--blue), var(--yellow));
  color: #fff;

  padding: 10px 16px;
  border-radius: 30px;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;

  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  opacity: 0.95;

  animation: badgeFadeIn 1.2s ease;
}

/* Bouton fermeture */
.demo-badge-close {
  background: rgba(255,255,255,0.25);
  border: none;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.demo-badge-close:hover {
  background: rgba(255,255,255,0.45);
  transform: scale(1.1);
}

/* Animation apparition */
@keyframes badgeFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 0.95;
    transform: translateY(0);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .demo-badge {
    font-size: 11px;
    padding: 8px 14px;
    bottom: 15px;
    left: 15px;
  }
}


/* Fond semi-transparent, centré */
/* Lightbox fond sombre premium */
/* ===== GALLERY BADGE ===== */
.gallery-img-wrapper {
  position: relative;
}

.gallery-badge {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: var(--yellow);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
  opacity: 0.85;
  pointer-events: none;
}

/* ===== LIGHTBOX PREMIUM ===== */
/* ===== LIGHTBOX PREMIUM ===== */
.gallery-img-wrapper {
  position: relative; /* pour garder la structure */
}

.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(11,60,125,0.95);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: fadeIn 0.4s ease-in-out;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.lightbox.show .lightbox-img {
  transform: scale(1.05);
}

/* Caption */
.lightbox-caption {
  position: absolute;
  bottom: 30px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  background: rgba(0,0,0,0.5);
  padding: 8px 14px;
  border-radius: 8px;
  max-width: 80%;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 500;
}

/* Close */
.lightbox-close {
  position: absolute;
  top: 25px;
  right: 30px;
  color: var(--yellow);
  font-size: 38px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
}
.lightbox-close:hover {
  transform: rotate(90deg);
  color: #fff;
}

/* Navigation flèches */
.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  transform: translateY(-50%);
  pointer-events: none;
}

.lightbox-nav span {
  font-size: 50px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  pointer-events: auto;
  transition: color 0.2s;
}

.lightbox-nav span:hover {
  color: var(--yellow);
}

@keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }


/* ==================================================
   POPUP DEMONSTRATION GALLERIE
================================================== */

.demo-popup-overlay {
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;

  z-index: 20000;
}

.demo-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== BOX ===== */

.demo-popup {
  position: relative;

  width: 90%;
  max-width: 520px;

  background:
    linear-gradient(
      145deg,
      #ffffff,
      #f7f9fc
    );

  border-radius: 22px;

  padding: 50px 40px;

  text-align: center;

  box-shadow:
    0 30px 80px rgba(0,0,0,0.35);

  transform: translateY(30px) scale(0.96);

  transition:
    transform 0.4s ease;
}

.demo-popup-overlay.active .demo-popup {
  transform: translateY(0) scale(1);
}

/* ===== ICON ===== */

.demo-popup-icon {
  width: 90px;
  height: 90px;

  margin: 0 auto 25px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 42px;

  background:
    linear-gradient(
      135deg,
      var(--blue),
      #174d96
    );

  color: #fff;

  box-shadow:
    0 15px 40px rgba(11,60,125,0.35);
}

/* ===== TITRE ===== */

.demo-popup h3 {
  font-size: 28px;
  color: var(--blue);
  margin-bottom: 18px;
  font-weight: 700;
}

/* ===== TEXTE ===== */

.demo-popup p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 35px;
}

/* ===== BOUTON ===== */

.demo-popup-btn {
  border: none;

  background:
    linear-gradient(
      135deg,
      var(--blue),
      #174d96
    );

  color: #fff;

  padding: 14px 30px;

  border-radius: 12px;

  font-size: 15px;
  font-weight: 600;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.demo-popup-btn:hover {
  transform: translateY(-3px);

  box-shadow:
    0 15px 35px rgba(11,60,125,0.3);
}

/* ===== CLOSE ===== */

.demo-popup-close {
  position: absolute;
  top: 15px;
  right: 18px;

  border: none;
  background: transparent;

  font-size: 34px;
  line-height: 1;

  cursor: pointer;

  color: #999;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.demo-popup-close:hover {
  color: var(--blue);
  transform: rotate(90deg);
}

/* ===== MOBILE ===== */

@media (max-width: 600px) {

  .demo-popup {
    padding: 40px 25px;
  }

  .demo-popup h3 {
    font-size: 24px;
  }

  .demo-popup p {
    font-size: 15px;
  }

  .demo-popup-icon {
    width: 75px;
    height: 75px;
    font-size: 36px;
  }

}


/* ==================================================
   SECTION CONTACT
================================================== */

#contact {
  padding: 100px 0px;
  background: url('images/texture14.webp');
}





/* ===== CARD GLOBALE ===== */

.contact-card {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;

 background: 
    linear-gradient(rgb(0, 0, 0), 
    rgba(0, 0, 0, 0.5), 
    rgb(255, 255, 255)),
    url('images/texture14.webp');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;

}


/* ==================================================
   COLONNE RESEAUX SOCIAUX
================================================== */

.contact-card-social {

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 70px 50px;

  text-align: center;

  

  color: #fff;
}

/* TITRE */

.contact-card-social h2 {
  color: var(--yellow);
}

.contact-card-social h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 50%;
  height: 4px;
  background: linear-gradient( 90deg, transparent, var(--yellow), var(--yellow), transparent );
  border-radius: 2px;
}

/* TEXTE */

.contact-card-social p {
  margin-top: 15px;

  max-width: 420px;

  line-height: 1.8;

  color: rgba(255,255,255,0.92);

  font-size: 18px;
}


/* ===== ICÔNES ===== */

.social-icons {

  display: flex;
  gap: 22px;

  margin-top: 35px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons a:hover {

  transform: translateY(-5px) scale(1.08);

  opacity: 0.85;
}



.social-icons img {

  width: 50px;
  height: 50px;

  object-fit: contain;
}


/* ==================================================
   COLONNE FORMULAIRE
================================================== */

.contact-card-form {

  padding: 5%;
  width: 100%;
  max-width: 100%;


  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TITRE */

.contact-card-form h2 {
  margin-bottom: 10px;
  color: var(--yellow);
}

.contact-subtitle {
  text-align: center;
  margin-top: 10px;
  opacity: 0.8;
  font-size: 15px;
  color: white;
}
/* FORMULAIRE */

.contact-form {
 width: 100%;
  display: flex;
  flex-direction: column;

  gap: 22px;

  margin-top: 25px;
}


/* ===== INPUTS ===== */

.contact-form input,
.contact-form textarea {

  width: 100%;

  padding: 18px 20px;

  border: 1px solid #e3e3e3;
  box-sizing: border-box;

  border-radius: 12px;

  background: #f7f9fc;

  font-family: inherit;
  font-size: 15px;

  color: #222;

  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}


/* FOCUS */

.contact-form input:focus,
.contact-form textarea:focus {

  outline: none;

  border-color: var(--blue);

  background: #fff;

  box-shadow:
    0 0 0 4px rgba(11,60,125,0.08);
}


/* TEXTAREA */

.contact-form textarea {

  min-height: 180px;

  resize: vertical;
}


/* PLACEHOLDER */

.contact-form input::placeholder,
.contact-form textarea::placeholder {

  color: #888;
}


/* ===== BOUTON ===== */

.contact-form button {

  border: none;
width: 50%;
margin: auto;
  padding: 16px 24px;

  border-radius: 12px;

  background:
    linear-gradient(
      135deg,
      var(--blue),
      #174d96
    );

  color: #fff;

  font-size: 15px;
  font-weight: 600;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


/* HOVER */

.contact-form button:hover {

  transform: translateY(-3px);

  box-shadow:
    0 18px 35px rgba(11,60,125,0.22);
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 900px) {

  .contact-card {

    grid-template-columns: 1fr;
  }

  .contact-card-social,
  .contact-card-form {

    padding: 50px 30px;
  }

  .social-icons {

    justify-content: center;
  }


  .hero-content {
    padding-top : 0px;
  }

  h2 {
    font-size: 1.2em;
  }

  .stats-section {
    padding-top: 0px;
  }

  #why-boxe, .coach-info h2, #gallery-section, .testimonials, .infos-pratiques-section{
    padding-top: 50px;
  }

  #planning {
    padding: 20px 0px;
  }
  .schedule-card h3 {
    font-size: 1em;
  }

  footer {
    text-align: center;
  }
}

@media (max-width:768px){

  .stats-grid{
    grid-template-columns: repeat(2,1fr);
    gap:30px;
    text-align: center;
  }

  .stat h3{
    font-size:25px;
  }


  .hero {
  position: relative;
  min-height: 80vh;

  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.25) 50%,
      rgb(255, 255, 255) 100%
    ),
    url('images/heroimg6.webp') center 80% / cover;

  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

  .hero h1 {
    font-size: 1.7em;
  }

  .hero-subtitle {
    font-size: 1em;
  }

}