/* ==== UI Grupo Tokyo — base estável + abas niveladas + cards + botões ==== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root{
  --ink-900:#0f172a; --ink-700:#1f2a44; --ink-500:#475569;
  --sky-50:#eaf3ff;           /* azul do HERO (título) */
  --radius:18px; --shadow:0 12px 30px rgba(15,23,42,.10);
  --city-h:84px; --city-band:96px;
}

/* Base */
*{box-sizing:border-box}
html{min-height:100%}
body{
  margin:0; min-height:100vh; display:flex; flex-direction:column;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial;
  color:var(--ink-900); background:#fff; /* fundo branco no site */
}
main{flex:1 1 auto}

/* Topbar */
.topbar{
  background:#fff;border-bottom:1px solid #eef2ff;box-shadow:var(--shadow);
  position:sticky;top:0;z-index:10
}
.topbar .wrap{
  max-width:1200px;margin:0 auto;padding:12px 20px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.brands{display:flex;gap:18px;align-items:center}
.brands img{height:28px;width:auto;object-fit:contain}

/* ===== NAV estilo “pílula” — fina, com contorno escuro e sombra projetada ===== */
.nav{
  display:flex; align-items:center; gap:6px;
  padding:6px; border-radius:999px;
  background:#fff;
  border:1px solid rgba(0,0,0,.18);             /* contorno mais escuro (como no exemplo) */
  box-shadow:
    0 2px 4px rgba(0,0,0,.06),                  /* flutua sutil */
    0 10px 24px rgba(0,0,0,.08),                /* projeção */
    inset 0 1px 0 rgba(255,255,255,.9),         /* brilho topo */
    inset 0 -1px 0 rgba(0,0,0,.06);             /* ênfase no bordo inferior */
  white-space:nowrap; overflow:auto; -webkit-overflow-scrolling:touch;
  max-width:100%; scrollbar-width:none;
}
.nav::-webkit-scrollbar{display:none}

/* Itens — mais estreitos e fonte leve */
.nav a{
  display:inline-flex; align-items:center; justify-content:center;
  height:32px; padding:0 12px;                  /* mais fino/estreito */
  color:#2a3347; text-decoration:none;
  font-weight:400;                               /* leve por padrão */
  letter-spacing:.01em; font-size:14px;
  border-radius:999px; border:1px solid transparent;
  line-height:1;
  transition:background .15s ease, box-shadow .15s ease, transform .06s ease, color .15s ease, border-color .15s ease;
  flex:0 0 auto;
}
.nav a:hover{
  background:#f7f9ff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(0,0,0,.04);
}
.nav a:active{transform:translateY(1px)}

/* Item ativo — negrito, levemente mais destacado e “saltado” */
.nav a.is-active,
.nav a[aria-current="page"]{
  font-weight:800; color:#0f2133; background:transparent; border-color:transparent; box-shadow:none;
}

/* Responsivo do topo: logos em 1ª linha, pílulas abaixo em telas estreitas */
@media (max-width:760px){
  .topbar .wrap{flex-direction:column; align-items:flex-start; gap:10px}
  .nav{width:100%}
}

/* Hero — azul para destacar o título (mantido) */
.hero{background:var(--sky-50)}
.hero .wrap{max-width:1200px;margin:0 auto;padding:22px 20px 4px}
.hero h1{font-size:clamp(26px,3.6vw,38px);line-height:1.08;margin:6px 0 8px;letter-spacing:-.02em;font-weight:800}
.hero p{max-width:820px;color:var(--ink-500);margin:0 0 6px 0;font-size:clamp(15px,2.0vw,17px)}

/* Abas — alinhadas (sem sombra) */
.tabbar{display:flex;gap:0;margin-top:8px;align-items:flex-end;position:relative}
.tab{
  display:inline-flex;align-items:center;justify-content:center;
  height:44px;padding:0 16px;line-height:1;
  border:1px solid #d7e0ea;border-bottom:0;
  background:#eaf0f7;color:#2a3b4a;text-decoration:none;font-weight:700;
  border-radius:12px 12px 0 0; position:relative; top:0; box-shadow:none;
}
.tab + .tab{margin-left:-8px}
.tab:hover{filter:brightness(1.02)}
.tab.is-active{background:#fff;color:#0f2133;z-index:2;top:0;box-shadow:none}
.tabbar::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:#d7e0ea}

/* Seções / grid / cards */
.section{padding:18px 20px;background:#fff}
.container{max-width:1200px;margin:0 auto}
.grid{display:grid;gap:16px}
.grid.cols-1{grid-template-columns:1fr}
.grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:1020px){.grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:720px){.grid.cols-2,.grid.cols-4{grid-template-columns:1fr}}

.card{
  background:#fff;border:1px solid #e9eefb;border-radius:var(--radius);padding:16px;
  box-shadow:0 8px 22px rgba(15,23,42,.08); text-decoration:none; color:inherit
}
.card h2{margin:0 0 8px 0;font-size:19px}
.card h3{margin:0 0 6px 0;font-size:18px}
.card p{margin:0;color:#4b5563;font-size:14px}
.card:hover{box-shadow:0 12px 26px rgba(15,23,42,.12)}
.card > .row{display:flex;gap:12px;align-items:center}
.card svg{flex:0 0 auto}
.card, .card *, .card a, .card a *{text-decoration:none!important}

/* Botões padrão */
.btn{--h:44px;display:inline-flex;align-items:center;justify-content:center;height:var(--h);padding:0 18px;border-radius:12px;font-weight:800;font-size:14.5px;text-decoration:none;border:0;line-height:1;transition:transform .08s ease,filter .15s ease,box-shadow .15s ease;cursor:pointer}
.btn:active{transform:translateY(1px)}
.btn-primary{background:#1d4ed8;color:#fff;box-shadow:0 10px 22px rgba(29,78,216,.24)}
.btn-primary:hover{filter:brightness(1.06)}
.btn-ghost{background:#f1f5ff;border:1px solid #dbe3ff;color:#1e3a8a}
.btn-ghost:hover{background:#e8efff}

/* Rodapé (prédios + pílula central) */
.cityband{
  background-color:#0b122d;
  background-image:url('/assets/banner-predios-white.png');
  background-repeat:repeat-x;background-position:left bottom;background-size:auto var(--city-h);
  height:var(--city-band);border-top:1px solid rgba(255,255,255,.08)
}
.footer{
  margin-top:calc(-1 * var(--city-band));
  height:var(--city-band);
  display:flex; align-items:center; justify-content:center;
  background:transparent; pointer-events:none;
}
.footer .footer-wrap{pointer-events:auto}
.footer .footer-pill{
  display:inline-block; font-size:11px; line-height:1; padding:6px 10px;
  color:#cfe0ff; background:#0b122d; border:1px solid rgba(255,255,255,.28);
  border-radius:999px; box-shadow:0 6px 14px rgba(0,0,0,.25); white-space:nowrap;
}

/* Ajuste fino para telas muito estreitas */
@media (max-width:420px){
  .nav a{height:30px; padding:0 10px; font-size:13.5px}
}
