/* ============================================================
   LiftNutre — Kit Antiqueda · Tema Shopify
   Mobile-first. Tokens em :root (injetados pelo theme.liquid).
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
a { color: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 12px 18px; z-index: 9999;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* Foco visível no teclado (acessibilidade) */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--page-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section--tight { padding: 40px 0; }
.section--dark { background: var(--dark); color: #efe9df; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--darker { background: var(--dark-2); color: #efe9df; }
.section--darker h2, .section--darker h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

.title { font-size: clamp(26px, 6vw, 40px); margin-bottom: .35em; }
.subtitle { color: var(--soft); font-size: 1.05rem; max-width: 60ch; margin-inline: auto; }
.section--dark .subtitle, .section--darker .subtitle { color: #c9bfae; }
.center { text-align: center; }

.divider {
  width: 64px; height: 3px; border: 0; border-radius: 3px;
  background: var(--gold-gradient); margin: 18px auto 26px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: 0;
  padding: 16px 30px; border-radius: var(--radius);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  min-height: 52px; line-height: 1;
}
.btn--gold {
  background: var(--gold-gradient); color: #2a1f08;
  box-shadow: 0 8px 22px -8px rgba(156,110,34,.55);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(156,110,34,.7); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(27,24,19,.18); }
.btn--ghost:hover { border-color: var(--gold); }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; min-height: 58px; }

/* ---------- Estrelas ---------- */
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; }

/* ============================================================
   1. HEADER (sticky)
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,248,242,.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27,24,19,.07);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.site-header__logo img { max-height: 40px; width: auto; }
.site-header__logo svg { height: 38px; width: auto; }
.site-header .btn { padding: 11px 20px; min-height: 44px; }

/* ============================================================
   2. HERO
   ============================================================ */
.hero { background: var(--cream); }
.hero__grid { display: grid; gap: 28px; align-items: center; }
.hero__media {
  position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden;
  background: linear-gradient(160deg, #fff, #f3ece0);
  box-shadow: 0 30px 60px -30px rgba(27,24,19,.35);
}
.hero__media img { width: 100%; }
.hero h1 { font-size: clamp(30px, 8vw, 50px); }
.hero__rating { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 20px; }
.hero__rating span { color: var(--soft); font-size: .95rem; }
.hero__sub { color: var(--soft); font-size: 1.1rem; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.image-empty {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 280px; padding: 24px; color: var(--soft);
  background: repeating-linear-gradient(135deg, #f6efe2, #f6efe2 12px, #f1e8d8 12px, #f1e8d8 24px);
  border-radius: var(--radius); font-size: .9rem;
}

/* ============================================================
   3. BARRA DE PROVA
   ============================================================ */
.proof { padding: 30px 0; }
.proof__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.proof__num {
  font-family: var(--font-heading); font-size: clamp(28px, 7vw, 40px); font-weight: 700;
  background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.proof__label { font-size: .9rem; color: #c9bfae; margin-top: 2px; }

/* ============================================================
   4. PROBLEMA
   ============================================================ */
.pains { display: grid; gap: 18px; margin-top: 32px; }
.pain {
  background: var(--white); border: 1px solid rgba(27,24,19,.06);
  border-radius: var(--radius); padding: 26px 24px;
  box-shadow: 0 14px 30px -24px rgba(27,24,19,.4);
}
.pain__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(160deg, #fbf2dd, #f4e6c4); margin-bottom: 16px;
}
.pain__icon svg { width: 26px; height: 26px; color: var(--gold); }
.pain h3 { font-size: 1.2rem; }
.pain p { color: var(--soft); margin: 0; }

/* ============================================================
   5. SOLUÇÃO (ritual 3 passos)
   ============================================================ */
.steps { display: grid; gap: 22px; margin-top: 34px; counter-reset: step; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.step__num {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; color: #2a1f08;
  background: var(--gold-gradient);
}
.step h3 { font-size: 1.25rem; margin-bottom: .2em; }
.step p { color: var(--soft); margin: 0; }

/* ============================================================
   6. O KIT
   ============================================================ */
.kit { display: grid; gap: 22px; margin-top: 34px; }
.kit-card {
  background: var(--white); border: 1px solid rgba(27,24,19,.06);
  border-radius: calc(var(--radius) + 4px); overflow: hidden;
  box-shadow: 0 18px 40px -30px rgba(27,24,19,.5);
}
.kit-card__media { background: linear-gradient(160deg, #fff, #f4ece0); }
.kit-card__media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.kit-card__body { padding: 22px 22px 26px; }
.kit-card__step {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kit-card h3 { font-size: 1.25rem; margin: 6px 0 .3em; }
.kit-card p { color: var(--soft); margin: 0; }

/* ============================================================
   7. INGREDIENTES (escuro)
   ============================================================ */
.actives { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 34px; }
.active {
  border: 1px solid rgba(217,178,90,.22); border-radius: var(--radius);
  padding: 22px 20px; background: rgba(255,255,255,.025);
}
.active h3 { font-size: 1.1rem; color: #fff; margin-bottom: .25em; }
.active p { color: #c9bfae; margin: 0; font-size: .95rem; }
.seals {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 26px;
  margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(217,178,90,.18);
}
.seal { display: inline-flex; align-items: center; gap: 8px; color: #d9cdb6; font-size: .9rem; font-weight: 500; }
.seal svg { width: 20px; height: 20px; color: var(--gold-3); }

/* ============================================================
   8. ANTES & DEPOIS
   ============================================================ */
.ba__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 30px -16px 0; }
.ba__item { background: transparent; }
.ba__item img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block;
  border-radius: var(--radius); border: 1px solid rgba(184,134,47,.30);
  box-shadow: 0 16px 36px -26px rgba(27,24,19,.5);
}
.ba__cap {
  text-align: center; padding: 12px 6px 0; font-size: 12px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--soft);
}
.ba__cap--after {
  background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ba__note { text-align: center; color: var(--soft); font-size: .85rem; margin-top: 18px; font-style: italic; }

/* ============================================================
   9. DEPOIMENTOS
   ============================================================ */
.reviews { display: grid; gap: 18px; margin-top: 32px; }
.review {
  background: var(--white); border: 1px solid rgba(27,24,19,.06);
  border-radius: var(--radius); padding: 24px;
  box-shadow: 0 14px 30px -26px rgba(27,24,19,.4);
}
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review__avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 46px;
  display: grid; place-items: center; font-weight: 700; color: #2a1f08;
  background: var(--gold-gradient); font-family: var(--font-heading); overflow: hidden;
}
.review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review__name { font-weight: 600; line-height: 1.2; }
.review__verified { display: inline-flex; align-items: center; gap: 4px; color: #2e7d5b; font-size: 12px; font-weight: 600; }
.review__verified svg { width: 14px; height: 14px; }
.review .stars { margin-bottom: 10px; }
.review p { margin: 0; color: #4a443b; }

/* ============================================================
   10. OFERTA (planos)
   ============================================================ */
.plans { display: grid; gap: 20px; margin-top: 36px; }
.plan {
  position: relative; background: var(--white);
  border: 1.5px solid rgba(27,24,19,.1); border-radius: calc(var(--radius) + 6px);
  padding: 28px 24px; box-shadow: 0 18px 40px -34px rgba(27,24,19,.5);
}
.plan--featured {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--gold), 0 26px 50px -28px rgba(156,110,34,.5);
  transform: scale(1.0);
}
.plan__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold-gradient); color: #2a1f08; font-weight: 700; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px;
  white-space: nowrap;
}
.plan h3 { font-size: 1.4rem; margin-bottom: .1em; }
.plan__sub { color: var(--soft); font-size: .95rem; margin-bottom: 16px; }
.plan__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan__now { font-family: var(--font-heading); font-size: 2.1rem; font-weight: 700; color: var(--ink); }
.plan__old { color: var(--soft); text-decoration: line-through; font-size: 1rem; }
.plan__installments { color: var(--soft); font-size: .9rem; margin: 4px 0 18px; }
.plan__benefits { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.plan__benefits li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; font-size: .96rem; }
.plan__benefits svg { width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }

/* ============================================================
   11. GARANTIA
   ============================================================ */
.guarantee { text-align: center; }
.guarantee__inner {
  max-width: 720px; margin: 0 auto; background: var(--white);
  border: 1px solid rgba(27,24,19,.07); border-radius: calc(var(--radius) + 6px);
  padding: 40px 28px; box-shadow: 0 20px 50px -36px rgba(27,24,19,.5);
}
.guarantee__seal {
  width: 110px; height: 110px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; line-height: 1.1;
  color: #2a1f08; background: var(--gold-gradient); font-family: var(--font-heading); font-weight: 700;
  box-shadow: 0 14px 30px -14px rgba(156,110,34,.6);
}
.guarantee__seal strong { font-size: 2rem; display: block; }
.guarantee__seal span { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.guarantee p { color: var(--soft); margin: 0; }

/* ============================================================
   12. FAQ (acordeão)
   ============================================================ */
.faq { max-width: 760px; margin: 30px auto 0; }
.faq__item { border-bottom: 1px solid rgba(27,24,19,.1); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; color: var(--ink);
  padding: 22px 40px 22px 0; position: relative;
}
.faq__q::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: translateY(-65%) rotate(45deg); transition: transform .25s ease;
}
.faq__item.is-open .faq__q::after { transform: translateY(-35%) rotate(-135deg); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq__a-inner { padding: 0 0 22px; color: var(--soft); }

/* ============================================================
   13. CTA FINAL (escuro)
   ============================================================ */
.final-cta { text-align: center; }
.final-cta .title { color: #fff; }
.final-cta p { color: #c9bfae; max-width: 52ch; margin: 0 auto 26px; }

/* ============================================================
   14. FOOTER
   ============================================================ */
.site-footer { background: var(--dark-2); color: #b8ad9a; padding: 48px 0 36px; }
.site-footer__logo img { max-height: 46px; width: auto; margin-bottom: 18px; }
.site-footer__logo svg { height: 44px; width: auto; margin-bottom: 18px; }
.site-footer__links { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.site-footer__links a { color: #cabfac; text-decoration: none; font-size: .95rem; }
.site-footer__links a:hover { color: var(--gold-3); }
.site-footer__disclaimer { font-size: .8rem; line-height: 1.6; color: #877d6c; max-width: 720px; }
.site-footer__copy { font-size: .8rem; color: #6f6657; margin-top: 18px; }

/* ============================================================
   15. STICKY BUY BAR (mobile)
   ============================================================ */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  background: var(--white); border-top: 1px solid rgba(27,24,19,.1);
  box-shadow: 0 -10px 30px -18px rgba(27,24,19,.4);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 14px;
  transform: translateY(120%); transition: transform .3s ease;
}
.buybar.is-visible { transform: translateY(0); }
.buybar__info { line-height: 1.15; }
.buybar__price { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.buybar__old { color: var(--soft); text-decoration: line-through; font-size: .8rem; margin-left: 6px; }
.buybar__label { font-size: .72rem; color: var(--soft); }
.buybar .btn { margin-left: auto; padding: 14px 22px; min-height: 48px; white-space: nowrap; }

/* ============================================================
   Checkout modal (dados de entrega)
   ============================================================ */
.checkout-modal[hidden] { display: none; }
.checkout-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: flex-end; justify-content: center;
}
.checkout-modal__overlay {
  position: absolute; inset: 0; background: rgba(20,18,16,.6);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.checkout-modal__panel {
  position: relative; background: var(--white); width: 100%; max-width: 520px;
  max-height: 92vh; overflow: auto;
  border-radius: 22px 22px 0 0;
  padding: 26px 22px calc(24px + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 44px -12px rgba(0,0,0,.45);
  animation: coUp .28s ease;
}
@keyframes coUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.checkout-modal__close {
  position: absolute; top: 10px; right: 12px; border: 0; background: none;
  font-size: 30px; line-height: 1; color: var(--soft); cursor: pointer; width: 42px; height: 42px;
}
.checkout-modal__title { font-size: 1.5rem; margin: 0 0 4px; }
.checkout-modal__sub { color: var(--soft); font-size: .95rem; margin: 0 0 18px; }
.co-field { margin-bottom: 14px; display: flex; flex-direction: column; min-width: 0; }
.co-field label { font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.co-field input {
  width: 100%; box-sizing: border-box;
  font-family: var(--font-body); font-size: 16px; padding: 13px 14px;
  border: 1.5px solid rgba(27,24,19,.18); border-radius: 12px; background: #fff; color: var(--ink);
}
.co-field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,134,47,.18); }
.co-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.co-field--uf { max-width: 150px; }
.co-error { color: #b3261e; font-size: .9rem; margin: 0 0 12px; font-weight: 500; }
.co-error[hidden] { display: none; }
.co-secure {
  text-align: center; color: var(--soft); font-size: .82rem; margin: 12px 0 0;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.co-secure svg { width: 14px; height: 14px; color: var(--gold); }
body.co-open { overflow: hidden; }
@media (min-width: 749px) {
  .checkout-modal { align-items: center; }
  .checkout-modal__panel { border-radius: 20px; }
}

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   Responsivo — Desktop
   ============================================================ */
@media (min-width: 749px) {
  .section { padding: 80px 0; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 44px; }
  .pains { grid-template-columns: repeat(3, 1fr); }
  .kit { grid-template-columns: repeat(3, 1fr); }
  .actives { grid-template-columns: repeat(4, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; max-width: 780px; margin-inline: auto; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .step { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .ba__grid { gap: 16px; max-width: 720px; margin: 30px auto 0; }
  .buybar { display: none; } /* sticky bar é mobile-only */
}

@media (min-width: 990px) {
  .hero h1 { font-size: 52px; }
}

/* Respeita preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
