@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/jakarta-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --noturno: #142B4E;
  --royal: #174AB8;
  --royal-escuro: #123C96;
  --amarelo: #F3CA32;
  --amarelo-escuro: #D9B01F;
  --gelo: #F6F7F5;
  --branco: #FFFFFF;
  --texto: #142B4E;
  --texto-suave: #45566F;
  --linha: #E1E5EA;

  --sombra-1: 0 1px 1px rgba(20, 43, 78, .04), 0 2px 4px rgba(20, 43, 78, .05), 0 6px 14px rgba(20, 43, 78, .06);
  --sombra-2: 0 1px 2px rgba(20, 43, 78, .05), 0 6px 12px rgba(20, 43, 78, .07), 0 18px 36px rgba(20, 43, 78, .10);
  --sombra-3: 0 2px 4px rgba(20, 43, 78, .06), 0 12px 24px rgba(20, 43, 78, .10), 0 32px 64px rgba(20, 43, 78, .18);
  --sombra-encaixe: inset 0 14px 22px -18px rgba(20, 43, 78, .30), inset 0 -10px 18px -16px rgba(20, 43, 78, .16);

  --r-grande: 24px;
  --r-card: 18px;
  --r-botao: 12px;

  --esp-1: 8px;
  --esp-2: 16px;
  --esp-3: 24px;
  --esp-4: 40px;
  --esp-5: 64px;
  --esp-6: 104px;

  --lateral: 24px;
  --fonte: "Plus Jakarta Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (max-width: 600px) { :root { --lateral: 20px; --esp-6: 72px; } }
@media (max-width: 360px) { :root { --lateral: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texto);
  background: var(--branco);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.1; margin: 0; text-wrap: balance; overflow-wrap: break-word; hyphens: none; }
h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.5rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.65rem, 1.25rem + 1.8vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
figure { margin: 0; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(var(--lateral), env(safe-area-inset-left, 0px));
  padding-right: max(var(--lateral), env(safe-area-inset-right, 0px));
}
:focus-visible { outline: 3px solid var(--royal); outline-offset: 3px; border-radius: 6px; }

.icone { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Rótulo acima dos títulos: traço + palavra */
.rotulo {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: var(--esp-2);
  font-size: .95rem; font-weight: 620; color: var(--royal);
}
.rotulo::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--amarelo); flex: 0 0 auto; }

/* Botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px;
  border-radius: var(--r-botao);
  font: inherit; font-weight: 680; font-size: 1.02rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.botao:hover { transform: translateY(-1px); }
.botao:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 2px 6px rgba(20, 43, 78, .18); }
.botao--azul {
  color: var(--branco);
  background: linear-gradient(180deg, #2059CC 0%, var(--royal) 55%, #1443A6 100%);
  border-bottom: 3px solid #0E2E78;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 4px 10px rgba(23, 74, 184, .22), 0 12px 24px rgba(20, 43, 78, .18);
}
.botao--azul:hover { background: linear-gradient(180deg, #2A63D6 0%, #1A50C2 55%, #1443A6 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 6px 14px rgba(23, 74, 184, .26), 0 16px 30px rgba(20, 43, 78, .20); }
.botao--grande { min-height: 58px; font-size: 1.12rem; padding: 16px 30px; }
@media (max-width: 420px) {
  .botao { padding-left: 18px; padding-right: 18px; }
  .botao .icone { display: none; }
}

/* Topo */
.topo { position: relative; z-index: 2; padding-top: env(safe-area-inset-top, 0px); background: var(--branco); box-shadow: 0 1px 0 rgba(20, 43, 78, .06), 0 6px 16px -10px rgba(20, 43, 78, .12); }
.topo__linha { display: flex; align-items: center; justify-content: space-between; gap: var(--esp-3); min-height: 88px; }
.topo__logo { display: inline-flex; align-items: center; min-height: 44px; }
.topo__logo img { width: 176px; height: auto; }
.topo__nav { display: flex; align-items: center; gap: 4px; }
.topo__nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: var(--texto); text-decoration: none; font-weight: 580; border-radius: 10px;
}
.topo__nav a:hover { background: var(--gelo); }
@media (max-width: 760px) {
  .topo__nav a:not(.topo__contato) { display: none; }
  .topo__nav .topo__contato { border: 1.5px solid var(--linha); }
  .topo__logo img { width: 148px; }
  .topo__linha { min-height: 72px; }
}

/* Hero aberto */
.hero { position: relative; padding: var(--esp-4) 0 var(--esp-6); overflow: hidden; }
.hero__grade { position: relative; }
.hero__fundo { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__ondas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.hero__onda path { fill: none; stroke: var(--royal); stroke-width: 1.5; stroke-dasharray: 7 9; vector-effect: non-scaling-stroke; opacity: .13; }
.hero__onda { animation: ondaDesliza 70s linear infinite; will-change: transform; }
.hero__onda--2 { animation-duration: 95s; animation-direction: reverse; }
.hero__onda--3 { animation-duration: 120s; }
.hero--parado .hero__onda { animation-play-state: paused; }
@keyframes ondaDesliza { from { transform: translateX(0); } to { transform: translateX(-1600px); } }
.hero__grade {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: var(--esp-5);
  align-items: center;
}
.hero__texto, .hero__foto { min-width: 0; }
.hero h1 { max-width: 16ch; }
.hero__sub { margin-top: var(--esp-3); font-size: 1.15rem; color: var(--texto-suave); max-width: 42ch; }
.hero .botao { margin-top: var(--esp-4); }
.hero__horario { margin-top: var(--esp-2); font-size: .95rem; color: var(--texto-suave); }
.hero__foto { position: relative; max-width: 440px; width: 100%; justify-self: end; }
.hero__foto .vazio { box-shadow: var(--sombra-3), var(--sombra-encaixe); }
.etiqueta {
  position: absolute;
  display: grid; gap: 2px;
  padding: 10px 16px;
  background: var(--branco);
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, var(--sombra-3);
  font-size: .9rem; line-height: 1.3;
}
.etiqueta strong { font-weight: 700; }
.etiqueta span { color: var(--texto-suave); }
.etiqueta--baixo { left: -28px; bottom: 32px; }
@media (max-width: 860px) {
  .hero { padding-top: var(--esp-3); }
  .hero__grade { grid-template-columns: minmax(0, 1fr); gap: var(--esp-4); }
  .hero__foto { justify-self: stretch; max-width: none; }
  .etiqueta--baixo { left: 16px; bottom: 16px; }
  .hero .botao { width: 100%; }
}

/* Faixa de números */
.numeros { background: linear-gradient(180deg, #16305A 0%, var(--noturno) 100%); color: var(--branco); padding: var(--esp-5) 0; box-shadow: inset 0 12px 18px -12px rgba(0, 0, 0, .45), inset 0 -8px 14px -10px rgba(0, 0, 0, .35); }
.numeros__grade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.numeros__grade div { display: grid; align-content: start; gap: 6px; padding: 0 var(--esp-3); border-left: 1px solid rgba(246, 247, 245, .18); min-width: 0; }
.numeros__grade div:first-child { border-left: 0; padding-left: 0; }
.numeros strong { font-size: clamp(1.35rem, 1rem + 1.2vw, 1.9rem); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; color: var(--branco); }
.numeros span { color: #D0D9E6; font-size: .98rem; line-height: 1.4; }
@media (max-width: 860px) {
  .numeros__grade { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--esp-4); }
  .numeros__grade div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 380px) {
  .numeros__grade { grid-template-columns: minmax(0, 1fr); row-gap: var(--esp-3); }
  .numeros__grade div { border-left: 0; padding-left: 0; }
}

/* Espaços reservados (fotos e mapa ainda sem material) */
.vazio {
  width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: var(--esp-3);
  text-align: center;
  border: 2px dashed rgba(20, 43, 78, .5);
  border-radius: var(--r-grande);
  background: linear-gradient(180deg, #F1F4F8 0%, #E8EDF3 100%);
  color: var(--texto);
  box-shadow: var(--sombra-encaixe);
}
.vazio__rotulo { font-weight: 580; max-width: 22ch; }
.vazio__spec, .so-rascunho { display: none; }
.rascunho .vazio__spec { display: block; font-size: .85rem; color: var(--texto-suave); max-width: 28ch; }
.rascunho .so-rascunho { display: block; }

/* Seções */
.secao { padding: var(--esp-6) 0; }
.secao--gelo { background: linear-gradient(180deg, #F3F5F7 0%, var(--gelo) 60px, var(--gelo) calc(100% - 60px), #F1F3F6 100%); box-shadow: inset 0 16px 24px -18px rgba(20, 43, 78, .28), inset 0 -12px 20px -18px rgba(20, 43, 78, .18); }
.secao__cabeca { margin-bottom: var(--esp-4); max-width: 640px; }
.secao__sub { margin-top: var(--esp-2); color: var(--texto-suave); font-size: 1.12rem; }
.secao__cabeca--linha { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--esp-3); }
.secao__cabeca--linha > div:first-child { max-width: 640px; min-width: 0; }

/* Carrossel */
.carrossel {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--lateral), #000 calc(100% - 56px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--lateral), #000 calc(100% - 56px), transparent 100%);
  margin: 0 calc(-1 * var(--lateral));
  padding: 10px var(--lateral) 48px;
  scroll-padding: 0 var(--lateral);
}
.carrossel::-webkit-scrollbar { display: none; }
.carrossel__trilho { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--esp-3); }
.carrossel__item { flex: 0 0 calc((100% - 2 * var(--esp-3)) / 3.3); scroll-snap-align: start; min-width: 0; }
.carrossel__trilho--servicos .carrossel__item { flex-basis: calc((100% - 3 * var(--esp-3)) / 4.3); }
@media (max-width: 1024px) { .carrossel__trilho--servicos .carrossel__item { flex-basis: 40%; } }
@media (max-width: 860px) { .carrossel__item { flex-basis: 62%; } }
@media (max-width: 600px) {
  .carrossel__item, .carrossel__trilho--servicos .carrossel__item { flex-basis: 80%; }
  .carrossel__trilho { gap: var(--esp-2); }
}
.carrossel__setas { display: flex; gap: var(--esp-1); flex: 0 0 auto; }
.seta {
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--linha); background: linear-gradient(180deg, #FFFFFF, #F3F5F8); color: var(--noturno);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, var(--sombra-2); cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.seta:not(:disabled):hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, var(--sombra-3); }
.seta:not(:disabled):active { transform: translateY(1px); box-shadow: var(--sombra-1); }
.seta svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.seta:disabled { opacity: .35; cursor: default; box-shadow: none; }
@media (hover: none), (max-width: 860px) { .carrossel__setas { display: none; } }

/* Serviços */
.servico {
  padding: var(--esp-3);
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: var(--r-card);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, var(--sombra-2);
}
.servico__icone { width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: linear-gradient(180deg, #EEF3FC, #DFE8F8); box-shadow: inset 0 1px 2px rgba(20, 43, 78, .10), 0 1px 0 rgba(255, 255, 255, .8); fill: none; stroke: var(--royal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; box-sizing: content-box; }
.servico h3 { margin-top: var(--esp-3); }
.servico p { margin-top: var(--esp-1); color: var(--texto-suave); font-size: 1rem; }
.servico--lista ul { margin: var(--esp-1) 0 0; padding-left: 18px; color: var(--texto-suave); font-size: .98rem; }
.servico--lista li { margin-top: 4px; }
.servico--lista li::marker { color: var(--royal); }

/* Para quem */
.publico { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--esp-3); }
.publico__card {
  display: flex; flex-direction: column; align-items: flex-start;
  min-width: 0;
  padding: var(--esp-4);
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: var(--r-grande);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, var(--sombra-3);
}
.publico__card p { margin-top: var(--esp-2); color: var(--texto-suave); }
.publico__card .botao { margin-top: auto; }
.publico__card--escuro { background: linear-gradient(180deg, #1A345F 0%, var(--noturno) 100%); border-color: #0F2240; color: var(--branco); box-shadow: 0 1px 0 rgba(255, 255, 255, .10) inset, var(--sombra-3); }
.publico__card--escuro p { color: #D0D9E6; }
.publico__card--escuro .botao--azul { box-shadow: 0 0 0 1.5px rgba(246, 247, 245, .35), 0 6px 16px rgba(0, 0, 0, .25); }
.marcas { list-style: none; margin: var(--esp-3) 0 var(--esp-4); padding: 0; display: grid; gap: 10px; }
.marcas li { position: relative; padding-left: 22px; font-weight: 600; }
.marcas li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 2px; background: var(--amarelo); }
@media (max-width: 760px) {
  .publico { grid-template-columns: minmax(0, 1fr); }
  .publico__card { padding: var(--esp-3); }
  .publico__card .botao { width: 100%; }
}

/* Sobre */
.sobre { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--esp-5); align-items: center; }
.sobre__foto { min-width: 0; max-width: 460px; }
.sobre__texto { min-width: 0; max-width: 60ch; }
.sobre__texto p:not(.rotulo) { margin-top: var(--esp-2); color: var(--texto-suave); }
.sobre__texto .sobre__lead { margin-top: var(--esp-3); color: var(--texto); font-size: 1.15rem; font-weight: 560; }
@media (max-width: 860px) {
  .sobre { grid-template-columns: minmax(0, 1fr); gap: var(--esp-4); }
  .sobre__foto { order: 2; max-width: none; }
}

/* Como funciona */
.passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--esp-3); }
.passos li { position: relative; min-width: 0; }
.passos li::after { content: ""; position: absolute; top: 23px; left: 64px; right: -12px; border-top: 2px dashed #C9D1DB; }
.passos li:last-child::after { display: none; }
.passos__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(180deg, #FFFFFF, #EEF3FC); color: var(--royal);
  border: 2px solid var(--royal);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, var(--sombra-2);
  font-weight: 760;  font-size: 1.15rem;
}
.passos h3 { margin-top: var(--esp-3); }
.passos p { margin-top: var(--esp-1); color: var(--texto-suave); }
@media (max-width: 860px) {
  .passos { grid-template-columns: minmax(0, 1fr); }
  .passos li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--esp-3); }
  .passos__num { grid-row: span 2; }
  .passos h3 { margin-top: 10px; }
  .passos li::after { display: none; }
}

/* Região */
.atendimento { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--esp-5); align-items: center; }
.atendimento__texto { min-width: 0; }
.atendimento__cidades { margin-top: var(--esp-3); color: var(--texto-suave); max-width: 52ch; }
.atendimento__cidades strong { color: var(--texto); }
.atendimento__pergunta { margin-top: var(--esp-3); font-weight: 560; }
.atendimento__pergunta a { font-weight: 680; display: inline-flex; align-items: center; min-height: 44px; }
.atendimento__img { width: 100%; border-radius: var(--r-grande); box-shadow: var(--sombra-3); }
.atendimento__mapa { min-width: 0; max-width: 440px; width: 100%; justify-self: end; }
@media (max-width: 860px) { .atendimento__mapa { justify-self: stretch; max-width: none; } }
@media (max-width: 860px) { .atendimento { grid-template-columns: minmax(0, 1fr); gap: var(--esp-4); } }

/* Dúvidas: lista aberta, só linhas */
.faq { max-width: 860px; border-top: 1px solid var(--linha); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--esp-2);
  min-height: 64px; padding: 14px 0;
  font-weight: 640; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 auto; width: 9px; height: 9px; margin-right: 6px;
  border-right: 2px solid var(--royal); border-bottom: 2px solid var(--royal);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 0 20px; color: var(--texto-suave); max-width: 64ch; }
.faq details[open] { background: linear-gradient(180deg, rgba(20, 43, 78, .03), rgba(20, 43, 78, 0)); }

/* Contato */
.contato { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--esp-4); }
.contato__dados { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: var(--esp-4) var(--esp-5); }
.contato__dados div { min-width: 0; }
.contato__dados dt { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.contato__dados dt .icone { color: var(--royal); }
.contato__dados dd { margin: 6px 0 0 32px; color: var(--texto-suave); overflow-wrap: anywhere; }
.contato__dados dd a { font-weight: 620; }
@media (max-width: 760px) {
  .contato { flex-direction: column; align-items: stretch; }
  .contato .botao { width: 100%; }
}
@media (max-width: 520px) { .contato__dados { grid-template-columns: minmax(0, 1fr); gap: var(--esp-3); } }

/* Rodapé */
.rodape { background: linear-gradient(180deg, #16305A 0%, var(--noturno) 100%); box-shadow: inset 0 12px 18px -12px rgba(0, 0, 0, .45); color: #C3CEDD; padding: var(--esp-5) 0 calc(var(--esp-5) + env(safe-area-inset-bottom, 0px)); font-size: .95rem; }
.rodape__linha { display: flex; flex-wrap: wrap; align-items: center; gap: var(--esp-3) var(--esp-5); }
.rodape__logo { width: 160px; }
.rodape__info { display: grid; gap: 2px; }
.rodape__info p:first-child { color: var(--branco); font-weight: 620; }
.rodape__topo { margin-left: auto; color: var(--branco); min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }
.so-rascunho { color: var(--amarelo); }
@media (max-width: 600px) { .rodape__topo { margin-left: 0; } }

/* Botão flutuante */
.flutuante {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #2059CC 0%, var(--royal) 55%, #1443A6 100%); color: var(--branco);
  border-bottom: 3px solid #0E2E78;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 6px 14px rgba(23, 74, 184, .28), 0 14px 30px rgba(20, 43, 78, .30);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 50;
}
.flutuante .icone { width: 26px; height: 26px; }
.flutuante.visivel { opacity: 1; transform: none; pointer-events: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__onda { animation: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
