/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Barlow', sans-serif;
    background-color: #F2F0ED;
  }
  
  /* Header Title */
  /* Header principal */
.dates-header {
  position: relative;
  width: 100%;
  height: 250px;
  background: linear-gradient(to right, #965A7A, #B56D93);
  overflow: hidden;

  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Texte centré */
.text-center {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #1a1a1a;
}

.text-center h1 {
  font-size: clamp(1.5rem, 5vw, 2.8rem);
  color: #F7F0F0;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.text-center h1 span {
  display: block;
  font-size: 1rem;
  font-weight: 300;
  color: #F2F0ED;
}

.text-center p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 300;
  font-weight: bold;
  color: #F3D2D5;
  margin-top: 10px;
}

/* Dates flottantes */
.dates-background {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.date {
  position: absolute;
  font-size: 2.5rem;
  font-weight: bold;

  opacity: 0.1;
  pointer-events: none;
}

.floating {
  left: var(--x);
  top: var(--y);
  animation: floatAround var(--duration) linear infinite;
}

@keyframes floatAround {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(20px, -25px) rotate(4deg); }
  50%  { transform: translate(-15px, 20px) rotate(-3deg); }
  75%  { transform: translate(10px, -10px) rotate(2deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* Responsive padding */
@media (max-width: 768px) {
  .dates-header {
    height: 200px;
    padding: 15px;
  }
}
  
  /* Navbar */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .logo {
    font-size: 26px;
    font-weight: 700;
    color: #333;
  }
  
  .logo img {
    height: 60px;
    width: auto;
  }
  
  /* Nav links */
  .nav-links {
    display: flex;
    list-style: none;
    gap: 13px;
  }
  
  .nav-links li a {
    position: relative;
    text-decoration: none;
    color: #333;
    font-size: 17px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: color 0.3s ease;
  }
  
  .nav-links li a::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #EF6C2D;
    transition: width 0.3s ease;
  }
  
  /* Effet hover */
  .nav-links li a:hover::after {
    width: 50%;
  }
  
  .nav-links li a:hover {
    color: #EF6C2D;
  }
  
  /* Active state */
  .nav-links li a.active {
    color: #EF6C2D;
  }
  
  .nav-links li a.active::after {
    width: 50%;
  }
  
  /* Menu Toggle */
  .menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
  
  }
  
  
  .menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color:  #EF6C2D;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  /* Animation hamburger → croix */
  .menu-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .menu-toggle {
      display: flex;
    }
  
    .nav-links {
      position: absolute;
      top: 72px;
      right: 24px;
      gap: 18px;
      flex-direction: column;
      background: white;
      padding: 16px;
      border-radius: 12px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
      opacity: 0;
      pointer-events: none;
      transform: scale(0.95);
      transition: opacity 0.3s ease, transform 0.3s ease;
    }
  
    .nav-links.active {
      opacity: 1;
      pointer-events: auto;
      transform: scale(1);
    }
  
    .nav-links li {
      margin: 2px 0;
      text-align: center;
    }
  
    .logo img {
      height: 40px;
    }
  }
  main-carousel {
    max-width: 1200px;
    margin: 60px auto;
    position: relative;
  }
  
  .main-swiper {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  
  .main-carousel {
    position: relative;
    width: 100%;
    max-height: 150vh;
    overflow: hidden;
  }
  
  .swiper-slide {
    position: relative;
  }
  
  .swiper-slide img {
    width: 100%;
    max-height: 100vh;
   
  }
  
  .slide-content {
    position: absolute;
    bottom: 80px;
    left: 50px;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    padding: 24px;
    border-radius: 12px;
    max-width: 400px;
  }
  
  .slide-content h2 {
    font-size: 32px;
    margin-bottom: 12px;
  }
  
  .slide-content p {
    font-size: 16px;
    margin-bottom: 16px;
  }
  
  .slide-content button {
    padding: 10px 20px;
    background-color: #EF6C2D;
    border: none;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .slide-content button a{
     font-size: 1.1rem;
     font-family: 'Barlow';
     font-weight: bold;
  }
  .slide-content button a{
     text-decoration: none;
     color: #F2F0ED;
  }
  .slide-content button a:hover{
     text-decoration: none;
     color: #fcdaa6;
     

  }
  .slide-content button a:active{
     text-decoration: none;
  }
  

  
  .slide-content button:hover {
    background-color: #EF6C2D;
  }
  
  /* Pagination points */
  .swiper-pagination-bullet {
    background-color: white;
    opacity: 0.7;
  }
  
  .swiper-pagination-bullet-active {
    background-color: #EF6C2D;
    opacity: 1;
  }
  
  /* Flèches */
  .swiper-button-next,
  .swiper-button-prev {
    color: white;
    
  }

  @media (max-width: 1028px) {
    .slide-content h2 {
    font-size: 16px;
    margin-bottom: 2px;
  }
  
  .slide-content p {
    font-size: 8px;
    margin-bottom: 6px;
  }

     }
  
  /* Présentation */
.presentation {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
  }
  
  .presentation h2 {
    font-size: 32px;
    color: #EF6C2D;
    margin-bottom: 20px;
  }
  
  .presentation p {
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
  }
  /* Dates à venir */
  .dates-avenir {
    padding: 60px 20px;
    background-color: #F2F0ED;
  }
  
  .dates-avenir h2 {
    font-size: 32px;
    color: #4B7899;
    text-align: center;
    margin-bottom: 40px;
  }
.dates-avenir ul {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

.dates-avenir ul li {
    background: white;
    margin-bottom: 16px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-size: 18px;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    flex-direction: row;
  }
  
  .dates-avenir ul li.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  .icon {
    font-size: 28px;
    color: #0077c2;
    margin-top: 5px;
  }
  
  .event-info {
    display: flex;
    flex-direction: column;
  }
  
  .details {
    font-size: 16px;
    color: #555;
    margin-top: 8px;
  }
  .footer {
    background-color: #F2F0ED;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 10px;
  }
  
  .footer .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  } 
  #back-to-top {
    margin-top: 12px;
    padding: 6px 12px;
    font-size: 20px;
    background-color: #965A7A;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0; /* Caché au début */
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.3s ease;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
  }
  
  #back-to-top.show {
    opacity: 1;
    visibility: visible;
  }
  
  #back-to-top:hover {
    background-color: #F2F0ED;
    color: #965A7A;
    border: 1px solid #965A7A;
    transform: translateY(-4px) scale(1.1); /* Petit effet rebond */
  }
  
  /* Animation de "pulse" légère */
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
  }
  
  #back-to-top.animate {
    animation: pulse 2s infinite;
  }

  #map {
    height: 600px;
    width: 100%;
}

/* Style de la légende */
.legend {
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    font-size: 14px;
}

.legend div {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

/* Responsive : Adapter la hauteur de la carte */
@media (max-width: 768px) {
    #map {
        height: 400px; /* Réduit la hauteur sur tablette */
    }

    .legend {
        bottom: 10px;
        left: 10px;
        font-size: 12px;
        padding: 8px;
    }
    .slide-content h2 {
    font-size: 32px;
    margin-bottom: 2px;
  }
  
  .slide-content p {
    font-size: 16px;
    margin-bottom: 6px;
  }
}

/* Sur mobile, la légende passe en haut à droite */
@media (max-width: 480px) {
    .legend {
        position: absolute;
        top: 10px;
        right: 10px;
        left: auto;
        bottom: auto;
        font-size: 11px;
    }
}
.video-gallery {
  padding: 2rem;
  background: #F2F0ED;
  
}

.video-gallery h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.video-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  
}

.video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 8px;
  
}

.video {
      border: 1px solid #EF6C2D;
      border-radius: 1rem;
      padding: 1rem;
      background-color: white;
      box-shadow: #EF6C2D;;
    }


 .remerciement {
      display: flex;
      flex-wrap: wrap;
      width: 100%;
    }

   .remerciement .column {
      flex: 1 1 100%;
      padding: 2rem;
      min-width: 300px;
      box-sizing: border-box;
      
    }

    .remerciement .left-column {
      background-color: #F2F0ED;
    }

   .remerciement .right-column {
      background-color: white;
      color: black;
      font-family: 'Barlow';
     
    }

    .remerciement img.title-image {
      max-width: 30%;
      height: auto;
      display: block;
      margin: 0 auto 1rem auto;
    }

    .remerciement h1 {
      margin-top: 0;
      color: #965A7A;
      font-family: 'Barlow';
       margin-bottom: 1.5rem;
    }

    .remerciement p {
      font-size: 1.1rem;
      line-height: 1.6;
      text-align: justify;
    }

    @media (max-width: 768px) {
      .remerciement .column {
        flex: 1 1 100%;
      }

     .remerciement h3 {
        text-align: center;
      }
    }


.listen-section {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.listen-button,
.stop-button {
  
  color: white;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
 
  transition: background-color 0.3s ease;
}

.listen-button:hover {
  
}

.stop-button {
  background-color: #dc3545;
}

.stop-button:hover {
  background-color: #a71d2a;
}

cta-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background-color: #F2F0ED;
      color: #965A7A;
      padding: 14px 24px;
      border-radius: 30px;
      text-decoration: none;
      font-size: 10px;
      font-weight: 300;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      max-width: 100%;
      animation: pulse 2.5s infinite ease-in-out;
      transition: transform 0.2s ease, background-color 0.3s ease;
    }

    .cta-button:hover {
      background-color: whitesmoke;
      transform: scale(0.5);
      

    }
    .cta-span {
      color: whitesmoke;

    }

    .cta-button .arrow {
      display: inline-block;
      margin-left: 12px;
      font-size: 22px;
      animation: arrowMove 1.2s infinite ease-in-out;
    }

    .descriptionH h4 {
       margin-top: 2rem;
      font-size: 1rem;
      color: #333;
      font-family: 'Barlow';
    }


    .form-container {
      max-width: 900px;
      margin: 40px auto;
      padding: 20px;
      background-color: white;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .form-title {
      font-size: 1.8em;
      margin-bottom: 20px;
      color: #2c3e50;
      text-align: center;
    }

    .responsive-iframe {
      position: relative;
      width: 100%;
      padding-bottom: 125%; /* Ratio 4:5 (modifiable selon votre besoin) */
      height: 0;
      overflow: hidden;
      border-radius: 10px;
    }

    .responsive-iframe iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: none;
    }

    .footer2 {
  background: linear-gradient(135deg, #965A7A, #B56D93);
  color: #f1f1f1;
  padding: 50px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h3 {
  font-size: 20px;
  margin-bottom: 15px;
  position: relative;
}

.footer-col h3::after {
  content: "";
  width: 50px;
  height: 3px;
  background: #EF6C2D;
  display: block;
  margin-top: 8px;
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #EF6C2D;
}

.footer-col p {
  margin: 6px 0;
  color: #ffffff;
  font-size: 15px;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  display: inline-block;
  background: #EF6C2D;
  color: #fff;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  margin-right: 10px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.social-icons a:hover {
  background: #EF6C2D;
}


