

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  /* Police plus grande par défaut pour une meilleure lecture sur mobile */
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: #007bff;
}

/* =============
   VARIABLES CSS
   ============= */
:root {
  /* Couleurs */
  --primary: #28a745; /* Vert pour les actions principales */
  --primary-hover: #218838;
  --secondary: #6c757d; /* Gris pour les boutons secondaires */
  --accent: #ffc107; /* Jaune pour les éléments d'accent */
  --light: #f8f9fa;
  --dark: #2b3ac4;
  --white: #ffffff;
  --text: #c49144;
  --border: #dee2e6;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

  /* Espacements */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* Bordures */
  --border-radius: 8px;
  --border-width: 1px;
}

/* =============
   TYPOGRAPHIE
   ============= */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: var(--spacing-sm);
  line-height: 1.4;
  color: var(--dark);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

/* =============
   HEADER
   ============= */
.page-header {
  background-color: var(--light);
  color: var(--white);
  text-align: center;
  padding: var(--spacing-md) var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
  position: relative;
  overflow: hidden;
}

.header-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: var(--spacing-sm);
  /* Effet de flou pour l'image de fond */
  filter: brightness(0.8);
}

.main-heading {
  font-size: 1.8rem;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(107, 255, 218, 0.5);
}

/* =============
   CONTENEURS
   ============= */
.container, .content-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* =============
   SECTIONS
   ============= */
.section, .activities-section {
  padding: var(--spacing-lg) 0;
}

.section-title, .section-heading {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.section-title::after, .section-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

/* =============
   FLEX CONTAINER (pour VTT et Camping)
   ============= */
.flex-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .flex-container {
    flex-direction: row;
    align-items: center;
  }

  .flex-container.reverse {
    flex-direction: row-reverse;
  }
}

.text-content, .image-content {
  flex: 1;
}

/* =============
   INFO BOX (dans VTT et Camping)
   ============= */
.info-box {
  background-color: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  margin-bottom: var(--spacing-md);
}

.icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
}

/* =============
   BOUTONS
   ============= */
.btn {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-md);
  border: var(--border-width) solid transparent;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 140px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn:active {
  transform: translateY(0);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-orange {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-orange:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-cream {
  background-color: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}

.btn-cream:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  justify-content: center;
  margin-top: var(--spacing-md);
}

/* Pour les petits écrans, les boutons prennent toute la largeur */
@media (max-width: 576px) {
  .btn {
    width: 100%;
  }
}

/* =============
   CARDS (Activités)
   ============= */
.activities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .activities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-img-container {
  height: 200px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img {
  transform: scale(1.05);
}

.card-content {
  padding: var(--spacing-md);
}

.card-title {
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
}

.card-text {
  color: var(--text);
  margin-bottom: var(--spacing-md);
}

/* Animation d'apparition */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.5s; }

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============
   ARTICLE GRID (Blog)
   ============= */
.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .article-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.activity-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-image {
  height: 200px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.activity-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content {
  padding: var(--spacing-md);
}

/* =============
   FAQ
   ============= */
.faq-section {
  padding: var(--spacing-xl) 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--spacing-sm);
  border: var(--border-width) solid var(--border);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md);
  background-color: var(--white);
  font-weight: 600;
  cursor: pointer;
  border-bottom: var(--border-width) solid var(--border);
  transition: background-color 0.3s ease;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}

.faq-toggle:checked + .faq-question {
  background-color: #e9ecef;
}

.faq-toggle:checked + .faq-question::after {
  content: '-';
}

.faq-answer {
  padding: 0 var(--spacing-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding: var(--spacing-md) var(--spacing-md) var(--spacing-sm);
}

/* =============
   FOOTER
   ============= */
footer {
  background-color: var(--dark);
  color: var(--white);
  padding: var(--spacing-lg) 0;
  text-align: center;
  margin-top: var(--spacing-xl);
}

/* =============
   ANIMATIONS SCROLL
   ============= */
/* Pour déclencher l'animation lors du défilement */
@media (prefers-reduced-motion: no-preference) {
  [data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  [data-animate].visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============
   UTILITAIRES
   ============= */
.text-center {
  text-align: center;
}

/* =============
   MEDIA QUERIES SUPPLÉMENTAIRES
   ============= */

/* Écrans tablettes */
@media (min-width: 576px) and (max-width: 991px) {
  .header-image {
    height: 250px;
  }
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
}

/* Écrans grands */
@media (min-width: 1200px) {
  .container, .content-container {
    padding: 0 2rem;
  }
  .btn-group {
    justify-content: flex-start;
  }
}
.header-container {
            position: relative;
            width: 100%;
            height: 70vh;
            overflow: hidden;
        }
        
        .header-image {
            width: 100%;
            height: 60%;
            object-fit: cover;
            display: block;
        }
        
        .header-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 60%;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 20px;
            color: white;
        }
        
        .main-heading {
            font-size: 3.5rem;
            font-weight: 700;
             height: 60%;
            margin-bottom: 20px;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
            max-width: 900px;
            line-height: 1.2;
        }
        
        .sub-heading {
            font-size: 1.8rem;
            font-weight: 400;
            margin-bottom: 30px;
            text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
            max-width: 800px;
        }
        
        .cta-button {
            display: inline-block;
            background-color: #ff9e00;
            color: white;
            padding: 15px 40px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }
        
        .cta-button:hover {
            background-color: #ffaa2b;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }