/* ---------- fontes locais ----------
   Auto-hospedadas de propósito: nada é requisitado a servidores de terceiros,
   então nenhum IP de visitante é enviado para fora. */
@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;
  src:url("fonts/inter-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;
  src:url("fonts/inter-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;
  src:url("fonts/inter-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:Poppins;font-style:normal;font-weight:500;font-display:swap;
  src:url("fonts/poppins-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:Poppins;font-style:normal;font-weight:600;font-display:swap;
  src:url("fonts/poppins-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:Poppins;font-style:normal;font-weight:700;font-display:swap;
  src:url("fonts/poppins-latin-700-normal.woff2") format("woff2")}

/* =========================================================
   Vertix — folha de estilo principal
   Paleta oficial do app:
   navy #0D1B2A · azul #0A84FF · hover #0066CC · claro #F3F7FC
   texto #101B2D · texto-2 #55677E · roxo IA #6C4BFF
   ========================================================= */

:root {
  --navy: #0D1B2A;
  --navy-2: #142639;
  --blue: #0A84FF;
  --blue-dark: #0066CC;
  --bg-light: #F3F7FC;
  --surface: #FFFFFF;
  --text: #101B2D;
  --text-2: #55677E;
  --purple: #6C4BFF;
  --border: #E1E9F3;
  --border-dark: rgba(255, 255, 255, 0.12);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 27, 45, .06), 0 4px 14px rgba(16, 27, 45, .05);
  --shadow-md: 0 10px 34px rgba(13, 27, 42, .10);

  --max: 1140px;
  --font-title: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.16rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin-bottom: .4rem; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 22px; }
.center { text-align: center; }
.muted { color: var(--text-2); }
.skip {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip:focus {
  position: fixed; top: 0; left: 0; width: auto; height: auto;
  clip: auto; clip-path: none; z-index: 999;
  background: var(--surface); color: var(--text); padding: 12px 18px;
  border-radius: 0 0 10px 0; box-shadow: var(--shadow-md);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 27, 42, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border-dark);
}
.nav { display: flex; align-items: center; gap: 20px; height: 70px; }
.nav > a:first-child { flex: none; }
.nav .logo { height: 30px; width: auto; flex: none; }
.nav a { color: #DDE7F4; text-decoration: none; }
.nav-links { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.nav-links a { font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-lang {
  border: 1px solid var(--border-dark); border-radius: 999px;
  padding: 5px 13px; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase;
}
.nav-lang:hover { border-color: var(--blue); }
.nav-toggle { display: none; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-title); font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: background .18s, transform .18s, border-color .18s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
/* fundo #0066CC em vez de #0A84FF: contraste 5.57:1 com o texto branco (WCAG AA) */
.btn-primary { background: var(--blue-dark); color: #fff; }
.btn-primary:hover { background: #0059B3; }
.btn-ghost { background: transparent; color: #E7EFFA; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(10,132,255,.30), transparent 62%),
    radial-gradient(700px 420px at 92% 8%, rgba(108,75,255,.22), transparent 60%),
    var(--navy);
  color: #EAF1FA;
  padding: 84px 0 96px;
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { font-size: 1.16rem; color: #C3D2E4; max-width: 56ch; margin-bottom: 30px; }
.eyebrow {
  display: inline-block; font-family: var(--font-title); font-weight: 600;
  font-size: .78rem; letter-spacing: .13em; text-transform: uppercase;
  color: #8FC3FF; background: rgba(10,132,255,.14);
  border: 1px solid rgba(10,132,255,.35); border-radius: 999px;
  padding: 6px 15px; margin-bottom: 22px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

/* mock do app no hero */
.mock {
  background: linear-gradient(160deg, #16283C, #0E1E30);
  border: 1px solid var(--border-dark); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: 0 26px 60px rgba(0,0,0,.42);
}
.mock-bar { display: flex; gap: 7px; margin-bottom: 18px; }
.mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.18); }
.mock-title { font-family: var(--font-title); font-weight: 600; color: #fff; font-size: .98rem; margin-bottom: 14px; }
.mock-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border-dark);
  border-radius: 11px; padding: 11px 14px; margin-bottom: 9px;
  font-size: .89rem; color: #CBD9EA;
}
.mock-row strong { color: #fff; font-weight: 600; }
.tag { font-size: .74rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tag-ok { background: rgba(52,199,89,.16); color: #6EE7A0; }
.tag-wait { background: rgba(255,159,10,.16); color: #FFC061; }
.tag-ai { background: rgba(108,75,255,.20); color: #B7A5FF; }

/* ---------- seções ---------- */
section { padding: 84px 0; }
.sec-light { background: var(--bg-light); }
.sec-dark { background: var(--navy); color: #D7E3F1; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-head { max-width: 62ch; margin: 0 auto 52px; text-align: center; }
.sec-head p { color: var(--text-2); font-size: 1.06rem; }
.sec-dark .sec-head p { color: #A9BDD4; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .35em; }
.card p { color: var(--text-2); font-size: .96rem; margin: 0; }
.card ul { color: var(--text-2); font-size: .94rem; margin: .6rem 0 0; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(10,132,255,.10); color: var(--blue-dark); margin-bottom: 16px;
}
.icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon-ai { background: rgba(108,75,255,.11); color: var(--purple); }
.card-ai { border-color: rgba(108,75,255,.35); }
.badge-ai {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--purple); background: rgba(108,75,255,.10);
  border-radius: 999px; padding: 3px 10px; margin-bottom: 10px;
}

/* ---------- passos ---------- */
.flow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.flow-col {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm);
}
.flow-col > h3 { font-size: 1.28rem; margin-bottom: 20px; }
.step { display: flex; gap: 15px; margin-bottom: 18px; }
.step:last-child { margin-bottom: 0; }
.step-n {
  flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--blue-dark); color: #fff;
  font-family: var(--font-title); font-weight: 600; font-size: .9rem;
  display: grid; place-items: center;
}
.step p { margin: 0; font-size: .96rem; color: var(--text-2); }
.step strong { color: var(--text); display: block; font-weight: 600; }

/* ---------- destaque ---------- */
.note {
  border-left: 3px solid var(--blue); background: rgba(10,132,255,.08);
  padding: 16px 20px; border-radius: 0 10px 10px 0; font-size: .95rem; color: #BDD2E8;
}
/* variante clara: só fora de seções escuras */
.legal .note, .sec-light .note { color: #2C3B51; background: rgba(10,132,255,.07); }

/* ---------- contato ---------- */
.contact-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 42px 38px; box-shadow: var(--shadow-md); max-width: 720px; margin-inline: auto; text-align: center;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ctt {
  display: flex; align-items: center; gap: 15px; text-align: left;
  padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); text-decoration: none; color: inherit;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.ctt:hover { text-decoration: none; border-color: #C9DCF2; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.ctt-ic { width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center; }
.ctt-ic svg { width: 23px; height: 23px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ctt-ic svg.ic-solid { fill: currentColor; stroke: none; }
.ctt-mail { background: rgba(10,132,255,.10); color: var(--blue-dark); }
.ctt-zap  { background: rgba(37,211,102,.13); color: #0C6E36; }
.ctt-txt { display: flex; flex-direction: column; min-width: 0; }
.ctt-lbl { font-size: .84rem; color: var(--text-2); line-height: 1.3; }
.ctt-val { font-family: var(--font-title); font-weight: 600; font-size: 1.02rem; color: var(--text);
  line-height: 1.35; overflow-wrap: anywhere; }
.ctt:hover .ctt-val { color: var(--blue-dark); }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- rodapé ---------- */
.site-footer { background: var(--navy); color: #93A8C0; padding: 54px 0 34px; font-size: .93rem; }
.site-footer a { color: #C6D6E8; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; margin-bottom: 34px; }
.site-footer .logo { height: 28px; margin-bottom: 14px; }
.site-footer h4 {
  font-family: var(--font-title); color: #fff; font-size: .82rem; letter-spacing: .1em;
  text-transform: uppercase; margin: 0 0 14px;
}
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 9px; }
.footer-bottom {
  border-top: 1px solid var(--border-dark); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .87rem;
}

/* ---------- páginas legais ---------- */
.legal { padding: 62px 0 90px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(1.9rem, 4.4vw, 2.6rem); margin-bottom: 6px; }
.legal h2 { font-size: 1.34rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.legal h3 { font-size: 1.03rem; margin-top: 1.6rem; }
.legal p, .legal li { color: #2C3B51; font-size: 1rem; }
.legal .updated { color: var(--text-2); font-size: .93rem; margin-bottom: 2rem; }
.legal .toc {
  background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 26px; margin-bottom: 2rem;
}
.legal .toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 30px; }
.legal .toc li { font-size: .94rem; break-inside: avoid; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem; font-size: .94rem; }
.legal th, .legal td { border: 1px solid var(--border); padding: 11px 13px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-light); font-family: var(--font-title); font-weight: 600; }
.back-link { display: inline-block; margin-bottom: 18px; font-size: .93rem; }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-2, .flow, .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; }
  .footer-grid { gap: 26px; }
  section { padding: 62px 0; }
  .hero { padding: 62px 0 70px; }
  .legal .toc ol { columns: 1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--navy); border-bottom: 1px solid var(--border-dark);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 22px 18px;
    display: none;
  }
  .nav-links a { padding: 11px 0; width: 100%; }
  .nav-toggle {
    display: grid; place-items: center; margin-left: auto;
    width: 42px; height: 42px; background: transparent; cursor: pointer;
    border: 1px solid var(--border-dark); border-radius: 10px; color: #DDE7F4;
  }
  .nav-toggle svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
  .nav.open .nav-links { display: flex; }
  .contact-box { padding: 30px 22px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
}

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

@media print {
  .site-header, .site-footer, .btn { display: none; }
  body { font-size: 12pt; color: #000; }
}

/* ---------- telas do app ----------
   As telas são de 402 CSS px (1206 px @3x). Exibi-las abaixo de ~380 px
   encolhe o conteúdo e o texto do app vira borrão — por isso a seção é
   mais larga que o resto do site e cada aparelho fica em tamanho real. */
.sec-telas .wrap { max-width: 1320px; }
.telas {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  align-items: start; max-width: 1276px; margin-inline: auto;
}
.tela figure { margin: 0; }
.phone {
  background: #0D1B2A; border-radius: 34px; padding: 7px;
  box-shadow: 0 20px 50px rgba(13,27,42,.22), 0 2px 6px rgba(13,27,42,.10);
}
.phone img { width: 100%; height: auto; border-radius: 28px; display: block; }
.tela figcaption { margin-top: 20px; padding-inline: 4px; }
.tela h3 { font-size: 1.06rem; margin-bottom: .3em; }
.tela p { font-size: .94rem; color: var(--text-2); margin: 0; }
.telas-grupo {
  font-family: var(--font-title); font-size: .82rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-2);
  text-align: center; margin: 0 0 26px;
}
.telas + .telas-grupo { margin-top: 54px; }
.telas-nota { font-size: .88rem; color: var(--text-2); margin-top: 44px; text-align: center; }

@media (max-width: 1180px) {
  .telas { grid-template-columns: repeat(2, 1fr); max-width: 850px; }
}
@media (max-width: 820px) {
  .telas { grid-template-columns: 1fr; max-width: 412px; }
}
