:root {
  --forest-950: #10271d;
  --forest-900: #173c2b;
  --forest-800: #21523c;
  --forest-100: #dfe9df;
  --cream: #f7f4eb;
  --paper: #fffdf8;
  --ink: #18231d;
  --muted: #647069;
  --orange: #ef7c2e;
  --orange-dark: #d96117;
  --line: rgba(23, 60, 43, .14);
  --shadow: 0 24px 70px rgba(23, 49, 34, .14);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --section-space: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }

.section-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: var(--section-space) 0; }
.section-soft { background: #efeee5; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  border-bottom: 1px solid rgba(23, 60, 43, .08);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--forest-900); font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--cream); background: var(--forest-900); }
.header-cta { padding: 10px 17px; border-radius: 999px; color: #fff; background: var(--forest-900); font-weight: 700; text-decoration: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, .92fr);
  gap: 76px;
  align-items: center;
  min-height: auto;
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}
.eyebrow { display: inline-flex; margin: 0 0 22px; padding: 7px 13px; border-radius: 999px; background: rgba(23, 60, 43, .08); color: var(--forest-800); font-size: .75rem; font-weight: 800; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; }
.eyebrow-light { background: rgba(255,255,255,.12); color: #fff; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { color: var(--forest-950); font-family: "Prata", serif; font-weight: 400; line-height: 1.1; letter-spacing: -.035em; }
h1 { max-width: 720px; margin-bottom: 26px; font-size: clamp(3rem, 6vw, 5.65rem); }
h2 { margin-bottom: 22px; font-size: clamp(2.25rem, 4.2vw, 4rem); }
h3 { margin-bottom: 12px; color: var(--forest-950); font-size: 1.2rem; line-height: 1.35; }
.hero-lead { max-width: 650px; margin-bottom: 34px; color: #5f6b64; font-size: clamp(1.05rem, 1.55vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 0 27px; border: 0; border-radius: 999px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--forest-900); box-shadow: 0 12px 28px rgba(23, 60, 43, .2); }
.button-primary:hover { background: var(--forest-800); }
.button-accent { color: #fff; background: var(--orange); box-shadow: 0 14px 30px rgba(239, 124, 46, .28); }
.button-accent:hover { background: var(--orange-dark); }
.text-link { color: var(--forest-900); font-weight: 800; text-underline-offset: 5px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 32px 0 0; padding: 0; color: #6d766f; list-style: none; font-size: .9rem; }
.trust-row li:not(:first-child)::before { margin-right: 22px; color: #a8afa9; content: "•"; }

.hero-visual { position: relative; min-height: 590px; }
.portrait-card { position: absolute; inset: 0 0 58px 64px; margin: 0; overflow: hidden; border: 12px solid rgba(255,255,255,.82); border-radius: 34px; box-shadow: var(--shadow); }
.portrait-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.book-card { position: absolute; left: 0; bottom: 0; width: min(43%, 220px); margin: 0; transform: rotate(-5deg); filter: drop-shadow(0 22px 24px rgba(22, 38, 27, .28)); transition: transform .3s ease; }
.hero-visual:hover .book-card { transform: rotate(-3deg) translateY(-5px); }
.book-card img { border-radius: 8px 14px 14px 8px; }

.section-heading-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 60px; align-items: end; margin-bottom: 24px; }
.section-heading-row h2, .section-heading-row p { margin-bottom: 0; }
.section-heading-row p { color: var(--muted); font-size: 1.05rem; }
.situation-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.situation-card { position: relative; min-height: 290px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.58); }
.situation-card::after { position: absolute; right: -34px; bottom: -52px; width: 140px; height: 140px; border: 1px solid rgba(23, 60, 43, .12); border-radius: 50%; content: ""; }
.card-number { display: block; margin-bottom: 60px; color: var(--orange); font-size: .85rem; font-weight: 800; letter-spacing: .08em; }
.situation-card p, .category-card p { margin-bottom: 0; color: var(--muted); font-size: .94rem; }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.category-card { min-height: 240px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); transition: transform .2s ease, box-shadow .2s ease; }
.category-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(25, 51, 36, .08); }
.category-card.featured { color: #fff; background: var(--forest-900); }
.category-card.featured h3, .category-card.featured p, .category-card.featured .recipe-count { color: #fff; }
.category-icon { display: block; margin-bottom: 34px; font-size: 1.8rem; }
.recipe-count { margin-bottom: 8px !important; color: var(--orange) !important; font-size: .76rem !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.safety-note { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; padding: 22px 24px; border-radius: var(--radius-sm); color: var(--forest-900); background: var(--forest-100); }
.safety-note strong { margin-right: auto; }
.safety-note span { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.62); font-size: .84rem; font-weight: 700; }

.order-section { color: #fff; background: var(--forest-950); }
.order-layout { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr); gap: 90px; align-items: center; }
.order-book { padding: 30px 36px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 20%, rgba(239,124,46,.22), transparent 55%), rgba(255,255,255,.05); }
.order-book img { width: min(100%, 350px); margin-inline: auto; border-radius: 8px 16px 16px 8px; box-shadow: 0 32px 70px rgba(0,0,0,.4); transform: rotate(-2deg); }
.order-copy h2 { color: #fff; }
.order-intro { color: rgba(255,255,255,.68); font-size: 1.07rem; }
.feature-list { display: grid; gap: 16px; margin: 30px 0 34px; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 34px; }
.feature-list li::before { position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: var(--forest-950); background: #f0a465; content: "✓"; font-size: .8rem; font-weight: 900; }
.feature-list strong, .feature-list span { display: block; }
.feature-list span { color: rgba(255,255,255,.62); font-size: .9rem; }
.price-row { display: flex; align-items: baseline; gap: 18px; }
.old-price { color: rgba(255,255,255,.42); font-size: 1.15rem; text-decoration: line-through; }
.price { color: #fff; font-family: "Prata", serif; font-size: 3.4rem; line-height: 1; }
.price-note, .delivery-note { color: rgba(255,255,255,.58); font-size: .84rem; }
.checkout-button { min-width: 260px; margin: 10px 0 14px; }

.author-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 74px; align-items: center; }
.author-image { aspect-ratio: 4/3; margin: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.author-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.author-lead { color: var(--forest-900); font-size: 1.22rem; font-weight: 700; }
.author-copy > p:last-child { color: var(--muted); }

.slider-controls { display: flex; gap: 8px; justify-self: end; }
.slider-button { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; color: var(--forest-900); background: transparent; font-size: 1.2rem; cursor: pointer; }
.slider-button:hover { background: var(--forest-100); }
.reviews-track { display: grid; grid-auto-columns: minmax(330px, 1fr); grid-auto-flow: column; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.review-card { min-height: 300px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); scroll-snap-align: start; }
.stars { margin-bottom: 24px; color: var(--orange); letter-spacing: .15em; }
blockquote { margin: 0 0 28px; color: #334039; font-size: 1.03rem; }
.reviewer { margin-bottom: 0; color: var(--forest-900); font-weight: 800; }

.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.faq-intro { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 23px 50px 23px 0; color: var(--forest-950); font-size: 1.05rem; font-weight: 800; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { position: absolute; right: 4px; top: 20px; content: "+"; color: var(--orange); font-size: 1.5rem; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { padding: 0 50px 22px 0; color: var(--muted); }

.final-cta { padding: var(--section-space) 0; text-align: center; background: linear-gradient(135deg, var(--forest-800), var(--forest-950)); }
.final-cta h2 { max-width: 780px; margin: 0 auto 30px; color: #fff; }
.final-cta-inner { display: flex; flex-direction: column; align-items: center; }

.site-footer { padding: var(--section-space) 0 20px; color: #d8e0da; background: #0b1b14; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 40px; }
.footer-brand { color: #fff; }
.footer-grid p, .footer-grid a { color: #aebbb2; font-size: .88rem; }
.footer-grid nav, .footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact { text-align: right; }
.legal-disclaimer { margin-top: 38px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); color: #819086; font-size: .78rem; }

.mobile-bar { display: none; }
.checkout-dialog { width: min(500px, calc(100% - 32px)); padding: 36px; border: 0; border-radius: 24px; color: var(--ink); background: var(--paper); box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.checkout-dialog::backdrop { background: rgba(8, 19, 13, .72); backdrop-filter: blur(4px); }
.checkout-dialog h2 { font-size: 2.2rem; }
.dialog-close { position: absolute; right: 14px; top: 10px; border: 0; color: var(--muted); background: none; font-size: 2rem; cursor: pointer; }
.dialog-ok { width: 100%; margin-top: 10px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 650px; }
  .portrait-card { inset: 0 0 60px 13%; }
  .book-card { width: 210px; }
  .situation-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .order-layout, .author-layout { gap: 50px; }
}

@media (max-width: 760px) {
  :root { --section-space: 20px; }
  body { padding-bottom: 76px; }
  .section-shell { width: min(100% - 28px, 640px); }
  .site-header { min-height: 64px; padding: 10px 16px; }
  .header-cta { display: none; }
  .hero { gap: 24px; }
  h1 { font-size: clamp(2.75rem, 13vw, 4.3rem); }
  h2 { font-size: clamp(2.2rem, 10vw, 3.25rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .trust-row { display: grid; gap: 7px; }
  .trust-row li:not(:first-child)::before { margin-right: 8px; }
  .hero-visual { min-height: 500px; }
  .portrait-card { inset: 0 0 46px 7%; border-width: 8px; border-radius: 24px; }
  .book-card { width: 150px; }
  .section-heading-row, .order-layout, .author-layout, .faq-layout, .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-heading-row { gap: 20px; margin-bottom: 20px; }
  .situation-grid, .category-grid { grid-template-columns: 1fr; }
  .situation-card { min-height: auto; }
  .card-number { margin-bottom: 36px; }
  .category-card { min-height: auto; }
  .order-layout { gap: 24px; }
  .order-book { padding: 26px 46px; }
  .price { font-size: 3rem; }
  .checkout-button { width: 100%; }
  .author-image { aspect-ratio: 1/1; }
  .slider-controls { justify-self: start; }
  .reviews-track { grid-auto-columns: 88%; }
  .footer-contact { text-align: left; }
  .mobile-bar { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; display: block; padding: 10px 14px; border-top: 1px solid rgba(23,60,43,.12); background: rgba(247,244,235,.94); backdrop-filter: blur(14px); }
  .mobile-bar .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
