:root {
  --azul: #101f52;
  --azul-medio: #1f3f94;
  --azul-claro: #9fb4e8;
  --marca: #0b2a8a;
  --laranja: #f0641e;
  --laranja-escuro: #c94e10;
  --aco: #eef1f6;
  --linha: #d8dee9;
  --texto: #1b2333;
  --suave: #556073;
  --raio: 10px;
  --faixa: 1160px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--texto);
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: #fff; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 720; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.faixa { width: min(100% - 2.5rem, var(--faixa)); margin-inline: auto; }
.rotulo { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--laranja); margin-bottom: .8rem; }

.botao {
  display: inline-block; padding: .8rem 1.4rem; border: 2px solid var(--laranja); border-radius: 999px;
  background: var(--laranja); color: #fff; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.botao:hover { background: var(--laranja-escuro); border-color: var(--laranja-escuro); transform: translateY(-1px); }
.botao.vazado { background: transparent; border-color: rgb(255 255 255 / .45); }
.botao.vazado:hover { border-color: #fff; }
.botao.pequeno { padding: .45rem 1rem; }
:focus-visible { outline: 3px solid var(--laranja); outline-offset: 3px; }

/* Topo: branco, com o logo nas cores da marca */
.topo { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linha); }
.topo .faixa { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.marca { display: grid; grid-template-columns: auto auto; column-gap: .75rem; row-gap: .3rem; align-items: center; text-decoration: none; color: var(--marca); }
.marca img { grid-row: span 2; width: 44px; height: auto; }
.marca .palavra { width: 170px; height: auto; align-self: end; }
.marca small { font-size: .6rem; line-height: 1; letter-spacing: .12em; text-transform: uppercase; color: var(--suave); align-self: start; }
.topo nav { display: flex; align-items: center; gap: 1.4rem; font-size: .95rem; }
.topo nav a:not(.botao) { text-decoration: none; color: var(--texto); }
.topo nav a:not(.botao):hover { color: var(--marca); }
.idiomas { display: flex; gap: .3rem; font-size: .78rem; font-weight: 700; }
.idiomas > * { border: 1px solid var(--linha); border-radius: 6px; padding: .05rem .4rem; }
.idiomas [aria-current] { background: var(--marca); border-color: var(--marca); color: #fff; }

/* Abertura: fundo quadriculado, de prancheta */
.abertura {
  color: #fff; padding-block: clamp(3rem, 8vw, 6rem);
  background:
    linear-gradient(rgb(159 180 232 / .08) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgb(159 180 232 / .08) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(160deg, var(--azul-medio), var(--azul) 60%);
}
.abertura .rotulo { color: #ffb27a; }
.abertura h1 { max-width: 18em; }
.lead { font-size: 1.15rem; color: #dbe3f7; max-width: 38rem; }
.acoes { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* O mapa do topo, por trás do texto: o mundo em pontos, as rotas de Indaiatuba e os aviões (site.js). Faixa no pé do
   bloco, com o Brasil perto do centro; discreto para não competir com o texto. */
.abertura { position: relative; overflow: hidden; isolation: isolate; }
.mapa {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  /* Apaga o mapa do lado do texto. */
  mask-image: linear-gradient(90deg, rgb(0 0 0 / .25) 25%, #000 70%);
}
.mapa svg { position: absolute; bottom: 0; left: 50%; width: max(100%, 820px); height: auto; max-width: none; transform: translateX(-40%); }
.mapa image { opacity: .55; }
.rotas path { fill: none; stroke: #9fb4e8; stroke-width: 1.4; stroke-dasharray: 4 7; opacity: .4; }
.rotas path.ativa { stroke: #ffb27a; stroke-dasharray: none; opacity: 1; stroke-width: 2.2; }
.destinos circle { fill: #dfe7fb; }
.destinos text, .origem text { fill: #fff; font: 600 16px system-ui, sans-serif; text-anchor: middle; opacity: 0; transition: opacity .4s; }
.destinos .ativo circle { fill: #ffb27a; }
.destinos .ativo text { opacity: 1; }
.origem circle { fill: var(--laranja); }
.origem text { opacity: 1; text-anchor: start; fill: #ffb27a; }
.origem .onda { fill: none; stroke: var(--laranja); stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: onda 2.4s ease-out infinite; }
.aviao { fill: #fff; }
@keyframes onda { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }

/* Páginas de serviço */
.abertura.curta { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.abertura.curta .faixa { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.abertura .rotulo a { text-decoration: none; }
.icone-grande { width: 9rem; height: 9rem; color: var(--azul-claro); opacity: .8; }
.texto p { font-size: 1.08rem; }
.fazemos { background: var(--aco); border-radius: var(--raio); padding: 1.6rem 1.8rem; }
.fazemos h2 { font-size: 1.2rem; }
.fazemos ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.fazemos li { padding-left: 1.6rem; position: relative; }
.fazemos li::before { content: ""; position: absolute; left: 0; top: .45em; width: .8rem; height: .45rem; border: solid var(--laranja); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.outros h2 { font-size: 1.3rem; }

/* Seções */
.secao { padding-block: clamp(3.5rem, 8vw, 6rem); }
.secao.clara { background: var(--aco); }
.secao.escura { background: var(--azul); color: #fff; }
.intro { color: var(--suave); max-width: 40rem; margin-bottom: 2.5rem; }

.cartoes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.2rem; }
.cartoes li { border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.5rem; transition: border-color .15s, box-shadow .15s; }
.cartoes li:hover { border-color: var(--azul-claro); box-shadow: 0 10px 30px -18px rgb(16 31 82 / .45); }
.cartoes svg { width: 2.6rem; height: 2.6rem; color: var(--azul-medio); margin-bottom: 1rem; }
.cartoes li { position: relative; }
.cartoes h3 a { text-decoration: none; }
.cartoes h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--raio); }
.cartoes p { color: var(--suave); margin: 0; }
.mais { display: inline-block; margin-top: 1rem; font-weight: 650; font-size: .92rem; color: var(--laranja-escuro); }

.tarefas { margin-top: 2.5rem; }
.tarefas h3 { font-size: 1rem; }
.tarefas ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tarefas li { background: var(--aco); border-radius: 999px; padding: .3rem .9rem; font-size: .92rem; }

.casos { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1.2rem; }
.casos li { background: var(--azul); color: #fff; border-radius: var(--raio); padding: 1.6rem; }
.casos li:first-child { background: linear-gradient(160deg, var(--azul-medio), var(--azul)); }
.casos .onde { font: 700 .78rem ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: #ffb27a; margin-bottom: .6rem; }
.casos h3 { font-size: 1.25rem; }
.casos.um { margin: 0; grid-template-columns: minmax(0, 46rem); }
.casos p:last-child { color: #dbe3f7; margin: 0; }

.passos { list-style: none; margin: 2rem 0 0; padding: 0; counter-reset: passo; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2rem; }
.passos li { counter-increment: passo; border-top: 3px solid var(--azul-medio); padding-top: 1.2rem; }
.passos li::before { content: "0" counter(passo); display: block; font: 700 .85rem ui-monospace, monospace; color: var(--laranja); margin-bottom: .5rem; }
.passos p { color: var(--suave); margin: 0; }

.duas { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.fatos { margin: 0; display: grid; gap: 1rem; }
.fatos div { border-left: 3px solid var(--laranja); padding: .3rem 0 .3rem 1.2rem; }
.fatos dt { font-size: 2rem; font-weight: 750; color: var(--azul); line-height: 1.1; }
.fatos dd { margin: 0; color: var(--suave); }

/* Contato */
.escura p { color: #dbe3f7; }
.contatos { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .8rem; color: #dbe3f7; }
.contatos a { color: #fff; font-weight: 650; text-decoration-color: var(--laranja); text-underline-offset: 3px; }

.formulario { background: #fff; color: var(--texto); border-radius: var(--raio); padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: 1rem; }
.formulario label { display: grid; gap: .3rem; font-size: .9rem; font-weight: 600; }
.formulario input, .formulario textarea, .formulario select {
  font: inherit; font-weight: 400; padding: .7rem .8rem; border: 1px solid var(--linha); border-radius: 8px; background: #fbfcfe; width: 100%;
}
.formulario input:focus, .formulario textarea:focus, .formulario select:focus { outline: 2px solid var(--azul-medio); outline-offset: 0; border-color: transparent; }
.formulario textarea { resize: vertical; }
.formulario button { justify-self: start; }
.formulario button[disabled] { opacity: .6; cursor: wait; }
.lado { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.escondido { position: absolute; left: -9999px; }
.aviso { display: none; margin: 0; padding: .8rem 1rem; border-radius: 8px; font-weight: 600; }
.aviso:target, .aviso.visivel { display: block; }
.aviso.ok { background: #e6f6ec; color: #17603a; }
.aviso.falha { background: #fdecea; color: #a12a1c; }

.rodape { background: #0a1538; color: #aab6d6; font-size: .9rem; padding-block: 2rem; }
.rodape .faixa { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.rodape p { margin: 0; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: #fff; }
.rodape strong { color: #fff; font-weight: 600; }
.assinatura svg { display: block; width: 120px; height: auto; color: #fff; margin-bottom: .6rem; }

/* Página não encontrada */
.perdido { min-height: 70vh; display: grid; place-content: center; text-align: center; padding: 2rem; }

@media (max-width: 860px) {
  .abertura.curta .faixa, .duas { grid-template-columns: 1fr; }
  .icone-grande { display: none; }
  .topo nav > a:not(.botao) { display: none; }
}
@media (max-width: 600px) {
  .topo nav > .botao { display: none; }
  .mapa { opacity: .45; mask-image: linear-gradient(rgb(0 0 0 / .15) 30%, #000 85%); }
  .marca .palavra { width: 120px; }
}
@media (max-width: 460px) {
  .lado { grid-template-columns: 1fr; }
  .marca small { display: none; }
  .marca img { grid-row: auto; width: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
