/* =========================================================
   Tópica — design tokens
   Warm clinical-editorial: paper + deep teal + terracotta.
   Display: Fraunces (warm, human) / Body: IBM Plex Sans (precise, clinical)
   ========================================================= */
:root {
  --paper: #faf6ef;
  --paper-dim: #f1e9dc;
  --ink: #16302c;
  --ink-soft: #47615c;
  --ink-faint: #5f746e;
  --teal: #1c7d86;
  --teal-strong: #135b62;
  --teal-deep: #0e2e2f;
  --teal-pale: #e2f1ef;
  --coral: #bb5433;
  --coral-strong: #a5442a;
  --coral-pale: #f7e3d8;
  --sage: #4c9673;
  --sage-pale: #e4f2e8;
  --rust: #b65b48;
  --rust-pale: #f7e2dc;
  --line: rgba(22, 48, 44, 0.13);
  --line-soft: rgba(22, 48, 44, 0.07);
  --shadow-sm: 0 2px 10px rgba(14, 46, 47, 0.06);
  --shadow-md: 0 18px 40px -18px rgba(14, 46, 47, 0.28);
  --shadow-lg: 0 30px 70px -24px rgba(14, 46, 47, 0.35);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --radius-pill: 999px;
  --max: 1200px;
  --font-display: "Fraunces", "Iowan Old Style", ui-serif, Georgia, serif;
  --font-body: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); font-weight: 560; }
.text-teal-accent { color: var(--teal); }
br.force-break { display: none; }
@media (min-width: 700px) {
  br.force-break { display: inline; }
}
h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); }
h4 { font-size: 1.1rem; font-weight: 700; font-family: var(--font-body); text-transform: none; }

p { margin: 0 0 18px; color: var(--ink-soft); }
p strong, li strong { color: var(--ink); font-weight: 600; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.prose { max-width: 660px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-pale);
  color: var(--teal-strong);
  font-size: 0.72rem;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-outline { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-strong); }
.btn-primary { color: #fff; background: var(--teal); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-strong); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-cta {
  color: #fff;
  background: var(--coral);
  font-weight: 700;
  padding: 16px 32px;
  font-size: 1.02rem;
  box-shadow: 0 14px 30px -14px rgba(201, 92, 55, 0.55);
}
.btn-cta:hover { background: var(--coral-strong); transform: translateY(-2px); box-shadow: 0 20px 36px -14px rgba(201, 92, 55, 0.6); }
.btn-block { width: 100%; justify-content: center; }

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  max-width: var(--max);
  margin: 0 auto;
  background: rgba(250, 246, 239, 0.82);
  backdrop-filter: blur(10px);
}
.site-header.is-stuck { box-shadow: 0 1px 0 var(--line); }
.site-header .logo img { height: 51px; width: auto; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.header-right { display: flex; align-items: center; gap: 28px; }
.header-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 3px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.header-nav a:hover { color: var(--teal-strong); border-color: var(--teal); }

main { overflow: hidden; }
section { padding: 88px 0; position: relative; }
.section-dim { background: var(--paper-dim); }
.section-dark {
  background: var(--teal-deep);
  color: #f4ede1;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: #cfe3df; }
.section-dark .eyebrow { color: #8fd6ce; }
.section-dark .eyebrow .num { background: rgba(255,255,255,0.12); color: #cfe3df; }

/* grain texture overlay for atmosphere */
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/></svg>");
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  opacity: 0.55;
}

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 30px 28px 70px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-copy h1 { max-width: 560px; }
.hero-copy .lede { max-width: 480px; font-size: 1.1rem; }
.hero-copy .lede strong { color: var(--ink); }
.hero-copy .teaser {
  color: var(--teal-strong);
  font-weight: 600;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 30px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  color: var(--teal-strong);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--coral);
  flex-shrink: 0;
}
.split-text .kicker { justify-content: flex-start; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 8px; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--line);
  padding-bottom: 3px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.link-arrow:hover { border-color: var(--teal); color: var(--teal-strong); }
.link-arrow .arrow { transition: transform 0.2s ease; }
.link-arrow:hover .arrow { transform: translateY(2px); }

[id] { scroll-margin-top: 100px; }
.hero-visual { position: relative; }
.hero-visual .frame {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 480px;
  margin: 0 auto;
}
.hero-visual .frame img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.hero-visual .ring {
  position: absolute;
  width: 86px; height: 86px;
  border: 2.5px solid var(--coral);
  border-radius: 50%;
  bottom: -18px;
  left: -18px;
  opacity: 0.7;
  z-index: -1;
}

/* ---------- product screenshot mosaic (no cropping, no blank space: each card hugs its image) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-auto-rows: auto;
  justify-content: center;
  align-items: start;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
.bento .shot-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 14px;
  display: inline-flex;
}
.bento img {
  display: block;
  width: auto;
  height: auto;
  max-height: 260px;
  max-width: 100%;
  object-fit: contain;
  border-radius: calc(var(--radius-sm) - 2px);
  margin: 0;
}
.bento .shot-card--lg img { max-height: 380px; }
.bento .shot-card--below-center { grid-column: 2; grid-row: 2; justify-self: center; }
.bento-section { padding-bottom: 40px; }

/* ---------- temporary placeholders (image slots pending final assets) ---------- */
.placeholder {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1.5px dashed var(--line);
  background: var(--paper-dim);
  border-radius: var(--radius-md);
  color: var(--ink-faint);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 18px;
  box-sizing: border-box;
}
.placeholder.ph-wide { aspect-ratio: 21 / 9; max-width: var(--max); margin: 0 auto; }
.placeholder.ph-screen { aspect-ratio: 4 / 3; }
@media (max-width: 700px) {
  .placeholder.ph-wide { aspect-ratio: 4 / 3; }
}

/* ---------- split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
.split.reverse .split-media { order: 2; }
.split.reverse .split-text { order: 1; }
.split-media img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.split-text .lede-strong { font-size: 1.05rem; color: var(--ink); }

/* ---------- feature grid (palavras/nomes/temas...) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card .thumb { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 18px; }
.feature-card .stat-card { margin-bottom: 18px; }
.feature-card .icon-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.feature-card .icon-badge {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--teal-pale); color: var(--teal-strong);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feature-card h4 { margin: 0; }
.feature-card p { font-size: 0.95rem; margin: 0; }

/* ---------- compare ---------- */
.compare-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
.compare-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 40px;
}
.compare-col { padding: 44px 40px; }
.compare-col.bad { background: linear-gradient(180deg, var(--rust-pale), #fff 65%); }
.compare-col.good { background: linear-gradient(180deg, var(--sage-pale), #fff 65%); }
.compare-col h4 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 24px; }
.compare-col ul { list-style: none; margin: 0; padding: 0; }
.compare-col li { display: flex; gap: 14px; align-items: flex-start; padding: 11px 0; color: var(--ink-soft); }
.compare-col .mark {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700;
  margin-top: 1px;
}
.compare-col.bad .mark { background: #fff; color: var(--rust); box-shadow: inset 0 0 0 1.5px var(--rust); }
.compare-col.good .mark { background: var(--sage); color: #fff; }

/* ---------- why grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.why-card {
  background: rgba(255,255,255,0.06);
  padding: 34px 26px;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.why-card:first-child { border-left: none; }
.why-card .icon-badge {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,0.14); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.why-card h4 { color: #fff; margin-bottom: 8px; }
.why-card p { color: #cfe3df; font-size: 0.94rem; margin: 0; }
.why-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- point cards (problema / fluxo descriptions) ---------- */
.point-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
.point-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 24px;
}
.point-card h4 { margin-bottom: 8px; }
.point-card p { font-size: 0.94rem; margin: 0; }

/* ---------- pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 860px;
  margin: 44px auto 0;
  padding: 0 28px;
}
.price-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  background: #fff;
  position: relative;
}
.price-card.highlight {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(165deg, #fff, var(--teal-pale) 140%);
}
.price-card h3 { margin-bottom: 6px; }
.price-card .price-tag {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--teal-strong);
  margin: 14px 0;
}
.price-card ul { list-style: none; padding: 0; margin: 22px 0 28px; }
.price-card li { padding: 8px 0; display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); }
.price-card li::before {
  content: "";
  width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0;
  background: var(--sage);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}
.price-card .note { font-size: 0.85rem; color: var(--ink-faint); margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; margin: 0 auto; padding: 0 28px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: background 0.2s ease, border-color .2s ease;
}
.faq summary .plus::before, .faq summary .plus::after {
  content: "";
  position: absolute;
  background: var(--teal-strong);
  transition: transform 0.25s ease;
}
.faq summary .plus::before { width: 12px; height: 2px; }
.faq summary .plus::after { width: 2px; height: 12px; }
.faq details[open] summary .plus { background: var(--teal); border-color: var(--teal); }
.faq details[open] summary .plus::before,
.faq details[open] summary .plus::after { background: #fff; }
.faq details[open] summary .plus::after { transform: rotate(90deg) scaleY(0); }
.faq .faq-answer { margin-top: 16px; font-size: 0.98rem; color: var(--ink-soft); max-width: 640px; }

/* ---------- final CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 { max-width: 640px; margin-left: auto; margin-right: auto; }
.final-cta p { max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--teal-deep); color: #cfe3df; padding: 60px 28px 0; }
.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-top .logo img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
.footer-links a { color: #cfe3df; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.disclaimer {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.85rem;
  color: #9fbdb6;
  padding: 26px 28px;
}
.disclaimer a { color: #cfe3df; text-decoration: underline; }
.copyright { text-align: center; font-size: 0.8rem; color: #7fa39b; padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.08); }

/* ---------- /planos/ page ---------- */
.page-hero { padding-top: 28px; padding-bottom: 8px; }
.page-hero + section { padding-top: 32px; }
.pending-tag {
  display: inline-block;
  background: var(--rust-pale);
  color: var(--rust);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-left: 8px;
  vertical-align: middle;
  white-space: nowrap;
}
.pending-block {
  background: var(--rust-pale);
  border: 1px dashed var(--rust);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--rust);
  margin-top: 10px;
}
.plan-table-wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.plan-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.plan-table th, .plan-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.95rem;
}
.plan-table th {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  background: var(--paper-dim);
}
.plan-table th:first-child, .plan-table td:first-child { color: var(--ink-soft); }
.plan-table th.check, .plan-table td.check { text-align: center; }
.plan-table .yes { color: var(--sage); font-weight: 700; }
.plan-table .no { color: var(--ink-faint); }
.plan-table tr:last-child td { border-bottom: none; }

@media (max-width: 700px) {
  .plan-table thead { display: none; }
  .plan-table, .plan-table tbody, .plan-table tr, .plan-table td { display: block; width: 100%; }
  .plan-table { box-shadow: none; background: none; }
  .plan-table tr {
    margin-bottom: 16px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }
  .plan-table td { border-bottom: 1px solid var(--line-soft); padding: 12px 16px; text-align: left; }
  .plan-table tr td:last-child { border-bottom: none; }
  .plan-table td.check { text-align: left; }
  .plan-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 3px;
  }
}

/* ---------- legal pages ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 60px 28px 100px; }
.legal .eyebrow { display: block; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.legal h2 { text-align: left; font-size: 1.35rem; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal p, .legal li { color: var(--ink-soft); font-size: 1rem; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 10px; }
.legal .updated {
  display: inline-block;
  color: var(--teal-strong);
  background: var(--teal-pale);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
}

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

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2.5px solid var(--coral);
  outline-offset: 2px;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  section { padding: 64px 0; }
  .hero { grid-template-columns: 1fr; padding-top: 10px; }
  .hero-visual { max-width: 340px; margin: 40px auto 0; }
  .split, .why-grid, .pricing-grid, .point-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-card { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; justify-content: center; justify-items: center; }
  .bento .shot-card--below-center { grid-column: 1; grid-row: auto; }
  .why-grid { border-radius: var(--radius-md); }
  .why-card { border-left: none; border-top: 1px solid rgba(255,255,255,0.12); }
  .why-card:first-child { border-top: none; }
  .site-header { padding: 14px 20px; }
  .header-nav { display: none; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .bento img { max-height: 210px; }
  .bento .shot-card--lg img { max-height: 300px; }
  .header-actions .btn-outline { padding: 12px 18px; }
}

@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- HTML timeline (replaces timeline-scaled.jpg) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
.steps .step { text-align: center; }
.steps .step h4 {
  font-family: var(--font-display);
  color: var(--teal);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 16px; /* >=12px clear gap before the marker, never overlaps */
}
/* .marker is a real block in normal flow: its own height guarantees
   the dot/line never sit on top of title or description text. */
.steps .marker {
  position: relative;
  height: 22px;
  margin-bottom: 20px; /* space between the line and the description */
}
.steps .marker::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -50%;
  width: 200%;
  height: 3px;
  background: var(--line);
  transform: translateY(-50%);
}
.steps .step:first-child .marker::before { left: 50%; width: 50%; }
.steps .step:last-child .marker::before { width: 50%; }
.steps .dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal);
  border: 4px solid var(--paper-dim);
  z-index: 1;
}
.steps .step p { margin: 0; font-size: 0.88rem; color: var(--ink-soft); }

@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 420px; margin-left: auto; margin-right: auto; }
  .steps .step {
    text-align: left;
    display: grid;
    grid-template-columns: 22px 1fr;
    column-gap: 16px;
    padding-bottom: 32px;
  }
  .steps .step:last-child { padding-bottom: 0; }
  .steps .step h4 { grid-column: 2; grid-row: 1; margin: 0 0 6px; }
  .steps .step p { grid-column: 2; grid-row: 2; }
  .steps .marker {
    grid-column: 1;
    grid-row: 1 / 3;
    height: auto;
    margin-bottom: 0;
  }
  .steps .marker::before {
    top: 11px;
    left: 50%;
    width: 3px;
    height: calc(100% - 11px + 32px);
    transform: translateX(-50%);
  }
  .steps .step:last-child .marker::before { display: none; }
  .steps .dot { top: 11px; left: 50%; }
}

/* ---------- data-card widgets (replace screenshot-style stat images) ---------- */
.stat-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px;
  border: 1px solid var(--line-soft);
}
.stat-list { display: grid; gap: 8px; }
.stat-list.cols-2 { grid-template-columns: 1fr 1fr; }
.stat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper-dim);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.88rem;
}
.stat-row .rank { color: var(--ink-faint); font-weight: 600; font-size: 0.78rem; flex-shrink: 0; width: 1.6em; }
.stat-row .word { color: var(--ink); font-weight: 600; flex-grow: 1; line-height: 1.25; }
.stat-row .word .sub { display: block; color: var(--ink-faint); font-weight: 400; font-size: 0.78rem; margin-top: 2px; }
.stat-row .badge {
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--teal-strong);
}
.tag-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tag-col .tag-col-title {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 700; margin-bottom: 10px;
}
.tag-col.neg .tag-col-title { color: var(--rust); }
.tag-col.pos .tag-col-title { color: var(--sage); }
.tag-pill {
  display: inline-block;
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 8px;
}
.tag-col.neg .tag-pill { background: var(--rust-pale); color: var(--rust); }
.tag-col.pos .tag-pill { background: var(--sage-pale); color: #2f6b4a; }

@media (max-width: 420px) {
  .stat-list.cols-2 { grid-template-columns: 1fr; }
}

/* ---------- aviso informativo de privacidade ---------- */
.privacy-notice {
  border: 0;
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  max-width: min(440px, calc(100vw - 32px));
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.privacy-notice::backdrop { background: rgba(14, 46, 47, 0.45); }
.privacy-notice h2 { font-size: 1.25rem; margin: 0 0 10px; }
.privacy-notice p { margin: 0; font-size: 0.97rem; color: var(--ink-soft); }
.privacy-notice a { color: var(--teal-strong); text-decoration: underline; text-underline-offset: 2px; }
.privacy-notice-actions { margin-top: 20px; display: flex; justify-content: flex-end; }
@media (max-width: 480px) {
  .privacy-notice { padding: 22px 20px 20px; }
  .privacy-notice-actions .btn { width: 100%; }
}
