/* ═══════════════════════════════════════════════
   SZ Cooking — Website Vitrine
   Charte : olive / terre / doré / crème
   ═══════════════════════════════════════════════ */

:root {
  --bg-cream:      #FAF6F1;
  --bg-warm:       #F0EBE3;
  --bg-card:       #FFFFFF;
  --olive:         #76865A;
  --olive-dark:    #5F6E48;
  --olive-light:   #E8EDDF;
  --terre:         #B08968;
  --terre-light:   #F0E0D0;
  --dore:          #C7A24F;
  --dore-light:    #FFF3D6;
  --text-primary:  #2D2D2D;
  --text-secondary:#5C4A3A;
  --text-muted:    #8C7B6B;
  --border:        rgba(0,0,0,0.08);
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.12);
  --radius:        16px;
  --radius-sm:     10px;
  --radius-xs:     6px;
  --font-main:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width:     1140px;
  --section-pad:   100px 0;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-main);
  background: var(--bg-cream);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--olive-dark); }

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

/* ── HEADER / NAV ────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250,246,241,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; height: 68px; gap: 12px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.2rem; font-weight: 700; color: var(--olive-dark);
  text-decoration: none; flex-shrink: 0;
}
.nav-logo img { width: 36px; height: 36px; border-radius: 8px; }

.nav-links {
  display: flex; align-items: center; gap: 4px; margin-left: auto;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px; font-size: 0.85rem; font-weight: 500;
  color: var(--text-secondary); border-radius: var(--radius-xs);
  transition: all 0.2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--olive-dark); background: var(--olive-light); }

.nav-cta {
  background: var(--olive); color: #fff !important; border-radius: var(--radius-sm);
  padding: 9px 20px !important; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--olive-dark); color: #fff !important; }

/* Language selector */
.lang-selector { position: relative; margin-left: 8px; }
.lang-btn {
  background: none; border: 1px solid var(--border); border-radius: var(--radius-xs);
  padding: 6px 10px; font-size: 0.8rem; font-family: var(--font-main);
  cursor: pointer; color: var(--text-secondary); transition: all 0.2s;
}
.lang-btn:hover { border-color: var(--olive); }
.lang-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  min-width: 120px; overflow: hidden; z-index: 100;
}
.lang-dropdown.open { display: block; }
.lang-option {
  display: block; width: 100%; padding: 10px 14px; border: none; background: none;
  font-size: 0.85rem; font-family: var(--font-main); cursor: pointer;
  text-align: left; color: var(--text-secondary); transition: background 0.15s;
}
.lang-option:hover { background: var(--olive-light); color: var(--olive-dark); }

/* Mobile menu */
.nav-burger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--text-primary); font-size: 1.4rem;
}

/* ── HERO ─────────────────────────────────────── */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-warm) 100%);
  text-align: center;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800;
  line-height: 1.2; color: var(--text-primary);
  margin-bottom: 20px; letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.15rem); color: var(--text-secondary);
  max-width: 640px; margin: 0 auto 36px; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm); font-size: 0.95rem;
  font-weight: 600; font-family: var(--font-main); cursor: pointer;
  border: none; transition: all 0.25s; text-decoration: none;
}
.btn-primary { background: var(--olive); color: #fff; box-shadow: 0 4px 14px rgba(118,134,90,0.3); }
.btn-primary:hover { background: var(--olive-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(118,134,90,0.4); }
.btn-secondary { background: transparent; color: var(--olive-dark); border: 2px solid var(--olive); }
.btn-secondary:hover { background: var(--olive-light); }

.hero-story-badge {
  display: inline-block; margin-top: 40px; padding: 12px 24px;
  background: var(--bg-card); border-radius: 50px;
  box-shadow: var(--shadow-sm); font-size: 0.85rem;
  color: var(--text-muted); font-style: italic;
}

/* ── SECTION COMMON ──────────────────────────── */
.section { padding: var(--section-pad); }
.section-alt { background: var(--bg-warm); }

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700;
  text-align: center; margin-bottom: 12px; color: var(--text-primary);
}
.section-subtitle {
  text-align: center; font-size: 1.05rem; color: var(--text-muted);
  max-width: 560px; margin: 0 auto 56px;
}

/* ── CONCEPT (3 cards) ───────────────────────── */
.concept-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.concept-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 36px 28px;
  box-shadow: var(--shadow-sm); text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.concept-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.concept-icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 1.6rem;
}
.concept-icon.time { background: var(--olive-light); color: var(--olive); }
.concept-icon.waste { background: var(--terre-light); color: var(--terre); }
.concept-icon.access { background: var(--dore-light); color: var(--dore); }
.concept-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text-primary); }
.concept-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* ── HOW IT WORKS (3 steps) ──────────────────── */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  position: relative;
}
.steps-grid::before {
  content: ''; position: absolute; top: 40px; left: 16%; right: 16%;
  height: 2px; background: linear-gradient(90deg, var(--olive-light), var(--olive), var(--olive-light));
  z-index: 0;
}
.step-card { text-align: center; position: relative; z-index: 1; }
.step-number {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--olive); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 700; margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(118,134,90,0.3);
}
.step-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--text-primary); }
.step-card p { font-size: 0.9rem; color: var(--text-secondary); max-width: 280px; margin: 0 auto; }

.reassurance {
  text-align: center; margin-top: 48px; padding: 20px 32px;
  background: var(--olive-light); border-radius: var(--radius);
  color: var(--olive-dark); font-size: 0.95rem; font-style: italic;
}

/* ── STORY ────────────────────────────────────── */
.story-section { background: var(--bg-warm); }
.story-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.story-text p { margin-bottom: 16px; color: var(--text-secondary); font-size: 1rem; line-height: 1.8; }
.story-text strong { color: var(--text-primary); }
.story-signature { font-style: italic; color: var(--terre); font-weight: 600; margin-top: 24px; font-size: 1.05rem; }
.story-photo {
  background: var(--bg-card); border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.story-photo-placeholder {
  text-align: center; padding: 40px; color: var(--text-muted);
}
.story-photo-placeholder .emoji { font-size: 4rem; margin-bottom: 16px; display: block; }
.story-photo-placeholder p { font-size: 0.85rem; }

/* ── FEATURES ─────────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.feature-item {
  background: var(--bg-card); border-radius: var(--radius-sm);
  padding: 20px; text-align: center; font-size: 0.9rem;
  color: var(--text-secondary); box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}
.feature-item:hover { transform: translateY(-2px); }

/* ── EXAMPLES ─────────────────────────────────── */
.examples-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.example-card {
  background: var(--bg-card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s;
}
.example-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.example-before {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 24px; text-align: center; color: #fff; min-height: 140px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.example-before .platform-icon { font-size: 2rem; margin-bottom: 8px; }
.example-before h4 { font-size: 1rem; margin-bottom: 4px; }
.example-before .platform-tag { font-size: 0.75rem; opacity: 0.7; }
.example-arrow { text-align: center; padding: 8px; font-size: 1.2rem; color: var(--olive); }
.example-after {
  padding: 20px; text-align: center;
}
.example-after .result-tag {
  display: inline-block; background: var(--olive-light); color: var(--olive-dark);
  padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 600;
}

/* ── AUDIENCE ─────────────────────────────────── */
.audience-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.audience-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 32px 20px;
  text-align: center; box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
}
.audience-card:hover { transform: translateY(-3px); }
.audience-emoji { font-size: 2.8rem; margin-bottom: 14px; display: block; }
.audience-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--text-primary); }
.audience-card p { font-size: 0.85rem; color: var(--text-secondary); }

/* ── REVIEWS ──────────────────────────────────── */
.reviews-container {
  background: var(--bg-card); border-radius: var(--radius); padding: 48px;
  box-shadow: var(--shadow-sm); min-height: 200px;
  display: flex; align-items: center; justify-content: center;
}
.reviews-empty {
  text-align: center; color: var(--text-muted); font-size: 1rem;
}
.reviews-empty .emoji { font-size: 2.5rem; display: block; margin-bottom: 12px; }

/* Reviews grid — populated by AI agent */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; }
.review-card {
  background: var(--bg-cream); border-radius: var(--radius-sm); padding: 24px;
}
.review-stars { color: var(--dore); font-size: 0.9rem; margin-bottom: 8px; }
.review-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; font-style: italic; }
.review-author { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }

/* ── FAQ ──────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border); overflow: hidden;
}
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; background: none; border: none; cursor: pointer;
  font-family: var(--font-main); font-size: 1rem; font-weight: 600;
  color: var(--text-primary); text-align: left; gap: 16px;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--olive); }
.faq-icon {
  width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%;
  background: var(--olive-light); color: var(--olive);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s;
  font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer a { color: var(--olive); text-decoration: underline; }

/* ── CTA BOTTOM ──────────────────────────────── */
.cta-bottom {
  text-align: center; padding: 80px 0;
  background: linear-gradient(135deg, var(--olive-dark) 0%, var(--olive) 100%);
  color: #fff;
}
.cta-bottom .section-title { color: #fff; }
.cta-bottom .section-subtitle { color: rgba(255,255,255,0.8); }
.cta-bottom .btn-primary { background: #fff; color: var(--olive-dark); }
.cta-bottom .btn-primary:hover { background: var(--bg-cream); }
.cta-bottom .btn-secondary { color: #fff; border-color: rgba(255,255,255,0.5); }
.cta-bottom .btn-secondary:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ── FOOTER ──────────────────────────────────── */
.site-footer {
  background: var(--text-primary); color: rgba(255,255,255,0.6);
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; max-width: 280px; }
.footer-col h4 {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px;
  color: rgba(255,255,255,0.4); margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 0.85rem; color: rgba(255,255,255,0.6);
  padding: 4px 0; transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; flex-wrap: wrap; gap: 12px;
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--bg-cream); padding: 24px; gap: 8px;
    z-index: 999; overflow-y: auto;
  }
  .nav-links.open a { padding: 14px 16px; font-size: 1rem; }
  .nav-links.open .nav-cta { text-align: center; }

  .concept-grid, .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .story-inner { grid-template-columns: 1fr; gap: 32px; }
  .story-photo { max-width: 360px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .examples-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  :root { --section-pad: 64px 0; }
  .hero { padding: 120px 0 60px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .features-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .reviews-container { padding: 24px; }
}

/* ── ANIMATIONS ──────────────────────────────── */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
