/* ============================================================
   BIOHACKLAB — MAIN STYLESHEET
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;900&family=Inter:wght@900&display=swap');

/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow:    #f7d720;
  --olive:     #596c32;
  --teal:      #f7d720; /* legacy alias — kept so existing var(--teal) refs pick up the new highlight color */
  --black:     #2d2d2d;
  --white:     #ffffff;
  --gray-light:#f7f7f7;
  --gray-mid:  #4f4f4f;
  --gray-dark: #303030;
  --gray-border:#e0e0e0;
  --gray-text: #212121;
  --gray-muted:#8a8a8a;
  --radius-card: 48px;
  --radius-btn:  50px;
}

html { scroll-behavior: smooth; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── UTILITY ───────────────────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 20px;
}

.highlight { color: var(--olive); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
#entregaveis .section-header,
#blog .section-header { max-width: 760px; }
#entregaveis .section-header h2,
#blog .section-header h2 { white-space: nowrap; }
.section-header h2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.section-header p {
  font-size: 16px;
  color: var(--gray-mid);
  line-height: 1.6;
  margin-top: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease, box-shadow .35s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Staggered entrance for cards inside grids */
.module-grid .module-card:nth-child(2),
.deliverables-grid .deliverable-card:nth-child(2),
.blog-grid .blog-card:nth-child(2) { transition-delay: .08s; }
.module-grid .module-card:nth-child(3),
.deliverables-grid .deliverable-card:nth-child(3),
.blog-grid .blog-card:nth-child(3) { transition-delay: .16s; }
.module-grid .module-card:nth-child(4),
.deliverables-grid .deliverable-card:nth-child(4) { transition-delay: .24s; }
.module-grid .module-card:nth-child(5) { transition-delay: .32s; }
.module-grid .module-card:nth-child(6) { transition-delay: .4s; }
.module-grid .module-card:nth-child(7) { transition-delay: .48s; }
.module-grid .module-card:nth-child(8) { transition-delay: .56s; }
.module-grid .module-card:nth-child(9) { transition-delay: .64s; }
.module-card:hover,
.deliverable-card:hover,
.blog-card:hover {
  transition-delay: 0s;
  transition-duration: .3s;
}

/* ─── NAV ───────────────────────────────────────────────────── */
@keyframes nav-drop-in {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-fade-in {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: scale(1); }
}
.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  transition: background .3s, backdrop-filter .3s, color .3s;
}
.main-nav.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--gray-border);
  color: var(--black);
}
.page-ready .main-nav { animation: nav-drop-in .6s ease both; }
.page-ready .hero-bg { animation: hero-fade-in 1.4s ease both; }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: inherit;
}
.nav-logo img { height: 26px; width: auto; display: block; }
.nav-logo img.logo-black { display: none; }
.main-nav.scrolled .nav-logo img.logo-white { display: none; }
.main-nav.scrolled .nav-logo img.logo-black { display: block; }

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a { color: inherit; opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }

.burger span { background: var(--white); }
.main-nav.scrolled .burger span,
.burger.open span { background: var(--black); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 6px 5px 18px;
  border-radius: var(--radius-btn);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  border: none;
  white-space: nowrap;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--black);
  backdrop-filter: blur(25px);
}
.btn-teal,
.btn-yellow {
  background: var(--yellow);
  color: var(--black);
}
.btn-olive {
  background: var(--olive);
  color: var(--white);
}

.btn-icon {
  width: 40px; height: 40px;
  border-radius: 200px;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  transition: transform .2s;
}
.btn-icon svg { width: 18px; height: 18px; }
.btn-white .btn-icon { background: var(--teal); }
.btn-dark  .btn-icon { background: var(--teal); }

/* burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  border-radius: 2px;
  transition: transform .3s, opacity .3s, background .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  font-size: 24px;
  font-weight: 700;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--black); }

/* ─── HERO (split photo background + overlay) ───────────────── */
#hero {
  position: relative;
  min-height: 880px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 140px 56px 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 0;
  transform-origin: center;
  will-change: transform;
}
.hero-bg-left,
.hero-bg-right {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 900px 700px at 85% 15%, rgba(89,108,50,.22), transparent 60%),
    linear-gradient(to top, rgba(45,45,45,.96) 0%, rgba(45,45,45,.9) 35%, rgba(45,45,45,.8) 65%, rgba(45,45,45,.68) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.hero-h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--white);
}
.hero-h1 .word-bg {
  background: var(--olive);
  color: var(--white);
  position: relative;
  display: inline-block;
  padding: 0 6px;
  transform: rotate(-2deg);
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,.78);
  max-width: 560px;
  line-height: 1.6;
}

.hero-brand {
  position: absolute;
  bottom: -50px;
  right: 24px;
  z-index: 1;
  font-size: 90px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--white);
  pointer-events: none;
  white-space: nowrap;
  opacity: .06;
}

/* ─── STORY SECTIONS (Bloco 1 / 2 / 3) ───────────────────────── */
.story-section {
  padding: 120px 100px;
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.story-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, rgba(0,0,0,.05) 0, rgba(0,0,0,.05) 1px, transparent 1px, transparent 20px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.05) 0, rgba(0,0,0,.05) 1px, transparent 1px, transparent 20px);
  background-size: 40px 40px;
}
#ataque    { z-index: 1; }
#armadilha { z-index: 2; }
#acesso    { z-index: 3; }

/* Sections after the sticky story blocks must be explicitly
   positioned with a higher z-index, otherwise the (positioned)
   sticky blocks paint above them regardless of DOM order. */
#sobre,
#prova-social,
#produto,
#modulos,
#entregaveis,
#preco,
#faq,
#blog,
body > .cta-section,
footer {
  position: relative;
  z-index: 10;
}
.story-section.bg-light { background: var(--gray-light); }
.story-section.bg-white { background: var(--white); }

.story-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.story-inner h2 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.story-inner p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-mid);
}
.story-highlight {
  font-size: 21px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.4;
}

.symptom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 4px 0;
}
.symptom-item {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 20px;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-text);
}

.access-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 4px 0;
}
.access-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--gray-mid);
  line-height: 1.6;
  background: var(--white);
  border-radius: 16px;
  padding: 14px 18px;
}
.access-item::before {
  content: '—';
  color: var(--olive);
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── FOUNDER SECTION ────────────────────────────────────────── */
#sobre {
  padding: 120px 100px;
  background: var(--white);
}
.founder-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.founder-photo-placeholder {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, var(--gray-light), var(--gray-border));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
}
.founder-photo-placeholder span {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-muted);
  letter-spacing: .04em;
}
.founder-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.founder-body .section-tag { margin-bottom: 0; }
.founder-body h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.founder-quote {
  border-left: 3px solid var(--olive);
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-text);
  font-style: italic;
}
.founder-body p { font-size: 15px; line-height: 1.7; color: var(--gray-mid); }
.founder-note {
  font-size: 13px;
  color: var(--gray-muted);
  border-top: 1px solid var(--gray-border);
  padding-top: 16px;
}

/* ─── PROVA SOCIAL (TESTIMONIALS) ────────────────────────────── */
#prova-social {
  padding: 120px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  background: var(--gray-light);
}

.marquee-wrap {
  display: flex;
  justify-content: center;
  gap: 24px;
  width: 100%;
  max-height: 640px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
}

.marquee-col { flex: 1 1 0; max-width: 360px; overflow: hidden; }

.marquee-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation-name: marquee-up;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

.marquee-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: transform .3s ease, box-shadow .3s ease;
}
.marquee-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.12);
}
.marquee-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-mid);
}
.marquee-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.marquee-footer img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.marquee-footer cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--gray-text);
}
.marquee-footer span {
  display: block;
  font-size: 12px;
  color: var(--gray-muted);
  margin-top: 2px;
}

.disclaimer {
  font-size: 13px;
  color: var(--gray-muted);
  text-align: center;
  max-width: 640px;
  line-height: 1.6;
}

/* ─── PRODUCT INTRO ──────────────────────────────────────────── */
#produto {
  padding: 120px 100px;
  background: var(--white);
  text-align: center;
}
.product-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.product-inner > p { font-size: 16px; line-height: 1.7; color: var(--gray-mid); }
.product-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  align-self: stretch;
  margin-top: 6px;
}
.product-bullets li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: var(--gray-mid);
}
.product-bullets li::before { content: '✓'; color: var(--olive); font-weight: 700; }
.product-highlight {
  background: var(--gray-light);
  border-radius: 24px;
  padding: 20px 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  margin-top: 4px;
}

/* ─── MODULES GRID ───────────────────────────────────────────── */
#modulos {
  padding: 120px 100px;
  background: var(--gray-light);
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.module-card {
  background: var(--white);
  border-radius: 32px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 230px;
}
.module-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -18px rgba(0,0,0,.16);
}
.module-card .module-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--olive);
  letter-spacing: .06em;
}
.module-card h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.module-card p { font-size: 13px; color: var(--gray-mid); line-height: 1.6; }
.module-card p.pending { font-style: italic; color: var(--gray-muted); }

/* ─── DELIVERABLES GRID ─────────────────────────────────────── */
#entregaveis {
  padding: 120px 100px;
  background: var(--olive);
}
#entregaveis .highlight { color: var(--yellow); }
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.deliverable-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  padding: 32px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.deliverable-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.07);
  box-shadow: 0 24px 48px -18px rgba(0,0,0,.4);
}
.deliverable-card .d-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  color: var(--black);
  flex-shrink: 0;
}
.deliverable-card .d-icon svg { width: 20px; height: 20px; }
.deliverable-card h3 { font-size: 16px; font-weight: 700; }
.deliverable-card p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.6; }

/* ─── PRICING ────────────────────────────────────────────────── */
#preco {
  padding: 120px 100px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  overflow: hidden;
}
#preco::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle at center, #FFF991 0%, transparent 70%);
  opacity: .6;
  mix-blend-mode: multiply;
  pointer-events: none;
}
#preco .section-header,
#preco .price-grid-v2,
#preco .billing-toggle {
  position: relative;
  z-index: 1;
}
.price-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  width: 100%;
}
.price-card-v2 {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-card);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.price-card-v2 .btn { margin-top: auto; }
.price-card-v2.featured {
  border-color: var(--olive);
  box-shadow: 0 0 0 2px var(--olive);
}
.price-card-v2 .plan-badge {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--olive);
  color: var(--white);
  border-radius: 50px;
  padding: 4px 12px;
}
.price-card-v2 .plan-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-muted);
}
.price-card-v2 .plan-price {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
}
.price-card-v2 .plan-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-muted);
}
.price-card-v2 .plan-save {
  font-size: 13px;
  font-weight: 600;
  color: var(--olive);
}
.price-card-v2 .plan-note {
  font-size: 13.5px;
  color: var(--gray-mid);
  line-height: 1.55;
}

/* ─── CTA SECTIONS ──────────────────────────────────────────── */
.cta-section {
  padding: 120px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}
.cta-section.dark {
  background: var(--black);
  color: var(--white);
}
.cta-section.light {
  background: var(--gray-light);
  color: var(--black);
}
.cta-section h2 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
  max-width: 680px;
}
.cta-section p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 480px;
  opacity: .7;
}

.cta-with-bg {
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform-origin: center;
  will-change: transform;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 900px 700px at 80% 10%, rgba(89,108,50,.24), transparent 60%),
    linear-gradient(to top, rgba(45,45,45,.95) 0%, rgba(45,45,45,.85) 45%, rgba(45,45,45,.7) 100%);
}
.cta-with-bg h2,
.cta-with-bg p,
.cta-with-bg a {
  position: relative;
  z-index: 2;
}

/* ─── BLOG (WordPress REST API) ──────────────────────────────── */
#blog {
  padding: 120px 100px;
  background: var(--gray-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--gray-border);
  transition: transform .3s ease, box-shadow .3s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -16px rgba(0,0,0,.14);
}

.blog-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray-border);
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.06); }

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.blog-date {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--olive);
}
.blog-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--black);
}
.blog-card-body p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--gray-mid);
}

/* Skeleton loading state, shown while fetching WordPress posts */
.blog-skeleton {
  min-height: 360px;
  background: linear-gradient(100deg, var(--gray-border) 30%, #f0f0f0 50%, var(--gray-border) 70%);
  background-size: 200% 100%;
  animation: blog-shimmer 1.6s ease-in-out infinite;
  border: none;
}
@keyframes blog-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── FAQs SECTION ──────────────────────────────────────────── */
#faq {
  padding: 120px 100px;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.faqs-left h2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: 24px;
  position: sticky;
  top: 100px;
}
.faqs-left p {
  font-size: 15px;
  color: var(--gray-mid);
  line-height: 1.6;
  max-width: 380px;
  position: sticky;
  top: 180px;
}

.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--gray-border);
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  gap: 16px;
  user-select: none;
}
.faq-toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 400;
  transition: background .2s, transform .3s;
  line-height: 1;
}
.faq-item.open .faq-toggle {
  background: var(--teal);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  font-size: 15px;
  color: var(--gray-mid);
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 220px;
  padding-bottom: 24px;
}

/* ─── FOOTER ────────────────────────────────────────────────── */
/* ─── COOKIE BANNER ───────────────────────────────────────────
   Usa width:100% (não left+right) com max-width:100vw como teto
   de segurança, para não estourar a largura em mobile quando o
   documento tiver qualquer overflow horizontal acidental. ───── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  z-index: 10000;
  background: var(--black);
  color: var(--white);
  padding: 24px 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: 0 -8px 32px rgba(0,0,0,.18);
  transform: translateY(120%);
  opacity: 0;
  transition: transform .45s ease, opacity .45s ease;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 560px;
}
.cookie-banner-text strong { font-size: 15px; }
.cookie-banner-text p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.7);
}
.cookie-banner-text a { color: var(--yellow); text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-banner-actions .btn { font-size: 14px; padding: 10px 18px; }
.cookie-banner-actions .btn-dark {
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
}
.cookie-banner-actions .btn-dark:hover { background: rgba(255,255,255,.08); }

@media (max-width: 809px) {
  .cookie-banner {
    padding: 20px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .cookie-banner-actions { flex-direction: column; }
  .cookie-banner-actions .btn { width: 100%; justify-content: center; }
}

/* ─── LEGAL PAGES (Privacidade / Termos / Reembolso) ─────────── */
.legal-hero {
  position: relative;
  padding: 160px 100px 64px;
  background: var(--black);
  color: var(--white);
}
.legal-hero h1 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -.02em;
  max-width: 640px;
}
.legal-hero p {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255,255,255,.6);
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px 120px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.legal-content h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-top: 32px;
  color: var(--black);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-mid);
}
.legal-content ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 4px;
}
.legal-content li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-mid);
  padding-left: 18px;
  position: relative;
}
.legal-content li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--olive);
  font-weight: 700;
}
.legal-content a { color: var(--olive); text-decoration: underline; }
.legal-content strong { color: var(--black); }

@media (max-width: 809px) {
  .legal-hero { padding: 130px 24px 48px; }
  .legal-hero h1 { font-size: 30px; }
  .legal-content { padding: 56px 20px 80px; }
}

footer { overflow: hidden; }

.footer-top {
  position: relative;
  padding: 100px 100px 56px;
  background:
    radial-gradient(ellipse 700px 500px at 85% 10%, rgba(89,108,50,.26), transparent 60%),
    var(--black);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.footer-logo {
  height: 40px;
  width: auto;
}
.footer-cta p {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  max-width: 420px;
  line-height: 1.5;
}

.footer-bottom {
  background: var(--white);
  padding: 80px 100px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}
.footer-brand-logo {
  height: 90px;
  width: auto;
}

.footer-disclaimer {
  font-size: 13px;
  color: var(--gray-muted);
  max-width: 640px;
  line-height: 1.6;
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  padding-top: 32px;
  border-top: 1px solid var(--gray-border);
  font-size: 13px;
  color: var(--gray-muted);
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--gray-muted);
  transition: color .2s;
}
.footer-links a:hover { color: var(--black); }

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1199px) {
  #hero { min-height: 760px; padding: 130px 40px 80px; }
  .hero-h1 { font-size: 44px; }
  .main-nav { padding: 16px 32px; }

  .story-section, #sobre, #prova-social, #produto, #modulos,
  #entregaveis, #preco, #blog, #faq, .cta-section, .footer-bottom, .footer-top {
    padding-left: 40px; padding-right: 40px;
  }

  .module-grid { grid-template-columns: 1fr 1fr; }
  .deliverables-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  #faq { grid-template-columns: 1fr; }
  .faqs-left h2, .faqs-left p { position: static; }

  #entregaveis .section-header h2,
  #blog .section-header h2 { white-space: normal; }

  .marquee-col-desktop { display: none; }
}

@media (max-width: 809px) {
  .main-nav { padding: 14px 20px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }

  #hero { min-height: auto; padding: 110px 24px 60px; }
  .hero-h1 { font-size: 32px; }
  .hero-brand { display: none; }

  .story-section, #sobre, #prova-social, #produto, #modulos,
  #entregaveis, #preco, #blog, #faq, .cta-section, .footer-bottom {
    padding: 72px 24px;
  }
  .footer-top { padding: 72px 24px 40px; }

  .story-section { position: static; min-height: auto; }

  .story-inner h2 { font-size: 28px; }
  .symptom-grid { grid-template-columns: 1fr; }

  .module-grid { grid-template-columns: 1fr; }
  .deliverables-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }
  .blog-card-img { aspect-ratio: 16 / 9; }
  .blog-card-body { padding: 20px; }
  .price-grid-v2 { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }

  .marquee-col-tablet { display: none; }
  .marquee-wrap { max-height: 560px; }

  .cta-section h2, .footer-cta h2, .section-header h2 { font-size: 30px; }
  .footer-brand-logo { height: 48px; }
  .footer-logo { height: 32px; }
  .footer-bar { flex-direction: column; align-items: flex-start; }

  #faq { grid-template-columns: 1fr; gap: 40px; }

  .btn {
    white-space: normal;
    text-align: left;
    max-width: 100%;
  }
}
