/* Voz Livre — landing page. Fonts are self-hosted (SIL Open Font License). */
@font-face {
  font-family: 'Baloo 2';
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/baloo-2-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Baloo 2';
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/baloo-2-latin-800-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/nunito-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/nunito-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/nunito-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/nunito-latin-800-normal.woff2') format('woff2');
}

:root {
  --blue: #1565c0;
  --blue-dark: #0d47a1;
  --blue-soft: #e3effd;
  --purple: #7b3fa8;
  --cyan: #1a9fc2;
  --yellow: #f5b800;
  --red: #e84545;
  --green: #2e9d52;
  --ink: #10204a;
  --text: #33405f;
  --muted: #5d6784;
  --bg: #f6f9ff;
  --surface: #ffffff;
  --border: #dbe4f3;
  --radius: 18px;
  --shadow: 0 1px 2px rgb(16 32 74 / 0.05), 0 10px 30px rgb(16 32 74 / 0.08);
  --display: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --emoji: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
h1,
h2,
h3 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.4em;
}
h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  font-weight: 800;
}
h3 {
  font-size: 1.3rem;
  font-weight: 700;
}
p {
  margin: 0 0 1em;
}
a {
  color: var(--blue);
}
img {
  max-width: 100%;
  height: auto;
}
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.wrap {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 10;
}
.skip:focus {
  left: 8px;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fine {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.6em 1.4em;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.1;
  transition: transform 0.12s, background-color 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--lg {
  min-height: 58px;
  font-size: 1.1rem;
}
.btn--sm {
  min-height: 42px;
  padding: 0.4em 1.1em;
  font-size: 0.95rem;
}
.btn--block {
  width: 100%;
}
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgb(21 101 192 / 0.3);
}
.btn--primary:hover {
  background: var(--blue-dark);
}
.btn--light {
  background: #fff;
  color: var(--blue-dark);
  border-color: var(--border);
}
.btn--ghost {
  color: var(--blue-dark);
  border-color: var(--border);
  background: #fff;
}
.btn--white {
  background: #fff;
  color: var(--blue-dark);
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink);
}
.brand img {
  border-radius: 10px;
}
.brand b {
  color: var(--blue);
}
.topbar__nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.topbar__nav a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.topbar__nav a:hover {
  color: var(--blue);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 72px;
  background:
    radial-gradient(600px 300px at 10% 10%, rgb(123 63 168 / 0.1), transparent 70%),
    radial-gradient(600px 320px at 90% 20%, rgb(41 182 216 / 0.14), transparent 70%),
    radial-gradient(500px 280px at 70% 100%, rgb(245 184 0 / 0.12), transparent 70%),
    linear-gradient(180deg, #fff, var(--bg));
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.hl {
  color: var(--blue);
}
.lead {
  font-size: 1.2rem;
  max-width: 34em;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 12px;
}

/* Board illustration */
.device {
  padding: 14px;
  border-radius: 34px;
  background: #1b2440;
  box-shadow: 0 30px 60px rgb(16 32 74 / 0.25);
  transform: rotate(1.5deg);
}
.device__screen {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 22px;
  background: #eef2f8;
}
.mock-bar {
  display: flex;
  gap: 8px;
}
.mock-sentence {
  flex: 1;
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  border: 2px solid var(--border);
}
.mock-token,
.mock-speak,
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--emoji);
  line-height: 1;
}
.mock-token i,
.mock-speak i,
.tile i {
  font-family: var(--body);
  font-style: normal;
  font-weight: 800;
  font-size: 0.72rem;
  color: var(--ink);
  margin-top: 4px;
}
.mock-token {
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 1.3rem;
}
.mock-speak {
  padding: 8px 18px;
  border-radius: 12px;
  background: #15803d;
  font-size: 1.3rem;
}
.mock-speak i {
  color: #fff;
}
.mock-tabs {
  display: flex;
  gap: 6px;
  overflow: hidden;
}
.mock-tabs span {
  padding: 6px 12px;
  border-radius: 10px;
  border: 2px solid var(--accent);
  background: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--ink);
}
.mock-tabs span:first-child {
  background: #e3f0fd;
}
.mock-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.tile {
  aspect-ratio: 1 / 1.05;
  border-radius: 12px;
  border: 3px solid var(--accent);
  background: #fff;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
}
.c-blue {
  --accent: #2196f3;
}
.c-green {
  --accent: #4caf50;
}
.c-orange {
  --accent: #ff9800;
}
.c-pink {
  --accent: #e91e63;
}
.c-purple {
  --accent: var(--purple);
}
.c-red {
  --accent: var(--red);
}
.c-cyan {
  --accent: var(--cyan);
}

/* Highlights strip */
.strip {
  background: var(--blue-dark);
  color: #fff;
}
.strip__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-block: 0;
  padding: 18px 0;
  list-style: none;
  font-weight: 700;
}
.strip__list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.strip__list span {
  font-family: var(--emoji);
  font-size: 1.4rem;
}

/* Sections */
.section {
  padding: 80px 0;
}
.section--tint {
  background: linear-gradient(180deg, #eef4ff, #f8f5ff);
}
.section__lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 40em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border-top: 5px solid var(--accent);
  box-shadow: var(--shadow);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent) 14%, white);
  font-family: var(--emoji);
  font-size: 1.7rem;
}
.card p {
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 26px 22px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 800;
}
.steps li:nth-child(2)::before {
  background: var(--purple);
}
.steps li:nth-child(3)::before {
  background: #d99a00;
}
.steps li:nth-child(4)::before {
  background: var(--red);
}
.steps p {
  margin: 0;
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.price-card {
  padding: 32px;
  border-radius: 24px;
  background: var(--surface);
  border: 2px solid var(--blue-soft);
  box-shadow: var(--shadow);
}
.price-card__name {
  margin: 0;
  font-weight: 800;
  color: var(--blue-dark);
}
.price-card__price {
  margin: 4px 0 16px;
  font-family: var(--display);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.price-card__price span {
  font-size: 1.5rem;
  vertical-align: 0.9em;
}
.price-card__price small {
  font-size: 1.1rem;
  color: var(--muted);
}
.price-card ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.price-card li {
  padding: 6px 0 6px 32px;
  position: relative;
}
.price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 6px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e5f5ea;
  color: var(--green);
  font-weight: 800;
  font-size: 0.8rem;
}
.price-card .fine {
  margin: 14px 0 0;
}

/* FAQ */
.faq {
  max-width: 820px;
}
.faq details {
  margin-top: 12px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 56px 18px 22px;
  position: relative;
  font-weight: 800;
  color: var(--ink);
  font-size: 1.08rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--blue);
}
.faq details[open] summary::after {
  content: '–';
}
.faq details p {
  margin: 0;
  padding: 0 22px 20px;
}

/* Final CTA */
.final {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 55%, var(--cyan) 100%);
  color: #fff;
  text-align: center;
}
.final h2 {
  color: #fff;
}
.final p {
  font-size: 1.2rem;
  opacity: 0.95;
}

/* Footer */
.footer {
  padding: 48px 0 28px;
  background: #fff;
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer__by {
  margin: 0 0 4px;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
}
.footer__links a {
  font-weight: 700;
  text-decoration: none;
}
.whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #e7f7ed;
  color: #146c34 !important;
}
.footer__legal {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}
.footer__legal p {
  margin: 0 0 4px;
}

/* Legal pages */
.legal {
  max-width: 820px;
  padding: 56px 0 80px;
}
.legal h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}
.legal h2 {
  font-size: 1.5rem;
  margin-top: 1.6em;
}
.legal .updated {
  color: var(--muted);
}

/* Responsive */
@media (max-width: 960px) {
  .hero__inner,
  .pricing {
    grid-template-columns: 1fr;
  }
  .device {
    max-width: 560px;
    transform: none;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .strip__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  body {
    font-size: 17px;
  }
  .topbar__nav {
    display: none;
  }
  .topbar__inner > .btn {
    margin-left: auto;
  }
  .hero {
    padding: 40px 0 52px;
  }
  .cta .btn {
    width: 100%;
  }
  .cards,
  .steps,
  .strip__list {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 60px 0;
  }
  .price-card {
    padding: 24px;
  }
  .mock-tabs span:nth-child(n + 4) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}

/* Small utilities (no inline styles: the landing CSP forbids them) */
.push {
  margin-left: auto;
}
.footer__legal--plain {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.legal--center {
  text-align: center;
}
.notfound__icon {
  border-radius: 22px;
}
