/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #f0f0f0;
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.06); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, #2c5f2d, #4a8c3f);
  color: #fff; font-weight: 800; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 1px;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-weight: 700; font-size: 1.05rem; color: #1a1a1a; line-height: 1.2; }
.logo-tag { font-size: 0.7rem; color: #999; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

/* Nav */
.nav { display: flex; gap: 32px; }
.nav a {
  font-size: 0.9rem; font-weight: 500; color: #666;
  transition: color 0.2s; position: relative;
}
.nav a:hover { color: #2c5f2d; }
.nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: #2c5f2d; transition: width 0.3s;
}
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.cart-btn {
  position: relative; background: none; border: none; cursor: pointer;
  color: #1a1a1a; padding: 8px; border-radius: 8px;
  transition: background 0.2s;
}
.cart-btn:hover { background: #f5f5f5; }
.cart-count {
  position: absolute; top: 2px; right: 2px;
  background: #2c5f2d; color: #fff; font-size: 0.65rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* Menu burger */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span {
  display: block; width: 22px; height: 2px; background: #1a1a1a;
  margin: 5px 0; transition: 0.3s;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600; border: none; cursor: pointer;
  transition: all 0.25s ease; font-family: inherit;
}
.btn-primary {
  background: #2c5f2d; color: #fff;
  box-shadow: 0 2px 8px rgba(44,95,45,0.25);
}
.btn-primary:hover {
  background: #245025;
  box-shadow: 0 4px 16px rgba(44,95,45,0.35);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent; color: #1a1a1a;
  border: 2px solid #ddd;
}
.btn-outline:hover { border-color: #2c5f2d; color: #2c5f2d; }
.btn-block { width: 100%; }

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(165deg, #f9faf8 0%, #eef3ec 40%, #e8f0e5 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-label {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: rgba(44,95,45,0.1); color: #2c5f2d;
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.6rem; font-weight: 800; color: #1a1a1a;
  line-height: 1.15; margin-bottom: 20px;
}
.hero p {
  font-size: 1.1rem; color: #666; margin-bottom: 32px; line-height: 1.7;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 14px; margin-bottom: 36px; }
.hero-trust { display: flex; flex-direction: column; gap: 10px; }
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: #555; font-weight: 500;
}
.trust-item svg { color: #2c5f2d; flex-shrink: 0; }
.hero-img {
  display: flex; justify-content: center; align-items: center;
}
.hero-img img {
  max-height: 440px; width: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* ===== TRUST BAR ===== */
.trust-bar { padding: 0; background: #fff; border-bottom: 1px solid #f0f0f0; }
.trust-bar-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.trust-block {
  display: flex; align-items: center; gap: 14px;
  padding: 28px 20px;
  border-right: 1px solid #f0f0f0;
}
.trust-block:last-child { border-right: none; }
.trust-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #f4f8f3; color: #2c5f2d;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-block strong { display: block; font-size: 0.9rem; color: #1a1a1a; }
.trust-block span { display: block; font-size: 0.8rem; color: #999; }

/* ===== SECTIONS ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block; padding: 5px 14px; border-radius: 20px;
  background: rgba(44,95,45,0.08); color: #2c5f2d;
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 14px;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 800; color: #1a1a1a;
  margin-bottom: 12px;
}
.section-header p { font-size: 1.05rem; color: #888; max-width: 520px; margin: 0 auto; }

/* ===== PRODUCT FEATURES ===== */
.product { padding: 100px 0; background: #fafbfa; }
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.product-feature {
  background: #fff; border-radius: 16px; padding: 32px 24px;
  border: 1px solid #f0f0f0;
  transition: transform 0.3s, box-shadow 0.3s;
}
.product-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.pf-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, #eef5ed, #d9e8d7);
  color: #2c5f2d; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.product-feature h3 { font-size: 1.05rem; margin-bottom: 8px; color: #1a1a1a; }
.product-feature p { font-size: 0.9rem; color: #777; line-height: 1.6; }

/* ===== OFFERS ===== */
.offers { padding: 100px 0; background: #fff; }
.offers-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.offer-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid #eee;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.offer-card.best { border: 2px solid #2c5f2d; }
.best-tag {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  background: #2c5f2d; color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 6px 14px; border-radius: 8px;
}
.offer-img {
  background: linear-gradient(135deg, #f4f8f3, #e8f0e5);
  padding: 24px; display: flex; align-items: center; justify-content: center;
  min-height: 240px;
}
.offer-img img {
  max-height: 200px; width: auto; object-fit: contain;
  border-radius: 8px;
}
.offer-body { padding: 28px; }
.offer-badge {
  display: inline-block; padding: 4px 12px; border-radius: 6px;
  font-size: 0.75rem; font-weight: 700; background: #f0f0f0; color: #555;
  margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.3px;
}
.offer-badge.accent { background: #2c5f2d; color: #fff; }
.offer-body h3 { font-size: 1.3rem; margin-bottom: 8px; font-weight: 700; }
.offer-desc { font-size: 0.9rem; color: #888; margin-bottom: 16px; }
.offer-details { margin-bottom: 20px; }
.offer-details li {
  font-size: 0.85rem; color: #555; padding: 5px 0 5px 22px;
  position: relative;
}
.offer-details li::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 14px; height: 14px; border-radius: 50%;
  background: #e8f0e5; transform: translateY(-50%);
}
.offer-details li::after {
  content: "\2713"; position: absolute; left: 2px; top: 50%;
  transform: translateY(-50%); color: #2c5f2d; font-size: 0.7rem; font-weight: 700;
}
.offer-pricing {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px;
}
.offer-price { font-size: 2rem; font-weight: 800; color: #1a1a1a; }
.offer-old { font-size: 1rem; color: #ccc; text-decoration: line-through; }
.offer-save {
  font-size: 0.8rem; font-weight: 700; color: #fff; background: #e74c3c;
  padding: 3px 8px; border-radius: 6px;
}

/* ===== REVIEWS ===== */
.reviews { padding: 100px 0; background: #fafbfa; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: #fff; border-radius: 16px; padding: 28px;
  border: 1px solid #f0f0f0;
}
.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, #2c5f2d, #4a8c3f);
  color: #fff; font-size: 0.8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.review-top strong { font-size: 0.95rem; }
.stars { color: #f5a623; font-size: 0.85rem; letter-spacing: 1px; }
.review-card p { font-size: 0.9rem; color: #555; line-height: 1.6; margin-bottom: 14px; }
.review-badge {
  font-size: 0.75rem; color: #2c5f2d; font-weight: 600;
  background: #e8f0e5; padding: 4px 10px; border-radius: 4px;
}

/* ===== FAQ ===== */
.faq { padding: 100px 0; background: #fff; }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #f0f0f0; padding: 0;
}
.faq-item summary {
  padding: 20px 0; font-size: 1rem; font-weight: 600; color: #1a1a1a;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.3rem; color: #999; font-weight: 300;
  transition: transform 0.3s;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p {
  padding: 0 0 20px; font-size: 0.9rem; color: #777; line-height: 1.7;
}

/* ===== ABOUT ===== */
.about { padding: 100px 0; background: #fafbfa; }
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; margin-bottom: 20px; color: #1a1a1a;
}
.about-text p { font-size: 1rem; color: #666; margin-bottom: 14px; line-height: 1.7; }
.about-stats { display: flex; gap: 32px; margin-top: 28px; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 2rem; font-weight: 800; color: #2c5f2d; }
.stat-label { font-size: 0.8rem; color: #999; font-weight: 500; text-transform: uppercase; }
.about-img img {
  border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* ===== FOOTER ===== */
.footer { background: #0f1f10; color: #ccc; padding-top: 64px; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo .logo-mark { background: rgba(255,255,255,0.1); }
.footer-logo .logo-name { color: #fff; }
.footer-desc { font-size: 0.9rem; color: #888; margin-top: 16px; line-height: 1.6; }
.footer-col h4 {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: #fff; margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 0.88rem; color: #999; transition: color 0.2s;
}
.footer-col ul a:hover { color: #fff; }
.footer-contact li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; color: #999;
}
.footer-contact svg { color: #4a8c3f; flex-shrink: 0; }

/* Mentions légales */
.footer-legal {
  padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-legal h4 {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: #fff; margin-bottom: 24px;
}
.legal-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-bottom: 20px;
}
.legal-grid strong { display: block; font-size: 0.82rem; color: #fff; margin-bottom: 6px; }
.legal-grid p { font-size: 0.82rem; color: #777; line-height: 1.6; }
.legal-note { font-size: 0.78rem; color: #666; line-height: 1.7; }

/* Footer bottom */
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; font-size: 0.82rem; color: #666;
}
.footer-payments { display: flex; align-items: center; gap: 12px; }
.footer-payments span { font-size: 0.8rem; color: #666; }
.payment-icons { display: flex; gap: 6px; }
.pay-icon {
  padding: 4px 10px; border-radius: 4px; font-size: 0.72rem; font-weight: 700;
  background: rgba(255,255,255,0.08); color: #aaa;
}

/* ===== CART SIDEBAR ===== */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 200; opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed; top: 0; right: -440px; width: 420px; max-width: 92vw;
  height: 100vh; background: #fff; z-index: 201;
  display: flex; flex-direction: column;
  box-shadow: -4px 0 40px rgba(0,0,0,0.12);
  transition: right 0.35s ease;
}
.cart-sidebar.open { right: 0; }

.cart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 28px; border-bottom: 1px solid #f0f0f0;
}
.cart-header h2 { font-size: 1.2rem; font-weight: 700; }
.cart-close {
  background: none; border: none; font-size: 1.6rem;
  cursor: pointer; color: #999; line-height: 1;
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.cart-close:hover { background: #f5f5f5; color: #333; }

.cart-items { flex: 1; overflow-y: auto; padding: 20px 28px; }
.cart-empty { text-align: center; color: #ccc; padding: 60px 0; font-size: 0.95rem; }

.cart-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 1px solid #f5f5f5;
}
.cart-item-info h4 { font-size: 0.9rem; color: #1a1a1a; margin-bottom: 4px; font-weight: 600; }
.cart-item-info .cart-item-price { font-size: 0.85rem; color: #2c5f2d; font-weight: 700; }
.cart-item-actions { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid #eee;
  background: #fafafa; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; font-family: inherit;
}
.qty-btn:hover { background: #f0f0f0; border-color: #ddd; }
.cart-item-qty { font-weight: 700; min-width: 20px; text-align: center; font-size: 0.9rem; }
.cart-item-remove {
  background: none; border: none; color: #ddd; cursor: pointer;
  font-size: 1.1rem; margin-left: 6px; transition: color 0.2s;
  width: 28px; height: 28px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.cart-item-remove:hover { color: #e74c3c; background: #fef2f2; }

.cart-footer { padding: 20px 28px; border-top: 1px solid #f0f0f0; }
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1.05rem; margin-bottom: 6px;
}
.cart-total strong { color: #1a1a1a; font-size: 1.3rem; }
.cart-shipping { font-size: 0.8rem; color: #2c5f2d; margin-bottom: 16px; font-weight: 500; }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: #1a1a1a; color: #fff; padding: 14px 28px; border-radius: 12px;
  font-size: 0.9rem; font-weight: 500; opacity: 0;
  transition: all 0.4s ease; z-index: 300; pointer-events: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-block:nth-child(2) { border-right: none; }
  .legal-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 20px 24px; gap: 16px;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 2.4rem; }
  .hero p { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-trust { align-items: center; }
  .hero-img { order: -1; }
  .hero-img img { max-height: 300px; }
  .offers-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .trust-bar-inner { grid-template-columns: 1fr; }
  .trust-block { border-right: none; border-bottom: 1px solid #f0f0f0; }
  .trust-block:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .hero { padding: 110px 0 60px; }
  .hero h1 { font-size: 2rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
  .section-header h2 { font-size: 1.8rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product, .offers, .reviews, .faq, .about { padding: 60px 0; }
}
