/* ==========================================================================
   Care Pages — páginas públicas (landing, checkout, blog, acesso)
   Fundamentos do design system "CareSite" com as cores do Care Pages:
   Sora nos títulos, Plus Jakarta Sans no texto, raios de 14,4px, sombras
   com tom da marca, seções 48/64/80px, container de 1152px e fotos reais.
   Carregado depois do app.css; os painéis não usam este arquivo.
   ========================================================================== */

:root {
  --font-display: "Sora", system-ui, sans-serif;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14.4px;
  --radius-sm: 12.4px;
  --radius-lg: 14.4px;
  --wrap: 1152px;
  --shadow-sm: 0 1px 3px 0 rgba(11, 37, 48, .1), 0 1px 2px -1px rgba(11, 37, 48, .1);
  --shadow: 0 1px 2px 0 rgba(11, 37, 48, .05), 0 12px 32px 0 rgba(11, 37, 48, .08);
  --shadow-lg: 0 1px 2px 0 rgba(11, 37, 48, .06), 0 24px 48px -12px rgba(11, 37, 48, .18);
}
:root[data-theme="dark"] {
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, .3);
  --shadow: 0 1px 2px 0 rgba(0, 0, 0, .3), 0 12px 32px 0 rgba(0, 0, 0, .35);
  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, .6);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, .3);
    --shadow: 0 1px 2px 0 rgba(0, 0, 0, .3), 0 12px 32px 0 rgba(0, 0, 0, .35);
    --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, .6);
  }
}

/* ---------------------------------------------------------------- base */
body { font: 400 16px/24px var(--font); }
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-variation-settings: normal; }
h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; }
.wrap { width: min(100% - 40px, var(--wrap)); }

/* ---------------------------------------------------------------- botões: raio 14,4px (grandes) e 12,4px (compactos), sem pílula */
.btn { border-radius: var(--radius-sm); font: 600 15px/1 var(--font); box-shadow: var(--shadow-sm); }
.btn-lg { border-radius: var(--radius); font-size: 16px; padding: 0 32px; }
.btn-sm { border-radius: var(--radius-sm); font-size: 13px; }
.btn-ghost { box-shadow: none; }
.btn:hover { box-shadow: var(--shadow); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------------------------------------------------------------- cabeçalho: fundo a 90% e fio inferior */
.site-header { background: color-mix(in srgb, var(--bg) 90%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.logo { font: 700 19px/1 var(--font-display); }
.nav a { border-radius: var(--radius-sm); font-size: 14px; line-height: 20px; font-weight: 500; }

/* ---------------------------------------------------------------- seções: 48 / 64 / 80px */
.section { padding: 48px 0; }
@media (min-width: 768px) { .section { padding: 64px 0; } }
@media (min-width: 1024px) { .section { padding: 80px 0; } }
.section-alt { background: var(--bg-2); border-block: 0; }
.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: 32px; line-height: 40px; letter-spacing: -.64px; }
@media (min-width: 768px) { .section-head h2 { font-size: 36px; line-height: 45px; letter-spacing: -.72px; } }
.section-head p { font-size: 16px; line-height: 24px; }
.eyebrow { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .04em; margin-bottom: 12px; }
.eyebrow::before { display: none; }

/* ---------------------------------------------------------------- hero com foto retrato */
.hero { padding: 40px 0 64px; }
@media (min-width: 1024px) { .hero { padding: 56px 0 80px; } }
.hero-in { grid-template-columns: 1.05fr .95fr; gap: 40px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 9999px; background: var(--green-soft); color: var(--green); font: 600 12px/16px var(--font); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; }
.hero-badge svg { width: 14px; height: 14px; }
.hero h1 { font-size: clamp(34px, 5.6vw, 60px); line-height: 1.04; letter-spacing: -.02em; }
.hero-lead { font-size: 18px; line-height: 28px; color: var(--muted); }
.trust { gap: 12px 22px; font-weight: 500; }
.hero-media { position: relative; margin: 0; width: 100%; max-width: 420px; justify-self: end; }
.hero-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: var(--bg-2); }
.hero-stats { position: absolute; left: -28px; bottom: 28px; display: flex; gap: 20px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero-stats div { display: grid; }
.hero-stats b { font: 700 22px/1.1 var(--font-display); color: var(--ink); letter-spacing: -.02em; }
.hero-stats small { font-size: 12px; line-height: 16px; color: var(--muted); }
.hero-media .chip-1 { left: auto; right: -20px; bottom: auto; top: 36px; }
.hero-media .chip-2 { right: auto; left: -24px; top: 140px; }
@media (max-width: 960px) { .hero-in { grid-template-columns: 1fr; } .hero-media { max-width: 440px; margin: 0 auto; } }
@media (max-width: 640px) {
  .hero-stats { left: 12px; right: 12px; bottom: 12px; justify-content: space-between; gap: 10px; }
  .hero-media .chip-1 { right: 8px; top: 12px; }
  .hero-media .chip-2 { display: none; }
}

/* ---------------------------------------------------------------- especialidades com foto */
.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.aud-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.aud-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-2); }
.aud-body { padding: 20px 22px 24px; }
.aud-body h3 { font-size: 18px; line-height: 28px; margin-bottom: 6px; }
.aud-body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 24px; }
@media (max-width: 860px) { .audience { grid-template-columns: 1fr; } .aud-card { flex-direction: row; } .aud-card img { width: 38%; aspect-ratio: auto; } }
@media (max-width: 520px) { .aud-card { flex-direction: column; } .aud-card img { width: 100%; aspect-ratio: 16 / 9; } }

/* ---------------------------------------------------------------- cartões (dores, passos, FAQ, blog, sobre) */
.pain, .step, .faq details, .post-card, .about-panel, .feature, .domain-box { border-radius: var(--radius); box-shadow: var(--shadow); }
.pain q { font: 600 18px/28px var(--font-display); letter-spacing: -.36px; }
.step::before { font: 700 14px var(--font); border-radius: var(--radius-sm); }
.step h3, .feature h3 { font-size: 18px; line-height: 28px; }
.step p, .feature p, .pain p { font-size: 14px; line-height: 24px; }
.faq summary { font: 600 16px/24px var(--font); }

/* ---------------------------------------------------------------- planos com foto do modelo */
.plans { gap: 24px; align-items: start; }
.plan { padding: 0 0 24px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.plan > :not(.plan-thumb) { margin-left: 22px; margin-right: 22px; }
.plan-thumb { position: relative; display: block; margin: 0 0 18px; aspect-ratio: 16 / 11; background: var(--bg-2); }
.plan-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.plan-thumb .chip { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 9999px; background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--ink); font: 600 11px/16.5px var(--font); letter-spacing: .06em; text-transform: uppercase; }
.plan-thumb .spec { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 9999px; background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--ink); font: 600 12px/16px var(--font); }
.plan-thumb .spec img { width: 24px; height: 24px; border-radius: 7px; }
.plan.is-highlight { border-width: 2px; }
.plan-flag { top: 12px; left: auto; right: 12px; transform: none; z-index: 2; }
.plan-code { display: none; }
.plan h3 { font: 700 20px/28px var(--font-display); letter-spacing: -.4px; margin-top: 0; }
.plan-price .val { font-family: var(--font-display); letter-spacing: -.02em; }
.plan-best { border-radius: var(--radius-sm); }
.plan-cycle { display: inline-flex; align-items: center; gap: 6px; margin: -2px 0 6px; padding: 3px 10px; border-radius: 9999px; background: var(--blue-soft, var(--bg-2)); color: var(--ink); font: 600 12.5px/18px var(--font); }
.plan-cycle svg { width: 14px; height: 14px; color: var(--blue); }
/* "O que está incluso": recolhido para os cartões ficarem curtos; assinar e demonstração seguem sempre visíveis. */
.plan-included { margin: 0 0 18px; border-top: 1px solid var(--line); }
.plan-included summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; cursor: pointer; list-style: none; font: 600 14px/20px var(--font); color: var(--blue); }
.plan-included summary::-webkit-details-marker { display: none; }
.plan-included summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.plan-included[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.plan-included summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.plan-included ul { margin: 4px 0 0; }
.included { border-radius: var(--radius); border-style: solid; box-shadow: var(--shadow); }
.included h3 { font: 700 20px/28px var(--font-display); }
.custom-card { border-radius: var(--radius); }
.custom-card h3 { font: 700 24px/32px var(--font-display); letter-spacing: -.48px; }
.billing-toggle { border-radius: var(--radius-sm); }
.billing-toggle button { border-radius: 10px; font-weight: 600; }

/* ---------------------------------------------------------------- diferenciais: fios de 1px entre células */
.features { gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.feature { border: 0; border-radius: 0; box-shadow: none; padding: 28px; }
.feature-big { border-radius: 0; }
.feature-big h3 { font: 700 28px/36px var(--font-display); letter-spacing: -.56px; }
.feature-big .big-num { font-family: var(--font-display); font-weight: 700; }
.feature-ico { border-radius: var(--radius-sm); }

/* ---------------------------------------------------------------- sobre, blog, CTA final, rodapé */
.about h2 { font-size: clamp(30px, 3.6vw, 36px); line-height: 1.25; }
.about-panel blockquote { font: 600 20px/30px var(--font-display); letter-spacing: -.4px; }
.about-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-sm); }
.values div { border-radius: var(--radius-sm); }
.post-body h3 { font-size: 18px; line-height: 28px; }
.final { border-radius: var(--radius); }
.final h2 { font-size: clamp(28px, 3.6vw, 36px); line-height: 1.25; }
.site-footer { margin-top: 80px; }
.footer-grid h4 { font-family: var(--font); font-weight: 700; letter-spacing: .06em; }

/* atributos width/height servem só para reservar espaço; a altura real vem do aspect-ratio */
.hero-photo, .aud-card img, .about-photo { height: auto; }
.plan-thumb { overflow: hidden; }
.plan-thumb > img { position: absolute; inset: 0; }
