/* ==========================================================================
   Missão Corpo Vivo — Mafalda Sá da Bandeira
   White & grey editorial theme
   ========================================================================== */

:root {
  --dark: #4f4f4f;
  --ink: #2e2e2e;
  --grey-900: #3a3a3a;
  --grey-600: #6b6b6b;
  --grey-400: #a3a3a3;
  --grey-300: #d2d2d2; /* text on dark backgrounds: ≥ 6:1 on --dark */
  --grey-200: #e4e4e4;
  --grey-100: #f3f3f1;
  --white: #ffffff;

  --serif: 'Playfair Display', 'Didot', Georgia, serif;
  --sans: 'Jost', 'Avenir Next', 'Avenir', 'Helvetica Neue', Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 10vw, 8.5rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* the off-canvas menu sits at translateX(100%) while closed */
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }

p { margin: 0 0 1.25em; }

ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--dark); color: var(--white); padding: 0.75rem 1rem;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
/* Buttons whose text colour matches the section behind them need an explicit focus colour */
.btn-solid:focus-visible, .btn-whatsapp:focus-visible, .whatsapp-float:focus-visible, .instagram-float:focus-visible { outline-color: var(--dark); }
.hero .btn-light:focus-visible, .section-dark .btn:focus-visible { outline-color: var(--white); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--grey-600); margin-bottom: 1.25rem;
}
.section-dark .eyebrow, .hero .eyebrow { color: var(--grey-300); }
.eyebrow-lg { font-size: 1rem; font-weight: 500; color: var(--ink); }

.display { font-size: clamp(2.5rem, 6.2vw, 5.25rem); line-height: 1.02; letter-spacing: -0.02em; }
.display em { font-style: italic; }

.heading-xl { font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.08; }

.lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.6; max-width: 34em; color: var(--grey-200); }

.section-intro { max-width: 36em; color: var(--grey-600); font-size: 1.0625rem; }
.heading-xl + .section-intro { margin-top: 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.8rem 1.75rem;
  font-family: var(--sans); font-weight: 400; font-size: 0.875rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; border: 1px solid currentColor; cursor: pointer; background: transparent;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-solid { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-solid:hover { background: var(--white); color: var(--dark); }
.btn-light { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); }
.btn-outline-light { color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--grey-200);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--grey-200), 0 8px 24px -16px rgba(0,0,0,0.25); }

.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 4.75rem; }

.wordmark { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; margin-right: auto; }
.wordmark-main { font-family: var(--serif); font-size: 1.375rem; letter-spacing: 0.01em; }
.wordmark-sub { font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-600); margin-top: 0.15rem; }

.site-nav ul { display: flex; gap: 2rem; }
.site-nav a {
  text-decoration: none; font-size: 0.875rem; letter-spacing: 0.06em; font-weight: 400;
  padding: 0.5rem 0; border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.site-nav a:hover { border-bottom-color: var(--dark); }

.header-cta { min-height: 2.75rem; padding-block: 0.6rem; }
.nav-cta { display: none; }

.nav-toggle {
  display: none; order: 10; width: 2.75rem; height: 2.75rem; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 7px; padding: 0;
}
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: var(--dark); transition: transform 0.3s var(--ease); }
.nav-open .nav-toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { background: var(--dark); color: var(--white); overflow: hidden; }

.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 5rem); align-items: stretch;
  min-height: min(88vh, 900px);
}

.hero-copy { padding-block: clamp(4rem, 9vw, 8rem); display: flex; flex-direction: column; justify-content: center; }
.hero-copy h1 { margin-bottom: 1.75rem; max-width: 12em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 0.75rem; }

.hero-facts {
  display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); margin: 3.25rem 0 0;
  padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts dt { font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-300); }
.hero-facts dd { margin: 0.25rem 0 0; font-family: var(--serif); font-size: 1.375rem; }

.hero-figure { margin: 0; position: relative; }
.hero-figure img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% center; min-height: 420px;
  filter: grayscale(1) contrast(1.05);
}
.hero-figure::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--dark) 0%, rgba(79,79,79,0) 22%);
}

/* ---------- Marquee strip ---------- */
.strip { background: var(--white); border-bottom: 1px solid var(--grey-200); overflow: hidden; padding: 1.1rem 0; }
.strip-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.strip-track span {
  font-family: var(--serif); font-size: 1.0625rem; letter-spacing: 0.06em; white-space: nowrap; padding: 0 1.25rem;
}
.strip-track span::after { content: '·'; margin-left: 2.5rem; color: var(--grey-400); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: var(--section-y); }
.section-dark { background: var(--dark); color: var(--white); }
.section-grey { background: var(--grey-100); }

.two-col { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.col-sticky { position: sticky; top: 6.5rem; }

.section-head { max-width: 40em; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head-split {
  max-width: none; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 6rem); align-items: end;
}
.section-head-split .section-intro { margin-bottom: 0.4rem; }

/* ---------- Manifesto ---------- */
.prose { max-width: 40em; }
.prose p { margin-bottom: 1.4em; }
.prose-first { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.45; }
.prose-first::first-letter { font-size: 3.2em; float: left; line-height: 0.8; padding-right: 0.12em; padding-top: 0.08em; }

.pull-quote {
  margin: 2.5rem 0; padding-left: 1.75rem; border-left: 2px solid var(--dark);
  font-family: var(--serif); font-style: italic; font-size: clamp(1.375rem, 2.4vw, 1.875rem); line-height: 1.3;
}
.pull-quote p { margin: 0; }

/* ---------- Antes dos músculos ---------- */
.antes-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.antes-figure { margin: 0; }
.antes-figure img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; filter: grayscale(1); }

.numbered-list { margin-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.18); }
.numbered-list li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.18); }
.numbered-list .num { font-family: var(--serif); font-size: 0.9375rem; color: var(--grey-300); padding-top: 0.35rem; }
.numbered-list h3 { font-size: 1.5rem; margin-bottom: 0.35rem; }
.numbered-list p { margin: 0; color: var(--grey-300); max-width: 32em; }
.antes-closing { font-family: var(--serif); font-style: italic; font-size: clamp(1.375rem, 2.4vw, 1.875rem); margin: 2.25rem 0 0; }

/* ---------- Imunidade ---------- */
.imunidade-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.imunidade-copy .prose { margin-top: 2rem; }
.tool-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 2rem; margin-top: 1.5rem; padding-top: 1.75rem; border-top: 1px solid var(--dark); max-width: 36em; }
.tool-list li { position: relative; padding-left: 1.5rem; font-size: 0.9875rem; }
.tool-list li::before { content: '—'; position: absolute; left: 0; color: var(--grey-400); }
.imunidade-figure { margin: 0; }
.imunidade-figure img { width: 100%; height: auto; filter: grayscale(1) contrast(1.08); }
.imunidade-figure figcaption { margin-top: 1rem; font-size: 0.8125rem; color: var(--grey-600); font-style: italic; font-family: var(--serif); }

/* ---------- Objetivos ---------- */
.goal-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--dark); border-left: 1px solid var(--dark); }
.goal { padding: 2rem 1.75rem 2.25rem; border-right: 1px solid var(--dark); border-bottom: 1px solid var(--dark); }
.goal-index { display: block; font-family: var(--serif); font-size: 1.125rem; color: var(--grey-600); margin-bottom: 2.5rem; }
.goal h3 { font-size: 1.375rem; margin-bottom: 0.75rem; }
.goal p { margin: 0; color: var(--grey-600); font-size: 0.9875rem; }

.big-quote { margin: clamp(3.5rem, 7vw, 6rem) auto 0; max-width: 46em; text-align: center; }
.big-quote p { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.25; margin-bottom: 1.5rem; }
.big-quote cite { font-style: normal; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--grey-600); }
.big-quote cite::before { content: ''; display: block; width: 2.5rem; height: 1px; background: var(--dark); margin: 0 auto 1.25rem; }

/* ---------- Programa ---------- */
.details-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  padding: 2.5rem 0; border-top: 1px solid var(--dark); border-bottom: 1px solid var(--dark);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.detail h3 { font-size: 0.75rem; font-family: var(--sans); font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--grey-600); margin-bottom: 0.75rem; }
.detail p { margin: 0; }

/* ---------- Como participar ---------- */
.steps-head { max-width: 40em; margin-bottom: 2.5rem; }
.steps-title { font-size: clamp(1.5rem, 2.6vw, 2.125rem); line-height: 1.2; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--dark); border-left: 1px solid var(--dark); }
.step { padding: 2rem 1.75rem 2.25rem; border-right: 1px solid var(--dark); border-bottom: 1px solid var(--dark); }
.step-num { display: block; font-family: var(--serif); font-size: 1rem; color: var(--grey-600); margin-bottom: 2.25rem; }
.step h4 { font-size: 1.3125rem; margin-bottom: 0.75rem; }
.step p { margin: 0; color: var(--grey-600); font-size: 0.9875rem; }

.steps-cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }

/* ---------- WhatsApp (brand green kept on purpose) ---------- */
.btn-whatsapp {
  --wa: #25d366; --wa-dark: #1ebe5a;
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.9rem 1.6rem 0.9rem 1.3rem; background: var(--wa); color: var(--white); border: 1px solid var(--wa);
  text-decoration: none; font-size: 0.875rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn-whatsapp:hover { background: var(--wa-dark); border-color: var(--wa-dark); transform: translateY(-1px); }
.btn-whatsapp-lg { padding: 1.1rem 2rem 1.1rem 1.6rem; font-size: 0.9375rem; }
.btn-whatsapp-lg .icon-whatsapp { width: 1.625rem; height: 1.625rem; }
.icon-whatsapp { width: 1.375rem; height: 1.375rem; flex: none; }

.float-actions { position: fixed; right: 1.25rem; bottom: max(1.25rem, env(safe-area-inset-bottom, 0px)); z-index: 45; display: flex; align-items: center; gap: 0.75rem; }
.whatsapp-float, .instagram-float {
  display: flex; align-items: center; justify-content: center; width: 3.375rem; height: 3.375rem;
  border-radius: 50%; color: var(--white);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.whatsapp-float { background: #25d366; }
.whatsapp-float .icon-whatsapp { width: 1.75rem; height: 1.75rem; }
.whatsapp-float:hover { transform: translateY(-2px); background: #1ebe5a; }
.instagram-float { background: var(--dark); border: 1px solid rgba(255,255,255,0.55); }
.instagram-float .icon-instagram { width: 1.5rem; height: 1.5rem; }
.instagram-float:hover { transform: translateY(-2px); background: var(--white); color: var(--dark); }

/* ---------- Mafalda ---------- */
.mafalda-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.mafalda-copy .prose { margin-top: 2rem; }

.stats { display: grid; grid-template-columns: repeat(3, auto); gap: 2.5rem; margin: 2.5rem 0 0; padding-top: 2rem; border-top: 1px solid var(--dark); width: fit-content; }
.stat { min-width: 0; }
.stat-value { display: block; font-family: var(--serif); font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1; }
.stat-label { display: block; margin-top: 0.35rem; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-600); }

.mafalda-figure { margin: 0; }
.mafalda-figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(1) contrast(1.05); }

.principles { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.principles li { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; border: 1px solid var(--dark); padding: 0.4rem 0.8rem; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid rgba(255,255,255,0.18); }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.18); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0; font-family: var(--serif); font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; flex: none; font-family: var(--sans); font-weight: 300; font-size: 1.75rem; line-height: 1;
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 1.75rem; color: var(--grey-300); max-width: 36em; }

/* ---------- Contacto ---------- */
.contacto-inner { max-width: 44em; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.contacto-intro { margin-inline: auto; }
.contacto .btn-whatsapp-lg { margin-top: 0.5rem; }
.contacto-insta { margin: 2.5rem 0 0; color: var(--grey-600); font-size: 0.9375rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem 0.75rem; }
.contacto-insta a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--dark); text-decoration: none; border-bottom: 1px solid var(--dark); font-weight: 400; }
.contacto-insta a:hover { color: var(--grey-600); border-color: var(--grey-600); }
.icon-instagram { width: 1.125rem; height: 1.125rem; }

/* ---------- Closing ---------- */
.closing { background: var(--dark); color: var(--white); padding-block: clamp(4rem, 8vw, 7rem); }
.closing-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.closing-figure { margin: 0; }
.closing-figure img {
  width: 100%; max-width: 420px; aspect-ratio: 736 / 1200; object-fit: cover;
  margin-inline: auto; filter: grayscale(1); border: 1px solid rgba(255,255,255,0.18);
}
.closing-inner { max-width: 24em; }
.closing-text { font-family: var(--serif); font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.2; margin-bottom: 1.5rem; }
.closing-sign { font-family: var(--serif); font-style: italic; font-size: 1.5rem; letter-spacing: 0.08em; margin: 0; }
.closing-sign::before { content: ''; display: block; width: 2.5rem; height: 1px; background: var(--white); margin: 0 0 1.25rem; opacity: 0.7; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--grey-300); border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.8125rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; padding-block: 1.75rem; }
.footer-brand { margin: 0; color: var(--white); font-family: var(--serif); font-size: 1rem; }
.footer-brand span { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-300); }
.footer-copy { margin: 0; margin-left: auto; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { text-decoration: none; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.6875rem; }
.footer-links a:hover { color: var(--white); }

/* ---------- 404 page ---------- */
.error-page { min-height: 100vh; display: flex; align-items: center; padding-block: var(--section-y); }
.error-inner { max-width: 40em; text-align: center; }
.error-inner .section-intro { margin: 1.5rem auto 2.5rem; }

/* ---------- Reveal ---------- */
/* Only hide reveal elements when JS is running (the <html> gets .js from an inline script in <head>) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.goal-grid .goal:nth-child(2), .steps .step:nth-child(2), .details-grid .detail:nth-child(2) { transition-delay: 0.08s; }
.goal-grid .goal:nth-child(3), .steps .step:nth-child(3), .details-grid .detail:nth-child(3) { transition-delay: 0.16s; }
.goal-grid .goal:nth-child(4), .steps .step:nth-child(4), .details-grid .detail:nth-child(4) { transition-delay: 0.24s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .goal-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .details-grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav ul { gap: 1.25rem; }
  .site-nav a { white-space: nowrap; }
  .header-cta { display: none; }
}

@media (max-width: 840px) {
  .header-inner { min-height: 4.25rem; gap: 1rem; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 4.25rem 0 0 0; background: var(--white); z-index: 40;
    padding: 2rem var(--gutter); transform: translateX(100%); visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0s 0.35s;
    overflow-y: auto; overscroll-behavior: contain;
  }
  .nav-open .site-nav { transform: none; visibility: visible; transition-delay: 0s; }
  .nav-open, html:has(body.nav-open) { overflow: hidden; }
  .nav-open .float-actions { display: none; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; font-family: var(--serif); font-size: 1.75rem; letter-spacing: 0; padding: 0.9rem 0; border-bottom: 1px solid var(--grey-200); }
  .nav-cta { display: block; padding-top: 2rem; }
  .nav-cta .btn { display: flex; font-family: var(--sans); font-size: 0.875rem; letter-spacing: 0.12em; padding: 0.9rem 1.75rem; border-bottom: 1px solid var(--dark); }

  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding-block: 4rem 3rem; }
  .hero-figure { order: -1; margin-inline: calc(-1 * var(--gutter)); }
  .hero-figure img { min-height: 0; aspect-ratio: 3 / 4; object-position: center 50%; }
  .hero-figure::after { background: linear-gradient(180deg, rgba(79,79,79,0) 60%, var(--dark) 100%); }

  .two-col, .antes-grid, .mafalda-grid, .imunidade-grid, .closing-grid, .section-head-split { grid-template-columns: 1fr; }
  .closing-figure img { max-width: 320px; aspect-ratio: 4 / 5; object-position: center 60%; margin-inline: 0; }
  .col-sticky { position: static; }
  .antes-figure { max-width: 420px; }
  .mafalda-side { max-width: 480px; }
  .imunidade-figure { max-width: 420px; }
  .stats { gap: 2rem; }
  .footer-copy { margin-left: 0; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .goal-grid, .details-grid, .steps { grid-template-columns: 1fr; }
  .goal, .step { padding: 1.5rem 1.25rem 1.75rem; }
  .goal-index, .step-num { margin-bottom: 1.5rem; }
  .tool-list { grid-template-columns: 1fr; }
  .btn-whatsapp { width: 100%; justify-content: center; }
  .hero-facts { flex-wrap: wrap; gap: 1.25rem 2rem; }
  .hero-actions .btn { width: 100%; }
  .numbered-list li { grid-template-columns: 2.5rem 1fr; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; width: 100%; }
  .stat-value { font-size: 2.25rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; padding-bottom: calc(1.75rem + 4.5rem); }
}
