 /* Reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    background-color: #D4F1F4;
    color: #333;
  }
  
  /* Header */
  header {
    background-color: #007C91;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: white;
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .logo a {
    color: white;
    text-decoration: none;
  }
  
  .logo .slogan {
    display: block;
    font-size: 0.9rem;
    font-weight: normal;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
  }
  
  nav ul li a {
    text-decoration: none;
    color: white;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
    border-radius: 5px;
  }
  
  nav ul li a:hover,
  nav ul li.active a {
    background-color: #005f6b;
  }
  
  /* Hero section */
  .hero {
    background: linear-gradient(to right, #ffffff, #ffffff);
    color: #007C91;
    text-align: center;
    padding: 4rem 2rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  /* Content section */
  .content {
    padding: 2rem;
    max-width: 1000px;
    margin: auto;
  }
  
  .content h2 {
    color: #007C91;
    margin-top: 2rem;
  }
  
  .content p {
    margin: 1rem 0;
    color: #007C91
  }

.content-site h2 {
  color : #ffffff;
  margin: 1rem 0;
}
.content-site p {
  color: #ffffff;
  margin: 1rem 0;
}
.content-site {
    padding: 2rem;
    max-width: 1000px;
    margin: auto;
  }
  

  .content-site {
  transition: all 0.3s ease; /* durée et type de transition */
}

.content-site:hover {
  transform: translateY(-10px) scale(1.05); /* décalage vers le haut et zoom */
}
  



.idea-box {
  transition: all 0.3s ease; /* durée et type de transition */
}

.idea-box:hover {
  transform: translateY(-10px) scale(1.05); /* décalage vers le haut et zoom */
}



  /* Footer */
  footer {
    background-color: #007C91;
    color: white;
    text-align: center;
    padding: 1.5rem 1rem;
    margin-top: 3rem;
  }
  .image-placeholder, .photo-placeholder {
    background-color: #a0c4c9; /* bleu doux */
    border: 2px dashed #057d9f; /* bleu plus foncé */
    color: #057d9f;
    text-align: center;
    line-height: 150px;
    height: 235px;
    margin: 20px 0;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 8px;
  }
  
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(150px,1fr));
    gap: 15px;
  }
  input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  max-width: 500px;
  padding: 10px 15px;
  margin: 10px 0 20px 0;
  border: 2px solid #0288d1;  /* bleu vif */
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 2px 6px rgba(2, 136, 209, 0.25);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: vertical;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #015c91; /* bleu plus foncé au focus */
  box-shadow: 0 4px 12px rgba(1, 92, 145, 0.4);
  outline: none;
}
button,
input[type="submit"] {
  background-color: #0288d1;       /* bleu vif */
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 4px 8px rgba(2, 136, 209, 0.3);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

button:hover,
input[type="submit"]:hover {
  background-color: #015c91;       /* bleu foncé au hover */
  box-shadow: 0 6px 12px rgba(1, 92, 145, 0.5);
}

button:focus,
input[type="submit"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(2, 136, 209, 0.6);
}
body {
    background-color: #e6f0f3;
    color: #02475e;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
  }
  
  nav a.securite,
  nav a.securite:hover {
    border-bottom: 3px solid #0288d1;
    color: #0288d1;
  }
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e6f2f7; /* fond général bleu clair */
    color: #004d66; /* texte bleu foncé */
  }
  
  /* Style spécifique par page */
  body.index {
    background-color: #d0e7f5;
  }
  
  body.securite {
    background-color: #d0e7f5; /* même fond que index, pour harmoniser */
  }
  
  /* pareil pour les autres pages */
  body.parcours {
    background-color: #d0e7f5;
  }
  
  body.club {
    background-color: #d0e7f5;
  }
  
  body.photos {
    background-color: #d0e7f5;
  }
  
  form {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffffdd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* Groupe horizontal : label à gauche */
  .form-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .form-group label {
    width: 100px;
    font-weight: bold;
    color: #004d66;
    margin-right: 10px;
  }
  
  .form-group input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ff0000;
    border-radius: 6px;
    background-color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    color: #003344;
  }
  
  /* Groupe vertical : label au-dessus (ex: message) */
  .form-group.vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .form-group.vertical label {
    margin-bottom: 8px;
    width: auto;
  }
  
  .form-group.vertical textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ff0000;
    border-radius: 6px;
    background-color: #f9fcfe;
    font-size: 1rem;
    font-family: inherit;
    color: #003344;
    resize: vertical;
  }
  
  /* Bouton aligné à gauche */
  .form-actions {
    text-align: left;
    margin-top: 10px;
  }
  
  .form-actions input[type="submit"] {
    background-color: #0288d1;
    color: rgb(255, 255, 255);
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .form-actions input[type="submit"]:hover {
    background-color: #015c91;
  }
  .site-logo {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgb(0, 61, 97);
    color: #0288d1; /* ou une autre couleur en lien avec l’eau */
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .site-logo:hover {
    background-color: #e6f7ff;
    color: #015c91;
  }
  
  
  /* Conteneur principal du header */
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  background-color: #005f73; /* bleu canard */
}

/* Logo avec "Depuis 50 ans" à côté */
.logo {
  display: flex;
  align-items: center;
  margin: 0px;
  
}

/* Bouton Voray CK */
.site-logo {
  background-color: rgb(0, 56, 78);
  color: #005f73;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.3rem;
  text-decoration: none;
  margin-right: 15px;
}

/* Texte "Depuis 50 ans" */
.slogan {
  color: white;
  font-size: 2rem !important; /* Plus gros */ 
  font-weight: 900 !important;   /* Plus gras */
  text-shadow: 1px 1px 2px #003845;
  margin-left: 620px;  /* Plus éloigné de "Voray CK" */
  text-decoration: underline;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background 0.4s;
}

nav ul li a:hover,
nav ul li.active a {
  background-color: white;
  color: #005f73;
}

/* style.css */

/* Au chargement, on fait apparaître la page avec fade-in */
body {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

/* Classe ajoutée au body au clic sur un lien pour le fade-out */
body.fade-out {
  opacity: 0;
}

.page-intro {
  display: flex;
  margin: 20px auto;
  max-width: 1200px;
  background: #e0f7fa; /* un bleu doux aquatique */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.quote-box {
  flex: 1;
  padding: 30px 20px;
  background: #00796b; /* bleu canard */
  color: white;
  font-weight: bold;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 3px solid #004d40;
}

.photo-slider {
  flex: 3;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  animation: scroll-left 20s linear infinite;
}

.slider-track img {
  width: 100%;
  max-width: 300px;
  object-fit: cover;
  margin-right: 10px;
  border-radius: 8px;
}

/* Animation de défilement horizontal */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-300px * 3 - 30px)); /* déplace la largeur des 3 images + marge */
  }
}
.page-intro-slider {
  max-width: 1200px;
  margin: 20px auto;
  background: #e0f7fa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: row;
  align-items: center;
}

.quote-container {
  flex: 1;
  background: #00796b;
  color: white;
  padding: 30px 20px;
  font-weight: bold;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 180px;
  position: relative;
}

.quote {
  display: none;
  margin: 0;
  position: absolute;
  width: 100%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.5s ease-in-out;
  opacity: 0;
}

.quote.active {
  display: block;
  opacity: 1;
  position: relative;
  transform: translateY(0);
}

.photo-slider {
  flex: 3;
  position: relative;
  overflow: hidden;
  height: 180px;
}

.slides {
  display: none;
  height: 100%;
}

.slides.active {
  display: block;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 10px 10px 0;
}

.dots-container {
  position: absolute;
  bottom: 10px;
  right: 20px;
  display: flex;
  gap: 10px;
}

.dot {
  height: 12px;
  width: 12px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #00796b;
}
.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.dots-container {
  position: absolute;
  bottom: 10px;       /* à 10px du bas de la zone image */
  width: 100%;        /* prend toute la largeur de la zone */
  text-align: center; /* centre les points horizontalement */
  left: 0;            /* pour bien coller à gauche */
  z-index: 10;        /* au-dessus des images */
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #006666;  /* couleur style "eau" pour point actif */
}
.slideshow-container {
  position: relative;
  width: 100%;   /* ou la largeur que tu veux */
  max-width: 800px; /* exemple largeur max */
  margin: 0 auto;   /* pour centrer sur la page */
  height: 300px;    /* hauteur fixe si besoin */
  background: #eee; /* juste pour voir le cadre */
}
.dots-container {
  position: absolute;
  bottom: 10px;    /* 10px au dessus du bas */
  left: 0;
  width: 100%;     /* prend toute la largeur du conteneur */
  text-align: center; /* centre horizontalement */
  z-index: 10;
}
.parcours-rectangles {
  max-width: 1200px;
  margin: 40px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.rect {
  width: 48%;
  min-height: 180px;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 12px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: 'Arial', sans-serif;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.rect:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.colored {
  background-color: #005f73; /* bleu-canard */
  text-align: left;
}

.alt-colored {
  background-color: #0a9396; /* turquoise clair */
  text-align: left;
}

/* Pour créer l'effet quinconce */
.rect-left {
  order: 1;
}

.rect-right {
  order: 2;
}

/* On décale un peu verticalement la colonne droite */
.rect-right:nth-child(2),
.rect-right:nth-child(4),
.rect-right:nth-child(6) {
  margin-top: 40px;
}

/* Titres */
.rect h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  font-weight: bold;
  text-transform: uppercase;
}
.parcours-rectangles {
  max-width: 1200px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  font-family: 'Arial', sans-serif;
}

.ligne {
  display: flex;
  width: 100%;
  min-height: 200px;
  gap: 20px;
}

/* Le rectangle texte */
.texte {
  width: 40%;
  background-color: #005f73; /* bleu-canard */
  color: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease;
}

.texte:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* Le rectangle photo (vide pour l'instant) */
.photo {
  width: 60%;
  background-color: #0a9396; /* turquoise clair */
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  /* Optionnel : centrer un texte "Photos ici" */
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 1.4rem;
  font-style: italic;
  user-select: none;
}

/* Si tu veux un texte indicatif dans les photos vides */
.photo-vide::before {
  content: "Photos ici";
}

/* Titres */
.texte h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
}
.photo {
  width: 60%;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  position: relative;
  background: #000; /* fond noir pour slider */
}

.slider {
  position: relative;
  width: 100%;
  height: 200px; /* fixe la hauteur du slider */
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  height: 100%;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  user-select: none;
  pointer-events: none;
}

/* Points de navigation */
.dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dots span {
  width: 10px;
  height: 10px;
  background-color: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dots span.active {
  background-color: rgba(255,255,255,1);
}
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  padding: 10px 15px;
  cursor: pointer;
  display: none;
  z-index: 10;
}
.slider {
  position: relative;
  width: 100%;
  max-width: 600px;
  overflow: hidden;
}

.slide {
  display: none;
  width: 100%;
}

.slide.active {
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  padding: 10px 15px;
  cursor: pointer;
  display: none;
  z-index: 10;
}
.dots {
  text-align: center;
  margin-top: 10px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
  background-color: #555;
}
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.play-button:hover {
  background: rgba(0, 0, 0, 0.8);
}

.play-button::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 18px solid white;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.slider-item {
  position: relative;
  display: inline-block; /* ou selon le layout du slider */
}

.slider-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px; /* un arrondi sympa */
}

.slider-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.slider-play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  filter: drop-shadow(0 0 6px rgba(0, 95, 153, 0.7));
}

.slider-play-button svg {
  pointer-events: none; /* Pour que le clic soit bien pris par le bouton */
}
.slider {
  position: relative;
  width: 100%;
  max-width: 600px; /* exemple */
  overflow: hidden;
}

.slides img {
  width: 100%;
  display: none; /* cacher toutes les slides par défaut */
}

.slides img.active {
  display: block; /* slide active visible */
}

.slider-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  display: none; /* caché par défaut */
  z-index: 10;
}
.intro-slide {
  display: none;
}
.intro-slide.active {
  display: block;
}
.slides {
  display: none;
}
.slides.active {
  display: block;
}
.quote {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.quote.active {
  opacity: 1;
}
.quote-container {
  position: relative;
  height: 3em; /* adapte selon ta mise en page */
  overflow: hidden;
}

.quote {
  opacity: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  transition: opacity 0.5s ease-in-out;
  text-align: left;
}

.quote.active {
  opacity: 1;
  position: relative;
}
/* Couleurs du site : adapte-les ici */
:root {
  --primary-color: #1e90ff; /* bleu vif */
  --secondary-color: #f5f5f5; /* fond clair */
  --text-color: #222;
  --dot-color: #bbb;
  --dot-active-color: var(--primary-color);
}

.slider {
  width: 100%;
  max-width: 1200px; /* max largeur centrale, optionnel */
  margin: 0 auto;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
  /* On gère le déplacement via JS */
}

.slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 30px;
  opacity: 0;
  position: absolute;
  top: 0; left: 0;
  height: 400px;
  transition: opacity 0.8s ease;
}

.slide.active {
  opacity: 1;
  position: relative;
}

.slide-text {
  width: 25%;
  padding-right: 30px;
  box-sizing: border-box;
  color: var(--secondary-color);
}

.slide-text h2 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.slide-text p {
  font-size: 1.1rem;
  line-height: 1.4;
}

.slide-image {
  width: 75%;
  text-align: right;
}

.slide-image img {
  max-width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.slider-dots {
  text-align: center;
  margin: 15px 0 25px 0;
}

.dot {
  height: 14px;
  width: 14px;
  margin: 0 8px;
  background-color: var(--dot-color);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--dot-active-color);
}

/* Responsive : sur petits écrans, on empile le texte et l’image */

@media (max-width: 768px) {
  .slide {
    flex-direction: column;
    height: auto;
  }
  .slide-text, .slide-image {
    width: 100%;
    padding: 0;
    text-align: center;
  }
  .slide-text h2 {
    font-size: 1.5rem;
  }
  .slide-image img {
    max-height: 200px;
    margin-top: 15px;
  }
}
:root {
  --primary-color: #1e90ff;
  --secondary-color: #f5f5f5;
  --text-color: #222;
  --dot-color: #bbb;
  --dot-active-color: var(--primary-color);
}

.slider {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  overflow: hidden;
}

.slides {
  position: relative;
  height: 400px;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  padding: 30px;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.slide-text {
  width: 25%;
  padding-right: 30px;
  box-sizing: border-box;
  color: var(--secondary-color);
}

.slide-text h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
  line-height: 1.6rem;
}

.slide-text p {
  font-size: 1.3rem;
  line-height: 1rem;
}

.slide-image {
  width: 75%;
  text-align: right;
}

.slide-image img {
  max-width: 80%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.slider-dots {
  text-align: center;
  margin: 15px 0 25px 0;
  user-select: none;
  position: relative;
  z-index: 10;
}

.dot {
  height: 14px;
  width: 14px;
  margin: 0 8px;
  background-color: var(--dot-color);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--dot-active-color);
}

@media (max-width: 768px) {
  .slide {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }
  .slide-text, .slide-image {
    width: 100%;
    padding: 0;
    text-align: center;
  }
  .slide-text h2 {
    font-size: 1.5rem;
  }
  .slide-image img {
    max-height: 100px;
    margin-top: 15px;
  }
}
.dots {
  text-align: center;
  margin-top: 15px;
}

.dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0 8px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot:hover {
  background-color: #3498db; /* bleu clair au survol */
  transform: scale(1.3);
}

.dot.active {
  background-color: #2980b9; /* bleu plus foncé pour le point actif */
  transform: scale(1.5);
  /* box-shadow supprimé */
}
.dots {
  position: absolute;
  bottom: +10px;   /* Décalage vers le bas, sous l'image */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}
.slider-container {
  position: relative;
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;
}

.slider {
  width: 100%;
  height: 300px; /* Ajuste si besoin */
  background-color: #ccc; /* pour voir le rectangle */
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.dots {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.dot {
  height: 12px;
  width: 12px;
  background-color: #999;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #333;
}
.slider img {
  max-height: 70%;
  height: 100%;
  width: auto;
  object-fit: contain;
}
.slider img {
  border-radius: 20px; /* ajuste la valeur selon l'effet désiré */}

  body {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

body.fade-in {
  opacity: 1;
}
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #132f3f;
  color: white;
}

.formules-section {
  max-width: 1200px;
  margin: auto;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.formule-bloc {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.formule-bloc.inverse {
  flex-direction: row-reverse;
}

.formule-texte,
.formule-slider {
  flex: 1 1 45%;
  padding: 20px;
  background-color: #1e4c5e;
  border-radius: 12px;
  box-shadow: 0 0 10px #00000055;
}

.formule-texte h3 {
  margin-top: 0;
  color: #e0f7f9;
}
.formule-texte {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.formule-texte:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.slider-parcours {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}



.slide-parcours {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slide-parcours.active {
  opacity: 1;
}

.slide-parcours img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.dots-parcours {
  text-align: center;
  margin-top: 10px;
}

.dots-parcours span {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #555;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.dots-parcours span.active {
  background: #00cfff;
}

  .formule-bloc.inverse {
    flex-direction: row-reverse;
  }
.slide-parcours {
  display: none;
  position: relative;
}

.slide-parcours.active {
  display: block;
}
.slider-parcours {
  display: flex;
  transition: transform 0.5s ease-in-out; /* Transition douce */
}

.slide-parcours {
  min-width: 100%;
  transition: opacity 0.5s ease-in-out; /* Si tu utilises un système à base d’opacité */
}
.slider-parcours {
  position: relative;
  overflow: hidden;
}

.slide-parcours {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  z-index: 0;
}

.slide-parcours.active {
  opacity: 1;
  z-index: 1;
}

.dots-parcours {
  text-align: center;
  margin-top: 10px;
}

.dot-parcours {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot-parcours.active {
  background-color: #00384E;
}
.btn-details {
  display: inline-block;
  margin-top: 15px;
  background-color: rgba(0, 56, 78, 0.9);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-details:hover {
  background-color: rgba(0, 56, 78, 1);
}
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(to right, #002933, #00384E);
  color: #fff;
}

.formule-page-container {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

.btn-retour {
  display: inline-block;
  margin-bottom: 30px;
  padding: 10px 20px;
  background-color: rgba(0, 56, 78, 0.8);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-retour:hover {
  background-color: rgba(0, 56, 78, 1);
}

.formule-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  color: #9ee1ff;
}

.formule-box {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.formule-box h2 {
  margin-top: 0;
  color: #8ed8f8;
  border-bottom: 2px solid #3a6e84;
  padding-bottom: 5px;
}

.formule-box p,
.formule-box ul {
  margin: 10px 0 0 0;
  font-size: 1.05em;
  line-height: 1.6;
}

.formule-box ul {
  list-style-type: disc;
  padding-left: 20px;
}
/* formule.css */

.logo-top {
  height: 50px;
  margin-right: 10px;
  vertical-align: middle;
}

.navbar {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #00384E; /* couleur de ta charte */
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: #00384E;
  color: white;
}

.logo-footer {
  height: 40px;
  margin-right: 10px;
}


.club-athletes {
  width: 100%;
  max-width: 1000px;
  margin: 40px auto 0;
}

.grand-rectangle {
  background-color: #007C91;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  padding: 30px 25px;
  display: flex;
  gap: 30px;
  justify-content: center;
}

.petit-rectangle--1 {
  background:linear-gradient(to right,#03394B, #053B49);
  border-radius: 15px;
  padding: 20px;
  flex: 1;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.petit-rectangle--2 {
  background:linear-gradient(to right,#053B49, #0A3E46);
  border-radius: 15px;
  padding: 20px;
  flex: 1;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

 
  


.petit-rectangle:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.petit-rectangle img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 15px;
  margin-bottom: 18px;
  object-fit: cover;
}

.btn-video {
  display: inline-block;
  background-color: #00796b; /* bleu canard */
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0, 121, 107, 0.6);
  margin-bottom: 16px;
  user-select: none;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-video:hover,
.btn-video:focus {
  background-color: #004d40;
  box-shadow: 0 8px 22px rgba(0, 77, 64, 0.8);
  outline: none;
}

.texte-exploit {
  font-size: 15px;
  color: #4b9fad;
  line-height: 1.4;
  min-height: 65px; /* pour garder la même hauteur texte */
  padding: 0 10px;
}

/* Responsive */
@media (max-width: 700px) {
  .grand-rectangle {
    flex-direction: column;
    gap: 30px;
    padding: 20px 15px;
  }

  .petit-rectangle img {
    max-width: 100%;
  }
}
.titre-club {
  font-size: 28px;
  font-weight: 700;
  color: #007C91; /* bleu canard foncé pour rester dans le thème */
  text-align: center;
  margin-bottom: 30px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;}

  .ruban-asavoir {
  background: linear-gradient(to right, #00566e, #004456);
  color: #e0f7fa;
  padding: 3rem 1rem 4rem;
  margin-top: 3rem;
  border-top: 4px solid #00acc1;
  font-family: 'Arial', sans-serif;
}

.ruban-asavoir h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #ffffff;
}

.asavoir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.asavoir-card {
  background-color: #007b8a;
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.asavoir-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  background-color: #0097a7;
}

.asavoir-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  color: #ffffff;
}

.asavoir-card ul {
  list-style: none;
  padding-left: 0;
}

.asavoir-card ul li {
  margin-bottom: 0.4rem;
}

.asavoir-card p {
  margin: 0.5rem 0;
  line-height: 1.4;
}

.important {
  font-weight: bold;
  color: #ffccbc;
}

.meteo-widget {
  margin-top: 3rem;
  text-align: center;
}
.meteo-widget {
  margin-top: 3rem;
  text-align: center;
  display: flex;
  justify-content: center; /* ⬅️ Cette ligne centre le widget */
}
.meteo-widget {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.meteo-card {
  background-color: #006877;
  border-radius: 12px;
  padding: 2rem;
  max-width: 480px; /* ← élargi */
  width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden; /* ← évite les débordements visuels */
}

.meteo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  justify-content: center;
}

.meteo-card h3 {
  text-align: center;
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  justify-content: center;
}
.contact-card {
  background: linear-gradient(to right, #007B8A, #005566);
  color: #e0f7fa;
  border-radius: 20px;
  padding: 3rem 2rem;
  margin: 3rem auto;
  max-width: 800px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.contact-card h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #ffffff;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 700px) {
  .contact-grid {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.contact-item {
  flex: 1;
}

.contact-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.contact-item p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-item a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #b2ebf2;
}
.map-button-container {
  margin-top: 2.5rem;
  text-align: center;
}

.map-button {
  background-color: #00acc1;
  color: #ffffff;
  padding: 0.9rem 1.6rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.map-button:hover {
  background-color: #008fa1;
  transform: translateY(-2px);
}
/* Structure de la double colonne */
.contact-flex-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 3rem auto;
  max-width: 1200px;
  padding: 0 1rem;
}

@media (min-width: 900px) {
  .contact-flex-container {
    flex-direction: row;
    align-items: flex-start;
  }

  .formulaire-contact,
  .fiche-contact {
    flex: 1;
  }

  .formulaire-contact {
    margin-right: 2rem;
  }
}

/* Formulaire (reprend ton style + propre) */
.formulaire-contact form {
  background: linear-gradient(to right, #007B8A, #005566);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.formulaire-contact label {
  display: block;
  margin-bottom: 0.5rem;
  color: #f7f7f7;
  font-weight: bold;
}

.formulaire-contact input,
.formulaire-contact textarea {
  width: 100%;
  padding: 0.9rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.formulaire-contact input[type="submit"] {
  background-color: #00acc1;
  color: white;
  padding: 0.9rem 1.6rem;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.formulaire-contact input[type="submit"]:hover {
  background-color: #005f6b;
}

/* Fiche contact (inchangé mais au cas où) */
.contact-card {
  background: linear-gradient(to right, #007B8A, #005566);
  color: #e0f7fa;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.contact-card h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #ffffff;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 700px) {
  .contact-grid {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.contact-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.contact-item p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-item a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #b2ebf2;
}

/* Bouton Google Maps */
.map-button-container {
  margin-top: 2.5rem;
  text-align: center;
}

.map-button {
  background-color: #00acc1;
  color: #ffffff;
  padding: 0.9rem 1.6rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.map-button:hover {
  background-color: #008fa1;
  transform: translateY(-2px);
}
.image-placeholder img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  display: block;
  margin: auto;
}
.image-wrapper {
  position: relative;
  display: inline-block;
  max-width: 400px;
  margin: auto;
}

.image-wrapper img {
  width: 110%;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.tooltip {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 70, 140, 0.95); /* couleur bleue type Voray CK */
  color: white;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  width: 95%;
  text-align: center;
  z-index: 10;
}

.image-wrapper:hover .tooltip {
  opacity: 1;
}
.securite-section {
  padding: 40px 20px;
  background-color: #007C91; /* fond foncé du site */
  text-align: center;
  color: #ffffff;
  border-radius: 12px; /* Ajuste la valeur comme tu veux */
  width: 1200px;
  margin: 0 auto;
  margin-top: 30px;
}

.securite-section h2 {
  font-size: 2em;
  color: #90e0ef; /* bleu clair stylé */
  margin-bottom: 30px;
}

.securite-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.securite-item {
  background:linear-gradient(to right, #00384E, #0c3f44);
  border-left: 5px solid #00b4d8;
  padding: 14px 18px;
  width: 85%;
  max-width: 700px;
  border-radius: 15px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  font-size: 1.05em;
  color: #ffffff;
}

.securite-item:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
  background-color: #1a5c60; /* surbrillance au survol */
}






body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f0faff;
  margin: 0;
  padding: 40px;
}

.club-section {
  background-color: #007C91;
  border-radius: 20px;
  padding: 30px;
  max-width: 1200px;
    margin: 40px auto 0 auto; /* Ajout d'un espace au-dessus */

  box-shadow: 0 5px 15px rgba(0, 68, 94, 0.2);
}

.club-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 25px;
}

.club-box {
  background-color: #e2f3fa;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 68, 94, 0.15);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.club-box:hover {
  transform: translateY(-5px);
}

.box-photo {
  height: 120px; /* hauteur de la zone bleue avec vidéo */
  background-color: #007BFF; /* fallback bleu si la vidéo ne charge pas */
  position: relative;
  overflow: hidden;
}

.box-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.box-content {
  padding: 20px;
}

.box-content h3 {
  color: #00445e;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.box-content ul {
  padding-left: 20px;
  margin: 0;
  font-size: 0.95rem;
}

.box-content li {
  margin-bottom: 6px;
}

.box-content li strong {
  color: #003c55;
}

.pdf-button,
.link-button {
  display: inline-block;
  margin-top: 10px;
  margin-right: 10px;
  padding: 10px 18px;
  background-color: #007ca6;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.pdf-button:hover,
.link-button:hover {
  background-color: #0092c5;
}

.wide {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .club-grid {
    grid-template-columns: 1fr;
  }

  .wide {
    grid-column: span 1;
  }
}







/* Reset universel */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Suppression de tout cadre ou fond étrange */
html, body {
  border: none;
  padding: 0;
  margin: 0;
  background:linear-gradient(to right, #00384E, #0c3f44);
}

/* Si tu as une classe qui crée un cadre bleuté */
.section-card {
  border: none;
  box-shadow: none; /* si tu veux enlever l'ombre */
}


.slider {
  width: 100%;
  height: 300px;
  background-color: #012E40; /* couleur foncée du site */
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-content {
  display: flex;
  width: 100%;
  height: 100%;
    justify-content: center;   /* Centre VERTICALEMENT */
  align-items: center; 
}

.slider-text {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* Centre VERTICALEMENT */
  align-items: center;       /* Centre HORIZONTALEMENT */
  color: white;
  text-align: center;
  padding: 20px;
}

.slide-image {
  width: 50%;
  height: 85%;
  display: flex;
  align-items: center; /* centre verticalement */
  justify-content: center; /* centre horizontalement */
  overflow: hidden;
}

.slide-image img {
  max-height: 70%;
  max-width: 80%;
  object-fit: contain; /* ou "cover" selon rendu souhaité */
}
.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 12px; /* coins arrondis */

  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.slide-image:hover img {
  transform: scale(1.05); /* zoom léger */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* ombre au survol */
}



/* ==== Base générale ==== */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f0faff;
  margin: 0;
  padding: 40px;
}

/* ==== Conteneur principal des blocs club ==== */
.club-section {
  background-color: #007C91;
  border-radius: 20px;
  padding: 30px;
  max-width: 1200px;
  margin: 40px auto 0 auto; /* Marge au-dessus pour aérer */
  box-shadow: 0 5px 15px rgba(0, 68, 94, 0.2);
}

/* ==== Grille des petits blocs ==== */
.club-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 25px;
}

/* ==== Style général des petits blocs ==== */
.club-box1,
.club-box2,
.club-box3,
.club-box4,
.club-box5 {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 68, 94, 0.15);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.club-box1:hover,
.club-box2:hover,
.club-box3:hover,
.club-box4:hover,
.club-box5:hover {
  transform: translateY(-5px);
}

/* ==== Bloc photo (vide pour illustration) ==== */
.box-photo {
  height: 120px;
  background-color: #b8e0f0;
}

/* ==== Contenu texte ==== */
.box-content {
  padding: 20px;
}

.box-content h3 {
  color: #4b9fad;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.box-content ul {
  padding-left: 20px;
  margin: 0;
  font-size: 0.95rem;
}

.box-content li {
  margin-bottom: 6px;
}

.box-content li strong {
  color: #003c55;
}

/* ==== Boutons PDF et liens ==== */
.pdf-button,
.link-button {
  display: inline-block;
  margin-top: 10px;
  margin-right: 10px;
  padding: 10px 18px;
  background-color: #007ca6;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.pdf-button:hover,
.link-button:hover {
  background-color: #0092c5;
}

/* ==== Bloc large en bas ==== */
.club-box5 {
  grid-column: span 2;
  height: auto;
}

/* ==== Personnalisation individuelle des couleurs ==== */
.club-box1 {
  background:linear-gradient(to right,#02394D, #063B48);
}
.club-box2 {
  background:linear-gradient(to right,#063B48, #0A3E46);
}
.club-box3 {
  background:linear-gradient(to right,#02394D, #063B48);
}
.club-box4 {
  background:linear-gradient(to right,#063B48, #0A3E46);
}
.club-box5 {
  background:linear-gradient(to right,#02394C, #0A3E46);
}

/* ==== Responsive pour mobiles ==== */
@media (max-width: 768px) {
  .club-grid {
    grid-template-columns: 1fr;
  }

  .club-box5 {
    grid-column: span 1;
  }
}



.map-container {
  max-width: 800px;
  margin: 40px auto; /* Centre horizontalement avec marge au-dessus */
  border-radius: 20px;
  overflow: hidden; /* Pour que les coins arrondis s’appliquent à l’iframe */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

.map-container:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 68, 94, 0.25);
}




.social-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
 
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.social-btn {
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  color: white;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  align-items: center;
  
}

.social-btn:hover {
  transform: translateY(-3px);
}

/* Instagram style */
.social-btn.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* Facebook style */
.social-btn.facebook {
  background-color: #1877f2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


.box1 {
  background-color: #007C91;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 40px;
  box-shadow: 0 4px 12px rgba(0, 68, 94, 0.15);
  
}


/* Reset universel */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Suppression de tout cadre ou fond étrange */
html, body {
  border: none;
  padding: 0;
  margin: 0;
  background: linear-gradient(to right, #ffffff, #ffffff);
  
}


element.style {
  border:none
  
}

/* Si tu as une classe qui crée un cadre bleuté */
.section-card {
  border: none;
  box-shadow: none; /* si tu veux enlever l'ombre */
}



.club-box1 .box-content {
  color: #ffffff; /* Remplace par la couleur que tu veux */
}
.club-box2 .box-content {
  color: #ffffff; /* Remplace par la couleur que tu veux */
}
.club-box3 .box-content {
  color: #ffffff; /* Remplace par la couleur que tu veux */
}
.club-box4 .box-content {
  color: #ffffff; /* Remplace par la couleur que tu veux */
}


/* Animation d’entrée */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}

/* Animation de sortie */
.fade-out {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.fade-out.fade-out-active {
  opacity: 0;
}

/* Keyframes pour fade-in */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}


/* Animation d'entrée */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

/* Animation de sortie */
.fade-out {
  opacity: 1;
  transition: opacity 0.6s ease;
}

.fade-out-active {
  opacity: 0;
}

/* Keyframes */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}






.accordion-header, .sub-header {
  background-color: #0077cc;
  color: white;
  padding: 1rem;
  cursor: pointer;
  margin-bottom: 5px;
  font-size: 1.5rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.accordion-header:hover, .sub-header:hover {
  background-color: #005fa3;
}

.accordion-content, .sub-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.accordion-item, .sub-item {
  margin-bottom: 10px;
}

.sub-accordion {
  padding: 0.5rem 1rem;
}

.photos {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  flex-wrap: wrap;
}

.photo {
  background-color: #eee;
  border: 2px solid #ccc;
  border-radius: 5px;
  width: 150px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 1rem;
}





  .ideas-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: #004d56;
    border-radius: 12px;
    color: #e0f7f9;
    box-shadow: 0 4px 12px rgba(0, 77, 86, 0.4);
  }

  .ideas-container h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  .ideas-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .idea-box {
    background-color: #007f89;
    flex: 1 1 45%;
    padding: 1.3rem 1.8rem;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 127, 137, 0.6);
    color: #f0f9fa;
    display: flex;
    flex-direction: column;
  }

  .idea-box h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid #00bcd4;
    padding-bottom: 0.3rem;
  }

  .idea-box p {
    margin: 0.4rem 0;
    line-height: 1.4;
  }

  .idea-box ul {
    padding-left: 1.2rem;
    margin: 0.4rem 0 1rem;
    list-style-type: disc;
  }

  .idea-box ul li {
    margin-bottom: 0.35rem;
  }

  .buttons {
    margin-top: auto;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .btn {
    background-color: #00bcd4;
    color: #004d56;
    text-decoration: none;
    padding: 0.6rem 1.3rem;
    font-weight: 700;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    text-align: center;
    user-select: none;
    flex: 1 1 auto;
  }

  .btn:hover {
    background-color: #008ba3;
    color: #e0f7f9;
  }

  .btn-secondary {
    background-color: #a81d1d;
    color: #d0f0f7;
  }

  .btn-secondary:hover {
    background-color: #016c73;
    color: #aee1e6;
  }

  /* Responsive */
  @media (max-width: 600px) {
    .ideas-row {
      flex-direction: column;
    }

    .idea-box {
      flex: 1 1 100%;
    }
  }



  .section, .box, .slider {
  max-width: 100%;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}



@media (max-width: 768px) {
  /* Réduction du padding et recentrage */
  .section, .box, .slider {
    padding: 10px;
  }

  /* Réorganisation des blocs d'infos */
  .container {
    flex-direction: column;
    align-items: center;
  }

  .nav ul {
    flex-direction: column;
    align-items: center;
  }

  .card, .idee, .parcours-box {
    width: 100%;
    margin: 10px 0;
  }

  h1, h2, h3 {
    text-align: center;
    font-size: 1.5rem;
  }

  .slider img {
    border-radius: 10px;
    max-width: 100%;
    height: auto;
  }

  /* Menu hamburger si nécessaire plus tard */
}






@media (max-width: 768px) {
  header, .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .slogan {
    margin-left: 0;
    font-size: 1.2rem !important;
    text-align: center;
    margin-top: 10px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .page-intro, .page-intro-slider {
    flex-direction: column;
  }

  .quote-box, .quote-container {
    font-size: 1rem;
    min-height: auto;
    padding: 20px;
  }

  .photo-slider, .slider-track {
    flex-direction: column;
    height: auto;
  }

  .slider-track img {
    max-width: 100%;
    margin: 10px auto;
  }

  .ligne {
    flex-direction: column;
  }

  .texte, .photo {
    width: 100%;
  }

  .parcours-rectangles {
    gap: 20px;
  }

  .rect {
    width: 100%;
  }

  .formule-bloc {
    flex-direction: column;
  }

  .formule-texte, .formule-slider {
    flex: 1 1 100%;
  }

  .slider, .slide {
    flex-direction: column;
    height: auto !important;
  }

  .slide-text, .slide-image {
    width: 100% !important;
    padding: 10px;
    text-align: center;
  }

  .slide-image img {
    max-height: 180px;
    width: auto;
  }

  .contact-grid {
    flex-direction: column;
    text-align: center;
  }

  .club-grid {
    grid-template-columns: 1fr;
  }

  .map-container iframe {
    height: 300px;
  }

  .ideas-row {
    flex-direction: column;
  }

  .image-wrapper img {
    width: 100%;
  }

  .accordion-header, .sub-header {
    font-size: 1.2rem;
  }

  .slider-play-button {
    font-size: 2rem;
  }

  .dots-container {
    bottom: 5px;
  }

    .securite-section {
    width: 100% !important;
    padding: 20px 10px !important;
    box-sizing: border-box;

}
}







img[alt="Image Parcours"] {
  display: block;
  margin: 0 auto;
  width: 100%;            /* Pleine largeur */
  max-width: 1200px;      /* Limite sur grand écran */
  height: 380px;          /* Hauteur écrasée — à ajuster selon besoin */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  object-fit: fill;       /* Étirement complet */
}

img[alt="Image Parcours"]:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}


.device-selector {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 9999;
}

.device-btn {
  font-size: 22px;
  background-color: white;
  border: 2px solid #ccc;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.device-btn:hover {
  background-color: #f0f0f0;
}

.device-btn.active {
  background-color: #007BFF; /* ou ta couleur de surbrillance */
  color: white;
  border-color: #007BFF;
  transform: scale(1.15);
}




body {
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.fade-in {
  opacity: 1;
}

body.fade-out {
  opacity: 0;
}


body {
  opacity: 1;
  transition: opacity 0.5s ease;
}

body.fade-out {
  opacity: 0;
}


 .blue-box {
    background-color: #004d56;
    padding: 20px;
    border-radius: 12px;
    color: white;
    max-width: 850px;
    margin: 30px auto; /* centre horizontalement */
    box-sizing: border-box;
    cursor: default;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .blue-box:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 77, 86, 0.6);
  }

  /* Cible le h2 uniquement dans .content-site */
  .content-site h2 {
    font-size: 2em;
    margin-bottom: 12px;
    /* tu peux ajouter d’autres styles si tu veux */
  }

  .image-wrapper {
    margin-top: 15px;
  }

  .image-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
  }

  .tooltip {
    margin-top: 8px;
    font-style: italic;
    color: #d3f0f2; /* un bleu clair adapté au fond */
  }


  .formule-texte{
    color: #e0f7f9
  }




  /* Conteneur principal */
.panel-membres {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #007C91;
}

.panel-membres h2 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 30px;
  color: #007C91;
}

.categorie-membres {
  margin-bottom: 50px;
}

.categorie-membres h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  border-bottom: 2px solid #004d56;
  padding-bottom: 8px;
}

/* Grille de membres */
.membres-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center; /* <-- centrer les membres */
}

/* Carte membre */
.membre-card {
  width: 150px;
  text-align: center;
  cursor: default;
}

.photo-wrapper {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 77, 86, 0.3);
  transition: transform 0.3s ease;
}

.photo-wrapper img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

/* Zoom léger au survol de la photo */
.photo-wrapper:hover img {
  transform: scale(1.05);
}

/* Tooltip caché par défaut */
.tooltip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 77, 86, 0.85);
  color: #fff;
  padding: 8px 10px;
  font-size: 0.85rem;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  user-select: none;
}

/* Afficher tooltip au survol de la photo */
.photo-wrapper:hover .tooltip {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Nom du membre */
.membre-nom {
  margin-top: 10px;
  font-weight: 600;
  font-size: 1rem;
  color: #004d56;
}

.contenu-membres {
  background-color: #f8fafa;
  border: 2px solid #004d56;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 77, 86, 0.15);
  margin-top: 20px;
}


.slide-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}



.slide-image {
  height: 350px;         /* Ajuste ici à la taille souhaitée */
  margin-top: 10px;     /* Optionnel : ajuste l'espacement */
}




.box-photo {
  height: 120px;
  background-color: #007BFF; /* fond bleu si image ne s'affiche pas */
  overflow: hidden;
  position: relative;
}

.box-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.box-photo {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.box-photo img,
.box-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.box-photo {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.box-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-source {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 0.85rem;
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.box-photo:hover .photo-source {
  opacity: 1;
}

.slide-image {
  height: 350px;
  margin-top: 10px;
  overflow: hidden;
}

.slide-image video, .slide-image img {
  width: 80%;
  height: 70%;
  object-fit: cover;
  border-radius: 12px; /* Optionnel pour adoucir les bords */
}

.info-box {
  background-color: #007C91;
  border-radius: 15px;
  padding: 30px;
  max-width: 800px;
  margin: 50px auto;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


.club-image {
  width: 75%;
  border-radius: 10px;
  margin: 10px;
  display: inline-block;
  vertical-align: top;
}


.slide-parcours {
  width: 100%;              /* largeur adaptable */
  max-width: 800px;         /* ou fixe selon ton design */
  height: auto;
  overflow: hidden;         /* cache tout débordement */
  border-radius: 15px;      /* facultatif : angles arrondis */
  margin: auto;
  position: relative;
}

.slide-parcours video {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* couvre la case sans déformation */
  display: block;
  border-radius: 15px;      /* pour suivre l'encadré arrondi */
}



main {
  padding-top: 60px; /* ou la hauteur exacte de ton header */
}



.image-hover-container {
  position: relative;
  display: inline-block;
  overflow: hidden;
  margin: 20px 0;
}

.club-image {
  width: 100%;
  max-width: 500px;
  transition: transform 0.4s ease;
  display: block;
  border-radius: 8px;
}

.image-hover-container:hover .club-image {
  transform: scale(1.05);
}

.hover-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px;
  font-size: 0.9em;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.image-hover-container:hover .hover-info {
  opacity: 1;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  overflow: hidden;
}

#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: brightness(0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.loader-bar {
  margin-top: 20px;
  width: 200px;
  height: 10px;
  background: rgba(255,255,255,0.2);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.loader-bar::before {
  content: "";
  position: absolute;
  left: -100%;
  width: 100%;
  height: 100%;
  background: white;
  animation: loading 3s linear forwards;
}

@keyframes loading {
  to {
    left: 100%;
  }
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  overflow: hidden;
  background: black;
}

#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: brightness(0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.loader-bar {
  margin-top: 20px;
  width: 200px;
  height: 10px;
  background: rgba(255,255,255,0.2);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.loader-bar::before {
  content: "";
  position: absolute;
  left: -100%;
  width: 100%;
  height: 100%;
  background: white;
  animation: loading 3s linear forwards;
}

@keyframes loading {
  to {
    left: 100%;
  }
}
.fade-out {
  animation: fadeOut 1s ease forwards;
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-out {
  animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}


@media (max-width: 768px) {
  .formule-bloc {
    flex-direction: column !important;
    align-items: center;
  }

  .formule-slider,
  .formule-texte {
    width: 100%;
    max-width: 100%;
  }

  .slider-parcours-container {
    width: 100%;
  }

  .slider-parcours img,
  .slider-parcours video {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
  }

  .formules-section {
    padding: 0 10px;
  }
}
