/* ============ Design tokens ============ */
:root {
  --cream: #f7f4ec;
  --cream-2: #efe9db;
  --forest: #22352a;
  --forest-2: #2e4636;
  --sage: #5e7f63;
  --sage-dark: #47664d;
  --sage-light: #dbe5d6;
  --gold: #c89b4b;
  --gold-bright: #f0b62f;
  --forest-deep: #14211a;
  --ink: #26302a;
  --muted: #5c6a60;

  --font-display: "Fraunces", serif;
  --font-body: "Figtree", sans-serif;

  --text-base: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  --text-h1: clamp(2.4rem, 1.4rem + 4.2vw, 4.4rem);
  --text-h2: clamp(1.8rem, 1.3rem + 2.2vw, 3rem);

  --space-section: clamp(4rem, 3rem + 4vw, 7.5rem);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 45px -18px rgba(34, 53, 42, 0.28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; color: var(--forest); }
h1 em, h2 em { font-style: italic; color: var(--sage-dark); }
a { color: inherit; }

.container { width: min(1160px, 92%); margin-inline: auto; }
.container--narrow { width: min(820px, 92%); }

/* ============ Reveal on scroll ============ */
.has-io .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.has-io .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none !important; }
}

/* ============ Topbar ============ */
.topbar { background: var(--forest); color: var(--cream); text-align: center; font-size: 0.82rem; padding: 0.45rem 1rem; letter-spacing: 0.02em; }

/* ============ Header ============ */
.header { position: sticky; top: 0; z-index: 50; background: rgba(20, 33, 26, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(247, 244, 236, 0.1); transition: box-shadow 0.3s; }
.header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(0, 0, 0, 0.6); }
.header__inner { display: flex; align-items: center; gap: 2rem; padding: 0.9rem 0; }
.logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; font-family: var(--font-display); font-size: 1.35rem; color: var(--cream); }
.logo em { font-style: italic; color: var(--sage-light); }
.logo sup { font-size: 0.55em; }
.logo__leaf { width: 26px; height: 26px; fill: var(--gold-bright); }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--cream); position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 2px; background: var(--gold-bright); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* ============ Buttons ============ */
.btn { display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: 1rem; text-decoration: none; text-align: center; border-radius: 999px; padding: 0.95rem 2rem; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s; cursor: pointer; border: 2px solid transparent; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--sage-dark); color: #fff; box-shadow: 0 12px 26px -12px rgba(71, 102, 77, 0.7); }
.btn--primary:hover { background: var(--forest-2); box-shadow: 0 16px 32px -12px rgba(34, 53, 42, 0.6); }
.btn--ghost { color: var(--forest); border-color: rgba(34, 53, 42, 0.25); background: transparent; }
.btn--ghost:hover { border-color: var(--sage-dark); background: rgba(94, 127, 99, 0.08); }
.btn--outline { color: var(--cream); border-color: rgba(247, 244, 236, 0.5); }
.btn--outline:hover { border-color: var(--cream); background: rgba(247, 244, 236, 0.1); }
.btn--light { background: var(--cream); color: var(--forest); }
.btn--light:hover { background: #fff; }
.btn--gold { background: var(--gold-bright); color: #1c2a20; box-shadow: 0 12px 26px -12px rgba(240, 182, 47, 0.55); }
.btn--gold:hover { background: #f7c14a; box-shadow: 0 16px 32px -12px rgba(240, 182, 47, 0.65); }
.btn--sm { padding: 0.65rem 1.4rem; font-size: 0.9rem; }

/* ============ Eyebrow / titles ============ */
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage-dark); margin-bottom: 1rem; }
.eyebrow--center { text-align: center; }
.eyebrow--light { color: var(--sage-light); }
.section { padding-block: var(--space-section); }
.section--tinted { background: var(--cream-2); }
.section__title { font-size: var(--text-h2); text-align: center; margin-bottom: clamp(2.2rem, 4vw, 3.6rem); }
.section__title--light { color: var(--cream); }
.section__title--light em { color: var(--sage-light); }
.fineprint { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 2.2rem; max-width: 640px; margin-inline: auto; }
.section__lead { text-align: center; color: var(--muted); max-width: 620px; margin: -1.6rem auto 2.6rem; }

/* ============ Sintomas ============ */
.symptoms { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 980px; margin-inline: auto; }
.symptoms li { background: #fff; border-left: 4px solid var(--gold); border-radius: 12px; padding: 1.1rem 1.3rem; font-weight: 600; color: var(--forest); font-size: 0.97rem; box-shadow: 0 8px 26px -20px rgba(34, 53, 42, 0.4); }
.symptoms__warning { text-align: center; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--forest); margin-top: 2.4rem; }

/* ============ Comparativo ============ */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 480px)); justify-content: center; gap: 1.6rem; }
.compare__col { border-radius: var(--radius-lg); padding: 2.2rem 2rem; }
.compare__col header { margin-bottom: 1.4rem; }
.compare__col header h3 { font-size: 1.35rem; }
.compare__col header p { font-size: 0.88rem; color: var(--muted); }
.compare__col ul { list-style: none; display: grid; gap: 0.8rem; font-size: 0.97rem; }
.compare__col--good { background: #fff; border: 2px solid var(--sage); box-shadow: var(--shadow); }
.compare__col--good li { color: var(--forest); font-weight: 500; }
.compare__col--bad { background: rgba(34, 53, 42, 0.04); border: 1px dashed rgba(34, 53, 42, 0.25); }
.compare__col--bad h3, .compare__col--bad li { color: var(--muted); }

/* ============ Vídeos de depoimento ============ */
.video-testimonials { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; gap: 1.6rem; margin-bottom: 2.6rem; }
.video-card { margin: 0; }
.video-card video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius-lg); background: var(--forest); box-shadow: var(--shadow); }
.video-card figcaption { text-align: center; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage-dark); margin-top: 0.7rem; }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 7vw, 7rem) clamp(4rem, 7vw, 7rem); background: radial-gradient(1000px 700px at 78% 30%, rgba(94, 127, 99, 0.28), transparent 65%), var(--forest-deep); }
.hero__blob { position: absolute; right: -12%; top: -20%; width: 58vw; max-width: 880px; aspect-ratio: 1; background: radial-gradient(circle at 35% 35%, rgba(94, 127, 99, 0.22), transparent 70%); border-radius: 62% 38% 54% 46% / 48% 58% 42% 52%; pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.hero .eyebrow { color: var(--gold-bright); }
.hero h1 { font-size: var(--text-h1); margin-bottom: 1.3rem; color: var(--cream); }
.hero h1 em { color: var(--sage-light); }
.hero__sub { font-size: 1.15rem; color: rgba(247, 244, 236, 0.78); max-width: 34rem; margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.8rem; }
.hero__badges { list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem; font-size: 0.9rem; font-weight: 600; color: var(--sage-light); }
.hero__visual { position: relative; }
.hero__visual img { filter: drop-shadow(0 34px 48px rgba(0, 0, 0, 0.55)); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Reveal stagger no hero */
.hero .reveal:nth-child(2) { transition-delay: 0.08s; }
.hero .reveal:nth-child(3) { transition-delay: 0.16s; }
.hero .reveal:nth-child(4) { transition-delay: 0.24s; }
.hero .reveal:nth-child(5) { transition-delay: 0.32s; }
.hero__visual.reveal { transition-delay: 0.2s; }

/* Folhas decorativas */
.leaf-deco { position: absolute; fill: var(--sage); opacity: 0.16; pointer-events: none; }
.leaf-deco--1 { width: 90px; top: 12%; left: 3%; rotate: -24deg; }
.leaf-deco--2 { width: 54px; bottom: 10%; left: 42%; rotate: 32deg; }
.leaf-deco--3 { width: 120px; top: 6%; right: 4%; rotate: 18deg; fill: var(--sage-light); opacity: 0.12; }
.leaf-deco--4 { width: 100px; bottom: 8%; left: 5%; rotate: -15deg; fill: var(--cream); opacity: 0.12; }

/* ============ Ticker ============ */
.ticker { background: var(--sage-dark); color: var(--cream); overflow: hidden; padding: 0.7rem 0; }
.ticker__track { display: flex; gap: 2.2rem; width: max-content; animation: ticker 28s linear infinite; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.ticker__track i { font-style: normal; opacity: 0.7; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============ Cards ============ */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card { background: #fff; border-radius: var(--radius-lg); padding: 2.2rem 1.9rem; box-shadow: 0 10px 34px -22px rgba(34, 53, 42, 0.35); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon { font-size: 1.9rem; background: var(--sage-light); width: 64px; height: 64px; border-radius: 20px 20px 20px 4px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.3rem; }
.card h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card--media { padding: 0; overflow: hidden; }
.card--media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; transition: transform 0.6s var(--ease); }
.card--media:hover img { transform: scale(1.045); }
.card__body { padding: 1.6rem 1.7rem 2rem; }
.card__kicker { font-size: 0.78rem !important; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold) !important; margin-bottom: 0.5rem; }

/* Stagger nos grids */
.cards-3 .reveal:nth-child(2), .steps .reveal:nth-child(2), .plans .reveal:nth-child(2), .testimonials .reveal:nth-child(2) { transition-delay: 0.12s; }
.cards-3 .reveal:nth-child(3), .steps .reveal:nth-child(3), .testimonials .reveal:nth-child(3) { transition-delay: 0.24s; }
.testimonials .reveal:nth-child(4) { transition-delay: 0.36s; }

/* ============ Split ============ */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse { grid-template-columns: 1.1fr 0.9fr; }
.split--reverse .split__media { order: 2; }
.split--reverse .split__content { order: 1; }
.split h2 { font-size: var(--text-h2); margin-bottom: 1.4rem; }
.split p { color: var(--muted); margin-bottom: 1.1rem; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-inline: auto; }
.split__media--round img { border-radius: 46% 54% 50% 50% / 52% 48% 52% 48%; }
.check-list { list-style: none; margin: 0 0 1.8rem; display: grid; gap: 0.9rem; }
.check-list li { padding-left: 2rem; position: relative; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--sage-light); color: var(--sage-dark); font-size: 0.75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.check-list strong { color: var(--forest); }

/* ============ Steps ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; counter-reset: steps; }
.step { position: relative; background: #fff; border: 1px solid rgba(34, 53, 42, 0.08); border-radius: var(--radius-lg); padding: 2.4rem 1.9rem 2rem; }
.step__num { position: absolute; top: -1.1rem; left: 1.7rem; font-family: var(--font-display); font-style: italic; font-size: 1rem; background: var(--gold); color: #fff; padding: 0.35rem 1rem; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 18px -8px rgba(200, 155, 75, 0.8); }
.step h3 { font-size: 1.3rem; margin-bottom: 0.55rem; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ============ Planos ============ */
.section--forest { position: relative; background: var(--forest); overflow: hidden; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 1.8rem; }
.plan { border: 1px solid rgba(247, 244, 236, 0.18); border-radius: var(--radius-lg); padding: 2.4rem 2.1rem; color: var(--cream); display: flex; flex-direction: column; gap: 0.4rem; transition: transform 0.35s var(--ease), border-color 0.35s; }
.plan:hover { transform: translateY(-5px); border-color: rgba(247, 244, 236, 0.4); }
.plan--featured { position: relative; background: var(--cream); color: var(--ink); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.55); }
.plan--featured h3 { color: var(--forest); }
.plan__tag { position: absolute; top: -0.9rem; right: 1.6rem; background: var(--gold); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.9rem; border-radius: 999px; }
.plan h3 { font-family: var(--font-display); font-size: 1.6rem; color: var(--cream); }
.plan--featured h3 { color: var(--forest); }
.plan__desc { opacity: 0.85; font-size: 0.95rem; }
.plan__price { margin: 1rem 0 1.2rem; display: flex; flex-direction: column; line-height: 1.2; }
.plan__price span { font-size: 0.85rem; opacity: 0.75; }
.plan__price strong { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; }
.plan--featured .plan__price strong { color: var(--sage-dark); }
.plan ul { list-style: none; display: grid; gap: 0.55rem; font-size: 0.95rem; margin-bottom: 1.8rem; }
.plan .btn { margin-top: auto; }
.plans__note { text-align: center; color: rgba(247, 244, 236, 0.75); font-size: 0.88rem; margin-top: 1.4rem; max-width: 640px; margin-inline: auto; }
.plan__was { color: inherit; }
.plan__was s { opacity: 0.6; }
.plan--featured .plan__was s { color: var(--muted); }
.plans__why { max-width: 720px; margin: 2.4rem auto 0; display: grid; gap: 0.7rem; }
.plans__why p { background: rgba(247, 244, 236, 0.08); border-left: 3px solid var(--gold); border-radius: 10px; padding: 0.85rem 1.1rem; color: rgba(247, 244, 236, 0.9); font-size: 0.92rem; }

/* ============ Depoimentos ============ */
.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.testimonial { background: #fff; border-radius: var(--radius-lg); padding: 2rem 1.9rem; box-shadow: 0 10px 34px -22px rgba(34, 53, 42, 0.35); }
.testimonial__stars { color: var(--gold); letter-spacing: 0.2em; margin-bottom: 0.9rem; }
.testimonial p { font-family: var(--font-display); font-style: italic; font-size: 1.08rem; color: var(--forest); margin-bottom: 1.4rem; }
.testimonial footer { display: flex; align-items: center; gap: 0.8rem; }
.testimonial footer img, .testimonial__initial { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial__initial { background: var(--sage-light); color: var(--sage-dark); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.testimonial footer strong { display: block; font-size: 0.95rem; color: var(--forest); }
.testimonial footer span { font-size: 0.82rem; color: var(--muted); }

/* ============ FAQ ============ */
.faq { display: grid; gap: 0.9rem; }
.faq details { background: #fff; border-radius: var(--radius); padding: 1.2rem 1.5rem; box-shadow: 0 8px 26px -20px rgba(34, 53, 42, 0.4); }
.faq summary { font-weight: 600; font-size: 1.02rem; color: var(--forest); cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; font-family: var(--font-display); font-size: 1.5rem; color: var(--sage-dark); transition: rotate 0.3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin-top: 0.9rem; color: var(--muted); font-size: 0.97rem; }

/* ============ CTA final ============ */
.cta-final { position: relative; background: linear-gradient(135deg, var(--forest-2), var(--forest)); color: var(--cream); overflow: hidden; padding-block: var(--space-section); }
.cta-final__inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; }
.cta-final__badge { display: inline-block; background: var(--gold); color: #fff; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 999px; margin-bottom: 1.3rem; }
.cta-final h2 { font-size: var(--text-h2); color: var(--cream); margin-bottom: 1rem; }
.cta-final h2 em { color: var(--sage-light); }
.cta-final p { opacity: 0.85; margin-bottom: 2rem; max-width: 30rem; }
.cta-final__img { border-radius: var(--radius-lg); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.6); rotate: 2deg; max-height: 420px; object-fit: cover; justify-self: center; }

/* ============ Footer ============ */
.footer { background: #1a2a20; color: rgba(247, 244, 236, 0.8); padding-top: 4rem; font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer .logo--light { color: var(--cream); margin-bottom: 1rem; }
.footer .logo--light em { color: var(--sage-light); }
.footer h4 { font-family: var(--font-display); color: var(--cream); font-size: 1.05rem; margin-bottom: 0.9rem; }
.footer nav a, .footer div > a { display: block; text-decoration: none; margin-bottom: 0.55rem; opacity: 0.8; transition: opacity 0.2s; }
.footer nav a:hover, .footer div > a:hover { opacity: 1; }
.footer__legal { border-top: 1px solid rgba(247, 244, 236, 0.12); padding-block: 1.6rem 2rem; font-size: 0.78rem; opacity: 0.65; display: grid; gap: 0.6rem; }

/* ============ Responsivo ============ */
@media (max-width: 960px) {
  .hero__inner, .split, .split--reverse, .cta-final__inner { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 1; }
  .split--reverse .split__content { order: 2; }
  .hero__visual { order: -1; max-width: 420px; margin-inline: auto; }
  .cards-3, .steps { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .symptoms { grid-template-columns: 1fr; max-width: 480px; }
  .compare { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .video-testimonials { grid-template-columns: 1fr; max-width: 300px; margin-inline: auto; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .testimonials { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .steps { row-gap: 2.4rem; }

  .nav { position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; background: var(--cream); padding: 5.5rem 2rem 2.5rem; gap: 1.2rem; transform: translateY(-105%); transition: transform 0.4s var(--ease); box-shadow: var(--shadow); z-index: -1; }
  .nav.is-open { transform: none; }
  .nav a { font-size: 1.15rem; }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 6px; z-index: 2; }
  .nav-toggle span { width: 24px; height: 2px; background: var(--cream); transition: 0.3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span { background: var(--forest); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { translate: 0 7px; rotate: 45deg; }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { translate: 0 -7px; rotate: -45deg; }
  .header__inner .btn--sm { display: none; }
}
@media (max-width: 480px) {
  .hero__badges { gap: 0.8rem; }
  .topbar { font-size: 0.72rem; padding-inline: 0.5rem; }
}
