/* ============================================================
   Vanilla & Spices — feuille de style
   Palette : crème / brun / or / terracotta / vert
   ============================================================ */

:root {
  /* Palette issue du logo V&S : vert profond + or + crème */
  --cream:      #F9F6F1;
  --cream-2:    #F0EBDD;
  --cream-3:    #E6DFCB;
  --brown:      #0D371F;   /* vert profond du logo (titres, footer) */
  --brown-2:    #1F5233;
  --gold:       #B08425;
  --gold-dark:  #8F6A1B;
  --terra:      #14532D;   /* accent principal : boutons, liens */
  --terra-dark: #0D371F;
  --green:      #2E7D4F;
  --green-dark: #226039;
  --wa:         #25D366;
  --wa-dark:    #1EBE5A;
  --text:       #1E2B23;
  --muted:      #5F6B62;
  --line:       #E3DDCC;
  --white:      #ffffff;

  --shadow-sm: 0 2px 8px rgba(13, 55, 31, .07);
  --shadow-md: 0 10px 30px rgba(13, 55, 31, .11);
  --shadow-lg: 0 24px 60px rgba(13, 55, 31, .18);

  --radius:    18px;
  --radius-lg: 28px;
  --maxw:      1180px;

  --font-body:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--brown); margin: 0; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 92px 0; }
.section--alt { background: var(--cream-2); }

.overline {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--terra); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--gold-dark); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.hero .btn--primary { background: var(--gold); color: #fff; }
.hero .btn--primary:hover { background: #c79a3f; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: #fff; color: var(--brown); border-color: #fff; }
.btn svg { width: 20px; height: 20px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: #F9F6F1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--brown); }
.brand .amp { color: var(--gold); font-style: italic; padding: 0 3px; }
.brand__logo { width: 64px; height: 64px; object-fit: contain; border-radius: 50%; flex: 0 0 auto; }
.brand__text { line-height: 1; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 500; font-size: .98rem; color: var(--brown); position: relative; padding: 6px 0; transition: color .18s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--terra); transition: width .22s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--terra); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
/* Le bouton WhatsApp du menu ne sert qu'en version mobile */
.nav-links > li:last-child { display: none; }

.nav-right { display: flex; align-items: center; gap: 16px; }

/* Language switch */
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.lang button {
  border: 0; background: transparent; padding: 7px 12px; font-size: .82rem; font-weight: 700;
  color: var(--muted); letter-spacing: .04em; transition: background .18s, color .18s;
}
.lang button.active { background: var(--brown); color: #fff; }

.nav-cta { display: inline-flex; }
.nav-cta .btn { padding: 10px 20px; font-size: .95rem; }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.burger span { width: 24px; height: 2.5px; background: var(--brown); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; padding-top: 72px;
  background: #082615;
  overflow: hidden;
}
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; animation: heroFade 30s infinite; transform: scale(1.05);
}
.hero__slide:nth-child(1) { animation-delay: 0s; }
.hero__slide:nth-child(2) { animation-delay: 6s; }
.hero__slide:nth-child(3) { animation-delay: 12s; }
.hero__slide:nth-child(4) { animation-delay: 18s; }
.hero__slide:nth-child(5) { animation-delay: 24s; }
@keyframes heroFade {
  0%   { opacity: 0; transform: scale(1.05); }
  4%   { opacity: 1; }
  20%  { opacity: 1; }
  24%  { opacity: 0; transform: scale(1.14); }
  100% { opacity: 0; transform: scale(1.14); }
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgba(8,38,21,.78) 0%, rgba(8,38,21,.62) 55%, rgba(8,38,21,.82) 100%);
}
.hero__inner { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .hero__slide { animation: none; }
  .hero__slide:first-child { opacity: 1; }
}
.hero__inner { max-width: 720px; padding: 60px 0; }
.hero .overline { color: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -.01em; }
.hero p { font-size: 1.18rem; color: rgba(255,255,255,.9); margin: 22px 0 34px; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; object-fit: cover; }
.about__media .badge {
  position: absolute; right: -18px; bottom: -18px;
  background: var(--gold); color: #3b2417; font-family: var(--font-display);
  padding: 18px 22px; border-radius: 18px; box-shadow: var(--shadow-md); text-align: center; line-height: 1.05;
}
.about__media .badge b { display: block; font-size: 1.9rem; }
.about__media .badge span { font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.about__content h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 20px; }
.about__content p { color: var(--muted); }
.about__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.about__list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--text); }
.about__list li svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--terra); margin-top: 3px; }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.value-card {
  background: #fff; border-radius: var(--radius); padding: 34px 26px; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; color: #fff;
}
.value-icon svg { width: 30px; height: 30px; }
.value-icon.green  { background: var(--green); }
.value-icon.blue   { background: #2E6FB0; }
.value-icon.leaf   { background: #57972f; }
.value-icon.gold   { background: var(--gold); }
.value-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.value-card p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Products ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card__img { aspect-ratio: 4/3; overflow: hidden; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__img img { transform: scale(1.06); }
.product-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-card__body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.product-card__body p { color: var(--muted); font-size: .95rem; flex: 1; }
.product-link {
  margin-top: 14px; font-weight: 700; color: var(--terra); font-size: .95rem;
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  transition: gap .2s;
}
.product-link:hover { gap: 12px; color: var(--terra-dark); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact__info h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.contact__info > p { color: var(--muted); margin-bottom: 30px; }
.contact-list { display: grid; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: center; }
.contact-item__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: 0 0 auto; }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item.mail  .contact-item__icon { background: var(--terra); }
.contact-item.wa    .contact-item__icon { background: var(--wa); }
.contact-item.fb    .contact-item__icon { background: #1877F2; }
.contact-item.loc   .contact-item__icon { background: var(--gold); }
.contact-item small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.contact-item b { font-weight: 600; font-size: 1.02rem; color: var(--brown); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; color: var(--brown); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--cream); font-family: inherit; font-size: 1rem; color: var(--text);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--terra); background: #fff;
  box-shadow: 0 0 0 3px rgba(180, 85, 47, .14);
}
.field textarea { resize: vertical; min-height: 130px; }
.contact-form .btn { width: 100%; justify-content: center; }
.form-note { text-align: center; font-size: .85rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- Footer ---------- */
.footer { background: var(--brown); color: rgba(255,255,255,.78); padding: 56px 0 28px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer .brand { color: #fff; }
.footer .brand__logo { background: var(--cream); border-radius: 50%; padding: 2px; width: 72px; height: 72px; }
.footer__col h4 { color: #fff; font-family: var(--font-body); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__col a:hover { color: var(--gold); }
.footer__about { max-width: 320px; font-size: .95rem; }
.footer__about .brand { margin-bottom: 14px; }
.footer__bottom { padding-top: 22px; text-align: center; font-size: .85rem; color: rgba(255,255,255,.6); }

/* ---------- Floating WhatsApp + scroll top ---------- */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-md);
  transition: transform .2s ease, box-shadow .2s ease;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; }
.fab--wa { background: var(--wa); }
.fab--top {
  right: 22px; bottom: 88px; width: 46px; height: 46px; background: var(--brown-2);
  opacity: 0; pointer-events: none; transform: translateY(10px);
}
.fab--top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fab--top svg { width: 22px; height: 22px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile menu backdrop ---------- */
.backdrop { position: fixed; inset: 0; background: rgba(8,38,21,.5); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 98; }
.backdrop.show { opacity: 1; pointer-events: auto; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: 44px; }
  .about__media { max-width: 520px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .header .nav-right { gap: 10px; }

  .nav-links {
    position: fixed; top: 72px; right: 0; z-index: 99;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--cream); width: min(80vw, 320px); height: calc(100vh - 72px);
    padding: 26px; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .3s ease;
  }
  .nav-links.open { display: flex; transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; padding: 10px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-links > li:last-child { display: block; }
  .nav-links .btn--wa { margin-top: 16px; border-bottom: 0; }
}

@media (max-width: 560px) {
  .brand__text { display: none; }
  .footer .brand__text { display: inline; }
  .section { padding: 68px 0; }
  .values-grid, .products-grid { grid-template-columns: 1fr; }
  .hero { background-attachment: scroll; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .about__media .badge { right: 12px; }
  .contact-form { padding: 24px; }
  .footer__top { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { transition: none; opacity: 1; transform: none; }
}

.about__sub { font-size: 1.25rem; margin: 22px 0 10px; color: var(--terra); }

.footer address { font-style: normal; line-height: 1.7; max-width: 260px; }

.footer__col li a { display: inline-flex; align-items: center; gap: 10px; }
.footer .emo { font-size: 1.1rem; line-height: 1; width: 1.5rem; text-align: center; flex: 0 0 auto; }
.footer address { display: flex; align-items: flex-start; gap: 10px; }

.footer .ico { width: 1.5rem; height: 1.5rem; flex: 0 0 auto; }
.footer .ico--wa { color: #25D366; }
.footer .ico--fb { color: #4C8DF6; }

.footer .ico--mail { color: #E0B554; }

/* ---------- Galerie « Notre histoire » ---------- */
.gallery { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; background: #0d2418; }
.gallery__track { position: absolute; inset: 0; }
.gallery__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .7s ease; }
.gallery__slide.is-active { opacity: 1; z-index: 1; }
.gallery__slide img, .gallery__slide video { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; box-shadow: none; aspect-ratio: auto; }
.gallery__slide video { object-fit: contain; background: #0d2418; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); color: var(--brown); font-size: 1.7rem; line-height: 1; display: grid; place-items: center; padding: 0 0 4px; box-shadow: var(--shadow-sm); transition: background .18s, transform .18s; }
.gallery__nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery__dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.gallery__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.55); transition: background .2s, width .2s; }
.gallery__dots button.active { background: var(--gold); width: 24px; border-radius: 6px; }

.gallery__slide img { object-position: center 40%; }

/* ---------- Badge « 18 ans » : toujours visible + animé ---------- */
.about__media .badge {
  z-index: 10;
  overflow: hidden;
  animation: badgeFloat 3.2s ease-in-out infinite, badgePulse 2.4s ease-out infinite;
}
.about__media .badge b { font-size: 2.2rem; }
.about__media .badge::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-20deg); animation: badgeShine 3.6s ease-in-out infinite;
}
@keyframes badgeFloat { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
@keyframes badgePulse { 0% { box-shadow: 0 0 0 0 rgba(176,132,37,.55), var(--shadow-md); } 70%,100% { box-shadow: 0 0 0 22px rgba(176,132,37,0), var(--shadow-md); } }
@keyframes badgeShine { 0%,55% { left: -80%; } 100% { left: 140%; } }
@media (prefers-reduced-motion: reduce) { .about__media .badge, .about__media .badge::after { animation: none; } }

.brand { font-size: 1.2rem; }
