/* ── Variables ── */
:root {
  --ginbel-cream:     #f5f0e8;
  --ginbel-text:      rgba(245, 240, 232, 0.8);
  --ginbel-gold:      #c9a96e;
  --ginbel-green:     #2d4a2d;
  --ginbel-logo-green:#377832;
  --ginbel-dark:      #1a1a14;
  --ginbel-overlay:   rgba(20, 28, 16, 0.40);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: var(--ginbel-dark);
  color: var(--ginbel-cream);
  overflow-x: hidden;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Vidéo de fond */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Fallback image quand la vidéo ne charge pas ou sur mobile */
.hero__video-fallback {
  position: absolute;
  inset: 0;
  background-image: url('assets/img/hero-fallback.jpg'); /* ← remplacer */
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Overlay grain + couleur */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--ginbel-overlay);
  z-index: 1;
}

/* Grain texture subtil */
.hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
}

/* ── Contenu hero ── */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  animation: fadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__eyebrow {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ginbel-gold);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--ginbel-cream);
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: italic;
  color: var(--ginbel-gold);
}

.hero__logo {
  width: 300px;
  height: auto;
}

.hero__tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--ginbel-cream);
  opacity: 0.8;
  margin-bottom: 3rem;
  letter-spacing: 0.02em;
}

/* ── Formulaire ── */
.hero__form-label {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ginbel-text);
  margin-bottom: 0.8rem;
  display: block;
}

.hero__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 512px;
  margin: 0 auto;
}

.hero__form-row {
  display: flex;
  width: 100%;
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 2px;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.hero__form input[type="email"] {
  flex: 1;
  padding: 0.85rem 1.2rem;
  background: rgba(245, 240, 232, 0.4);
  border: none;
  outline: none;
  color: var(--ginbel-green);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.hero__form input[type="email"]::placeholder {
  color: rgba(245, 240, 232, 0.9);
}

.hero__form button {
  padding: 0.85rem 1.4rem;
  background: var(--ginbel-green);
  border: none;
  color: var(--ginbel-text);
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease;
  white-space: nowrap;
}

.hero__form button:hover {
  
  color: var(--ginbel-gold);
}

.hero__form-note {
  margin-top: 0.9rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--ginbel-text);
  text-align: center;
}

/* ── Badges produit ── */
.hero__badges {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1.5rem 1rem 2.5rem;
  animation: fadeUp 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ginbel-text);
}

.badge-item::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ginbel-logo-green);
  opacity: 0.7;
}

/* ── Scroll indicator ── */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.4;
  animation: fadeIn 2.5s ease 1s both;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--ginbel-cream);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── Nav discrète ── */
.site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 2.5rem;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  color: var(--ginbel-cream);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ginbel-cream); }

/* ── Mobile : masquer vidéo ── */
@media (max-width: 768px) {
  /* .hero__video { display: none; }
  .hero__video-fallback { display: block !important; } */

  .site-nav { padding: 1.2rem 1.5rem; }
  .nav-links { display: none; }

  .hero__form-row { flex-direction: column; border-radius: 2px; }
  .hero__form button { padding: 0.85rem; }
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 0.4; }
}