/* Variables CSS */
:root {
  --primary-color: #0066cc;
  --secondary-color: #00aaff;
  --text-color: #333;
  --light-bg: #f5f5f5;
  --border-color: #ddd;
}

/* Styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header et Navigation */
header {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  padding: 1rem 0;
}

  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}

.navbar-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

  .nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
  }

    .nav-menu a:hover {
      color: var(--primary-color);
    }

/* Main content */
main {
  min-height: calc(100vh - 300px);
  padding: 2rem 0;
}

/* Hero section */
.hero {
  background: linear-gradient(rgba(0, 102, 204, 0.7), rgba(0, 0, 0, 0.1)), url('../images/hero-background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 3rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  }

  .hero .lead {
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  }

/* Sections */
.section {
  margin: 1rem 0;
}

  .section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
  }

/* Page Contact => */
.contact-page {
  max-width: 800px;
}

.contact-info {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.horaires table {
  width: 100%;
  max-width: 500px;
}

.horaires td {
  padding: 0.75rem;
}

.map-container {
  margin-top: 1rem;
}

.social-links-page ul {
  list-style: none;
  padding: 0;
}

.social-links-page li {
  margin: 0.5rem 0;
}

.social-links-page a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.1rem;
}

  .social-links-page a:hover {
    text-decoration: underline;
  }
/* <= Page Contact */

/* GRILLES */
.activites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colonnes égales */
  gap: 1rem;
  margin-top: 2rem;
}

.membres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 300px); /* Largeur FIXE 300px */
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center; /* Centre les cartes */
}

/* Cards */
.activite-card,
.membre-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

  .activite-card:hover,
  .membre-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  .activite-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
  }

.membre-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.activite-card h3,
.membre-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.fonction {
  color: #666;
  font-style: italic;
  margin-bottom: 0.5rem;
}

/* Boutons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
}

  .btn:hover {
    background: #0052a3;
  }

.btn-secondary {
  background: var(--secondary-color);
}

  .btn-secondary:hover {
    background: #0088cc;
  }

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Tableaux */
.tarifs-table {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

thead {
  background: var(--light-bg);
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.prix {
  font-weight: bold;
  color: var(--primary-color);
  text-align: left;
}

/* Info box */
.info-box {
  background: var(--light-bg);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  border-radius: 5px;
}

/* CTA section */
.cta {
  background: var(--light-bg);
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 8px;
}

/* Footer */
footer {
  background: #333;
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

  .social-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
  }

    .social-links a:hover {
      color: var(--secondary-color);
    }

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #555;
}

/* Section Partenaires */
.partenaires {
  background: var(--light-bg);
  padding: 3rem 2rem;
  border-radius: 8px;
  text-align: center;
}

  .partenaires h2 {
    margin-bottom: 2.5rem;
  }

.partenaires-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 200px));
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.partenaire-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 100px;
}

  .partenaire-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  .partenaire-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
  }

/* ==================================================================
   HERO AVEC IMAGES DE FOND - SYSTÈME POUR TOUTES LES PAGES
   ================================================================== */

/* Hero principal (page d'accueil) - EXISTANT */
.hero {
  background: linear-gradient(rgba(0, 102, 204, 0.7), rgba(0, 0, 0, 0.1)), url('../images/hero-background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  }

  .hero .lead {
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  }

/* Hero petit pour les pages internes - AVEC IMAGE */
.hero-small {
  background: linear-gradient(rgba(0, 102, 204, 0.75), rgba(0, 0, 0, 0.2)), var(--hero-image, linear-gradient(135deg, var(--primary-color), var(--secondary-color)));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  position: relative;
}

  .hero-small h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    font-weight: bold;
  }

  .hero-small .lead {
    font-size: 1.2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
  }

/* Hero spécifiques par page */
.hero-activites {
  --hero-image: url('../images/voile.jpg');
}

.hero-stages {
  --hero-image: url('../images/stages-ete.jpg');
}

.hero-location {
  --hero-image: url('../images/pagaie.jpg');
}

.hero-groupes {
  --hero-image: url('../images/groupes.jpg');
}

.hero-patrimoine {
  --hero-image: url('../images/patrimoine.jpg');
  background-position: center bottom;
}

.hero-documents {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.9), rgba(0, 170, 255, 0.9));
}

.hero-handivoile {
  --hero-image: url('../images/handivoile.jpg');
}

.hero-tarifs {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.9), rgba(0, 170, 255, 0.9));
}

.hero-equipe {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.9), rgba(0, 170, 255, 0.9));
}

.hero-contact {
  --hero-image: url('../images/contact.jpg');
}

/* Cartes activités détaillées */
.activites-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.activite-detail-card {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.activite-header {
  background: var(--primary-color);
  color: white;
  padding: 1.5rem 2rem;
}

  .activite-header h2 {
    margin: 0;
    color: white;
  }

.activite-content {
  padding: 2rem;
}

  .activite-content h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--light-bg);
  }

    .activite-content h3:first-child {
      margin-top: 0;
      padding-top: 0;
      border-top: none;
    }

  .activite-content h4 {
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .activite-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
  }

/* Stages */
.stages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.stage-card {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

  .stage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  }

.stage-image-placeholder {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.stage-age {
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.inscription-section,
.tenue-section,
.tarifs-section,
.saison-section {
  margin-top: 3rem;
}

/* Groupes */
.groupe-section {
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--light-bg);
}

.groupe-content {
  margin-top: 2rem;
}

.groupe-particuliers,
.groupe-entreprises {
  margin-bottom: 2rem;
  padding: 2rem;
  background: var(--light-bg);
  border-radius: 8px;
}

.salle-reunion-box,
.activites-proposees,
.formules-collectivites,
.conditions-collectivites,
.infos-specifiques {
  margin: 1.5rem 0;
}

.agrements-box {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--secondary-color);
  margin: 1rem 0;
}

.documents-liens {
  margin-top: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
}

/* Patrimoine */
.intro-patrimoine {
  text-align: center;
  margin-bottom: 3rem;
}

.goelette-section,
.pagaie-patrimoine-section {
  margin-top: 3rem;
}

.goelette-box,
.pagaie-patrimoine-box {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--border-color);
}

.horaires-box,
.cartes-disponibles {
  background: var(--light-bg);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.programme-table {
  width: 100%;
  margin-top: 1.5rem;
}

  .programme-table td:first-child {
    font-weight: bold;
    white-space: nowrap;
    color: var(--primary-color);
  }

.label-box {
  background: var(--secondary-color);
  color: white;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin: 1.5rem 0;
}

.infos-pratiques-box {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 8px;
  margin-top: 2rem;
}

/* Location */
.tarif-category {
  margin-bottom: 3rem;
}

.special-offer {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 12px;
}

.forfait-box {
  text-align: center;
  padding: 2rem;
}

.prix-large {
  font-size: 3rem;
  color: var(--primary-color);
  font-weight: bold;
  margin: 1rem 0;
}

.happy-hour-section {
  margin: 3rem 0;
}

.happy-hour-table {
  background: white;
}

  .happy-hour-table td del {
    color: #999;
  }

.infos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.info-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
}

/* Documents */
.documents-section {
  margin-bottom: 4rem;
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.document-item {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

  .document-item h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    min-height: 3rem;
  }

.document-note {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  margin: 0.5rem 0;
}

.document-link-box {
  text-align: center;
  padding: 2rem;
  background: var(--light-bg);
  border-radius: 8px;
}

.reglements-section {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 12px;
}

/* Boxes diverses */
.tarifs-box-large {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.alert-info {
  background: #d1ecf1;
  border-left: 4px solid #0c5460;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.alert-success {
  background: #d4edda;
  border-left: 4px solid #28a745;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--secondary-color);
  font-weight: bold;
  text-align: center;
  margin: 1rem 0;
}

.table-note {
  text-align: center;
  font-style: italic;
  color: #666;
  margin-top: 0.5rem;
}

/* Footer avec liens documents - À AJOUTER dans site.css */

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

  .footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
  }

    .footer-links a:hover {
      color: var(--secondary-color);
      text-decoration: underline;
    }

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* Ajustement responsive pour 4 colonnes dans le footer */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

/* ==================================================================
   SYSTÈME DE CALENDRIER - CSS COMPLET
   ================================================================== */

/* Hero calendrier */
.hero-calendrier {
  --hero-image: url('../images/hero-background.jpg');
}

/* Section événements sur la page d'accueil */
.evenements-section {
  background: var(--light-bg);
  padding: 3rem 2rem;
  border-radius: 12px;
  margin: 3rem 0;
}

/* Grille des événements (page d'accueil) */
.evenements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Carte événement */
.evenement-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

  .evenement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  }

/* Événement proche (dans les 7 jours) */
.evenement-proche {
  border: 2px solid var(--secondary-color);
}

/* Événement aujourd'hui */
.evenement-aujourdhui {
  border: 3px solid #ff6b35;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
  }
}

/* Date dans la carte */
.evenement-date {
  background: var(--primary-color);
  color: white;
  padding: 1rem;
  text-align: center;
  min-width: 80px;
}

.evenement-jour {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1;
}

.evenement-mois {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
}

/* Contenu de la carte */
.evenement-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.evenement-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Types d'événements (badges) */
.evenement-type {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.evenement-type-ag,
.evenement-type-ca {
  background: #e3f2fd;
  color: #1976d2;
}

.evenement-type-régate,
.evenement-type-compétition {
  background: #fff3e0;
  color: #f57c00;
}

.evenement-type-stage {
  background: #f3e5f5;
  color: #7b1fa2;
}

.evenement-type-événement {
  background: #e8f5e9;
  color: #388e3c;
}

.evenement-type-cours {
  background: #fce4ec;
  color: #c2185b;
}

.evenement-type-bénévolat {
  background: #fff9c4;
  color: #f9a825;
}

.evenement-type-sortie {
  background: #e0f2f1;
  color: #00897b;
}

/* Badges spéciaux */
.badge-aujourdhui,
.badge-proche {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
}

.badge-aujourdhui {
  background: #ff6b35;
  color: white;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.badge-proche {
  background: var(--secondary-color);
  color: white;
}

/* Titre événement */
.evenement-titre {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

/* Description */
.evenement-description {
  color: #555;
  margin-bottom: 1rem;
  flex: 1;
  line-height: 1.5;
}

/* Détails (horaire, lieu) */
.evenement-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.evenement-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #666;
}

  .evenement-detail .icon {
    font-size: 1.1rem;
  }

/* Bouton voir plus */
.evenements-voir-plus {
  text-align: center;
  margin-top: 2rem;
}

/* ==================================================================
   PAGE CALENDRIER COMPLÈTE
   ================================================================== */

/* Filtres */
.calendrier-filtres {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

  .calendrier-filtres h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
  }

.filtres-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filtre-btn {
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--border-color);
  background: white;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  font-size: 0.95rem;
}

  .filtre-btn:hover {
    background: var(--light-bg);
    border-color: var(--primary-color);
  }

  .filtre-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
  }

/* Section par mois */
.calendrier-mois {
  margin-bottom: 3rem;
}

.mois-titre {
  color: var(--primary-color);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--primary-color);
  text-transform: capitalize;
}

/* Liste des événements */
.evenements-liste {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Événement en ligne (vue liste) */
.evenement-ligne {
  display: flex;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

  .evenement-ligne:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  }

  .evenement-ligne.evenement-proche {
    border-left: 4px solid var(--secondary-color);
  }

  .evenement-ligne.evenement-aujourdhui {
    border-left: 4px solid #ff6b35;
    background: #fff9f5;
  }

/* Date box (colonne gauche) */
.evenement-date-box {
  background: var(--primary-color);
  color: white;
  padding: 1.5rem;
  text-align: center;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.date-jour-semaine {
  font-size: 0.85rem;
  text-transform: capitalize;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.date-numero {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1;
}

.date-mois {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

/* Info événement (colonne centre) */
.evenement-info {
  flex: 1;
  padding: 1.5rem;
}

.evenement-header-ligne {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.evenement-titre-ligne {
  font-size: 1.35rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.evenement-description-ligne {
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.evenement-details-ligne {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  font-size: 0.95rem;
}

  .detail-item .icon {
    font-size: 1.1rem;
  }

/* Action (colonne droite) */
.evenement-action {
  display: flex;
  align-items: center;
  padding: 1.5rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* CSS pour les sections de tarifs flexibles */
.tarif-section {
  margin-bottom: 3rem;
}

  .tarif-section:last-of-type {
    margin-bottom: 2rem;
  }

  .tarif-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
  }

/* Style pour les tableaux de tarifs */
.tarifs-table {
  overflow-x: auto;
  margin-bottom: 2rem;
}

  .tarifs-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .tarifs-table thead {
    background: var(--primary-color);
    color: white;
  }

  .tarifs-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
  }

  .tarifs-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
  }

  .tarifs-table tbody tr:hover {
    background: var(--light-bg);
  }

  .tarifs-table .prix {
    font-weight: bold;
    color: var(--primary-color);
    text-align: left;
    font-size: 1.1rem;
  }


/* ==================================================================
   CARROUSEL D'IMAGES - CSS
   ================================================================== */

.carrousel-section {
  padding: 0;
  margin: 3rem 0;
}

.carrousel-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.carrousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.carrousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carrousel-slide {
  min-width: 100%;
  position: relative;
  display: none;
}

  .carrousel-slide.active {
    display: block;
  }

  .carrousel-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
  }

/* Légende de l'image */
.carrousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  color: white;
  padding: 3rem 2rem 2rem;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

  .carrousel-caption h3 {
    font-size: 1.8rem;
    margin: 0 0 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  .carrousel-caption p {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  }

/* Boutons de navigation */
.carrousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(5px);
}

  .carrousel-btn:hover {
    background: rgba(0, 102, 204, 0.8);
    transform: translateY(-50%) scale(1.1);
  }

  .carrousel-btn:active {
    transform: translateY(-50%) scale(0.95);
  }

.carrousel-btn-prev {
  left: 1rem;
}

.carrousel-btn-next {
  right: 1rem;
}

.carrousel-btn span {
  line-height: 1;
  display: block;
  margin-top: -4px;
}

/* Indicateurs (dots) */
.carrousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem 0 0;
}

.carrousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

  .carrousel-dot:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.2);
  }

  .carrousel-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
  }

/* Animation de fade */
.carrousel-slide {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ==================================================================
   STAGES - CSS
   ================================================================== */

/* Navigation rapide des stages */
.stages-nav {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 3rem;
  text-align: center;
}

  .stages-nav h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
  }

.stages-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

  .stages-nav-links .btn {
    flex: 0 0 auto;
  }

/* Container de stage complet */
.stage-complete {
  margin-bottom: 4rem;
  scroll-margin-top: 100px; /* Pour l'ancre */
}

.stage-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid var(--primary-color);
}

  .stage-header h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
  }

.stage-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  font-style: italic;
}

/* Layout principal : sidebar + contenu */
.stage-content {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

/* Sidebar gauche */
.stage-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.stage-image {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

  .stage-image img {
    width: 100%;
    height: auto;
    display: block;
  }

.stage-infos-pratiques {
  background: var(--light-bg);
  padding: 1.5rem;
  border-radius: 8px;
}

.info-block {
  margin-bottom: 1.5rem;
}

  .info-block:last-child {
    margin-bottom: 0;
  }

  .info-block h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
  }

  .info-block p {
    margin: 0;
    line-height: 1.6;
  }

  .info-block.alert-warning {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 1rem;
    border-radius: 6px;
  }

    .info-block.alert-warning h4 {
      color: #856404;
    }

/* Contenu principal */
.stage-main {
  flex: 1;
}

.stage-section {
  margin-bottom: 2.5rem;
}

  .stage-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
  }

.stage-text {
  line-height: 1.8;
}

  .stage-text p {
    margin-bottom: 1rem;
  }

.stage-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

  .stage-list li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
  }

    .stage-list li:before {
      content: "▸";
      position: absolute;
      left: 0;
      color: var(--primary-color);
      font-weight: bold;
    }

/* Section formules */
.formules-section {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 8px;
}

.formules-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.formule-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
}

  .formule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }

  .formule-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
  }

.formule-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.formule-detail {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

/* Section réservation */
.reservation-section .stage-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 8px;
}

  .reservation-section .stage-text p {
    color: white;
  }

.cta-box {
  text-align: center;
}

  .cta-box p:last-child {
    margin-bottom: 0;
  }

/* Section laius de fin */
.laius-section {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  border-left: 5px solid var(--primary-color);
  font-style: italic;
}

/* Footer de stage */
.stage-footer {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding-top: 2rem;
  border-top: 2px solid var(--light-bg);
}

/* Séparateur entre stages */
.stage-separator {
  margin: 4rem 0;
  border: none;
  border-top: 3px dashed var(--light-bg);
}

/* Message si pas de contenu */
.no-content {
  text-align: center;
  padding: 3rem;
  background: var(--light-bg);
  border-radius: 8px;
  font-size: 1.1rem;
  color: var(--text-light);
}

/* Scroll fluide pour les ancres */
html {
  scroll-behavior: smooth;
}

/* Animation au survol des cartes formules */
.formule-card {
  position: relative;
  overflow: hidden;
}

  .formule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
  }

  .formule-card:hover::before {
    left: 100%;
  }

/* Style pour les liens dans le texte */
.stage-text a {
  color: var(--primary-color);
  text-decoration: underline;
}

  .stage-text a:hover {
    color: var(--secondary-color);
  }

/* Amélioration des listes */
.stage-list li {
  transition: padding-left 0.3s ease;
}

  .stage-list li:hover {
    padding-left: 2rem;
  }


/* Responsive */
@media (max-width: 768px) {
  .carrousel-slide img {
    height: 350px;
  }

  .carrousel-caption {
    padding: 2rem 1.5rem 1.5rem;
  }

    .carrousel-caption h3 {
      font-size: 1.4rem;
    }

    .carrousel-caption p {
      font-size: 0.95rem;
    }

  .carrousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .carrousel-btn-prev {
    left: 0.5rem;
  }

  .carrousel-btn-next {
    right: 0.5rem;
  }

  .carrousel-dot {
    width: 10px;
    height: 10px;
  }

    .carrousel-dot.active {
      width: 24px;
    }

  .stages-nav {
    padding: 1.5rem;
  }

  .stages-nav-links {
    flex-direction: column;
  }

    .stages-nav-links .btn {
      width: 100%;
    }

  .stage-header h2 {
    font-size: 1.8rem;
  }

  .stage-subtitle {
    font-size: 1rem;
  }

  .stage-infos-pratiques {
    padding: 1rem;
  }

  .formules-section,
  .laius-section {
    padding: 1.5rem;
  }

  .stage-footer {
    flex-direction: column;
  }

    .stage-footer .btn {
      width: 100%;
    }

  .formule-card {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .carrousel-slide img {
    height: 250px;
  }

  .carrousel-caption h3 {
    font-size: 1.2rem;
  }

  .carrousel-caption p {
    font-size: 0.85rem;
  }

  .stage-header h2 {
    font-size: 1.5rem;
  }

  .info-block h4 {
    font-size: 1rem;
  }

  .formule-price {
    font-size: 1.3rem;
  }
}

/* Pause animation au hover */
.carrousel-wrapper:hover .carrousel-track {
  animation-play-state: paused;
}

/* Accessibilité */
.carrousel-btn:focus,
.carrousel-dot:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Loading state */
.carrousel-slide img {
  background: var(--light-bg);
}

/* 1. Réduire espacement titre navbar */
.navbar-brand span {
  line-height: 1.3 !important;
}

/* 2. Centrer les logos partenaires */
.partenaires-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
}

.partenaire-logo {
  width: 200px !important;
  flex-shrink: 0 !important;
}

/* 
 * Footer - Style pour l'année avec effet de survol 
 */
.year-hover {
  cursor: help;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

  .year-hover:hover {
    border-bottom: 1px solid var(--secondary-color);
    color: var(--secondary-color);
  }

#cookieSettings {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

  #cookieSettings.show {
    opacity: 1;
  }

.cookie-settings-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 12px;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
}

  .cookie-settings-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
  }

.cookie-settings-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s;
}

  .cookie-settings-close:hover {
    background: var(--light-bg);
    color: var(--text-color);
  }

.cookie-category {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--light-bg);
  border-radius: 8px;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

  .cookie-category-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
  }

.cookie-toggle {
  position: relative;
  width: 50px;
  height: 26px;
}

  .cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
  }

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 26px;
}

  .toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
  }

.cookie-toggle input:checked + .toggle-slider {
  background-color: var(--primary-color);
}

  .cookie-toggle input:checked + .toggle-slider:before {
    transform: translateX(24px);
  }

.cookie-toggle input:disabled + .toggle-slider {
  background-color: #999;
  cursor: not-allowed;
}

.cookie-category-description {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin-top: 0.5rem;
}

.cookie-settings-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border-color);
}

  .cookie-settings-actions .btn {
    flex: 1;
  }

/* ===================================================================
   MODAL MENTIONS LÉGALES
   =================================================================== */
/* Overlay de la modal cookies */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

  .cookie-modal-overlay.show {
    display: flex;
    opacity: 1;
  }

/* Container de la modal - AMÉLIORÉ */
.cookie-modal-container {
  background: #ffffff;
  border-radius: 16px; /* Angles arrondis */
  max-width: 600px; /* Largeur resserrée (au lieu de 800px) */
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease-in-out;
}

.cookie-modal-overlay.show .cookie-modal-container {
  transform: scale(1);
}

/* Header de la modal - AMÉLIORÉ */
.cookie-modal-header {
  background: #ffffff;
  padding: 2rem 2.5rem; /* Plus d'espace */
  border-bottom: 2px solid var(--border-color);
  border-radius: 16px 16px 0 0; /* Angles arrondis en haut */
}

  .cookie-modal-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    text-align: center; /* Titre centré */
  }

/* Body de la modal - AMÉLIORÉ */
.cookie-modal-body {
  background: #ffffff;
  padding: 2rem 2.5rem; /* Plus d'espace sur les côtés */
  line-height: 1.6;
}

  .cookie-modal-body p {
    margin-bottom: 1rem;
    color: var(--text-color);
  }

/* Footer de la modal - AMÉLIORÉ */
.cookie-modal-footer {
  display: flex;
  flex-direction: column; /* Boutons empilés verticalement */
  gap: 1rem;
  padding: 2rem 2.5rem; /* Plus d'espace */
  border-top: 2px solid var(--border-color);
  background: #f8f9fa;
  border-radius: 0 0 16px 16px; /* Angles arrondis en bas */
  align-items: center; /* Centrer les boutons */
}

  .cookie-modal-footer .btn {
    width: 100%; /* Boutons pleine largeur */
    max-width: 350px; /* Mais pas trop larges */
    text-align: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px; /* Angles arrondis sur les boutons */
    transition: all 0.3s ease;
  }

  .cookie-modal-footer .btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
  }

    .cookie-modal-footer .btn-primary:hover {
      background: #0052a3;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    }

  .cookie-modal-footer .btn-secondary {
    background: var(--secondary-color);
    color: white;
    border: none;
  }

    .cookie-modal-footer .btn-secondary:hover {
      background: #0088cc;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 170, 255, 0.3);
    }

  .cookie-modal-footer .btn-outline {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
  }

    .cookie-modal-footer .btn-outline:hover {
      background: var(--primary-color);
      color: white;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
    }

/* Scrollbar personnalisée pour la modal */
.cookie-modal-container::-webkit-scrollbar {
  width: 8px;
}

.cookie-modal-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.cookie-modal-container::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

  .cookie-modal-container::-webkit-scrollbar-thumb:hover {
    background: #0052a3;
  }

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10001;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

  .modal-overlay.show {
    opacity: 1;
  }

.modal-container {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: scale(0.9);
  transition: transform 0.3s ease-in-out;
}

.modal-overlay.show .modal-container {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 2px solid var(--border-color);
  background: var(--light-bg);
  border-radius: 12px 12px 0 0;
}

  .modal-header h2 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
  }

.modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}

  .modal-close:hover {
    background: white;
    color: var(--primary-color);
    transform: rotate(90deg);
  }

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
}

  /* Scrollbar personnalisée pour la modal */
  .modal-body::-webkit-scrollbar {
    width: 10px;
  }

  .modal-body::-webkit-scrollbar-track {
    background: var(--light-bg);
    border-radius: 10px;
  }

  .modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
  }

    .modal-body::-webkit-scrollbar-thumb:hover {
      background: #0052a3;
    }

/* Loading spinner */
.loading-spinner {
  text-align: center;
  padding: 3rem;
  color: var(--primary-color);
  font-size: 1.1rem;
}

  .loading-spinner::before {
    content: "⏳ ";
    display: inline-block;
    animation: spin 1s linear infinite;
  }

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Message d'erreur */
.error-message {
  text-align: center;
  padding: 3rem;
  color: #d32f2f;
  font-size: 1.1rem;
}

/* Styles spécifiques pour le contenu dans la modal */
.modal-body .hero-small {
  margin: 0 0 2rem 0;
  border-radius: 8px;
}

.modal-body .mentions-legales-container {
  max-width: 100%;
}
/* ===================================================================
   MODAL MENTIONS LÉGALES
   =================================================================== */

/* 
 * Responsive 
 */
@media (max-width: 480px) {
  .evenements-section {
    padding: 2rem 1rem;
  }

  .evenement-titre {
    font-size: 1.1rem;
  }

  .evenement-titre-ligne {
    font-size: 1.15rem;
  }

  .cookie-modal-container {
    border-radius: 8px;
  }

  .cookie-modal-header {
    padding: 1.25rem 1.5rem;
    border-radius: 8px 8px 0 0;
  }

    .cookie-modal-header h3 {
      font-size: 1.2rem;
    }

  .cookie-modal-body {
    padding: 1.25rem 1.5rem;
    font-size: 0.9rem;
  }

  .cookie-modal-footer {
    padding: 1.25rem 1.5rem;
    gap: 0.75rem;
    border-radius: 0 0 8px 8px;
  }

    .cookie-modal-footer .btn {
      padding: 0.7rem 1rem;
      font-size: 0.9rem;
    }
}

/* Version tablette (ajustements intermédiaires) */
@media (max-width: 992px) and (min-width: 769px) {
 /* .nav-menu {
    gap: 1rem;
  }

    .nav-menu a {
      font-size: 0.9rem;
    }
     */

  .activites-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
  }

  .stage-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stage-sidebar {
    position: static;
  }

  .formules-list {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 768px) {
  /* ========== STAGES RESPONSIVE - DÉBUT ========== */
  /* Layout en colonne pour mobile */
  .stage-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem;
  }

  /* Sidebar au-dessus */
  .stage-sidebar {
    order: 1;
    width: 100%;
    position: static !important;
  }

  /* Contenu principal en-dessous */
  .stage-main {
    order: 2;
    width: 100%;
  }

  /* Image optimisée mobile */
  .stage-image img {
    max-height: 300px;
    object-fit: cover;
  }

  /* Navigation et boutons en colonne */
  .stages-nav-links {
    flex-direction: column;
    gap: 0.75rem;
  }

    .stages-nav-links .btn {
      width: 100%;
    }

  .stage-footer {
    flex-direction: column;
    gap: 1rem;
  }

    .stage-footer .btn {
      width: 100%;
    }

  /* Formules en colonne */
  .formules-list {
    flex-direction: column;
  }
  /* ========== STAGES RESPONSIVE - FIN ========== */

  /* Responsive cookies */
  .cookie-modal-container {
    width: 95%;
    max-width: none;
    border-radius: 12px; /* Angles légèrement moins arrondis sur mobile */
  }

  .cookie-modal-header {
    padding: 1.5rem 1.75rem;
    border-radius: 12px 12px 0 0;
  }

    .cookie-modal-header h3 {
      font-size: 1.3rem;
    }

  .cookie-modal-body {
    padding: 1.5rem 1.75rem;
    font-size: 0.95rem;
  }

  .cookie-modal-footer {
    padding: 1.5rem 1.75rem;
    border-radius: 0 0 12px 12px;
  }

    .cookie-modal-footer .btn {
      width: 100%;
      max-width: none;
      padding: 0.75rem 1.25rem;
      font-size: 0.95rem;
    }

  .cookie-banner-content {
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-banner-buttons {
    width: 100%;
    flex-direction: column;
  }

    .cookie-banner-buttons .btn {
      width: 100%;
    }

  .cookie-settings-panel {
    width: 95%;
    padding: 1.5rem;
  }

  .cookie-settings-actions {
    flex-direction: column;
  }
  /* Responsive cookies */

  /* Responsive modal */
  .modal-container {
    width: 95%;
    max-height: 95vh;
  }

  .modal-header {
    padding: 1rem 1.5rem;
  }

    .modal-header h2 {
      font-size: 1.2rem;
    }

  .modal-body {
    padding: 1.5rem;
  }

  .modal-close {
    width: 30px;
    height: 30px;
    font-size: 1.5rem;
  }

  /* Responsive modal */
  .carrousel-wrapper {
    touch-action: pan-y;
  }

  .navbar-logo {
    height: 35px;
  }

  .navbar-brand {
    font-size: 1rem;
  }

  .nav-menu {
    flex-direction: column;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .activites-grid,
  .membres-grid {
    grid-template-columns: 1fr; /* 1 colonne sur mobile */
  }

  .partenaires-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 150px));
    gap: 1.5rem;
  }

  .partenaire-logo {
    min-height: 80px;
  }

    .partenaire-logo img {
      max-height: 60px;
    }

  .activite-content {
    padding: 1.5rem;
  }

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

  .infos-grid,
  .documents-grid {
    grid-template-columns: 1fr;
  }

  .groupe-particuliers,
  .groupe-entreprises {
    padding: 1.5rem;
  }

  .prix-large {
    font-size: 2rem;
  }

  .hero {
    padding: 4rem 1.5rem;
  }

    .hero h1 {
      font-size: 2rem;
    }

  .hero-small {
    padding: 3rem 1.5rem;
  }

    .hero-small h1 {
      font-size: 1.8rem;
    }

    .hero-small .lead {
      font-size: 1rem;
    }

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

  .footer-links {
    gap: 0.5rem;
  }

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

  .evenement-card {
    flex-direction: row;
  }

  .evenement-date {
    min-width: 70px;
  }

  .evenement-jour {
    font-size: 2rem;
  }

  .filtres-buttons {
    gap: 0.5rem;
  }

  .filtre-btn {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }

  .evenement-ligne {
    flex-direction: column;
  }

  .evenement-date-box {
    flex-direction: row;
    justify-content: space-around;
    padding: 1rem;
  }

  .date-numero {
    font-size: 2rem;
  }

  .evenement-action {
    padding: 0 1.5rem 1.5rem;
  }

  .evenement-details-ligne {
    flex-direction: column;
    gap: 0.5rem;
  }

  .tarifs-table th,
  .tarifs-table td {
    padding: 0.5rem;
    font-size: 0.9rem;
  }

  .tarif-section h2 {
    font-size: 1.5rem;
  }
}

/* Lien dans le footer qui ouvre la modal */
#openMentionsLegales {
  cursor: pointer;
}

  #openMentionsLegales:hover {
    text-decoration: underline;
  }

