/* ═══════════════════════════════════════════════════════════
   ZANDJABILA — GingerShot Artisanal
   Le Bissap Artisanal · 0692 202925
═══════════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────── */
:root {
  --bg: #0d0d0d;
  --bg-2: #111111;
  --bg-3: #161616;
  --gold: #d4a017;
  --gold-lt: #f0c040;
  --fire: #ff6b00;
  --green: #22c55e;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-400: #a0a0a0;
  --gray-600: #555555;
  --border: rgba(212, 160, 23, 0.2);
  --font: "Outfit", system-ui, -apple-system, sans-serif;
}

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

/* ════════════════════════════════════════════════════
   BASE
════════════════════════════════════════════════════ */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ════════════════════════════════════════════════════
   LAYOUT HELPERS
════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ════════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gold);
  color: #09090b;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.8rem 1.5rem;
  border-radius: 100px;
  border: 1.5px solid var(--gold);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 8px 24px rgba(212, 160, 23, 0.22);
  transition:
    background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-primary:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 14px 36px rgba(212, 160, 23, 0.32);
  transform: translateY(-2px);
}
.btn-primary:active {
  transform: scale(0.97) translateY(0);
  box-shadow: 0 4px 12px rgba(212, 160, 23, 0.18);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-primary:hover .btn-arrow {
  transform: translateX(3px);
}
.btn-arrow svg {
  width: 12px;
  height: 12px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.8rem 1.5rem;
  border-radius: 100px;
  border: 1.5px solid rgba(212, 160, 23, 0.5);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.3s,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-outline:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #09090b;
  transform: translateY(-2px);
}
.btn-outline:active {
  transform: scale(0.97) translateY(0);
}

/* ════════════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.875rem 1.25rem;
  background: transparent;
  pointer-events: none;
  display: flex;
  justify-content: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  max-width: 1140px;
  width: 100%;
  padding: 0 1.75rem;
  background: rgba(13, 13, 13, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: 100px;
  pointer-events: all;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ════════════════════════════════════════════════════
   HERO — SCROLL SCRUBBING
════════════════════════════════════════════════════ */
.hero-scroll {
  position: relative;
  height: 300vh;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(13, 13, 13, 0.65) 80%,
    rgba(13, 13, 13, 0.95) 100%
  );
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: clamp(2.5rem, 8vw, 8rem);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 0;
  max-width: 680px;
}

.hero-label {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
}

.hero-brand {
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.9;
  color: var(--white);
  text-transform: uppercase;
  text-shadow:
    0 2px 30px rgba(0, 0, 0, 0.7),
    0 1px 6px rgba(0, 0, 0, 0.9);
}

.hero-product {
  font-size: clamp(1.4rem, 4.5vw, 2.2rem);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.85);
}

.hero-tagline {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.65;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.85);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
  margin-bottom: 2.5rem;
}

.badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.9);
  color: #09090b;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: opacity 0.4s;
}
.scroll-indicator svg {
  animation: bounce 1.8s ease-in-out infinite;
  width: 18px;
  height: 18px;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

/* ════════════════════════════════════════════════════
   SHARED SECTION COMPONENTS
════════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--gray-400);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════
   PRODUCT SHOWCASE
════════════════════════════════════════════════════ */
.product-showcase {
  background: var(--bg-2);
  padding: 7rem 0;
  overflow: hidden;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.showcase-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.showcase-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img {
  width: 100%;
  max-width: 540px;
  border-radius: 24px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(212, 160, 23, 0.1);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-img:hover {
  transform: scale(1.02) translateY(-4px);
}

.showcase-caption {
  margin-top: 1.2rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-600);
  text-align: center;
}

/* ════════════════════════════════════════════════════
   INGREDIENTS
════════════════════════════════════════════════════ */
.ingredients-section {
  background: var(--bg);
  padding: 7rem 0;
}

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.ingredient-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition:
    border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.ingredient-card:hover {
  border-color: rgba(212, 160, 23, 0.55);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.ingredient-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.ingredient-icon svg {
  width: 44px;
  height: 44px;
}

.ingredient-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.ingredient-card p {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.65;
}

/* ════════════════════════════════════════════════════
   VALUES
════════════════════════════════════════════════════ */
.values-section {
  background: var(--bg-2);
  padding: 7rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 1.5rem;
}
.values-img-wrap {
  grid-column: 1;
  grid-row: 1 / 4;
  align-self: stretch;
  border-radius: 20px;
  overflow: hidden;
  min-height: 420px;
  position: relative;
}
.values-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.value-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: left;
  transition:
    border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.value-card:hover {
  border-color: rgba(212, 160, 23, 0.55);
  transform: translateY(-4px);
}

.value-icon {
  width: 52px;
  height: 52px;
  margin: 0 0 1.5rem;
  background: rgba(212, 160, 23, 0.1);
  border: 1px solid rgba(212, 160, 23, 0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.value-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════
   TERRES VOLCANIQUES
════════════════════════════════════════════════════ */
.volcanic-section {
  padding: 8rem 0;
  background: var(--bg);
  overflow: hidden;
}

.volcanic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

/* ── Texte gauche ── */
.volcanic-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.volcanic-title {
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.volcanic-desc {
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.8;
  max-width: 52ch;
}

.volcanic-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.volcanic-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.volcanic-stat__num {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gold);
  line-height: 1;
}

.volcanic-stat__label {
  font-size: 0.72rem;
  color: var(--gray-600);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Image droite ── */
.volcanic-image {
  position: relative;
  border-radius: 24px;
  overflow: visible;
}

.volcanic-img {
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 20px;
  background: var(--bg-2);
}

.volcanic-image__badge {
  position: absolute;
  bottom: -1.25rem;
  left: -1.5rem;
  background: var(--gold);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.65rem 1.25rem;
  border-radius: 100px;
  box-shadow: 0 8px 28px rgba(212, 160, 23, 0.35);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .volcanic-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .volcanic-image {
    order: -1;
  }
  .volcanic-image__badge {
    left: 1rem;
    bottom: -1rem;
  }
  .volcanic-stats {
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .volcanic-section {
    padding: 5rem 0;
  }
  .volcanic-stats {
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
  }
}

/* ════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════ */
.footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding-top: 5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.footer-subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.7;
  max-width: 280px;
}

.footer-contact-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
}

.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: color 0.2s;
}
.footer-contact-link:hover {
  color: var(--gold);
}
.footer-contact-link svg {
  width: 15px;
  height: 15px;
  opacity: 0.6;
}

.footer-cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--gray-600);
}

/* ════════════════════════════════════════════════════
   SCROLL REVEAL — animations différenciées par section
════════════════════════════════════════════════════ */

/* Transitions partagées : toutes les variantes en héritent */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

/* Slide depuis la gauche — showcase text, image engagements */
[data-reveal="fade-left"] {
  transform: translateX(-52px);
}

/* Slide depuis la droite — showcase visuel, value cards */
[data-reveal="fade-right"] {
  transform: translateX(52px);
}

/* Zoom + scale-up — ingredient cards */
[data-reveal="scale-up"] {
  transform: scale(0.86) translateY(20px);
}

/* Dézoom cinématique + déblur — lifestyle photo */
[data-reveal="zoom-blur"] {
  transform: scale(1.05);
  filter: blur(8px);
}

/* État visible — convergence de toutes les variantes */
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ════════════════════════════════════════════════════
   RESPONSIVE — 767px (mobile : hero + performances)
════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  /* Hero : fallback CSS si JS mobile-detection est lent */
  .hero-scroll {
    height: 100svh;
  }
  /* Réduit le coût GPU du backdrop-filter sur mobiles bas de gamme */
  .nav-inner {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0 1.25rem;
  }
}

/* ════════════════════════════════════════════════════
   RESPONSIVE — 900px
════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-cta .btn-primary {
    padding: 0.65rem 1.25rem;
    font-size: 0.8rem;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .showcase-image {
    order: -1;
  }

  .ingredients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .values-img-wrap {
    grid-row: auto;
    grid-column: auto;
    position: relative;
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-tagline {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ════════════════════════════════════════════════════
   RESPONSIVE — 640px
════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-badges {
    gap: 0.4rem;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  .hero-cta .btn-primary,
  .hero-cta .btn-outline {
    width: auto;
    justify-content: center;
  }

  .ingredients-grid {
    grid-template-columns: 1fr;
  }

  .product-showcase,
  .ingredients-section,
  .values-section {
    padding: 5rem 0;
  }

  .lifestyle-image-wrap {
    height: 55vh;
    min-height: 320px;
  }

  .footer {
    padding-top: 3.5rem;
  }

  /* Safe area iOS */
  .nav-inner {
    padding-top: env(safe-area-inset-top, 0);
    height: calc(64px + env(safe-area-inset-top, 0));
  }

  /* Hero content clear de la nav */
  .hero-content {
    padding-top: 5rem;
  }

  /* Tap targets min 44px */
  .btn-primary,
  .btn-outline {
    min-height: 48px;
  }

  .hero-brand {
    font-size: clamp(2.8rem, 16vw, 5rem);
  }

  .hero-overlay {
    align-items: center;
    padding-left: 0;
  }
  .hero-content {
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
  }
  .hero-badges {
    justify-content: center;
  }

  .section-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }
}
