:root {
  --green-deep: #1a3d2b;
  --green-mid: #2d6a4f;
  --green-fresh: #52b788;
  --green-light: #b7e4c7;
  --green-pale: #d8f3dc;
  --sand: #f5efe0;
  --sand-dark: #e8dcc8;
  --cream: #faf7f2;
  --dark: #111c17;
  --text: #2d3a33;
  --text-light: #607568;
  --white: #ffffff;
  --accent: #e07b39;
  --accent-light: #f4a261;
  --shadow: 0 4px 24px rgba(26,61,43,0.12);
  --shadow-lg: 0 12px 48px rgba(26,61,43,0.18);
  --radius: 16px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ─── HEADER ─────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,61,43,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.logo-leaf {
  width: 32px;
  height: 32px;
  background: var(--green-fresh);
  border-radius: 50% 0 50% 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
nav { display: flex; align-items: center; gap: 0.25rem; }
nav a {
  color: var(--green-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}
nav a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.cart-btn {
  position: relative;
  background: var(--green-fresh);
  color: var(--white);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  white-space: nowrap;
}
.cart-btn:hover { background: #3da06d; transform: translateY(-1px); }
.cart-count {
  background: var(--accent);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ─── HERO ─────────────────────────────────── */
#accueil {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(82,183,136,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(29,95,65,0.25) 0%, transparent 50%),
    linear-gradient(155deg, #1a3d2b 0%, #0d2318 100%);
  display: flex;
  align-items: center;
  padding: 7rem 2rem 4rem;
  overflow: hidden;
  position: relative;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(82,183,136,0.04) 0, rgba(82,183,136,0.04) 1px, transparent 0, transparent 50%);
  background-size: 20px 20px;
  pointer-events: none;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(82,183,136,0.15);
  border: 1px solid rgba(82,183,136,0.3);
  color: var(--green-fresh);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-title span { color: var(--green-fresh); display: block; }
.hero-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
  max-width: 480px;
}
.hero-desc a { color: var(--green-fresh); text-decoration: underline; text-underline-offset: 3px; }
.hero-desc a:hover { color: var(--green-light); }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--green-fresh);
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s;
}
.btn-primary:hover { background: #3da06d; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(82,183,136,0.35); }
.btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.3);
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.hero-visual { display: flex; flex-direction: column; gap: 1rem; }
.hero-card-main {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}
.hero-svg {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--green-mid), var(--green-deep));
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1rem;
}
.hero-svg-grass { position: absolute; bottom: 0; left: 0; right: 0; height: 80%; }
.stats-row { display: flex; gap: 1rem; }
.stat-card {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}
.stat-num { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 800; color: var(--green-fresh); }
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 0.2rem; }

/* ─── SECTION GÉNÉRIQUE ─────────────────── */
section { padding: 5rem 2rem; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-fresh); margin-bottom: 0.75rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--green-deep); line-height: 1.2; margin-bottom: 1.25rem; }
.section-desc { font-size: 1.05rem; line-height: 1.7; color: var(--text-light); max-width: 560px; }

/* ─── PRODUCTS ──────────────────────────── */
#produits { background: var(--cream); }
.products-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; flex-wrap: wrap; gap: 1.5rem; }
.filter-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-tab {
  background: var(--sand);
  border: none;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-tab.active, .filter-tab:hover { background: var(--green-deep); color: white; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-badge.new { background: var(--green-mid); }
.product-badge.promo { background: var(--accent); }
.product-img-wrap { overflow: hidden; position: relative; }
.product-icon-fallback {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  transition: transform 0.4s ease;
}
.product-card:hover .product-icon-fallback { transform: scale(1.04); }
.product-body { padding: 1.25rem; }
.product-cat { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-fresh); margin-bottom: 0.4rem; }
.product-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 600; color: var(--green-deep); margin-bottom: 0.5rem; line-height: 1.3; }
.product-desc { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; margin-bottom: 1rem; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.product-price { font-size: 1.3rem; font-weight: 700; color: var(--green-deep); }
.product-price-old { font-size: 0.85rem; color: var(--text-light); text-decoration: line-through; margin-left: 0.4rem; }
.add-to-cart {
  background: var(--green-deep);
  color: white;
  border: none;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
  white-space: nowrap;
}
.add-to-cart:hover { background: var(--green-mid); transform: scale(1.03); }
.add-to-cart.added { background: var(--green-fresh); animation: bounce 0.4s ease; }
@keyframes bounce { 0%,100% { transform: scale(1); } 50% { transform: scale(1.1); } }

/* ─── WHY US ─────────────────────────────── */
#pourquoi { background: var(--green-deep); color: white; }
#pourquoi .section-title { color: white; }
#pourquoi .section-label { color: var(--green-light); }
#pourquoi .section-desc { color: rgba(255,255,255,0.65); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.feature-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.3s;
}
.feature-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.feature-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.feature-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: 0.5rem; }
.feature-text { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* ─── FAQ ────────────────────────────────── */
#faq { background: var(--sand); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; margin-top: 3rem; }
.faq-sidebar { position: sticky; top: 6rem; align-self: start; }
.faq-side-img {
  background: linear-gradient(135deg, var(--green-mid), var(--green-deep));
  border-radius: 20px;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
}
.faq-emoji { font-size: 4rem; }
.faq-side-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: white; }
.faq-side-text { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.6; }
.faq-side-link {
  color: var(--green-light);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: all 0.2s;
}
.faq-side-link:hover { background: rgba(255,255,255,0.1); color: white; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--green-deep);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--green-mid); }
.faq-arrow { font-size: 1.1rem; transition: transform 0.3s; flex-shrink: 0; color: var(--green-fresh); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.25s; padding: 0 1.5rem; }
.faq-item.open .faq-answer { max-height: 300px; padding: 0 1.5rem 1.25rem; }
.faq-answer p { font-size: 0.92rem; line-height: 1.7; color: var(--text-light); }
.faq-answer a { color: var(--green-mid); font-weight: 600; text-decoration: underline; }

/* ─── CART DRAWER ────────────────────────── */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1998; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed;
  right: 0; top: 0; bottom: 0;
  width: min(420px, 100vw);
  background: white;
  z-index: 1999;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.2);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.23,1,0.32,1);
}
.cart-drawer.open { transform: translateX(0); }
.cart-header { padding: 1.5rem; border-bottom: 1px solid var(--sand-dark); display: flex; justify-content: space-between; align-items: center; background: var(--green-deep); color: white; }
.cart-header h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; }
.cart-close { background: rgba(255,255,255,0.15); border: none; color: white; width: 36px; height: 36px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.cart-close:hover { background: rgba(255,255,255,0.25); }
.cart-items { flex: 1; overflow-y: auto; padding: 1.25rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--text-light); }
.cart-empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.cart-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--sand); align-items: flex-start; }
.cart-item-icon { width: 60px; height: 60px; background: var(--green-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 0.9rem; color: var(--green-deep); margin-bottom: 0.3rem; }
.cart-item-price { font-size: 0.85rem; color: var(--text-light); }
.cart-item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.6rem; }
.qty-btn { width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--sand-dark); background: white; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--green-deep); font-weight: 700; transition: all 0.15s; }
.qty-btn:hover { background: var(--green-deep); color: white; border-color: var(--green-deep); }
.qty-val { font-size: 0.9rem; font-weight: 600; min-width: 20px; text-align: center; }
.remove-item { background: none; border: none; color: #e74c3c; font-size: 0.8rem; cursor: pointer; padding: 0; margin-left: auto; transition: transform 0.2s; }
.remove-item:hover { transform: scale(1.2); }
.cart-footer { padding: 1.25rem; border-top: 1px solid var(--sand-dark); background: var(--cream); }
.cart-subtotal { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-size: 0.9rem; color: var(--text-light); }
.cart-total { display: flex; justify-content: space-between; font-size: 1.15rem; font-weight: 700; color: var(--green-deep); margin-bottom: 1.25rem; padding-top: 0.75rem; border-top: 1px solid var(--sand-dark); }
.checkout-btn { width: 100%; background: var(--green-deep); color: white; border: none; padding: 1rem; border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 700; cursor: pointer; transition: all 0.25s; letter-spacing: 0.02em; }
.checkout-btn:hover { background: var(--green-mid); transform: translateY(-1px); }
.shopify-secure { text-align: center; margin-top: 0.75rem; font-size: 0.75rem; color: var(--text-light); display: flex; align-items: center; justify-content: center; gap: 0.4rem; }

/* ─── TOAST ───────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--green-deep);
  color: white;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  z-index: 3000;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: transform 0.35s cubic-bezier(0.23,1,0.32,1);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ─── FOOTER ──────────────────────────────── */
footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 4rem 2rem 2rem; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { color: white; margin-bottom: 1rem; display: inline-flex; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.5); }
.footer-socials { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social-btn { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; font-size: 1rem; text-decoration: none; transition: all 0.2s; }
.social-btn:hover { background: var(--green-mid); transform: translateY(-2px); }
.footer-col h4 { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: white; margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--green-fresh); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.75rem; font-size: 0.88rem; color: rgba(255,255,255,0.5); }
.footer-contact-item span:first-child { flex-shrink: 0; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin-bottom: 1.5rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: var(--green-fresh); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,0.35); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-legal a:hover { color: var(--green-fresh); }

/* ─── MOBILE NAV ──────────────────────────── */
.mobile-nav {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--green-deep);
  z-index: 999;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(-110%);
  transition: transform 0.3s ease;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a { color: rgba(255,255,255,0.85); text-decoration: none; padding: 0.75rem 1rem; border-radius: 8px; font-weight: 500; transition: all 0.2s; }
.mobile-nav a:hover { background: rgba(255,255,255,0.08); color: white; }

/* ─── RESPONSIVE ──────────────────────────── */
@media (max-width: 900px) {
  nav, .desktop-only { display: none !important; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-sidebar { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 580px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── SCROLLBAR ───────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--green-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-mid); }
