/* =========================================================
   Chef Liliane Marques — Design System
   Mobile-first (390px base). Warm homemade Brazilian kitchen.
   Palette: creme / sage / terracota. Fonts: Fraunces + Nunito Sans.
   ========================================================= */

:root {
  /* --- Palette --- */
  --creme:        #FBF6EC;   /* page background */
  --creme-soft:   #F5ECDA;   /* alt section */
  --card:         #FFFDF8;   /* card surface */
  --sage:         #7D8F6E;   /* sage accent */
  --sage-deep:    #5E6E50;   /* deep sage text accent */
  --sage-soft:    #E7ECDF;   /* sage tint surface */
  --terra:        #C2603C;   /* terracota — primary CTA */
  --terra-deep:   #A84E2E;   /* terracota pressed */
  --terra-soft:   #F6E3D8;   /* terracota tint */
  --honey:        #D99A4E;   /* golden highlight */
  --honey-soft:   #FBEFD6;
  --ink:          #3A2C22;   /* main text — warm dark brown */
  --ink-soft:     #5C4A3D;   /* secondary text */
  --line:         #E6D9C4;   /* hairline borders */
  --ok:           #5E6E50;
  --danger:       #B5503E;

  /* --- Type --- */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* --- Radius / shadow --- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(58,44,34,.07);
  --shadow-md: 0 8px 24px rgba(58,44,34,.12);
  --shadow-cta: 0 8px 20px rgba(194,96,60,.32);

  /* --- Layout --- */
  --maxw: 640px;
  --pad: 20px;

  /* z-index scale */
  --z-sticky: 40;
  --z-top: 50;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--terra-deep); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: 44px 0; }
.section--tight { padding: 30px 0; }
.section--creme-soft { background: var(--creme-soft); }
.section--sage { background: var(--sage-soft); }
.center { text-align: center; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.16; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: 32px; font-weight: 650; }
h2 { font-size: 26px; }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.lead { font-size: 19px; color: var(--ink-soft); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 14px;
}
.hl { color: var(--terra-deep); font-style: italic; }
.hl-mark { background: linear-gradient(transparent 55%, var(--honey-soft) 55%); padding: 0 2px; }
strong { font-weight: 800; color: var(--ink); }

/* ---------- Buttons / CTA ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 60px;
  padding: 16px 22px;
  border: none;
  border-radius: var(--r-pill);
  background: var(--terra);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-cta);
  transition: background-color .2s ease, transform .12s ease;
}
.btn:hover { background: var(--terra-deep); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--sage-deep); outline-offset: 3px; }
.btn small { display: block; font-weight: 600; font-size: 13px; opacity: .92; margin-top: 2px; }
.btn .btn-stack { display: flex; flex-direction: column; line-height: 1.18; }
.btn--ghost { background: transparent; color: var(--terra-deep); box-shadow: none; border: 2px solid var(--terra); }
.btn--ghost:hover { background: var(--terra-soft); }
.btn .ic { width: 22px; height: 22px; flex: 0 0 auto; }

.cta-sub { font-size: 14px; color: var(--ink-soft); margin-top: 12px; text-align: center; }
.cta-sub svg { width: 15px; height: 15px; vertical-align: -2px; color: var(--sage-deep); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-sticky);
  background: rgba(251,246,236,.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom, 0px));
  transform: translateY(120%);
  transition: transform .3s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .wrap { padding: 0; display: flex; align-items: center; gap: 12px; }
.sticky-cta .sc-price { flex: 0 0 auto; line-height: 1.05; }
.sticky-cta .sc-price b { font-family: var(--font-head); font-size: 22px; color: var(--terra-deep); display: block; }
.sticky-cta .sc-price s { font-size: 13px; color: var(--ink-soft); }
.sticky-cta .btn { flex: 1; min-height: 52px; font-size: 16px; }

/* ---------- Header ---------- */
.site-head {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px var(--pad);
  background: var(--creme);
  border-bottom: 1px solid var(--line);
}
.site-head .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.site-head .mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--terra-soft); color: var(--terra-deep);
  display: grid; place-items: center; flex: 0 0 auto;
}
.site-head .mark svg { width: 22px; height: 22px; }
.site-head .bname { font-family: var(--font-head); font-weight: 600; font-size: 18px; line-height: 1; }
.site-head .btag { font-size: 11px; color: var(--sage-deep); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Hero ---------- */
.hero { padding: 30px 0 36px; }
.hero .pill-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 18px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 7px 13px;
  font-size: 13px; font-weight: 700; color: var(--sage-deep);
  box-shadow: var(--shadow-sm);
}
.pill svg { width: 15px; height: 15px; color: var(--sage); }
.hero h1 { font-size: 33px; }
.hero-img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  margin: 22px auto 0;
  border: 1px solid var(--line);
}

/* ---------- Cards / boxes ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.note {
  background: var(--honey-soft);
  border: 1px solid #EAD4A6;
  border-left: 5px solid var(--honey);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  margin: 22px 0;
  font-size: 16px;
}
.note.sage { background: var(--sage-soft); border-color: #C9D4BC; border-left-color: var(--sage); }

/* ---------- Pain list ---------- */
.pain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pain-list li {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 14px 16px; box-shadow: var(--shadow-sm);
}
.pain-list .ic { flex: 0 0 auto; width: 26px; height: 26px; color: var(--danger); margin-top: 1px; }
.pain-list b { display: block; }

/* ---------- Check list ---------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ic { flex: 0 0 auto; width: 24px; height: 24px; color: var(--sage); margin-top: 2px; }

/* ---------- Mechanism steps ---------- */
.steps { display: grid; gap: 14px; counter-reset: step; }
.step {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px; box-shadow: var(--shadow-sm);
}
.step .num {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
  background: var(--terra-soft); color: var(--terra-deep);
  font-family: var(--font-head); font-weight: 600; font-size: 19px;
  display: grid; place-items: center;
}
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; font-size: 16px; color: var(--ink-soft); }

/* ---------- Comparison table ---------- */
.compare {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm);
  font-size: 15px;
}
.compare th, .compare td { padding: 13px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--creme-soft); font-family: var(--font-body); font-weight: 800; font-size: 13px; }
.compare thead th.ours { background: var(--sage-deep); color: #fff; }
.compare td.ours { background: var(--sage-soft); font-weight: 700; }
.compare tr:last-child td { border-bottom: none; }
.compare .x { color: var(--danger); font-weight: 800; }
.compare .v { color: var(--sage-deep); font-weight: 800; }
.compare td:first-child, .compare th:first-child { font-weight: 700; }

/* ---------- Testimonials ---------- */
.testi {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 20px; box-shadow: var(--shadow-sm);
}
.testi + .testi { margin-top: 14px; }
.testi .stars { color: var(--honey); margin-bottom: 8px; display: flex; gap: 2px; }
.testi .stars svg { width: 18px; height: 18px; }
.testi p { font-size: 16px; font-style: italic; color: var(--ink); }
.testi .who { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.testi .av {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  background: var(--terra-soft); color: var(--terra-deep);
  display: grid; place-items: center; font-weight: 800; font-family: var(--font-head);
}
.testi .who b { display: block; font-size: 15px; }
.testi .who span { font-size: 13px; color: var(--ink-soft); }
.testi-todo { font-size: 13px; color: var(--ink-soft); font-style: italic; }

/* ---------- Offer box ---------- */
.offer {
  background: var(--card);
  border: 2px solid var(--terra);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.offer .ribbon {
  display: inline-block; background: var(--terra-soft); color: var(--terra-deep);
  font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 14px;
}
.offer .price { font-family: var(--font-head); line-height: 1; margin: 8px 0 4px; }
.offer .price .old { font-size: 18px; color: var(--ink-soft); text-decoration: line-through; margin-right: 8px; font-family: var(--font-body); }
.offer .price .now { font-size: 52px; color: var(--terra-deep); font-weight: 650; }
.offer .price .cents { font-size: 26px; vertical-align: top; }
.offer .price-note { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
.offer .incl { text-align: left; margin: 18px 0; }

/* ---------- Order bumps ---------- */
.bumps { display: grid; gap: 12px; }
.bump {
  display: flex; gap: 14px; align-items: center;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 12px; box-shadow: var(--shadow-sm);
}
.bump img { width: 64px; height: 64px; border-radius: var(--r-sm); object-fit: cover; flex: 0 0 auto; border: 1px solid var(--line); }
.bump .binfo { flex: 1; min-width: 0; }
.bump .binfo b { display: block; font-size: 15px; }
.bump .binfo span { font-size: 13px; color: var(--ink-soft); }
.bump .bprice { flex: 0 0 auto; font-family: var(--font-head); font-weight: 600; color: var(--terra-deep); font-size: 17px; }

/* ---------- Guarantee ---------- */
.guarantee { display: flex; gap: 16px; align-items: flex-start; }
.guarantee .seal {
  flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%;
  background: var(--sage-soft); color: var(--sage-deep); display: grid; place-items: center;
  border: 2px dashed var(--sage);
}
.guarantee .seal svg { width: 34px; height: 34px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 4px 18px; box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none; cursor: pointer; padding: 14px 0;
  font-family: var(--font-head); font-weight: 600; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: 0 0 auto; width: 20px; height: 20px; color: var(--sage-deep); transition: transform .2s ease; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq details > p { margin: 0 0 16px; color: var(--ink-soft); font-size: 16px; }

/* ---------- Author / persona ---------- */
.author { display: flex; gap: 16px; align-items: center; }
.author .ava {
  width: 72px; height: 72px; border-radius: 50%; flex: 0 0 auto;
  background: var(--terra-soft); color: var(--terra-deep); display: grid; place-items: center;
  font-family: var(--font-head); font-size: 30px; font-weight: 600; border: 2px solid var(--terra);
}
.author .who b { font-family: var(--font-head); font-size: 19px; }
.author .who span { font-size: 14px; color: var(--sage-deep); font-weight: 700; }

/* ---------- Footer ---------- */
.site-foot {
  background: var(--ink); color: #E9DECF;
  padding: 32px var(--pad) calc(96px + env(safe-area-inset-bottom, 0px));
  font-size: 14px; line-height: 1.7;
}
.site-foot .wrap { padding: 0; }
.site-foot b { color: #fff; }
.site-foot a { color: var(--honey); }
.site-foot .disclaimer { font-size: 12.5px; color: #B7A992; margin-top: 16px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 14px 0; }
.site-foot nav a { color: #E9DECF; text-decoration: none; font-weight: 700; }
.site-foot nav a:hover { color: var(--honey); }

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

/* ---------- Utility ---------- */
.mt0 { margin-top: 0; }
.mb0 { margin-bottom: 0; }
.divider { height: 1px; background: var(--line); border: none; margin: 32px 0; }
.small { font-size: 14px; color: var(--ink-soft); }

/* ---------- Responsive scale-up ---------- */
@media (min-width: 720px) {
  body { font-size: 18px; }
  h1, .hero h1 { font-size: 46px; }
  h2 { font-size: 34px; }
  h3 { font-size: 22px; }
  .section { padding: 64px 0; }
  .offer .price .now { font-size: 64px; }
  .sticky-cta { display: none; }       /* desktop: inline CTAs are enough */
  .bumps { grid-template-columns: 1fr 1fr; }
}

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