/* ==========================================================
   Pautas Extras — Agência Macrocosmo
   Folha de estilos única da landing page
   ========================================================== */

/* ---------- Tokens ---------- */
:root {
  --azul: #1A56DB;
  --azul-hover: #1546B8;
  --azul-claro: #8DB0FF;
  --azul-tint: #E8EEFC;
  --noite: #0B1530;
  --fundo-escuro: #070B16;
  --cinza-bg: #F4F6FA;
  --borda: #D5DAE3;
  --borda-suave: #E6E9F0;
  --borda-escura: #1B2338;
  --borda-navy: #2A3550;
  --texto: #0B1530;
  --texto-2: #3A4458;
  --texto-3: #5B6475;
  --texto-claro: #B4BFD6;
  --texto-claro-2: #C9D2E4;
  --verde-status: #2E6B3F;
  --branco: #FFFFFF;

  --font-sans: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;

  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(64px, 9vw, 112px);
  --radius: 16px;
  --radius-lg: 20px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--texto);
  background: var(--branco);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: var(--azul); }
a:hover { color: var(--azul-hover); }

:focus-visible { outline: 3px solid var(--azul-claro); outline-offset: 3px; border-radius: 6px; }

[id] { scroll-margin-top: 80px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.stack-sm > * + * { margin-top: 18px; }
.stack-md > * + * { margin-top: 22px; }
.stack-lg > * + * { margin-top: 44px; }

h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--azul-hover);
}
.eyebrow--light { color: var(--azul-claro); }

.section-head { max-width: 780px; }
.section-head > * + * { margin-top: 16px; }

.text { font-size: 17px; line-height: 1.65; color: var(--texto-2); }
.text strong { color: var(--texto); }

.serif-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.4;
}
.serif-lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.45;
}

/* ---------- Ícones ---------- */
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.icon-check { width: 22px; height: 22px; flex-shrink: 0; color: var(--azul); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--azul);
  color: var(--branco);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--azul-hover); color: var(--branco); }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.btn--block { display: flex; width: 100%; }
.btn--white { background: var(--branco); color: var(--noite); font-weight: 700; }
.btn--white .icon { color: var(--azul); }
.btn--white:hover { background: var(--azul-tint); color: var(--noite); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--fundo-escuro);
  border-bottom: 1px solid var(--borda-escura);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--branco);
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { color: var(--branco); }
.brand-symbol { width: 32px; height: 32px; }
.wordmark { font-size: 18px; line-height: 1; white-space: nowrap; }
.wm-light { font-weight: 400; }
.wm-bold { font-weight: 700; }
.brand--sm .brand-symbol { width: 28px; height: 28px; }
.brand--sm .wordmark { font-size: 16px; }

.nav-desk {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-desk a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--texto-claro-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.nav-desk a:hover { color: var(--branco); }

.nav-toggle {
  margin-left: auto;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--borda-navy);
  border-radius: 10px;
  color: var(--branco);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-mobile {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--borda-escura);
  padding-top: 8px;
  padding-bottom: 24px;
  max-height: calc(100vh - 69px);
  overflow-y: auto;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--borda-escura);
  color: var(--branco);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-mobile .btn { margin-top: 20px; }

@media (max-width: 1023px) {
  .nav-desk { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 1024px) {
  .nav-mobile { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { background: var(--fundo-escuro); color: var(--branco); }

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
  padding-top: clamp(48px, 8vw, 104px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.hero-copy { flex: 1 1 460px; min-width: 0; }
.hero-copy > * + * { margin-top: 24px; }

.hero h1 {
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.hero-sub {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--texto-claro);
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  padding-top: 8px;
}

.link-light {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--branco);
  font-size: 16px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.link-light:hover { color: var(--azul-claro); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
  color: var(--texto-claro);
}
.hero-meta strong { color: var(--branco); }

/* Card de exemplo do publicador */
.cms-card {
  flex: 1 1 360px;
  min-width: 0;
  max-width: 480px;
  background: var(--branco);
  color: var(--texto);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cms-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cms-title { font-size: 14px; font-weight: 600; }
.cms-tag { font-size: 12px; color: var(--texto-3); }
.cms-list { display: flex; flex-direction: column; gap: 10px; }
.cms-item {
  border: 1px solid var(--borda);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cms-cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--azul-hover);
}
.cms-headline { font-size: 15px; font-weight: 600; line-height: 1.35; }
.cms-status { font-size: 12px; font-weight: 600; color: var(--verde-status); }
.cms-foot {
  font-size: 14px;
  line-height: 1.5;
  color: var(--texto-2);
  border-top: 1px solid var(--borda-suave);
  padding-top: 14px;
}
.cms-foot strong { color: var(--texto); }

/* Números */
.stats-band { border-top: 1px solid var(--borda-escura); }
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 28px;
  padding-block: 40px;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label { font-size: 15px; color: var(--texto-claro); }

/* ---------- Seções ---------- */
.section { padding-block: var(--section-y); background: var(--branco); }
.section--gray { background: var(--cinza-bg); }
.section--navy { background: var(--noite); color: var(--branco); }
.section--navy .text { color: var(--texto-claro-2); }

/* Problema */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}
.card-soft {
  background: var(--cinza-bg);
  border-radius: var(--radius);
  padding: 28px;
}
.card-soft > * + * { margin-top: 14px; }
.card-label { font-size: 14px; font-weight: 600; color: var(--azul-hover); }
.card-text { font-size: 18px; line-height: 1.55; }

/* Solução */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(40px, 6vw, 80px);
}
.split-main { flex: 1 1 420px; min-width: 0; }
.split-side { flex: 1 1 400px; min-width: 0; }

.panel {
  background: var(--branco);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
}
.panel > * + * { margin-top: 20px; }
.panel-title { font-size: 18px; font-weight: 600; }
.panel-foot {
  border-top: 1px solid var(--borda-suave);
  padding-top: 18px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--texto-2);
}
.panel-foot strong { color: var(--texto); }

.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.5;
}
.check-list--light { gap: 12px; }
.check-list--light .icon-check { color: var(--azul-claro); }

/* Como funciona */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}
.step {
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 28px;
}
.step > * + * { margin-top: 12px; }
.step-num { display: block; font-size: 15px; font-weight: 700; color: var(--azul); }
.step h3 { font-size: 20px; font-weight: 600; }
.step p { font-size: 16px; line-height: 1.6; color: var(--texto-2); }
.step--dark { background: var(--noite); border-color: var(--noite); color: var(--branco); }
.step--dark .step-num { color: var(--azul-claro); }
.step--dark p { color: var(--texto-claro-2); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}
.cta-note { font-size: 14px; color: var(--texto-3); }

/* Objeção / comparação */
.serif-objection {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.25;
  color: var(--texto-claro-2);
}

.compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 20px;
}
.compare-card {
  border: 1px solid var(--borda-navy);
  border-radius: 18px;
  padding: 28px;
}
.compare-title { font-size: 18px; font-weight: 600; color: var(--texto-claro-2); margin-bottom: 18px; }
.compare-card ul { display: flex; flex-direction: column; gap: 14px; }
.compare-card li {
  font-size: 16px;
  line-height: 1.5;
  color: var(--texto-claro-2);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--borda-navy);
}
.compare-card li:last-child { padding-bottom: 0; border-bottom: 0; }

.compare-card--brand { background: var(--azul); border-color: var(--azul); }
.compare-card--brand .compare-title { color: var(--branco); font-weight: 700; }
.compare-card--brand li { color: var(--branco); border-bottom-color: rgba(255, 255, 255, .28); }

.compare-close {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  font-weight: 600;
  max-width: 820px;
}
.compare-close span { color: var(--azul-claro); }

/* Fundador */
.founder {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(36px, 6vw, 72px);
}
.founder-photo {
  flex: 1 1 300px;
  min-width: 0;
  max-width: 420px;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  background: var(--noite);
}
.founder-copy { flex: 1 1 440px; min-width: 0; }
.founder-role { margin-top: 6px; font-size: 16px; color: var(--texto-3); }

/* Planos */
.pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.price-card {
  flex: 1 1 420px;
  min-width: 0;
  background: var(--fundo-escuro);
  color: var(--branco);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.price-top > * + * { margin-top: 8px; }
.price-from, .price-note { font-size: 15px; color: var(--texto-claro); }
.price-note { font-size: 14px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.price-value {
  font-size: clamp(44px, 5.4vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-period { font-size: 18px; color: var(--texto-claro); }
.price-cta > * + * { margin-top: 12px; }
.price-terms { text-align: center; font-size: 14px; color: var(--texto-claro); }

.start-card {
  flex: 1 1 360px;
  min-width: 0;
  background: var(--branco);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 44px);
}
.start-title { font-size: 20px; font-weight: 600; margin-bottom: 26px; }
.start-steps { display: flex; flex-direction: column; gap: 26px; }
.start-steps li { display: flex; gap: 16px; }
.start-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--azul-tint);
  color: var(--azul-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.start-step-title { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.start-steps p:not(.start-step-title) { font-size: 15px; line-height: 1.55; color: var(--texto-2); }

/* FAQ */
.faq { border-top: 1px solid var(--borda); }
.faq details { border-bottom: 1px solid var(--borda); padding: 20px 0; }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 28px;
  font-size: 18px;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: var(--azul);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--texto-2); }

/* CTA final */
.cta-final { background: var(--azul); color: var(--branco); }
.container--cta {
  max-width: 900px;
  padding-block: clamp(64px, 8vw, 104px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}
.cta-final h2 { font-size: clamp(28px, 3.8vw, 46px); }
.cta-final p { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: #E3EAFB; max-width: 680px; }
.cta-final .cta-terms { font-size: 14px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--fundo-escuro); color: var(--texto-claro); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  gap: 20px 32px;
  padding-block: 36px;
  font-size: 14px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
}
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--texto-claro-2);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--branco); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 640px) {
  .footer-nav { margin-left: 0; }
}

/* ---------- Acessibilidade: movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ==========================================================
   Saúde nas Redes — complementos
   ========================================================== */

/* Calendário de exemplo no topo */
.cms-cat { display: flex; justify-content: space-between; gap: 8px; }
.cms-day { color: var(--texto-3); }
.cms-status--pending { color: #9A4A00; }

/* Cards de ética (CFM / CFP) */
.compare-sub { margin-top: 4px; font-size: 14px; color: var(--azul-claro); }
.compare-card .compare-head { margin-bottom: 18px; }
.compare-card .compare-head .compare-title { margin-bottom: 0; color: var(--branco); font-weight: 700; }

/* Tipos de conteúdo */
.card-white {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 28px;
}
.card-white > * + * { margin-top: 10px; }
.card-white h3 { font-size: 19px; font-weight: 600; }
.card-white p { font-size: 16px; line-height: 1.6; color: var(--texto-2); }

.panel-note {
  border-top: 1px solid var(--borda-suave);
  padding-top: 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--texto-2);
}
