 /* Reset basique */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Playfair+Display:wght@700&display=swap');

.col-md-4 p a {
  color: white;
  text-decoration: none;
}

    *, *::before, *::after {
      box-sizing: border-box;
    }
    body {
      margin: 0; padding: 0;
      font-family: 'Montserrat', sans-serif;
      background: linear-gradient(135deg, #006633, #f4d35e, #d62828);
      position: relative;
      min-height: 100vh;
      color: #f4f4f4;
      overflow-x: hidden;
      padding-top: 70px;
    }
    body::before {
      content: "";
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.55);
      z-index: 0;
      pointer-events: none;
    }

    /* ----- Ton style existant ----- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 70px;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 10;
  box-shadow: 0 2px 15px rgba(0,0,0,0.7);
  font-weight: 600;
  letter-spacing: 0.06em;
  user-select: none;
}
/* Cacher par défaut */
nav .logo {
  display: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #f4d35e;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: default;
  user-select: text;
  transition: color 0.3s ease;
}

/* Survol */
nav .logo:hover {
  color: #d9b720;
}

/* Afficher uniquement sur mobile */
@media (max-width: 768px) {
  nav .logo {
    display: block;
  }
}



nav ul {
  list-style: none;
  display: flex;
  margin: 0; padding: 0;
  gap: 36px;
}
nav ul li a {
  color: #f4d35e;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 10px 18px;
  border-radius: 10px;
  transition: background-color 0.4s ease, color 0.4s ease, transform 0.3s ease;
  font-weight: 600;
}
nav ul li a:hover,
nav ul li a:focus {
  background-color: #d9b720;
  color: #003300;
  outline: none;
  transform: scale(1.1);
  box-shadow: 0 0 12px #d9b720aa;
}

/* ----- Ajout responsive mobile ----- */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #f4d35e;
  border-radius: 2px;
}
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    height: auto;
    padding: 0.5rem 1rem;
  }
  nav ul {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    display: none; /* caché par défaut */
    padding: 10px 0;
  }
  nav ul.show {
    display: flex; /* affiché quand actif */
  }
  .nav-toggle {
    display: flex; /* affichage bouton hamburger */
    margin-left: auto;
  }
}


 main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  main {
    max-width: 100%;
    padding: 2rem 1rem 3rem; /* moins de padding pour gagner de l'espace */
    text-align: left; /* sur mobile, ça peut être plus lisible aligné à gauche */
  }
}

@media (max-width: 480px) {
  main {
    padding: 1.5rem 0.8rem 2rem;
    font-size: 0.95rem; /* réduit un peu la taille du texte */
  }
}
    main h1 {
      font-family: 'Playfair Display', serif;
      font-size: 3.8rem;
      margin-bottom: 0.3em;
      line-height: 1.1;
      color: #f4d35e;
      /* suppression des ombres */
      opacity: 0;
      animation: fadeUp 1.2s ease forwards;
    }
    main h2 {
      font-weight: 500;
      font-size: 1.8rem;
      margin-top: 0;
      margin-bottom: 2.4rem;
      color: #f4f4f4;
      /* suppression des ombres */
      opacity: 0;
      animation: fadeUp 1.6s ease forwards;
      animation-delay: 0.3s;
    }
    main p {
      font-weight: 400;
      font-size: 1.15rem;
      max-width: 520px;
      margin: 0 auto 3.5rem auto;
      line-height: 1.6;
      color: #eee;
      /* suppression des ombres */
      opacity: 0;
      animation: fadeUp 2s ease forwards;
      animation-delay: 0.6s;
    }
    .btn-start {
      background: linear-gradient(135deg, #f4d35e, #d9b720);
      color: #003300;
      font-weight: 700;
      font-size: 1.4rem;
      padding: 18px 60px;
      border: none;
      border-radius: 40px;
      cursor: pointer;
      text-decoration: none;
      box-shadow: 0 8px 30px rgba(217,183,32,0.8);
      transition: background-color 0.3s ease, transform 0.25s ease;
      display: inline-block;
      user-select: none;
      opacity: 0;
      animation: fadeUp 2.5s ease forwards;
      animation-delay: 0.9s;
    }
    .btn-start:hover {
      background: #bba214;
      box-shadow: 0 12px 40px #bba214cc;
      transform: scale(1.05);
    }

    /* Image stylée */
    .image-container {
      max-width: 450px;
      margin: 0 auto 4rem auto;
      border-radius: 30px;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0,0,0,0.7);
      opacity: 0;
      animation: fadeUp 3s ease forwards;
      animation-delay: 1.3s;
      transition: transform 0.4s ease;
    }
    .image-container img {
      width: 100%;
      height: auto;
      display: block;
      filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5));
      user-select: none;
    }
    .image-container:hover {
      transform: scale(1.02);
    }

    /* Nouvelle section cartes */
    .cards-section {
      max-width: 1000px;
      margin: 4rem auto 2rem;
      padding: 0 1rem;
      display: grid;
      grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
      gap: 24px;
      position: relative;
      z-index: 1;
    }
    .card {
      background: rgba(255,255,255,0.1);
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 8px 20px rgba(0,0,0,0.4);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: default;
      color: #f4f4f4;
      display: flex;
      flex-direction: column;
      user-select: none;
    }
    .card:hover {
      transform: translateY(-8px);
      box-shadow: 0 16px 35px rgba(0,0,0,0.7);
      background: rgba(255,255,255,0.18);
    }
    .card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      border-bottom: 2px solid #f4d35e;
      pointer-events: none;
    }
    .card .card-content {
      padding: 1.2rem 1.4rem;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: center;
    }
    .card .card-content h3 {
      margin: 0 0 0.5rem;
      font-weight: 700;
      font-size: 1.4rem;
      color: #f4d35e;
    }
    .card .card-content p {
      margin: 0;
      font-weight: 400;
      font-size: 1rem;
      color: #ddd;
      line-height: 1.4;
    }

    footer {
      text-align: center;
      font-size: 0.9rem;
      color: rgba(255,255,255,0.6);
      padding: 1rem 1rem 2rem;
      font-weight: 500;
      user-select: none;
      position: relative;
      z-index: 1;
      border-top: 1px solid rgba(255,255,255,0.15);
      letter-spacing: 0.03em;
    }

    /* Animation fadeUp */
    @keyframes fadeUp {
      0% {
        opacity: 0;
        transform: translateY(30px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Responsive */
    @media (max-width: 768px) {
      main h1 {
        font-size: 2.8rem;
      }
      main h2 {
        font-size: 1.3rem;
      }
      main p {
        font-size: 1rem;
        max-width: 90vw;
      }
      .btn-start {
        font-size: 1.2rem;
        padding: 15px 45px;
      }
      .image-container {
        max-width: 90vw;
      }
      nav ul {
        gap: 24px;
      }
      nav ul li a {
        font-size: 1rem;
        padding: 8px 14px;
      }
    }

    @media (max-width: 400px) {
      main h1 {
        font-size: 2.2rem;
      }
      main h2 {
        font-size: 1.1rem;
      }
      .btn-start {
        font-size: 1rem;
        padding: 12px 30px;
      }
      nav ul {
        gap: 15px;
      }
    }


    ackground-album {
  position: relative;
  overflow: hidden;
}

.background-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.background-images img {
  position: absolute;
  opacity: 0.10;
  width: 200px;
  height: auto;
  animation: float 20s infinite ease-in-out;
}

.background-images img:nth-child(1) { top: 5%; left: 10%; }
.background-images img:nth-child(2) { top: 15%; right: 15%; }
.background-images img:nth-child(3) { bottom: 10%; left: 5%; }
.background-images img:nth-child(4) { top: 50%; right: 5%; }
.background-images img:nth-child(5) { bottom: 20%; left: 30%; }
.background-images img:nth-child(6) { top: 70%; right: 30%; }
.background-images img:nth-child(7) { top: 35%; left: 50%; }
.background-images img:nth-child(8) { bottom: 40%; right: 50%; }
.background-images img:nth-child(9) { top: 80%; left: 15%; }
.background-images img:nth-child(10) { bottom: 5%; right: 15%; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

/* Ajustements pour très petits écrans (smartphones ≤ 480px) */
@media (max-width: 480px) {
  main h1 {
    font-size: 2rem;       /* réduit pour éviter que ça dépasse */
    line-height: 1.2;
  }
  main h2 {
    font-size: 1rem;
  }
  main p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  .btn-start {
    font-size: 0.9rem;
    padding: 10px 25px;
  }
  .cards-section {
    grid-template-columns: 1fr; /* cartes empilées sur mobile */
    gap: 16px;
  }
  .image-container {
    max-width: 100%; /* prend toute la largeur dispo */
  }
  footer {
    font-size: 0.8rem;
  }
}
