/* =========================================================
   Vida Plena 30 Dias — design system
   ========================================================= */

:root {
  --bg: #fbf9f4;
  --bg-soft: #f4f0e7;
  --surface: #ffffff;
  --ink: #12211a;
  --ink-soft: #3c4a42;
  --muted: #6d7a72;
  --line: #e4ded1;
  --primary: #14432f;
  --primary-hover: #0e3323;
  --accent: #b98a2f;
  --accent-soft: #f0e3c6;
  --success: #2f6f4f;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --shadow-sm: 0 1px 2px rgba(18, 33, 26, .06), 0 2px 8px rgba(18, 33, 26, .04);
  --shadow: 0 10px 30px rgba(18, 33, 26, .08), 0 2px 8px rgba(18, 33, 26, .04);
  --shadow-lg: 0 30px 70px rgba(18, 33, 26, .14);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1140px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

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

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

::selection { background: var(--accent-soft); color: var(--ink); }

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

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap-narrow { max-width: 780px; }

/* ---------- Typography helpers ---------- */

.eyebrow {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.accent { color: var(--primary); font-style: italic; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(20, 67, 47, .22);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(20, 67, 47, .28);
}

.btn-secondary {
  background: var(--accent-soft);
  color: var(--primary);
  border-color: rgba(185, 138, 47, .35);
}
.btn-secondary:hover {
  background: #ebd9b4;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(18, 33, 26, .18);
}
.btn-ghost:hover {
  border-color: rgba(18, 33, 26, .4);
  background: rgba(18, 33, 26, .04);
}

.btn-sm { min-height: 42px; padding: 0 20px; font-size: .88rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 244, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(18, 33, 26, .05);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--primary);
  flex-shrink: 0;
}
.brand-mark {
  width: 30px;
  height: 30px;
  color: var(--primary);
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
}
.brand-text em {
  font-style: normal;
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.main-nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .22s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  padding: 0 11px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 24px 22px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobile-nav a {
  padding: 12px 4px;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  border-bottom: 1px solid rgba(228, 222, 209, .6);
}
.mobile-nav .btn { margin-top: 14px; border-bottom: none; }
.mobile-nav.is-open { display: flex; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 10vw, 132px) 0 clamp(72px, 9vw, 120px);
}
.hero-glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 110%;
  background:
    radial-gradient(46% 46% at 22% 30%, rgba(185, 138, 47, .16), transparent 70%),
    radial-gradient(42% 42% at 78% 18%, rgba(20, 67, 47, .13), transparent 72%);
  filter: blur(6px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 880px;
}
.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  margin-bottom: 26px;
}
.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 620px;
  line-height: 1.6;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 6vw, 68px);
  margin: 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats dt {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
}
.hero-stats dd {
  margin: 8px 0 0;
  font-size: .84rem;
  color: var(--muted);
  letter-spacing: .02em;
}

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 9vw, 116px) 0; }

.section-head {
  max-width: 660px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.12;
}
.section-sub {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 560px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.split-reverse .split-copy { order: 2; }
.split-copy h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  margin-bottom: 22px;
}
.split-copy p {
  color: var(--ink-soft);
  margin-bottom: 16px;
  max-width: 520px;
}
.split-copy .btn { margin-top: 14px; }

/* ---------- Problem ---------- */

.section-problem { background: var(--bg-soft); }

.problem-list {
  display: grid;
  gap: 8px;
  padding-top: 6px;
}
.problem-list li {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.problem-list .dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.problem-list h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.problem-list p { color: var(--muted); font-size: .94rem; }

/* ---------- Timeline ---------- */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}
.timeline-item {
  position: relative;
  padding: 28px 24px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.timeline-item::before {
  content: "";
  position: absolute;
  top: -1px; left: 24px; right: 24px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: .6;
}
.timeline-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(185, 138, 47, .4);
}
.timeline-week {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.timeline-item h3 {
  font-size: 1.24rem;
  margin-bottom: 12px;
}
.timeline-item p {
  color: var(--ink-soft);
  font-size: .93rem;
  margin-bottom: 18px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tags li {
  font-size: .73rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  border: 1px solid var(--line);
}

/* ---------- Pillars ---------- */

.section-pillars { background: var(--primary); color: #eef3ef; }
.section-pillars .eyebrow { color: var(--accent-soft); }
.section-pillars h2 { color: #fbf9f4; }
.section-pillars .section-sub { color: rgba(238, 243, 239, .72); }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.card {
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.card:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(240, 227, 198, .38);
  transform: translateY(-4px);
}
.card-index {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--accent-soft);
  opacity: .8;
}
.card h3 {
  color: #fbf9f4;
  font-size: 1.35rem;
  margin: 16px 0 12px;
}
.card p {
  color: rgba(238, 243, 239, .72);
  font-size: .93rem;
}

/* ---------- Included ---------- */

.included-list {
  display: grid;
  gap: 14px;
}
.included-list li {
  display: grid;
  gap: 3px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
}
.included-list strong {
  font-size: .98rem;
  font-weight: 600;
  color: var(--ink);
}
.included-list span {
  font-size: .9rem;
  color: var(--muted);
}

/* ---------- Audience ---------- */

.section-audience { background: var(--bg-soft); }

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 26px;
}
.audience-col {
  padding: 32px 30px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.audience-col h3 {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.audience-yes h3 { color: var(--success); }
.audience-no h3 { color: #9a5040; }
.audience-col ul { display: grid; gap: 12px; }
.audience-col li {
  position: relative;
  padding-left: 24px;
  font-size: .95rem;
  color: var(--ink-soft);
}
.audience-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.audience-yes li::before { background: var(--success); }
.audience-no li::before { background: #b8695a; }

.disclaimer {
  font-size: .85rem;
  color: var(--muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 10px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 24px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] {
  border-color: rgba(185, 138, 47, .45);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform .2s ease;
  flex-shrink: 0;
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 0 22px;
  color: var(--ink-soft);
  font-size: .95rem;
  max-width: 620px;
}
.faq details a { color: var(--primary); }

/* ---------- CTA ---------- */

.section-cta { padding-top: 0; }

.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 7vw, 82px) clamp(26px, 5vw, 72px);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #123b2a 0%, #0d2a1e 60%, #17301f 100%);
  color: #f3f6f2;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 80%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(185, 138, 47, .28), transparent 70%);
  pointer-events: none;
}
.cta-card > * { position: relative; }
.cta-card .eyebrow { color: var(--accent-soft); }
.cta-card h2 {
  color: #fbf9f4;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  max-width: 720px;
  margin: 0 auto 18px;
}
.cta-sub {
  color: rgba(243, 246, 242, .74);
  max-width: 520px;
  margin: 0 auto 34px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.cta-card .btn-ghost {
  color: #f3f6f2;
  border-color: rgba(243, 246, 242, .28);
}
.cta-card .btn-ghost:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(243, 246, 242, .55);
}

/* ---------- Footer ---------- */

.site-footer {
  background: #0c1f17;
  color: rgba(237, 242, 238, .78);
  padding: clamp(52px, 7vw, 78px) 0 34px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand .brand-text { color: #fbf9f4; }
.footer-brand .brand-mark { color: var(--accent-soft); }
.footer-tagline {
  margin-top: 16px;
  font-size: .92rem;
  color: rgba(237, 242, 238, .6);
  max-width: 300px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(237, 242, 238, .45);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: .9rem;
  color: rgba(237, 242, 238, .78);
  text-decoration: none;
  padding: 5px 0;
  transition: color .18s ease;
  word-break: break-word;
}
.footer-col a:hover { color: var(--accent-soft); }

.footer-legal {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 28px;
  align-items: start;
  padding-top: 30px;
  font-size: .82rem;
  line-height: 1.7;
  color: rgba(237, 242, 238, .55);
}
.legal-entity strong {
  color: rgba(237, 242, 238, .85);
  font-weight: 600;
}
.legal-copy {
  text-align: right;
  white-space: nowrap;
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Legal pages ---------- */

.legal-page {
  padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px);
}
.legal-page .wrap { max-width: 820px; }
.legal-page h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  margin-bottom: 12px;
}
.legal-page .updated {
  font-size: .84rem;
  color: var(--muted);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.legal-page h2 {
  font-size: 1.32rem;
  margin: 40px 0 14px;
}
.legal-page h3 {
  font-family: var(--font-body);
  font-size: .98rem;
  font-weight: 600;
  margin: 24px 0 8px;
}
.legal-page p,
.legal-page li {
  color: var(--ink-soft);
  font-size: .96rem;
  line-height: 1.72;
  margin-bottom: 14px;
}
.legal-page ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
}
.legal-page ul li { margin-bottom: 8px; }
.legal-page a { color: var(--primary); }
.legal-card {
  padding: 24px 26px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 24px 0;
}
.legal-card p:last-child { margin-bottom: 0; }
.legal-back {
  display: inline-block;
  margin-top: 34px;
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
  color: var(--primary);
}
.legal-back:hover { color: var(--accent); }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-copy { order: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 38px; }
  .footer-legal { grid-template-columns: 1fr 1fr; }
  .legal-copy { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 820px) {
  .main-nav { display: none; }
  .header-inner > .btn { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { height: 66px; }
  .mobile-nav { display: none; }
  .mobile-nav.is-open { display: flex; }
  html { scroll-padding-top: 76px; }
}

@media (max-width: 640px) {
  .timeline { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { gap: 22px; }
  .hero-stats div { flex: 1 1 auto; }
  .cta-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
