/* ==========================================================================
   Jurii — jurii.com.br
   Design system do site. Tokens espelham a identidade do app:
   navy #0A1C3B (base) · dourado #B8972A (a ponte) · roxo #3B2A6D
   (escritórios) · off-white #F7F8FC · fundo escuro #0A1120.
   Fonte: Sora (variable, self-hosted — nenhum recurso de terceiros).
   ========================================================================== */

/* ---- Fonte (variable: um arquivo cobre 100–800) ---- */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../assets/fonts/sora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../assets/fonts/sora-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* ---- Tokens ---- */
:root {
  color-scheme: light;
  --navy: #0a1c3b;
  --navy-2: #122a52;
  --gold: #b8972a;
  --gold-soft: #d4b14a;
  --purple: #3b2a6d;

  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-2: #eef1f8;
  --border: #dfe5f1;
  --text: #0a1c3b;
  --text-2: #4a5975;
  --accent: var(--gold);
  --accent-ink: #7c651a;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(10, 28, 59, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 28, 59, 0.14);
  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0a1120;
  --surface: #101a30;
  --surface-2: #0d1526;
  --border: #223252;
  --text: #edf1f9;
  --text-2: #9fb0cc;
  --accent: #d4b14a;
  --accent-ink: #e8cd7a;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #0a1120;
    --surface: #101a30;
    --surface-2: #0d1526;
    --border: #223252;
    --text: #edf1f9;
    --text-2: #9fb0cc;
    --accent: #d4b14a;
    --accent-ink: #e8cd7a;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  }
}

/* ---- Reset e base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  transition: background-color 0.3s, color 0.3s;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button {
  font: inherit;
}

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

/* A nav e sticky: sem isto, navegar por ancora esconde o titulo sob ela. */
section[id] {
  scroll-margin-top: 84px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #0a1c3b;
  padding: 10px 18px;
  border-radius: 0 0 12px 0;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}

/* Foco: --accent-ink garante ≥3:1 (WCAG 1.4.11) nos fundos claros; nas
   seções sempre-navy o dourado claro contrasta de sobra. */
:focus-visible {
  outline: 3px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.hero :focus-visible,
.waitlist :focus-visible {
  outline-color: var(--gold-soft);
}

::selection {
  background: rgba(184, 151, 42, 0.35);
}

/* ==========================================================================
   Navegação
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.brand svg {
  height: 30px;
  width: auto;
}
.brand .bridge {
  fill: var(--gold);
}
.brand .pillar {
  fill: var(--text);
}

.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--text);
}

/* O CTA do header vive dentro de .nav-links, cujo seletor de cor vence o
   .btn-gold por especificidade. Texto branco, por pedido: legivel sobre o
   dourado em ambos os temas. */
.nav-links a.btn-gold {
  color: #fff;
}

/* Sem JS o botão não faz nada — some (o tema segue o sistema normalmente). */
html:not(.js) .theme-toggle {
  display: none;
}
.theme-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 0.2s, transform 0.2s var(--ease);
}
.theme-toggle:hover {
  color: var(--text);
  transform: rotate(15deg);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
}
:root:not([data-theme='dark']) .icon-sun,
:root[data-theme='dark'] .icon-moon {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .icon-sun {
    display: block;
  }
  :root:not([data-theme]) .icon-moon {
    display: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.2s;
}
.btn-gold {
  background: linear-gradient(135deg, #c9a838, var(--gold));
  color: #101418;
  box-shadow: 0 8px 24px rgba(184, 151, 42, 0.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(184, 151, 42, 0.45);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 9px 20px;
  font-size: 0.88rem;
}

/* Menu mobile: hamburguer abre um painel sob a nav (so com JS; sem JS a
   pagina continua rolavel e os CTAs visiveis). */
.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
  place-items: center;
}
.menu-toggle svg {
  width: 20px;
  height: 20px;
}
.menu-toggle .icon-close {
  display: none;
}
.menu-toggle[aria-expanded='true'] .icon-burger {
  display: none;
}
.menu-toggle[aria-expanded='true'] .icon-close {
  display: block;
}
.menu-mobile {
  display: none;
}

/* Os 5 links so cabem em linha unica acima de ~1000px (conta feita em
   auditoria); abaixo disso, hamburguer. */
@media (max-width: 1000px) {
  .nav-inner {
    gap: 12px;
  }
  .nav-links {
    gap: 10px;
  }
  .nav-links a:not(.btn) {
    display: none;
  }
  .nav-links .btn {
    white-space: nowrap;
  }
  .theme-toggle,
  .menu-toggle {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
  }
  html.js .menu-toggle {
    display: grid;
  }
  .menu-mobile:not([hidden]) {
    display: grid;
    border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
    padding: 8px 24px 16px;
    /* header sticky nao rola: em paisagem o painel precisa rolar sozinho */
    max-height: calc(100dvh - 84px);
    overflow-y: auto;
  }
  .menu-mobile a {
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    padding: 13px 4px;
    border-bottom: 1px solid color-mix(in srgb, var(--border) 55%, transparent);
  }
  .menu-mobile a:last-child {
    border-bottom: 0;
    color: var(--accent-ink);
    font-weight: 800;
  }
}

/* Telas estreitas: o CTA da nav so sobrevive onde nao ha hamburguer (paginas
   legais); no index ele ja vive dentro do menu. Ajustes para fechar a conta
   em 320px. */
@media (max-width: 430px) {
  .nav-inner {
    gap: 10px;
  }
  .nav-links {
    gap: 8px;
  }
  .btn-sm {
    padding: 9px 12px;
  }
  html.js .nav-inner:has(.menu-toggle) .nav-links a.btn {
    display: none;
  }
}

/* ==========================================================================
   Hero — sempre navy, nos dois temas (assinatura da marca)
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(59, 42, 109, 0.55), transparent 65%),
    radial-gradient(800px 420px at -10% 110%, rgba(184, 151, 42, 0.18), transparent 60%),
    linear-gradient(180deg, #0a1c3b 0%, #0a1120 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  /* linha do horizonte dourada, sutil */
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 151, 42, 0.6), transparent);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding-block: 96px 110px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero h1 .gold {
  color: var(--gold-soft);
}
.hero .lede {
  margin-top: 20px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #c3cde3;
  max-width: 54ch;
}
.hero-ctas {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.store-badges {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.store-badges img {
  height: 52px;
  width: auto;
  border-radius: 10px;
  /* ainda nao clicaveis: presenca discreta ate as lojas abrirem */
  opacity: 0.92;
}

/* O símbolo, contado como história: cliente · advogado · a ponte */
.hero-symbol {
  margin-inline: auto;
  width: min(280px, 60vw);
}
.hero-symbol svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.pillar-left,
.pillar-right,
.bridge-top {
  transform-origin: center;
}
.js .pillar-left,
.js .pillar-right {
  opacity: 0;
  transform: translateY(26px);
}
.js .bridge-top {
  opacity: 0;
  transform: translateY(-34px);
}
.played .pillar-left {
  animation: rise 0.7s var(--ease) 0.15s forwards;
}
.played .pillar-right {
  animation: rise 0.7s var(--ease) 0.75s forwards;
}
.played .bridge-top {
  animation: settle 0.8s var(--ease) 1.5s forwards;
}
@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes settle {
  0% {
    opacity: 0;
    transform: translateY(-34px);
  }
  70% {
    opacity: 1;
    transform: translateY(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.played .bridge-top {
  filter: drop-shadow(0 0 18px rgba(212, 177, 74, 0.45));
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 56px 68px;
    text-align: center;
  }
  .hero h1 br {
    display: none;
  }
  .hero .lede {
    margin-inline: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .store-badges {
    justify-content: center;
  }
  .hero-visual {
    grid-row: 1;
  }
  .hero-symbol {
    width: min(140px, 38vw);
  }
}

/* ==========================================================================
   Seções
   ========================================================================== */
.section {
  padding-block: 88px;
}
.section-alt {
  background: var(--surface-2);
}
.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 14px;
}
.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  max-width: 24ch;
}
.section .sub {
  margin-top: 14px;
  color: var(--text-2);
  max-width: 60ch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 44px;
}
@media (max-width: 860px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  /* em 1 coluna cada card entra sozinho: o stagger viraria espera */
  .js .reveal[data-delay] {
    transition-delay: 0s;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 14px 0 8px;
}
.card p {
  font-size: 0.93rem;
  color: var(--text-2);
}

.step-n {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-ink);
  letter-spacing: 0.08em;
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
}
.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-ink);
}

/* IA de triagem: texto + demonstracao em bolhas */
.triage-inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.triage-honesty {
  font-size: 0.9rem;
}
.chat-demo {
  display: grid;
  gap: 12px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.bubble-ai {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 6px;
  justify-self: start;
}
.bubble-user {
  background: var(--navy);
  color: #f2f5fb;
  border-bottom-right-radius: 6px;
  justify-self: end;
}
:root[data-theme='dark'] .bubble-user {
  background: var(--navy-2);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .bubble-user {
    background: var(--navy-2);
  }
}
.summary-chip {
  margin-top: 6px;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  font-size: 0.85rem;
  color: var(--text-2);
}
.summary-title {
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
@media (max-width: 860px) {
  .triage-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Privacidade — bloco assinatura */
.privacy-strip {
  background: linear-gradient(135deg, var(--navy) 0%, #17123a 100%);
  border-radius: 24px;
  color: #fff;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.privacy-strip::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  right: -140px;
  top: -180px;
  background: radial-gradient(circle, rgba(184, 151, 42, 0.22), transparent 70%);
}
.privacy-strip .shield {
  width: 96px;
  height: 96px;
}
.privacy-strip h2 {
  color: #fff;
}
.privacy-strip p {
  color: #c3cde3;
  margin-top: 12px;
  max-width: 58ch;
}
.privacy-strip strong {
  color: var(--gold-soft);
}
@media (max-width: 720px) {
  .privacy-strip {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    text-align: center;
  }
  .privacy-strip .shield {
    margin-inline: auto;
  }
}

/* Para advogados: fundo roxo sutil na borda esquerda dos cards */
.pro .card {
  border-left: 3px solid color-mix(in srgb, var(--purple) 55%, var(--border));
}

/* Para escritórios: identidade roxa (a mesma do app) + mock da indicação */
.firms {
  background:
    radial-gradient(700px 380px at 108% 10%, rgba(59, 42, 109, 0.14), transparent 60%),
    var(--surface-2);
}
.firms .kicker {
  color: var(--purple);
}
:root[data-theme='dark'] .firms .kicker {
  color: #a998e0;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .firms .kicker {
    color: #a998e0;
  }
}
.firms-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.firm-points {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 18px;
}
.firm-points li {
  position: relative;
  padding-left: 30px;
  color: var(--text-2);
  font-size: 0.95rem;
}
.firm-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 5px;
  border-radius: 3px;
  background: var(--gold);
}
.firm-points strong {
  color: var(--text);
}

.refer-demo {
  justify-self: center;
  width: min(360px, 100%);
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--purple) 30%, var(--border));
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}
.refer-tag {
  justify-self: start;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--purple);
  background: color-mix(in srgb, var(--purple) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--purple) 28%, var(--border));
}
:root[data-theme='dark'] .refer-tag {
  color: #b7a7ea;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .refer-tag {
    color: #b7a7ea;
  }
}
.refer-card {
  display: flex;
  align-items: center;
  gap: 14px;
}
.refer-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--purple) 25%, var(--border));
}
.refer-info {
  display: grid;
  gap: 2px;
}
.refer-info strong {
  font-size: 1.02rem;
}
.refer-info span {
  font-size: 0.83rem;
  color: var(--text-2);
}
.refer-btn {
  text-align: center;
  padding: 13px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.92rem;
  color: #fff;
  background: linear-gradient(135deg, #c9a838, var(--gold));
}
@media (max-width: 860px) {
  .firms-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ==========================================================================
   Lista de espera
   ========================================================================== */
.waitlist {
  background:
    radial-gradient(700px 340px at 50% -20%, rgba(59, 42, 109, 0.5), transparent 60%),
    linear-gradient(180deg, #0a1c3b, #0a1120);
  color: #fff;
}
.waitlist-box {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}
.waitlist h2 {
  color: #fff;
  margin-inline: auto;
}
.waitlist .sub {
  color: #c3cde3;
  margin-inline: auto;
}
.waitlist form {
  margin-top: 34px;
  display: grid;
  gap: 14px;
  text-align: left;
}
.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #c3cde3;
}
.field input,
.field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  /* 16px minimo: fonte menor faz o iOS dar zoom no foco do campo */
  font-size: 1rem;
  transition: border-color 0.2s, background-color 0.2s;
}
.field select option {
  /* o popup do select é do UA: fixa o par para legibilidade em qualquer
     color-scheme */
  color: #0a1c3b;
  background: #fff;
}
.field input::placeholder {
  color: #7e8fb3;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.1);
}
.waitlist .btn {
  margin-top: 8px;
  width: 100%;
}
.waitlist-privacy {
  margin-top: 16px;
  font-size: 0.875rem;
  color: #8fa0c2;
  text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 44px;
  font-size: 0.88rem;
  color: var(--text-2);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.footer .brand {
  font-size: 1.05rem;
}
.footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer a {
  color: var(--text-2);
  text-decoration: none;
  display: inline-block;
  padding: 10px 6px;
  margin: -6px -2px;
}
.footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* ==========================================================================
   Páginas legais
   ========================================================================== */
.legal {
  max-width: 760px;
  margin-inline: auto;
  padding-block: 64px 96px;
}
.legal h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.legal .updated {
  color: var(--text-2);
  font-size: 0.88rem;
  margin-top: 8px;
}
.legal h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 40px;
}
.legal p,
.legal li {
  margin-top: 12px;
  color: var(--text-2);
}
.legal ul {
  padding-left: 22px;
}
.legal strong {
  color: var(--text);
}
.notice {
  margin-top: 28px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  font-size: 0.9rem;
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
.js .reveal[data-delay='1'] {
  transition-delay: 0.1s;
}
.js .reveal[data-delay='2'] {
  transition-delay: 0.2s;
}
.js .reveal[data-delay='3'] {
  transition-delay: 0.3s;
}

/* ---- Mobile: ritmo mais curto, footer centrado, alvos de toque ---- */
@media (max-width: 720px) {
  .section {
    padding-block: 60px;
  }
  .privacy-strip {
    border-radius: 20px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
  .footer nav {
    justify-content: center;
  }
  .btn:not(.btn-sm) {
    padding: 14px 26px;
  }
}

/* ---- Movimento reduzido: respeito é um valor ---- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
  .js .pillar-left,
  .js .pillar-right,
  .js .bridge-top {
    opacity: 1;
    transform: none;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
