/* ======================
   RESET MINIMAL
   ====================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html, body {
    font-family: Arial, sans-serif;
    color: #333;
    scroll-behavior: smooth; /* Pour un scroll fluide vers les ancres */
    background: #fff;
  }
  a {
    text-decoration: none;
  }
  ul {
    list-style: none;
  }
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* ======================
     HEADER (DEUX BANDES)
     ====================== */
  /* ======================================
   HEADER ENTIER (topbar + navbar)
   collé en haut de page
   ====================================== */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  /* on remet en flux normal les enfants */
}
.topbar {
  position: relative;    /* plus de fixed */
  height: 8px;
  background-color: #dad5e3;
  width: 100%;
}
.navbar {
  position: relative;    /* plus de fixed */
  background-color: #ece9f1;
  border-bottom: 1px solid #d5d1d7;
  width: 100%;
}
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
  }
  .nav-logo img {
    height: 48px;
    width: auto;
  }
  
  /* ──────────────────────────────────────
     MENU PRINCIPAL ET SOUS-MENU (DROPDOWN)
     ────────────────────────────────────── */
  /* ======================
   MENU PRINCIPAL ET SOUS-MENU (DROPDOWN)
   ====================== */

/* 1) Menu principal (horizontal) */
nav .nav-list {
    display: flex;
    align-items: center;
  }
  nav .nav-list li {
    position: relative; /* Requis pour positionner le sous-menu au bon endroit */
    margin-left: 24px;
  }
  nav .nav-list li:first-child {
    margin-left: 0;
  }
  nav .nav-list a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #4a4a4a;
    padding: 6px 8px;
    transition: color 0.2s ease;
  }
  nav .nav-list a:hover {
    color: #6b3382;
  }
  
  /* 2) Élément parent contenant un sous-menu (ajoute la flèche) */
  .has-dropdown > .nav-link::after {
    content: " ▾";       /* Petite flèche vers le bas */
    font-size: 0.8rem;
    margin-left: 4px;
    color: #6b3382;
  }
  
  /* 3) Le sous-menu est caché par défaut */
  .dropdown {
    position: absolute;
    top: calc(100% + 4px);   /* juste en dessous du lien parent */
    left: 0;
    background-color: #222;   /* fond sombre */
    border-radius: 4px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
    min-width: 160px;         /* largeur minimale du dropdown */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  /* 4) Afficher le sous-menu au survol du parent */
  .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  /* 5) Style des liens à l’intérieur du sous-menu */
  .dropdown li a {
    display: block;
    padding: 10px 16px;
    font-size: 0.9rem;
    color: #f0f0f0;
    transition: background-color 0.2s ease;
  }
  .dropdown li a:hover {
    background-color: #333;
  }
   /* ==============================
     BARRE DE NAVIGATION SUPERPOSÉE
     ============================== */
     .nav-main {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      background-color: rgba(255, 255, 255, 0.85);
      border-bottom: 1px solid #ccc;
      z-index: 9999;
    }
    
    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 0;
    }
    
    .nav-logo img {
      height: 48px;
      width: auto;
    }
    
    .nav-list {
      display: flex;
      align-items: center;
    }
    
    .nav-list li {
      margin-left: 24px;
    }
    
    .nav-list li:first-child {
      margin-left: 0;
    }
    
    .nav-list a {
      font-size: 1rem;
      font-weight: 500;
      color: #555;
      padding: 6px 10px;
      transition: color 0.2s ease;
    }
    
    .nav-list a:hover {
      color: #6b3382;
    }
  /* ================================
     SECTION 1 : HERO (IMAGE PLEINE LARGEUR)
     ================================ */
  .hero-image-section {
    width: 100%;
    position: relative;
  }
  .hero-full-image {
    display: block;
    width: 100%;
    height: auto;
  }
  
  /* ============================
     SECTION 2 : INTRO ORANGE
     ============================ */
  .intro-orange {
    background-color: #d9741e; /* orange foncé */
    color: #333;
    text-align: center;
    padding: 120px 20px;
    position: relative;
  }
  .intro-content {
    max-width: 800px;
    margin: 0 auto;
  }
  .intro-content h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: bold;
  }
  .intro-subtitle {
    font-size: 1.2rem;
    margin-bottom: 32px;
  }
  .intro-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #2f2f2f;
  }
  .intro-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
  }
  .btn-outline {
    display: inline-block;
    border: 2px solid #333;
    color: #333;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  .btn-outline:hover {
    background-color: #333;
    color: #fff;
  }
  
  /* ● BOUTON “SCROLL TO TOP” (rond blanc avec bordure) */
  .scroll-top {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.9);
    transition: background-color 0.2s ease, transform 0.2s ease;
  }
  .scroll-top span {
    display: block;
    font-size: 1.25rem;
    color: #333;
  }
  .scroll-top:hover {
    background-color: #fff;
    transform: translateY(-4px);
  }
  
  /* ===============================================
     SECTION 3 : ACTUALITÉ (FOND VIOLET + “CARDS” BLANCHES)
     =============================================== */
  .news-section {
    background-color: #6b3382; /* même violet que le hero */
    color: #fff;
    padding: 80px 0 40px 0;
    position: relative;
  }
  .news-section .container {
    position: relative;
    z-index: 1;
  }
  .news-section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 12px;
  }
  .news-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
  }
  
  /* ● Conteneur des deux cartes */
  .news-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  /* ● Chaque carte */
  .news-card {
    background-color: #fff;
    color: #333;
    width: 100%;
    max-width: 520px;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
  }
  
  /* – bande colorée en haut de la carte (hauteur fixe) */
  .news-card-header {
    width: 100%;        /* prend toute la largeur de la carte */
    height: 200px;      /* même hauteur que votre ancien fond bleu/vert */
    overflow: hidden;   /* coupe l’image si nécessaire */
  }
  /* Si vous aviez conservé bg-blue/bg-green ailleurs, gardez-les ou supprimez-les :
  .bg-blue { background-color: #8ad1f1; }
  .bg-green { background-color: #bdf3ae; }
  */
  
  /* ● L’image remplit la zone de 200px */
  .news-card-header .header-img {
    width: 100%;         /* 100% de la largeur du conteneur */
    height: 100%;        /* 100% de la hauteur du conteneur (200px) */
    object-fit: cover;   /* remplit sans déformation */
    display: block;      /* supprime l’espace blanc sous l’image */
  }
  
  /* – corps de la carte */
  .news-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .news-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: bold;
  }
  .news-card-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #555;
  }
  /* – bouton “En savoir plus” */
  .btn-solid {
    display: inline-block;
    background-color: #d9741e;
    color: #fff;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    align-self: flex-start;
    transition: background-color 0.2s ease;
  }
  .btn-solid:hover {
    background-color: #b65c17;
  }
  /* – icônes réseaux (simples carrés avec texte) */
  .social-icons {
    margin-top: auto;
    display: flex;
    gap: 12px;
  }
  .icon {
    width: 32px;
    height: 32px;
    background-color: #eee;
    color: #555;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  .icon:hover {
    background-color: #d9741e;
    color: #fff;
  }
  /* – Petit bouton “scroll to top” en bas à droite de la section */
  .news-section .scroll-top.bottom-right {
    position: absolute;
    bottom: 16px;
    right: 16px;
    border: 2px solid #fff;
    background-color: rgba(255,255,255,0.9);
  }
  .news-section .scroll-top.bottom-right span {
    color: #333;
  }
  
  /* =====================================
     SECTION 4 : INFORMATIONS (GRIS FONCÉ)
     ===================================== */
  .info-section {
    background-color: #4a4a4a; /* gris foncé */
    color: #fff;
    padding: 80px 0 40px 0;
    position: relative;
  }
  .info-container {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .info-col {
    width: 100%;
    max-width: 520px;
  }
  .info-col h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    font-weight: bold;
  }
  .info-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #eee;
  }
  /* Liste des vacances */
  .vacation-list {
    margin-top: 8px;
    list-style: none;
  }
  .vacation-list li {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 8px;
    color: #eee;
  }
  /* – Petit bouton “scroll to top” en bas à droite de la section */
  .info-section .scroll-top.bottom-right {
    position: absolute;
    bottom: 16px;
    right: 16px;
    border: 2px solid #fff;
    background-color: rgba(255,255,255,0.9);
  }
  .info-section .scroll-top.bottom-right span {
    color: #333;
  }
  
  /* ======================
     FOOTER
     ====================== */
  footer {
    background-color: #f2f2f2;
    padding: 24px 0;
  }
  footer p {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
  }
  
  /* -------------------------------------------------
     1) Container global des cartes : déjà présent
     ------------------------------------------------- */
  .news-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  /* -------------------------------------------------
     2) Chaque carte : structure de base
     ------------------------------------------------- */
  .news-card {
    background-color: #fff;
    color: #333;
    width: 100%;
    max-width: 520px;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
  }
  
  /* -------------------------------------------------
     3) Header de la carte : on fixe une hauteur 200px
     et l’image remplit toute la zone
     ------------------------------------------------- */
  .news-card-header {
    width: 100%;        /* prend toute la largeur de la carte */
    height: 200px;      /* même hauteur que votre ancien fond bleu/vert */
    overflow: hidden;   /* coupe l’image si nécessaire */
  }
  
  /* L’image doit remplir 100% de la zone (200px x largeur) */
  .news-card-header .header-img {
    width: 100%;         /* 100% de la largeur du conteneur */
    height: 100%;        /* 100% de la hauteur du conteneur (200px) */
    object-fit: cover;   /* recadre/zoome pour remplir sans déformation */
    display: block;      /* supprime l’espace blanc en dessous */
  }
  
  /* -------------------------------------------------
     4) Body de la carte : inchangé, pour le titre, le texte, bouton, etc.
     ------------------------------------------------- */
  .news-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .news-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: bold;
  }
  .news-card-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #555;
  }
  .news-card-body .btn-solid {
    display: inline-block;
    background-color: #d9741e;
    color: #fff;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    align-self: flex-start;
    transition: background-color 0.2s ease;
  }
  .news-card-body .btn-solid:hover {
    background-color: #b65c17;
  }
  .news-card-body .social-icons {
    margin-top: auto;
    display: flex;
    gap: 12px;
  }
  .news-card-body .icon {
    width: 32px;
    height: 32px;
    background-color: #eee;
    color: #555;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  .news-card-body .icon:hover {
    background-color: #d9741e;
    color: #fff;
  }
  
  /* -------------------------------------------------
     5) Responsive : si l’écran est < 768px,
     on laisse l’image s’ajuster en hauteur
     ------------------------------------------------- */
  @media (max-width: 768px) {
    .news-card-header {
      height: auto;        /* l’image s’adapte à son ratio */
    }
    .news-card-header .header-img {
      width: 100%;
      height: auto;
    }
  
    /* Réduire l’espacement entre cartes si nécessaire */
    .news-cards {
      gap: 16px;
      flex-direction: column;
      align-items: center;
    }
  }
  
  /* ======================
     RÉACTIVITÉ (RESPONSIVE)
     ====================== */
  @media (max-width: 1024px) {
    /* Cards Actualité : passer d’une rangée de deux à une colonne unique */
    .news-cards {
      flex-direction: column;
      align-items: center;
      gap: 32px;
    }
  }
  
  @media (max-width: 768px) {
    /* Header : masquer le menu pour simplifier (ou ajouter un burger) */
    .nav-list {
      display: none;
    }
  
    /* Section 2 (intro-orange) : réduire le padding vertical */
    .intro-orange {
      padding: 80px 12px;
    }
    .intro-content h1 {
      font-size: 2rem;
    }
    .intro-subtitle {
      font-size: 1rem;
    }
    .intro-text {
      font-size: 0.95rem;
    }
  
    /* Section 4 (info) : empiler les colonnes */
    .info-container {
      flex-direction: column;
      gap: 32px;
    }
  }
  /* ======================================
   FORCE LA NAV EN DESSUS DES SECTIONS
   ====================================== */
.navbar, /* ou .nav-main si c'est la classe que tu utilises */
.topbar {
  position: sticky; /* ou fixed si tu veux qu’elle défile indépendamment */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;    /* plus élevé que tous tes sections parallax */
}

/* Si tu as un id ou une classe spécifique pour ton header parallax */
.parallax {
  z-index: 0;       /* pour être sûr qu’il ne recouvre pas la nav */
}

/* Colonne de droite : formulaire */
.form-soutien {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 500px;
  margin: 0 auto;
}

/* Champ regroupant plusieurs cases à cocher */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.checkbox-group label {
  font-size: 0.9rem;
  cursor: pointer;
}
.checkbox-group input {
  margin-right: 4px;
}

/* Groupe simple label + input/select/textarea */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
}
.form-group .required {
  color: #d9741e;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #999;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6b3382;
}

/* Bouton d’envoi */
.form-actions {
  text-align: right;
}
.form-actions .btn-outline {
  padding: 10px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  border: 2px solid #333;
  background-color: transparent;
  color: #333;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}
.form-actions .btn-outline:hover {
  background-color: #333;
  color: #fff;
}

/* Réactivité : sur petit écran, pleine largeur */
@media (max-width: 768px) {
  .form-soutien {
    max-width: 100%;
    gap: 16px;
  }
  .form-actions {
    text-align: center;
  }
  .form-actions .btn-outline {
    width: 100%;
  }
}

  .error {
    color: red;
    font-size: 0.9em;
    margin-top: 4px;
  }

  input.error-border,
  textarea.error-border {
    border: 1px solid red;
  }

  html {
    scroll-behavior: smooth;
  }

  /* ======================================
   HEADER “PHARE-OUEST”
   ====================================== */
.header-phare {
  background-image: url("../img/fond-1-phare-ouest.jpg"); /* BG du header */
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  min-height: 60vh; /* Ajustez si besoin */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.header-phare .overlay-content {
  background-color: transparent;
  text-align: center;
  padding: 0 20px;
}
.header-phare h1 {
  font-size: 3rem;
  color: #333;
  margin-bottom: 12px;
}
.header-phare p {
  font-size: 1.25rem;
  color: #333;
}

/* ======================================
   SECTION “PHARE-OUEST”
   ====================================== */
.section-phare {
  background-color: #fff;
  color: #333;
  padding: 60px 20px;
}
.section-phare .container {
  max-width: 1000px;
  margin: 0 auto;
}
.logos-phare {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.logos-phare img {
  max-height: 250px;
  width: auto;
  object-fit: contain;
}
.text-phare {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
  text-align: justify;
}
.text-phare p + p {
  margin-top: 24px;
}

/* RÉACTIVITÉ */
@media (max-width: 768px) {
  .header-phare h1 {
    font-size: 2.5rem;
  }
  .header-phare p {
    font-size: 1rem;
  }
  .logos-phare {
    gap: 40px;
    margin-bottom: 32px;
  }
  .logos-phare img {
    max-height: 80px;
  }
}
/* ==============================
   CARROUSEL DE TÉMOIGNAGES
   ============================== */
   .section-temoignages {
    background-color: #F9F299; /* ou la couleur de fond choisie */
    padding: 80px 20px;
    text-align: center;
  }
  .section-temoignages h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
  }
  
  /* Conteneur du carrousel */
  .carousel {
    position: relative;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
  }
  
  /* Slides */
  .slides {
    display: flex;
    transition: transform 0.5s ease;
  }
  .slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
  }
  .slide blockquote {
    background: #fff;
    padding: 40px;
    border-radius: 4px;
    color: #444;
    font-style: italic;
    line-height: 1.6;
    position: relative;
  }
  .slide blockquote footer {
    display: block;
    margin-top: 24px;
    font-style: normal;
    font-weight: bold;
    text-align: right;
  }
  
  /* Pastilles */
  .dots {
    margin-top: 24px;
  }
  .dots button {
    width: 12px;
    height: 12px;
    margin: 0 6px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: background 0.3s;
  }
  .dots button.active {
    background: rgba(255,255,255,1);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .section-temoignages h2 { font-size: 2rem; }
    .slide blockquote { padding: 24px; }
  }
  

/* === Correction affichage colonnes info === */
.info-container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.info-col {
  flex: 1 1 45%;   /* environ la moitié de la largeur */
  min-width: 280px; /* repasse en une seule colonne si trop étroit */
  max-width: none;  /* supprime la limite bloquante */
}

/* Mobile : empile en 1 colonne */
@media (max-width: 768px) {
  .info-col {
    flex: 1 1 100%;
  }
}
