html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}




.text, body, optgroup, p, select option, textarea {
  color: #000;
  font-family: var(--font-family-regular);
  font-size: 18px;
  line-height: 30px;
}


h1 {
  font-size: 3rem;
  animation: colorFade 2s infinite alternate;
  padding: 40px 60px; /* espace autour */
  box-sizing: border-box;
  text-align: center;
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;    /* police plus petite sur mobile */
    padding: 20px 30px; /* moins d'espace autour */
  }
}

@keyframes colorFade {
  0% {
    color: #e50914;
  }
  100% {
    color: #000;
  }
}

footer * {
  color: #fff;
}

a[href^="tel:"], a[href^="mailto:"] {
  color: inherit !important;
  text-decoration: none !important;
}


.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}



.header {
  background: #000000 !important;
  color: white !important;
  /*overflow: hidden !important;*/
}

.header svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}


.navbar {
  padding-top: 1rem;
}

.navbar-nav .nav-link {
  color: white;
  margin-right: 1rem;
}

.custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.custom-toggler.navbar-toggler {
  border-color: rgb(255,255,255);
}

.btn {
  background-color: white;
  color: #3ba891;
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
}

.section {
  padding: var(--section-padding);
}

.second-background {
  background: var(--second-background);
}

.boxed {
  margin-inline: auto;
  width: min(100% - 3rem, var(--max-width-container));
}

@media (max-width: 1090px) {
  .boxed {
    width: min(100%, var(--max-width-container));
  }
}

.text-desc {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  grid-gap: 3rem;
}


.carousel-image-container {
  height: 600px;
  overflow: hidden;
}

.carousel-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.info-footer {
  display: flex;
  grid-gap: 3rem;
  border-bottom: 1px solid;
  justify-content: center;
  margin-top: 3rem;
  padding-bottom: 2rem;
  text-align: center;
}






:root {
  --font-family: "text", sans-serif;
  --font-family-light: "text", sans-serif;
  --font-family-regular: "text", sans-serif;
  --font-family-titre: "titre", sans-serif;
  --font-family-bold: "textbold", sans-serif;
  --max-width-container: 90%;
  --hauteur-hero-details-vn: 550px;
  --hauteur-hero-details-vo: 700px;
  --hauteur-map: 600px;
  --position-menu: relative;
  --border-color: #00665e;
  --color-primary: #5fbca2;
  --color-primary-hover: #047067;
  --color-secondary: #004f5e;
  --color-secondary-hover: #035c6c;
  --text-color-primary: #121212;
  --text-color-primary-hover: #121212;
  --text-color-secondary: #006665 E;
  --text-color-secondary-hover: #006665 E;
  --text-color-menu: #fff;
  --text-color-menu-hover: #fff;
  --bg-light: #f4f4f2;
  --bg-light-2: linear-gradient(90deg, #f4f4f2, #efede9);
  --bg-lightness: #f1ece9;
  --bg-dark: #202020;
  --bg-grey: #252525;
  --padding-top-main: 5.5rem;
  --section-padding: 8rem 4rem;
  --section-padding-2: 6rem 4rem;
  --hauteur-slider-home: 92vh;
  --slider-content-position: start;
  --slider-text-align: start;
  --bs-border-radius: 0;
  --hauteur-container-menu: 90px;
  --hauteur-menu: 90px;
  --bg-color-menu: #000;
  --bg-color-sous-menu: #000;
  --hover-color-sous-menu: #2f2f2f;
  --bg-color-trait: var(--color-primary);
  --bg-color-trait-menu: var(--color-primary);
  --menu-justify-content: start;
  --font-weight-menu: 500;
  --stock-listing-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  --stock-details-padding: 11vw;
  --btn-border-radius: 0px;
  --height-search-center: 500px;
  --main-background: #fff;
  --second-background: #f6f9fc;
  --main-color: #021e37;
  --second-color: #5fbca2;
  --contenu-color: #4a4a4a;
}

@media (max-width: 1090px) {
  :root {
    --section-padding: 8rem 2rem;
    --max-width-container: 97%;
  }
}






.contact-formulaire {
  border-radius: 15px;
  padding: 2% 4%;
  background-color: #fff;
}






.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}






/* #region Cours */
.carousel-container {
  position: relative;
  width: 100%;
  overflow: visible;
  padding: 0 60px;
  box-sizing: border-box;
}

.carousel-track {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 20px 10px;
}

.card {
  cursor: pointer;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 40px) / 3); /* 3 cards with 20px gaps */
  max-width: calc((100% - 40px) / 3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 15px;
  font-size: 0.9rem;
}

.nav-button {
  background: transparent;
  border: none;
  color: #333; /* couleur du chevron, change si besoin */
  cursor: pointer;
  padding: 10px;
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 4;
  width: 40px;
  height: 100%;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.nav-button:hover {
  opacity: 1;
}


.nav-left {
  left: 0;
}

.nav-right {
  right: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-container {
    padding: 0;
  }

  .carousel-track {
    gap: 12px;
    padding: 0 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .card {
    flex: 0 0 80%;
    max-width: 80%;
    scroll-snap-align: center;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }

  .card:first-child {
    margin-left: 12px;
  }

  .card:last-child {
    margin-right: 12px;
  }

  .card-content {
    display: -webkit-box;
    -webkit-line-clamp: 6; /* 3 lignes max */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}



/* #end region */

/* #region Planning */

.schedule-wrapper {
  overflow-x: auto;
  height: 100%; /* ✅ Ajouté : permet l'étirement vertical */
}

.schedule-columns {
  display: flex;
  min-width: 1000px;
  gap: 10px;
  font-family: Arial, sans-serif;
  text-align: center;
  padding: 10px;

  align-items: stretch; /* ✅ Ajouté : étire toutes les colonnes à la même hauteur */
}

.day-column {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 120px;
  background-color: #f9f9f9; /* facultatif, juste pour mieux voir */
}

.header {
  font-weight: bold;
  background: #333;
  color: white;
  padding: 10px 5px;
  border-radius: 4px;
}

.cell {
  padding: 10px 5px;
  border-radius: 4px;
  color: white;
  font-size: 0.85em;
  margin-top: 5px;
  /* Pas de hauteur fixe ici, sauf si tu veux homogénéiser les cases aussi */
}

.green  { background-color: #2ecc71; }
.red    { background-color: #e74c3c; }
.blue   { background-color: #3498db; }
.black  { background-color: #2c3e50; }
.orange { background-color: #e67e22; }
.gray   { background-color: #bdc3c7; }


/* Supprimer le layout responsive vertical */
@media screen and (max-width: 768px) {
  .schedule {
    grid-template-columns: repeat(7, 1fr); /* garde la grille horizontale */
  }
}


/* #end region */

/* #region Tarifs */
.tarifs-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.tarif-box {
  flex: 1 1 calc(50% - 10px); /* 2 par ligne avec 20px de gap */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 250px;
}


.tarif-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.tarif-box.selected {
  border: 2px solid #007bff;
  background-color: #f0f8ff;
}

.price-tag {
  background: #000000a8;
  color: #fff;
  font-size: 26px;
  font-weight: bold;
  padding: 18px 25px;
  border-radius: 10px;
  margin-right: 20px;
  min-width: 120px;
  text-align: center;
}

.tarif-content {
  flex: 1;
}

.tarif-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
  word-break: break-word; /* Permet les coupures si nécessaire */
  white-space: normal;     /* Autorise les retours à la ligne */
}


.tarif-sub {
  font-size: 14px;
  color: #666;
}

@media (max-width: 767px) {
  .tarifs-wrapper {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .tarif-box {
    flex: 1 1 100% !important; /* prend toute la largeur */
    min-width: auto !important;
    padding: 15px !important;
  }

  .price-tag {
    font-size: 22px !important;
    padding: 14px 20px !important;
    min-width: 90px !important;
    margin-right: 15px !important;
  }

  .tarif-title {
    font-size: 16px !important;
  }

  .tarif-sub {
    font-size: 13px !important;
  }
}

/* #endregion */



/* #region Entraineurs */
.list-equipe {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.list-equipe > div {
  flex: 1 1 calc(20% - 1rem);
  max-width: calc(20% - 1rem);
  box-sizing: border-box;
  cursor: pointer;
  border-radius: 20px;
  overflow: hidden;
  background: var(--second-background);
  border: 1px solid #8080801f;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease;
}

.list-equipe > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.case-equipe img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.content-post {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 0.5rem 0;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-weight: bold;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  user-select: none;
  transition: background 0.3s ease;
}

.case-equipe:hover .content-post {
  background: rgba(0, 0, 0, 0.8);
}

/* Responsive */

@media (max-width: 1080px) {
  .list-equipe > div {
    flex: 1 1 calc(47% - 1rem);
    max-width: calc(47% - 1rem);
  }
}

@media (max-width: 720px) {
  .list-equipe > div {
    flex: 1 1 calc(48% - 1rem);
    max-width: calc(48% - 1rem);
  }
}

/* #endregion */



/* #region Détails Entraineurs */
.social-icons {
  padding-left: 0;
  margin: 0;
  list-style: none;
  display: flex;
  width: 100%;
}

.social-icons li {
  flex: 1; /* Chaque icône prend une part égale */
  text-align: center; /* Centrer l'icône dans sa colonne */
}

.social-icons li a {
  display: inline-block;
  font-size: 6rem; /* Icônes très grandes */
  color: #333;
  transition: color 0.3s ease;
  width: 100%; /* Pour que le lien prenne toute la largeur du li */
}

.social-icons li a:hover {
  color: #0077b5; /* Par exemple couleur au survol */
}





.coach-photo {
  max-width: 350px;       /* limite largeur max */
  width: 100%;            /* responsive */
  height: auto;
  border-radius: 15px;    /* coins arrondis */
  box-shadow: 0 8px 20px rgba(0,0,0,0.2); /* ombre douce */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coach-photo:hover {
  transform: scale(1.05); /* léger zoom au hover */
  box-shadow: 0 12px 30px rgba(0,0,0,0.35); /* ombre plus visible */
}


/* #endregion */