:root {
  --navy: #16336B;
  --navy-escuro: #0F2550;
  --tinta: #0E1726;
  --oceano: #6F9BE8;
  --papel: #F2F5F9;
  --branco: #FFFFFF;
  --aco: #566175;
  --texto: #141B28;
  --linha: #D5DCE6;
  --wa: #1FA855;

  --largo: 125%;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --topo-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--topo-h); }
body {
  margin: 0;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
h1, h2 { font-stretch: var(--largo); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); max-width: 20ch; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
/* Em fundo escuro o navy some: usa o azul claro */
.como :focus-visible, .contato-info :focus-visible, .cat-outro :focus-visible, .rodape :focus-visible { outline-color: var(--oceano); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(64px, 9vw, 120px); }
.intro { margin-top: 16px; color: var(--aco); max-width: 60ch; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px; border-radius: 4px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 0.95rem; text-decoration: none;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-escuro); }
.btn-linha { border-color: var(--texto); color: var(--texto); }
.btn-linha:hover { background: var(--texto); color: #fff; }
.btn-branco { background: #fff; color: var(--navy); }
.btn-branco:hover { background: var(--papel); }
.ic { width: 20px; height: 20px; flex: none; }

/* Topo */
.topo {
  position: sticky; top: 0; z-index: 50; height: var(--topo-h);
  background: var(--branco);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.topo.rolou { border-bottom-color: var(--linha); }
.topo-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.marca img { height: 40px; width: auto; }
.menu { display: flex; align-items: center; gap: 28px; font-size: .95rem; font-weight: 600; }
.menu a:not(.btn) { text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; }
.menu a:not(.btn):hover { border-bottom-color: var(--navy); }
.menu-btn { display: none; }

@media (max-width: 960px) {
  .menu-btn {
    display: grid; gap: 5px; place-content: center; width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer; padding: 0;
  }
  .menu-btn span { width: 24px; height: 2px; background: var(--texto); transition: transform .2s, opacity .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu {
    position: absolute; top: var(--topo-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--linha);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .menu.aberto { display: flex; max-height: calc(100dvh - var(--topo-h)); overflow-y: auto; }
  .menu a:not(.btn) { padding-block: 14px; border-bottom: 1px solid var(--linha); }
  .menu .btn { margin-top: 16px; justify-content: center; }
  .marca img { height: 34px; }

  /* Sem JS o botão não abre nada: mostra os links em linha abaixo da logo */
  html:not(.js) .topo { height: auto; position: static; }
  html:not(.js) .topo-in { flex-wrap: wrap; padding-block: 14px; }
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .menu { display: flex; position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 18px; padding: 0; border: 0; }
  html:not(.js) .menu a:not(.btn) { border: 0; padding-block: 4px; }
  html:not(.js) .menu .btn { margin-top: 6px; }
}

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px); background: var(--branco); }
.hero-in { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero h1 { font-size: clamp(2.1rem, 1rem + 4.4vw, 4.4rem); line-height: 1.04; max-width: 15ch; letter-spacing: -0.02em; }
.lead { margin-top: 24px; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--aco); max-width: 52ch; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.selo { margin-top: 20px; font-size: .9rem; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.selo::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }

.hero-orbita { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; justify-self: end; }
.globo { position: absolute; inset: 21%; width: 58%; height: 58%; }
.rota { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rota-linha { fill: none; stroke: var(--navy); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: desenha 2.4s cubic-bezier(.6,.1,.3,1) .3s forwards; }
.rota-ponto { fill: var(--navy); offset-path: path("M390 200a190 118 0 1 1-380 0a190 118 0 1 1 380 0"); offset-distance: 0%; opacity: 0; animation: viaja 2.4s cubic-bezier(.6,.1,.3,1) .3s forwards; }
@keyframes desenha { to { stroke-dashoffset: 0; } }
@keyframes viaja { 0% { opacity: 1; offset-distance: 0%; } 100% { opacity: 1; offset-distance: 100%; } }

@media (max-width: 800px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-orbita { order: -1; max-width: 190px; justify-self: start; margin: -8px 0 0 -12px; }
}

/* Duas colunas (serviços, por que) */
.duas-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.col-titulo { position: sticky; top: calc(var(--topo-h) + 32px); }
.col-titulo p { margin-top: 20px; color: var(--aco); max-width: 44ch; }
@media (max-width: 800px) {
  .duas-col { grid-template-columns: 1fr; }
  .col-titulo { position: static; }
}

.servicos { background: var(--papel); }
.lista-serv { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 40px; }
.lista-serv li { border-top: 3px solid var(--navy); padding-top: 18px; }
.lista-serv p { margin-top: 8px; color: var(--aco); font-size: 1rem; }
@media (max-width: 560px) { .lista-serv { grid-template-columns: 1fr; gap: 28px; } }

/* Como funciona: rota com paradas */
.como { background: var(--tinta); color: #fff; }
.como h2 { color: #fff; }
.como .intro { color: #AEB9CC; }
.passos {
  list-style: none; margin: 64px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; position: relative;
}
.passos::before {
  content: ""; position: absolute; top: 27px; left: 28px; right: 28px;
  border-top: 2px dashed rgba(111,155,232,.55);
}
.passos li { position: relative; }
.num {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--tinta); border: 2px solid var(--oceano); color: #fff;
  font-weight: 800; font-stretch: var(--largo); font-size: 1.35rem; position: relative;
}
.passos li:last-child .num { background: var(--oceano); color: var(--tinta); }
.passos h3 { margin-top: 22px; font-size: 1.1rem; }
.passos p { margin-top: 8px; color: #AEB9CC; font-size: .97rem; }
@media (max-width: 900px) {
  .passos { grid-template-columns: 1fr; gap: 36px; margin-top: 48px; }
  .passos::before { top: 28px; bottom: 28px; left: 27px; right: auto; border-top: 0; border-left: 2px dashed rgba(111,155,232,.55); }
  .passos li { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; }
  .passos .num { grid-row: span 2; }
  .passos h3 { margin-top: 14px; }
}

/* Exemplo de cotação: um documento, não um cartão */
.exemplo { background: var(--papel); }
.exemplo .nota { margin-top: 20px; font-size: .9rem; padding-left: 14px; border-left: 3px solid var(--linha); }
.cotacao-doc {
  margin: 0; background: var(--branco); padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--linha); border-top: 6px solid var(--navy); border-radius: 2px;
  font-variant-numeric: tabular-nums; min-width: 0;
}
.doc-topo { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--linha); }
.doc-topo img { height: 32px; width: auto; }
.doc-tag { font-size: .8rem; font-weight: 700; color: var(--navy); border: 1.5px solid var(--navy); padding: 3px 10px; border-radius: 99px; }
.doc-dados { margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.doc-dados dt { font-size: .8rem; color: var(--aco); }
.doc-dados dd { margin: 2px 0 0; font-weight: 600; font-size: .95rem; }
.doc-custos { width: 100%; margin-top: 22px; border-collapse: collapse; font-size: .95rem; }
.doc-custos th { text-align: left; font-weight: 400; padding: 9px 12px 9px 0; }
.doc-custos td { text-align: right; padding: 9px 0; white-space: nowrap; vertical-align: top; }
.doc-custos tbody tr { border-bottom: 1px dashed var(--linha); }
.doc-custos tfoot tr:first-child { border-top: 2px solid var(--texto); }
.doc-custos tfoot th, .doc-custos tfoot td { font-weight: 800; font-stretch: var(--largo); font-size: 1.05rem; padding-top: 14px; }
.doc-custos .doc-unit th, .doc-custos .doc-unit td { font-weight: 600; font-stretch: 100%; font-size: .9rem; color: var(--aco); padding-top: 2px; }
.doc-prazo { margin-top: 16px; font-size: .9rem; font-weight: 600; color: var(--navy); }
@media (max-width: 420px) { .doc-dados { grid-template-columns: 1fr; } }

/* O que importamos */
.categorias {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--linha); border-left: 1px solid var(--linha);
}
.categorias li { padding: 28px 28px 32px; border-right: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.categorias h3 { font-stretch: var(--largo); font-weight: 800; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); }
.categorias p { margin-top: 8px; color: var(--aco); font-size: .97rem; }
.categorias .cat-outro { background: var(--navy); color: #fff; }
.cat-outro p { color: #C9D6F2; }
.cat-outro .btn { margin-top: 20px; }
@media (max-width: 860px) { .categorias { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .categorias { grid-template-columns: 1fr; } .categorias li { padding: 22px 20px; } }

/* Por que */
.porque { background: var(--papel); }
.diferenciais { margin: 0; display: grid; gap: 0; }
.diferenciais div { padding: 26px 0; border-bottom: 1px solid var(--linha); }
.diferenciais div:first-child { padding-top: 0; }
.diferenciais dt { font-stretch: var(--largo); font-weight: 800; font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); color: var(--navy); }
.diferenciais dd { margin: 8px 0 0; color: var(--aco); max-width: 56ch; }

/* FAQ */
.faq-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
@media (max-width: 800px) { .faq-in { grid-template-columns: 1fr; } }
.faq-lista { border-top: 1px solid var(--linha); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 700; font-size: 1.07rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: translateY(-75%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--aco); max-width: 64ch; }

/* Contato */
.contato { background: var(--navy); color: #fff; }
.contato-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contato h2 { color: #fff; }
.contato-info > p { margin-top: 20px; color: #C9D6F2; max-width: 44ch; }
.canais { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 12px; }
.canais a {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; text-decoration: none;
  border: 1px solid rgba(255,255,255,.25); border-radius: 4px; transition: background-color .15s;
}
.canais a:hover { background: rgba(255,255,255,.08); }
.canais .ic { width: 26px; height: 26px; color: var(--oceano); }
.canais strong { display: block; font-size: .85rem; color: #C9D6F2; font-weight: 600; }

.form { background: #fff; color: var(--texto); padding: clamp(22px, 4vw, 40px); border-radius: 6px; }
.form-aviso { font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: 20px; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.campos .largo { grid-column: 1 / -1; }
.campos label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.campos input, .campos textarea {
  font: inherit; font-size: 1rem; font-weight: 400; color: var(--texto);
  padding: 12px 14px; border: 1.5px solid #8A94A6; border-radius: 4px; background: #fff; width: 100%;
}
.campos textarea { resize: vertical; }
.campos input:focus, .campos textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(22,51,107,.18); }
.campos .invalido, .campos .invalido:focus { border-color: #B42318; }
.campos .invalido:focus { box-shadow: 0 0 0 3px rgba(180,35,24,.2); }
.form-erro { margin: -4px 0 18px; padding: 10px 14px; border-left: 3px solid #B42318; background: #FDF0EF; color: #B42318; font-weight: 600; font-size: .95rem; }
.form-noscript { background: #fff; color: var(--texto); padding: 24px; border-radius: 6px; }
.form-lgpd { margin-top: 18px; font-size: .85rem; color: var(--aco); }
.form-lgpd a { color: var(--navy); font-weight: 600; }
.form .btn { margin-top: 20px; width: 100%; justify-content: center; }
@media (max-width: 800px) { .contato-in { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .campos { grid-template-columns: 1fr; } }

/* Rodapé */
.rodape { background: var(--tinta); color: #AEB9CC; padding-top: 72px; font-size: .95rem; }
.rodape-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.rodape-marca img { width: 220px; }
.rodape-marca p { margin-top: 18px; max-width: 36ch; }
.rodape h2 { color: #fff; font-size: .95rem; font-stretch: 100%; font-weight: 700; letter-spacing: 0; margin-bottom: 14px; }
.rodape .rodape-sub { margin-top: 24px; }
.rodape nav a, .rodape-contato a { display: block; padding-block: 5px; text-decoration: none; }
.rodape a:hover { color: #fff; }
.rodape-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
@media (max-width: 720px) { .rodape-in { grid-template-columns: 1fr; } }

/* Páginas legais */
.legal-topo { border-bottom: 1px solid var(--linha); background: var(--branco); }
.legal-topo-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 16px; }
.legal { max-width: 760px; padding-block: clamp(40px, 6vw, 72px); }
.legal h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.legal-data { margin-top: 10px; color: var(--aco); font-size: .9rem; }
.legal > p, .legal li { max-width: 68ch; }
.legal > p { margin-top: 16px; }
.legal h2 { font-size: 1.3rem; max-width: none; margin-top: 40px; }
.legal ul { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.legal a:not(.btn) { color: var(--navy); font-weight: 600; }
.legal .nao-encontrada-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.rodape-legal { padding-top: 0; }
.rodape-legal .rodape-base { margin-top: 0; border-top: 0; }
.rodape-legal a { color: #fff; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 6px 20px rgba(14,23,38,.28);
  transition: transform .15s, opacity .2s;
}
.wa-float:hover { transform: scale(1.06); }
/* Some quando o formulário ou o rodapé estão na tela, para não cobrir o botão de envio nem links */
.wa-float.oculto { opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
.wa-float svg { width: 30px; height: 30px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rota-linha { animation: none; stroke-dashoffset: 0; }
  .rota-ponto { animation: none; opacity: 1; offset-distance: 100%; }
  * { transition: none !important; }
}
