:root {
  --navy: #082a63;
  --navy-900: #051d47;
  --blue: #0d4fa8;
  --blue-500: #1769cf;
  --gold: #f7b500;
  --gold-600: #e39a00;
  --ink: #0f1b33;
  --muted: #56627a;
  --line: #e2e8f3;
  --soft: #f3f7fd;
  --white: #fff;
  --green: #25d366;
  --radius: 18px;
  --shadow: 0 18px 45px -20px rgba(8, 42, 99, .35);
  --font-title: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--soft { background: var(--soft); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-title);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.hl { color: var(--gold); }
/* ícones de linha (o do WhatsApp é preenchido e fica de fora) */
.checks svg, .icon svg, .door svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 12px 28px -12px rgba(247, 181, 0, .9); }
.btn--gold:hover { background: #ffc420; transform: translateY(-2px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--blue); transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; font-size: .92rem; }
.btn--block { width: 100%; }

/* Cabeçalho */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
/* recorta só o símbolo do logo quadrado */
.brand-mark {
  width: 52px;
  height: 52px;
  flex: none;
  background: url('../assets/logo.webp') 50.8% 23.2% / 214.4% no-repeat;
}
.brand-name { font-family: var(--font-title); font-weight: 800; font-size: 1.55rem; letter-spacing: -.03em; color: var(--navy); line-height: 1; }
.brand-name b { color: var(--gold-600); font-weight: 800; }
.brand-name small { display: block; margin-top: 4px; font-size: .56rem; font-weight: 600; letter-spacing: .34em; color: var(--blue); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav a:not(.btn):hover { color: var(--blue); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2.5px; border-radius: 2px; background: var(--navy); margin: 5px 0; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(23, 105, 207, .55), transparent 60%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 55%, var(--blue) 100%);
  padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 9vw, 120px);
}
.hero::after {
  content: '';
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -1px;
  height: 70px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-swoosh { position: absolute; right: -80px; bottom: 30px; width: 620px; opacity: .16; pointer-events: none; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero-lead { font-size: 1.15rem; color: #d6e3f8; max-width: 560px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 22px;
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.checks { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; max-width: 560px; }
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: .98rem; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--gold); }

.form-card { background: #fff; color: var(--ink); border-radius: 24px; padding: 32px; box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .55); }
.form-card h2 { font-size: 1.45rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(23, 105, 207, .15); }
.form-note { margin: 14px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }

/* História */
.story { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.story-logo { width: 100%; max-width: 380px; height: auto; margin-inline: auto; border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.story p { color: var(--muted); font-size: 1.08rem; }
.story strong { color: var(--navy); }
.quote { margin: 26px 0 0; padding: 18px 22px; border-left: 4px solid var(--gold); background: var(--soft); border-radius: 0 14px 14px 0; font-family: var(--font-title); font-weight: 600; color: var(--navy); }

/* Passos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: passo; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 24px; counter-increment: passo; }
.steps li::before {
  content: counter(passo);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  margin-bottom: 18px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.2rem;
}
.steps p { margin: 0; color: var(--muted); font-size: .96rem; }
.center { text-align: center; margin-top: 44px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #fff4d1; color: var(--gold-600); margin-bottom: 18px; }
.icon svg { width: 26px; height: 26px; }

/* Certificado */
.cert { background: linear-gradient(135deg, var(--navy-900), var(--navy) 60%, var(--blue)); color: #fff; }
.cert .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cert h2 { color: #fff; }
.cert p { color: #d6e3f8; font-size: 1.08rem; }
.cert .eyebrow { color: var(--gold); }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.door { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); padding: 22px; }
.door svg { width: 30px; height: 30px; color: var(--gold); margin-bottom: 12px; }
.door h3 { color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.door p { margin: 0; font-size: .92rem; color: #c3d5f2; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 12px; overflow: hidden; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  position: relative;
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--gold-600);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

/* CTA final */
.cta { text-align: center; }
.cta-box { background: var(--gold); border-radius: 32px; padding: clamp(40px, 6vw, 72px) 28px; }
.cta-box h2 { color: var(--navy-900); max-width: 700px; margin-inline: auto; }
.cta-box p { color: #4a3600; max-width: 560px; margin: 0 auto 28px; font-size: 1.08rem; }

/* Rodapé */
.footer { background: var(--navy-900); color: #b9c8e4; padding: 60px 0 28px; font-size: .93rem; }
.footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 44px; }
.footer .brand-name { color: #fff; }
.footer .brand-name b { color: var(--gold); }
.footer .brand-name small { color: #9fb6dd; }
.footer .brand-mark { background-color: #fff; border-radius: 12px; }
.footer h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: #b9c8e4; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer-about { margin-top: 16px; max-width: 320px; }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; font-size: .84rem; text-align: center; }

/* WhatsApp flutuante e aviso */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .45);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 70;
  transform: translate(-50%, 20px);
  width: max-content;
  max-width: calc(100% - 40px);
  padding: 14px 22px;
  border-radius: 14px;
  background: var(--navy-900);
  color: #fff;
  font-size: .95rem;
  text-align: center;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Página de política */
.legal { max-width: 800px; padding: 56px 0 90px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal p, .legal li { color: #36425a; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: .92rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: .94rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border: 1px solid var(--line); }
.legal th { background: var(--soft); color: var(--navy); font-family: var(--font-title); font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* Animação de entrada (só com JS ativo) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 960px) {
  .hero .container, .story, .cert .container { grid-template-columns: 1fr; gap: 40px; }
  .story-logo { max-width: 300px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .footer .container { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(8, 42, 99, .3);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .checks, .steps, .cards, .doors, .footer .container { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .btn { padding: 15px 22px; }
  .hero .btn { width: 100%; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-name { font-size: 1.35rem; }
  h1 { font-size: clamp(1.8rem, 8.6vw, 2.1rem); }
  .pill { font-size: .76rem; padding: 6px 12px; }
  /* tabela da política vira blocos empilhados */
  .legal thead { display: none; }
  .legal table, .legal tbody, .legal tr, .legal td { display: block; }
  .legal tr { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
  .legal td { border: 0; border-bottom: 1px solid var(--line); }
  .legal td:last-child { border-bottom: 0; }
  .legal td::before { content: attr(data-label); display: block; font-family: var(--font-title); font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 4px; }
}
