/* ======================
   Styles généraux
   ====================== */
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  margin: 0;
  color: #0f172a;
  background: #ffffff;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ======================
   Header / Menu responsive
   ====================== */
header { position: sticky; top: 0; z-index: 100; background:#fff; }

/* Menu fermé par défaut sur mobile */
#menuLinks { display: none; }

/* Menu mobile ouvert : superposé */
#menuLinks.active {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  background: #ffffff;
  padding: 16px 20px;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 12px 24px rgba(0,0,0,.08);
  z-index: 90;
}

/* Desktop : menu horizontal normal */
@media (min-width: 640px) {
  #menuLinks {
    display: flex !important;
    flex-direction: row;
    position: static;
    padding: 0;
    gap: 20px;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }
}

/* iPhone / mobile : pointer-events fix */
@media (max-width: 639px) {
  #menuLinks { pointer-events: none; }
  #menuLinks.active { pointer-events: auto; }
}
@media (min-width: 640px) {
  #menuLinks { pointer-events: auto !important; }
}

#burgerBtn { position: relative; z-index: 110; }

/* ======================
   Splash intro vidéo
   ====================== */
#splash {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
#splash video { width: 100%; height: 100%; object-fit: cover; }
#splash .splash__logo-wrap { position: absolute; text-align: center; color: white; }
#splash .splash__title { font-size: 2rem; font-weight: 800; }
#splash .splash__subtitle { font-size: 1rem; margin-top: .5rem; opacity: .9; }
#splash .splash__skip {
  position: absolute; bottom: 20px; right: 20px;
  background: rgba(0,0,0,0.6); color: white; border: none;
  padding: 8px 12px; border-radius: 6px; cursor: pointer;
}
#splash.hidden { display: none !important; }

/* ======================
   Hero
   ====================== */
.hero {
  position: relative;
  z-index: 10;
  height: 80vh;
  min-height: 480px;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.40);
  z-index: 20;
}
.hero .hero-content {
  position: relative;
  z-index: 40;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.hero .hero-content h1 {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero .hero-content p {
  color: rgba(255,255,255,.9);
  text-shadow: 0 1px 8px rgba(0,0,0,.25);
}

/* Petit décor vapeur */
.vapor { position: absolute; inset: 0; pointer-events: none; }
.vapor span {
  position: absolute; bottom: 10%; left: 10%;
  width: 80px; height: 30px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.35), rgba(255,255,255,0));
  border-radius: 50%; filter: blur(4px); animation: float 8s ease-in-out infinite;
}
.vapor span:nth-child(2){ left: 40%; animation-delay: .8s; }
.vapor span:nth-child(3){ left: 65%; animation-delay: 1.6s; }
.vapor span:nth-child(4){ left: 80%; animation-delay: 2.4s; }
@keyframes float { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-12px) } }

/* ======================
   Produits de saison grid
   ====================== */
.grid-produits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 20px;
  margin-top: 20px;
}
.grid-produits .produit { text-align: center; }
.grid-produits .produit img { max-width: 100%; border-radius: 8px; }

/* ======================
   Formulaire de contact
   ====================== */
form input, form textarea {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 14px;
}
form textarea { min-height: 120px; resize: vertical; }
form button {
  background: #059669; color: #fff; padding: 10px 16px;
  border: none; border-radius: 8px; cursor: pointer;
}
form button:hover { background: #047857; }

/* ======================
   Footer
   ====================== */
footer { background: #111827; color: #fff; text-align: center; padding: 20px; }

/* ======================
   Modales (Produit / Mentions / CGV)
   ====================== */
.modal {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); z-index: 100;
  justify-content: center; align-items: center;
}
.modal .modal-content {
  background: white; padding: 20px; max-width: 600px; max-height: 80vh;
  overflow: auto; border-radius: 10px; position: relative;
}
.modal .modal-content .close {
  position: absolute; right: 15px; top: 15px; cursor: pointer; font-size: 20px;
}
.scroll-box { max-height: 60vh; overflow-y: auto; padding-right: 10px; }

/* Modales utilitaires */
.shadow-soft { box-shadow: 0 10px 30px rgba(2,6,23,.08), 0 2px 6px rgba(2,6,23,.05); }
.modal-enter { opacity: 0; transform: translateY(8px); animation: modalIn .22s ease-out forwards; }
@keyframes modalIn { to { opacity: 1; transform: translateY(0);} }
.scroll-area { overflow: auto; }

/* ======================
   Correctif ancre / header sticky
   ====================== */
section[id] { scroll-margin-top: 100px; }

/* ======================
   ReCAPTCHA — discret sur PC, repositionné sur mobile
   ====================== */

/* PC : badge réduit, translucide, un peu remonté */
.grecaptcha-badge {
  position: fixed !important;
  right: 16px !important;
  bottom: 70px !important;      /* au-dessus du lien CGV */
  transform: scale(0.8);
  transform-origin: bottom right;
  opacity: 0.35;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 50 !important;
}

/* Quand on survole ou focus, il redevient lisible */
.grecaptcha-badge:hover,
.grecaptcha-badge:focus-within {
  opacity: 1;
  transform: scale(0.9);
}

/* Mobile : badge normal en bas-gauche */
@media (max-width: 768px) {
  .grecaptcha-badge {
    left: 12px !important;
    right: auto !important;
    bottom: 14px !important;
    transform: scale(0.9);
    transform-origin: bottom left;
    opacity: 1;
  }

  footer {
    padding-bottom: 90px !important;
  }
	/* Correction espacement et retour à la ligne pour la case RGPD */
label[for="rgpd"], label:has(input[name="rgpd"]) {
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.4;
  display: flex;
  flex-wrap: wrap;
  word-break: break-word;
  max-width: 100%;
}

label[for="rgpd"] span, label:has(input[name="rgpd"]) span {
  flex: 1 1 0;
  min-width: 0;
}


}
