/* ===================== RESET & BASE ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #1c1c1c;
  line-height: 1.6;
}

/* ===================== HEADER ===================== */
header {
  background-color: #fff;
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

header a {
  text-decoration: none;
}

header .logo {
  height: 60px;
  width: auto;
  border-radius: 8px;
}

header h1 {
  flex: 1;
  text-align: center;
  font-size: 1.8rem;
  color: #1c1c1c;
  margin: 0;
}

/* ===================== NAVIGATION ===================== */
.nav {
  position: relative;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: #1c1c1c;
  font-weight: 500;
  padding: 0.3rem 0.5rem;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #4b6b4b;
}

/* Menu burger (mobile) */
.nav-toggle {
  display: none;
}

.nav-icon {
  display: none;
}

/* ===================== SECTION TITRE ===================== */
.section {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  text-align: center;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section p {
  font-size: 1.1rem;
  color: #444;
}



/* Bouton location */
/* HERO */
.hero {
  background-color: #f9f9f9;
  text-align: center;
  padding: 6rem 2rem 4rem;
}
.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: auto;
  margin-bottom: 2rem;
}
.btn-primary {
  background-color: #4b6b4b;
  color: #fff;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s all;
}
.btn-primary:hover {
  background-color: #6fa36f;
  transform: scale(1.05);
}

/* ===================== PACKS ===================== */
.packs-container {
  max-width: 1200px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 1rem 2rem;
}

.pack {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
}

.pack-images {
  position: relative;
  flex: 1 1 400px;
  max-width: 500px;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.images-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.images-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: none;
}

.images-wrapper img.active {
  display: block;
}

.pack-prev, .pack-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 50%;
}

.pack-prev { left: 10px; }
.pack-next { right: 10px; }

.pack-content {
  flex: 1 1 400px;
  padding: 1.5rem;
}

.pack-content h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.pack-content p { margin-bottom: 1rem; }
.price {
  font-weight: 600;
  font-size: 1.2rem;
  color: #4b6b4b;
}

/* ===================== BOUTON TÉLÉCHARGER ===================== */
.download-conditions {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.download-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #4b6b4b;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s all;
}

.download-button:hover {
  background-color: #6fa36f;
  transform: scale(1.05);
}

/* FOOTER */
.footer {
  background-color: #fff;
  padding: 3rem 1rem;
  text-align: center;
  color: #1c1c1c;
  border-top: 1px solid #eee;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.footer-nav a {
  color: #1c1c1c;
  text-decoration: none;
  font-weight: 500;
}
.footer-nav a:hover {
  color: #4b6b4b;
}
.footer-social a {
  margin: 0 0.5rem;
  color: #1c1c1c;
  font-size: 1.5rem;
  transition: color 0.3s;
}
.footer-social a:hover {
  color: #4b6b4b;
}
.support-button {
  display: inline-block;
  margin: 1rem 0;
  background-color: #4b6b4b;
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s all;
}
.support-button:hover {
  background-color: #6fa36f;
  transform: scale(1.05);
}
.footer-copy {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #888;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .pack { flex-direction: column; }
  .pack-images, .pack-content { flex: 1 1 100%; max-width: 100%; }
}

/* ===================== MENU BURGER (VERSION MOBILE) ===================== */
@media (max-width: 900px) {
  /* Masquer le menu de base */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    list-style: none;
    transition: right 0.4s ease;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    z-index: 10000;
  }

  /* Afficher le menu quand la checkbox est cochée */
  .nav-toggle:checked ~ .nav-menu {
    right: 0;
  }

  /* Icône burger */
  .nav-icon {
    display: block;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
  }

  /* Masquer la checkbox */
  .nav-toggle {
    display: none;
  }

  /* Espacement et alignement du header */
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  /* Lien du menu */
  .nav-menu a {
    color: #1c1c1c;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
  }

  .nav-menu a:hover {
    color: #4b6b4b;
  }
}



.footer-counter{
margin-top:10px;
font-size:0.9rem;
color:#888;
}