/* HEADER */
.header {
  padding: 20px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-content .logo img {
  height: 36px;
  width: auto;
  max-width: 180px;
}

.nav a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
}

.nav a:hover {
  text-decoration: underline;
}

/* 🔹 Menu mobile */
.menu-toggle {
  display: none;
}

/* Hamburger */
.menu-icon {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
}

.menu-icon span {
  display: block;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: 0.3s;
}

/* MENU MOBILE PLEINE PAGE */
.nav {
  display: flex;
  gap: 24px;
}

/* FOOTER */
.footer {
  padding: 40px 0 20px;
  text-align: center;
  font-size: 0.9rem;
  background-color: var(--bg-secondary);
  color: var(--primary);
}

.footer-links {
  margin-bottom: 16px;
}

.footer-links a {
  margin: 0 12px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-legal {
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: #4B5563;
}

.footer-legal p {
  margin: 4px 0;
}

.footer-copy {
  font-size: 0.8rem;
  color: #6B7280;
}

.footer-copy a {
  color: #6B7280;
  text-decoration: none;
}

/* Footer – icône Facebook */
.footer-social {
  margin-bottom: 24px;
  text-align: center;
}

.footer-columns {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  text-align: left;
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--primary);
}

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

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  transition: opacity 0.3s;
}

.footer-column ul li a:hover {
  opacity: 0.8;
}

.footer-launch-offer {
    padding: 40px 0 0;
    text-align: left;
    font-size: 0.7rem;
    background-color: var(--bg-secondary);
    color: var(--primary);
}

.footer-launch-offer .container {
    border-bottom: solid 1px var(--primary);
    padding-bottom: 20px;
}

.facebook-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary); /* bleu foncé */
  color: white;
  border-radius: 50%;
  text-decoration: none;
  font-size: 18px;
  transition: background-color 0.3s, transform 0.3s;
}

.facebook-icon:hover {
  background-color: #16232B; /* un peu plus foncé au survol */
  transform: scale(1.1);
}

.youtube-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #FF0000; /* rouge YouTube */
  color: white;
  border-radius: 50%;
  text-decoration: none;
  font-size: 18px;
  margin-left: 12px; /* espace avec Facebook */
  transition: background-color 0.3s, transform 0.3s;
}

/* BADGES FOOTER */
.footer-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background-color: white;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.footer-badge i {
  font-size: 0.9rem;
}

.footer-badge:hover {
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .footer-badges {
    gap: 12px;
  }

  .footer-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
}

.youtube-icon:hover {
  background-color: #CC0000; /* un peu plus foncé au survol */
  transform: scale(1.1);
}

/* MODALE PERSONNALISATION COOKIES */
.cookie-modal {
  display: none; /* par défaut masqué */
  position: fixed; /* reste fixe à l'écran */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); /* overlay sombre */
  justify-content: center;
  align-items: center;
  z-index: 9999; /* au-dessus de tout le reste */
}

.modal-content {
  background-color: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  position: relative;
}

.modal-actions {
  text-align: center;
  margin-top: 10px;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--gray-medium);
  margin-bottom: 24px;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cookie-option:last-child {
  border-bottom: none;
}

.cookie-option span {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-medium);
}

/* SWITCH */
.switch {
  position: relative;
  width: 44px;
  height: 24px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  inset: 0;
  background-color: #D1D5DB;
  border-radius: 999px;
  transition: 0.3s;
}

.slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

.switch input:checked + .slider {
  background-color: var(--bg-pix);
}

.switch input:checked + .slider::before {
  transform: translateX(20px);
}

.switch input:disabled + .slider {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Icone connexion */
.menu-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--primary);
  color: white !important;
  border-radius: 50%;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s;
}

.menu-icon-link:hover {
  background-color: #16232B;
  transform: scale(1.1);
}

/* Carte Cadeau - icône menu PC */
.menu-icon-gift {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto; /* laisse l'icône s'adapter */
  height: auto;
  padding: 0;
  background: none; /* pas de cercle coloré */
  color: #FF7F50; /* couleur principale du dégradé */
  font-size: 18px; /* taille icône PC */
  text-decoration: none;
  transition: background 0.3s, transform 0.3s, color 0.3s;
}

.menu-icon-gift i {
  background: linear-gradient(45deg, #FF7F50, #FF4500); /* dégradé orange/rouge */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  vertical-align: middle; /* pour bien centrer dans la ligne */
  font-size: 1.2rem;
}

.menu-icon-gift:hover i {
  transform: scale(1.2);
}

/* Texte Carte Cadeau (mobile) */
.menu-icon-gift .gift-text {
  display: none; /* texte masqué sur PC */
  margin-left: 6px;
  font-weight: 500;
  color: var(--primary);
}

/* Mobile : bouton complet avec texte et fond corail */
@media (max-width: 1024px) {
  .menu-icon-gift {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background-color: #FF7F50;
    border-radius: 8px;
    font-size: 1rem;
  }

  .menu-icon-gift i {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: white;
    font-size: 1rem;
  }

  .menu-icon-gift .gift-text {
    display: inline;
  }
}

@media (max-width: 640px) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .btn-cookie {
    width: 100%;
  }

  .footer-columns {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-column h4 {
    margin-bottom: 8px;
  }
}

@media (min-width: 1025px) {
  .menu-icon, .menu-toggle, .nav-logo-mobile, .menu-close {
    display: none;
  }

  .nav {
    position: static;
    transform: translateX(0);
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    height: auto;
    width: auto;
    background: none;
  }

  .nav a {
    font-size: 1rem;
  }
}

@media (max-width: 1024px) {
  .menu-icon {
    display: flex;
  }

  /* Nav en plein écran */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-color: var(--bg-secondary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  /* Menu ouvert */
  .menu-toggle:checked ~ .nav {
    transform: translateX(0);
  }

  /* Hamburger -> X */
  .menu-toggle:checked + .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle:checked + .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Logo et croix mobile */
  .nav-logo-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 20px;
    left: 0;
    padding: 0 24px;
  }

  .nav-logo-mobile img {
    height: 36px;
    width: auto;
    max-width: 150px;
  }

  .menu-close {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 2rem;
    margin-left: 16px;
    cursor: pointer;
    color: var(--primary);
  }

  .nav a {
    font-size: 1.2rem;
    margin: 12px 0;
    max-width: 350px;
  }

  .btn-menu {
    margin-left: 0;
  }

    /* On masque l'icône dans la liste principale */
  .nav > .menu-icon-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1100; /* au-dessus du menu */
    display: inline-flex;
    width: 50px;
    height: 50px;
    font-size: 20px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: var(--primary);
    color: white !important;
    transition: transform 0.3s, background-color 0.3s;
  }

  .nav > .menu-icon-link:hover {
    background-color: #16232B;
    transform: scale(1.1);
  }
}

@media (max-width: 768px) {
  .launch-banner-content {
    flex-direction: column;
    gap: 6px;
  }

  .launch-banner {
    font-size: 13px;
    padding: 12px 10px;
  }
  .header-content {
    flex-direction: row; /* changer column -> row */
    justify-content: space-between; /* logo à gauche, menu à droite */
    align-items: center;
    gap: 0; /* plus besoin de gap vertical */
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px; /* espace pour le logo et hamburger */
    gap: 24px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }

  .nav a {
    margin: 8px 0;
  }

  .btn-menu {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  .header-content .logo img {
    height: 28px;
    max-width: 140px;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px; /* espace pour le logo */
    gap: 24px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }

  /* Menu ouvert */
  .menu-toggle:checked ~ .nav {
    transform: translateX(0);
  }

  /* Logo et croix mobile */
  .nav-logo-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 20px;
    left: 0;
    padding: 0 24px;
  }

  .nav-logo-mobile img {
    height: 36px;
    width: auto;
    max-width: 150px;
  }

  .menu-close {
    font-size: 2rem;
    margin-left: 16px;
    cursor: pointer;
    color: var(--primary);
  }

  .nav a {
    font-size: 1.2rem;
    margin: 12px 0;
  }

  .btn-menu {
    margin-left: 0;
  }
}