/* ContaTudo: site de apresentação.
   Cores e raios espelham lib/app_config.dart e lib/core/theme/verticals/health.dart. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Marca (vertical Saúde) */
  --primary: #0A857A;
  --primary-pressed: #08695F;
  --primary-deep: #064E47;
  --primary-soft: #E7F4F2;
  --primary-soft-strong: #CFEAE6;
  --primary-bright: #14B8A6;
  --mint: #7FE3D3;
  --ink: #0C1A1E;
  --ink-raised: #13252A;
  --ink-text: #9AAEB3;

  /* Superfícies e texto */
  --bg: #F4F7F8;
  --surface: #FFFFFF;
  --surface-muted: #F1F4F6;
  --border: #E3E8EB;
  --border-strong: #CFD7DC;
  --text: #0F1C22;
  --body: #344049;
  --muted: #66737B;
  --subtle: #98A2A8;

  --success: #15803D;
  --success-soft: #E8F6EC;

  /* Tons dos ícones em mosaico (AppTone) */
  --blue: #2563EB;   --blue-soft: #EAF0FE;
  --violet: #7C3AED; --violet-soft: #F2ECFE;
  --amber: #B45309;  --amber-soft: #FEF3E2;
  --rose: #E11D48;   --rose-soft: #FDECEF;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-card: 0 1px 2px rgba(15, 28, 34, .04);
  --shadow-raised: 0 8px 24px rgba(15, 28, 34, .08);

  --header-h: 68px;
}

/* ── Base ──────────────────────────────────────────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; color: var(--text); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-pressed); }
strong { color: var(--text); font-weight: 700; }

:focus-visible { outline: 3px solid var(--primary-bright); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .container { padding-inline: 24px; } }

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

.ic {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--ink); color: #fff; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ── Botões ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px; border: 1px solid transparent; border-radius: var(--radius-md);
  font: inherit; font-size: .9375rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-sm { padding: 10px 14px; font-size: .875rem; border-radius: 10px; }
.btn-lg { padding: 16px 22px; font-size: 1rem; }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-pressed); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mint); color: var(--ink); }

/* ── Cabeçalho ─────────────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled, .site-header.is-solid { border-bottom-color: var(--border); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand img { height: 28px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a:not(.btn) {
  padding: 8px 12px; border-radius: var(--radius-sm);
  color: var(--body); font-size: .9375rem; font-weight: 600; text-decoration: none;
}
.site-nav a:not(.btn):hover { background: var(--surface-muted); color: var(--text); }
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--surface); color: var(--text); cursor: pointer;
}

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--body); font-size: .9375rem; font-weight: 700; text-decoration: none;
}
.back-link:hover { color: var(--text); }
.back-link .ic { width: 18px; height: 18px; transform: rotate(180deg); }

@media (max-width: 899px) {
  /* Sem JavaScript fica só o botão principal ao lado do logótipo. */
  .site-nav a:not(.btn) { display: none; }

  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 8px 16px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-raised);
  }
  .js .site-nav a:not(.btn) { display: block; padding: 12px; font-size: 1rem; }
  .js .nav-cta { margin: 8px 0 0; }
  .js .nav-open .site-nav { display: flex; }
  .nav-open { border-bottom-color: var(--border); background: var(--surface); }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */

.hero {
  position: relative; overflow: hidden;
  padding: 32px 0 56px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}
.hero-mark {
  position: absolute; z-index: 0; pointer-events: none;
  width: 640px; height: 640px; right: -260px; top: -120px;
  opacity: .05;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary-deep);
  font-size: .8125rem; font-weight: 700;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary-bright); }

.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.25rem, 1.3rem + 3.8vw, 3.75rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.06;
}
.hero h1 .accent { display: block; color: var(--primary); text-wrap: balance; }

.lead { margin-top: 20px; max-width: 34em; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 479px) { .hero-actions .btn { flex: 1 1 100%; } }

.hero-points {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  margin: 24px 0 0; padding: 0; list-style: none;
  color: var(--text); font-size: .9375rem; font-weight: 600;
}
.hero-points li { display: flex; align-items: center; gap: 6px; }
.hero-points .ic { width: 18px; height: 18px; color: var(--primary); }

@media (min-width: 960px) {
  .hero { padding: 64px 0 96px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .hero-mark { right: -180px; top: -80px; width: 720px; height: 720px; }
}

/* Maquete do telemóvel */

.hero-visual { position: relative; display: flex; justify-content: center; padding: 0 0 8px; }

.phone {
  position: relative;
  width: min(300px, 100%);
  padding: 10px;
  border-radius: 46px;
  background: var(--ink);
  box-shadow: 0 40px 80px -32px rgba(12, 26, 30, .45), 0 0 0 1px rgba(12, 26, 30, .06);
}
.phone::before {
  content: ""; position: absolute; z-index: 2; top: 20px; left: 50%;
  width: 82px; height: 22px; border-radius: 999px; background: var(--ink);
  transform: translateX(-50%);
}

.phone-screen {
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px 12px 0;
  border-radius: 36px; overflow: hidden;
  background: var(--bg);
  color: var(--body); font-size: 11px; line-height: 1.35;
}

.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 2px 14px 4px; color: var(--text); font-size: 11px; font-weight: 700; }
.ph-status-icons { display: flex; align-items: center; gap: 3px; }
.ph-status-icons i { width: 5px; height: 8px; border-radius: 1.5px; background: var(--text); }
.ph-status-icons i.wide { width: 16px; }

.ph-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 4px 2px; }
.ph-hello { color: var(--text); font-size: 17px; font-weight: 800; letter-spacing: -.015em; }
.ph-date { color: var(--muted); }
.ph-avatar {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary-deep); font-size: 13px; font-weight: 800;
}

.ph-card { padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.ph-kpi-top { display: flex; align-items: center; gap: 8px; }
.ph-tile { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: var(--radius-sm); }
.ph-tile .ic { width: 15px; height: 15px; }
.ph-label { color: var(--muted); font-size: 11px; font-weight: 600; }
.ph-value { margin-top: 8px; color: var(--text); font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.ph-delta { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--muted); font-size: 10.5px; }
.pill-up { padding: 2px 6px; border-radius: 999px; background: var(--success-soft); color: var(--success); font-weight: 700; }
.ph-spark { width: 100%; height: 44px; margin-top: 8px; }

.ph-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph-mini-value { margin-top: 4px; color: var(--text); font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.ph-mini-sub { color: var(--muted); font-size: 10.5px; }
.ph-goal { display: flex; align-items: center; gap: 10px; }
.ph-ring { width: 40px; height: 40px; flex: none; transform: rotate(-90deg); }

.ph-card-title { margin-bottom: 8px; color: var(--text); font-size: 12px; font-weight: 700; }
.ph-bar-row { display: flex; justify-content: space-between; color: var(--body); font-size: 10.5px; font-weight: 600; }
.ph-bar { height: 6px; margin: 4px 0 8px; border-radius: 999px; background: var(--surface-muted); overflow: hidden; }
.ph-bar:last-child { margin-bottom: 0; }
.ph-bar i { display: block; height: 100%; border-radius: inherit; background: var(--primary); }
.ph-bar .b-blue { background: var(--blue); }
.ph-bar .b-violet { background: var(--violet); }
.w-48 { width: 48%; } .w-32 { width: 32%; } .w-20 { width: 20%; }

.ph-nav {
  display: flex; justify-content: space-around; align-items: center;
  margin: 2px -12px 0; padding: 8px 10px 18px;
  border-top: 1px solid var(--border); background: var(--surface);
}
.ph-nav .ic { width: 19px; height: 19px; color: var(--subtle); }
.ph-nav .ic.is-active { color: var(--primary); }
.ph-fab {
  display: grid; place-items: center; width: 42px; height: 42px; margin-top: -20px;
  border-radius: 14px; background: var(--primary); color: #fff;
  box-shadow: 0 8px 16px -6px rgba(10, 133, 122, .6);
}
.ph-fab .ic { color: #fff; width: 20px; height: 20px; }

.float-card {
  position: absolute; left: 50%; bottom: 72px;
  display: flex; align-items: center; gap: 10px;
  width: max-content; max-width: calc(100% - 8px);
  padding: 12px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--shadow-raised);
  transform: translateX(-62%);
  animation: float-in .6s .4s both cubic-bezier(.2, .8, .2, 1);
}
.fc-title { color: var(--text); font-size: 13px; font-weight: 700; line-height: 1.3; }
.fc-sub { color: var(--muted); font-size: 12px; line-height: 1.3; }
.fc-value { margin-left: 6px; color: var(--success); font-size: 15px; font-weight: 800; white-space: nowrap; }

@media (max-width: 479px) {
  .float-card { transform: translateX(-50%); bottom: 64px; }
}
@media (min-width: 960px) {
  .float-card { left: 0; transform: none; bottom: 96px; }
}

@keyframes float-in {
  from { opacity: 0; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}

/* ── Secções ───────────────────────────────────────────────────────────── */

.section { padding: 72px 0; }
.section-muted { background: var(--bg); }
@media (min-width: 960px) { .section { padding: 104px 0; } }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p:not(.kicker) { margin-top: 16px; font-size: 1.0625rem; }

.kicker {
  margin-bottom: 12px;
  color: var(--primary); font-size: .8125rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
}

h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.625rem); font-weight: 800; letter-spacing: -.03em; }

.card { border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-card); }

/* Destaques: análise, objetivos, histórico, calendário, assistente */

.highlights { display: grid; gap: 16px; }
@media (min-width: 768px) { .highlights { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.highlight { display: flex; flex-direction: column; gap: 24px; padding: 24px; }
@media (min-width: 768px) { .highlight { padding: 28px; } }
.highlight h3 { margin-top: 16px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.015em; }
.highlight-copy > p { margin-top: 10px; font-size: .9375rem; }
.highlight-wide { grid-column: 1 / -1; }
@media (min-width: 960px) {
  .highlight-wide { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 36px; }
  .highlight-wide h3 { font-size: 1.625rem; }
}

.ticks { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; font-size: .9375rem; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; }
.ticks .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--violet); }

.highlight-visual { display: grid; gap: 12px; }
@media (min-width: 560px) { .highlight-visual { grid-template-columns: 1fr 1fr; } }
.viz-card { padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); }
.viz-title { color: var(--text); font-size: .8125rem; font-weight: 700; }
.week-bars { display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; gap: 6px; height: 120px; margin-top: 14px; }
.week-bars div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
.week-bars i { display: block; width: 100%; max-width: 26px; border-radius: 6px 6px 3px 3px; background: var(--violet-soft); }
.week-bars i.is-top { background: var(--violet); }
.week-bars i.is-low { background: var(--border-strong); }
.week-bars span { color: var(--muted); font-size: .6875rem; font-weight: 600; }
.h-25 { height: 25%; } .h-40 { height: 40%; } .h-55 { height: 55%; } .h-70 { height: 70%; } .h-80 { height: 80%; } .h-95 { height: 95%; }
.viz-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.viz-stats span { display: block; color: var(--muted); font-size: .6875rem; font-weight: 600; }
.viz-stats strong { font-size: .9375rem; }
.place-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .8125rem; }
.place-row span { flex: 1; min-width: 0; color: var(--body); font-weight: 600; }
.place-row strong { font-size: .875rem; }
.place-row em { font-style: normal; font-size: .6875rem; }
.pill-down { padding: 2px 6px; border-radius: 999px; background: var(--amber-soft); color: var(--amber); font-weight: 700; }
.viz-foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); color: var(--muted); font-size: .75rem; }

.goal-viz { display: flex; align-items: center; gap: 16px; margin-top: auto; padding: 16px; border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--border); }
.goal-ring { width: 72px; height: 72px; flex: none; transform: rotate(-90deg); }
.goal-label { color: var(--muted); font-size: .8125rem; font-weight: 600; }
.goal-value { color: var(--text); font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; }
.goal-value span { color: var(--muted); font-size: .875rem; font-weight: 600; letter-spacing: 0; }
.goal-sub { color: var(--amber); font-size: .8125rem; font-weight: 700; }

.history { display: grid; gap: 0; margin: auto 0 0; padding: 4px 16px; list-style: none; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); }
.history li { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: .875rem; }
.history li + li { border-top: 1px solid var(--border); }
.history li span:nth-child(2) { flex: 1; color: var(--body); }
.history-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--rose); }

.mini-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: auto; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); text-align: center; font-size: .8125rem; font-weight: 600; color: var(--body); }
.mini-cal span { position: relative; padding: 6px 0; border-radius: 8px; }
.mini-cal .dow { color: var(--muted); font-size: .6875rem; font-weight: 700; }
.mini-cal .in { background: var(--blue-soft); color: var(--blue); border-radius: 0; }
.mini-cal .has::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--blue); }

.highlight-soon { border-style: dashed; border-color: var(--primary-soft-strong); background: linear-gradient(180deg, var(--surface), var(--primary-soft)); }
.soon-badge { display: inline-block; margin-left: 6px; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: var(--mint); font-size: .6875rem; font-weight: 700; letter-spacing: .02em; vertical-align: middle; }

.features-compact { margin-top: 20px; }

/* Problema + calculadora */

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.prose h2 + p { margin-top: 20px; }
.prose p + p { margin-top: 16px; }

.calc { padding: 24px; }
.calc-title { color: var(--text); font-size: 1.0625rem; font-weight: 800; }
.calc-fields { display: grid; gap: 14px; margin-top: 18px; }
.field { display: grid; gap: 6px; color: var(--text); font-size: .875rem; font-weight: 600; }
.input-wrap {
  display: flex; align-items: center; gap: 8px;
  height: 50px; padding: 0 14px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
}
.input-wrap:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft-strong); }
.input-wrap input {
  flex: 1; min-width: 0; height: 100%; padding: 0;
  border: 0; outline: 0; background: transparent;
  color: var(--text); font: inherit; font-size: 1.0625rem; font-weight: 700;
}
.unit { color: var(--muted); font-weight: 700; }

.calc-result { margin-top: 20px; padding: 18px; border-radius: var(--radius-lg); background: var(--primary-soft); color: var(--primary-deep); }
.calc-result > span { font-size: .875rem; font-weight: 700; }
.calc-result strong {
  display: block; margin-top: 2px;
  color: var(--primary-deep); font-size: 2.25rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.calc-formula { margin-top: 6px; font-size: .875rem; font-variant-numeric: tabular-nums; }

/* Funcionalidades */

.features { display: grid; gap: 16px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.feature { padding: 24px; }
.feature h3 { margin-top: 18px; font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; }
.feature p { margin-top: 8px; font-size: .9375rem; }

.tile { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-md); }
.tile .ic { width: 22px; height: 22px; }

.tone-teal { background: var(--primary-soft); color: var(--primary); }
.tone-blue { background: var(--blue-soft); color: var(--blue); }
.tone-green { background: var(--success-soft); color: var(--success); }
.tone-violet { background: var(--violet-soft); color: var(--violet); }
.tone-amber { background: var(--amber-soft); color: var(--amber); }
.tone-rose { background: var(--rose-soft); color: var(--rose); }

.features-note {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 28px; color: var(--muted); font-size: .9375rem; font-weight: 600; text-align: center;
}

/* Como funciona */

.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { padding: 24px; }
.step-num {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: .9375rem; font-weight: 800;
}
.step h3 { margin-top: 16px; font-size: 1.125rem; font-weight: 700; }
.step p { margin-top: 8px; font-size: .9375rem; }

/* Áreas */

.areas { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .areas { grid-template-columns: 1fr 1fr; gap: 64px; } }
.areas-lead { margin-top: 16px; font-size: 1.0625rem; }

.area-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 14px;
  border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface);
  color: var(--text); font: inherit; font-size: .9375rem; font-weight: 700; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--text); }
.chip .ic { width: 18px; height: 18px; color: var(--primary); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] .ic { color: var(--mint); }

.area-card { padding: 24px; }
.area-name { color: var(--text); font-size: 1.25rem; font-weight: 800; letter-spacing: -.015em; }
.area-examples { margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.area-terms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.term { padding: 6px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-deep); font-size: .875rem; font-weight: 700; }

.area-form { margin-top: 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.area-form-title {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  background: var(--bg); color: var(--text); font-weight: 800;
}
.area-form dl { margin: 0; }
.area-form dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--border); }
.area-form dt { color: var(--muted); font-weight: 600; }
.area-form dd { margin: 0; color: var(--text); font-weight: 700; text-align: right; }

/* Preços */

.plans { display: grid; gap: 16px; max-width: 880px; margin-inline: auto; }
@media (min-width: 768px) { .plans { grid-template-columns: 1fr 1fr; gap: 20px; } }

.plan { display: flex; flex-direction: column; padding: 28px; }
.plan-name { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 1.125rem; font-weight: 800; }
.plan-badge { padding: 4px 10px; border-radius: 999px; background: rgba(127, 227, 211, .16); color: var(--mint); font-size: .75rem; font-weight: 700; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-top: 16px; }
.amount { color: var(--text); font-size: 2.75rem; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.per { color: var(--muted); font-weight: 600; }
.plan-desc { margin-top: 12px; font-size: .9375rem; }
.plan ul { display: grid; gap: 12px; margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid var(--border); list-style: none; }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: .9375rem; }
.plan li .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--primary); }

.plan-pro { border-color: var(--ink); background: var(--ink); color: var(--ink-text); }
.plan-pro .plan-name, .plan-pro .amount { color: #fff; }
.plan-pro .per { color: var(--ink-text); }
.plan-pro ul { border-top-color: rgba(255, 255, 255, .1); }
.plan-pro li { color: #E3ECEE; }
.plan-pro li .ic { color: var(--mint); }

.plans-note { max-width: 40em; margin: 24px auto 0; color: var(--muted); font-size: .9375rem; text-align: center; }

/* Perguntas */

.faq { display: grid; gap: 12px; max-width: 800px; margin-inline: auto; }
.faq details { padding: 0 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; list-style: none; cursor: pointer;
  color: var(--text); font-size: 1.0625rem; font-weight: 700; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-ic { color: var(--muted); transition: transform .2s; }
.faq details[open] .faq-ic { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; }

/* Chamada final */

.section-cta { padding-top: 24px; }
@media (min-width: 960px) { .section-cta { padding-top: 32px; } }
.section-muted + .section-cta { padding-top: 72px; }

.cta-band {
  position: relative; overflow: hidden;
  padding: 48px 24px; border-radius: 28px;
  background: var(--ink); color: #B9C8CC; text-align: center;
}
@media (min-width: 768px) { .cta-band { padding: 72px 48px; } }
.cta-band > :not(.cta-mark) { position: relative; z-index: 1; }
.cta-mark { position: absolute; z-index: 0; width: 420px; height: 420px; right: -140px; bottom: -180px; opacity: .14; pointer-events: none; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 34em; margin: 16px auto 0; font-size: 1.0625rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

.store-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.store {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-md);
  color: #E3ECEE; font-size: .875rem; font-weight: 600; text-decoration: none;
}
.store .ic { width: 18px; height: 18px; }
.store small { color: var(--mint); font-size: .75rem; font-weight: 700; }
a.store:hover { border-color: var(--mint); color: #fff; }

/* ── Rodapé ────────────────────────────────────────────────────────────── */

.site-footer { padding: 64px 0 32px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand img { height: 24px; width: auto; }
.footer-brand p { max-width: 22em; margin-top: 12px; color: var(--muted); font-size: .9375rem; }
.footer-col h3 { color: var(--muted); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-col ul { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.footer-col a { color: var(--text); font-size: .9375rem; font-weight: 600; text-decoration: none; }
.footer-col a:hover { color: var(--primary); text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border);
  color: var(--muted); font-size: .875rem;
}

/* ── Páginas legais ────────────────────────────────────────────────────── */

.legal { padding: 48px 0 80px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; }
.legal .updated { margin-top: 12px; color: var(--muted); }
.legal .intro { margin-top: 24px; font-size: 1.0625rem; }
.legal h2 { margin-top: 44px; font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; }
.legal h3 { margin-top: 24px; font-size: 1.0625rem; font-weight: 700; }
.legal p, .legal li { margin-top: 12px; }
.legal ul, .legal ol { margin: 0; padding-left: 1.25rem; }
.legal li { padding-left: 4px; }
.legal li::marker { color: var(--primary); font-weight: 700; }
.legal table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: .9375rem; }
.legal th, .legal td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.legal th { color: var(--text); font-weight: 700; background: var(--bg); }
.table-scroll { overflow-x: auto; }

.callout {
  margin-top: 24px; padding: 18px 20px;
  border: 1px solid var(--primary-soft-strong); border-radius: var(--radius-lg);
  background: var(--primary-soft); color: var(--primary-deep);
}
.callout p:first-child { margin-top: 0; }
.callout strong { color: var(--primary-deep); }

/* Texto a preencher antes de publicar (ver website/README.md). */
.fill { padding: 0 4px; border-radius: 4px; background: var(--amber-soft); color: var(--amber); font-weight: 700; }

/* ── 404 ───────────────────────────────────────────────────────────────── */

.not-found { display: grid; place-items: center; min-height: calc(100vh - var(--header-h) - 200px); padding: 64px 0; text-align: center; }
.not-found img { width: 72px; height: 72px; margin: 0 auto; }
.not-found h1 { margin-top: 24px; font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; }
.not-found p { max-width: 28em; margin: 12px auto 0; }
.not-found .btn { margin-top: 28px; }

/* ── Movimento reduzido ────────────────────────────────────────────────── */

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