/* =========================================================
   Logon Sistemas  /  components.css
   Header, botoes, cards, divisores, footer e interacoes
   ========================================================= */

/* ============================================ progresso de leitura */
.progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-300));
  z-index: 120;
  pointer-events: none;
}

/* ============================================ topbar */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 112;
  height: var(--topbar-h);
  background: #061127;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.topbar-label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.topbar-icons {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.topbar-soc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  transition: background 0.25s var(--ease-soft), color 0.25s var(--ease-soft),
              transform 0.25s var(--ease-soft);
}

.topbar-soc svg { width: 14px; height: 14px; }

.topbar-soc:hover {
  background: var(--brand-600);
  color: #fff;
  transform: translateY(-1px);
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.6rem);
  list-style: none;
  min-width: 0;
}

.topbar-info-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.topbar-info-item a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: inherit;
  transition: color 0.2s var(--ease-soft);
}

.topbar-info-item a:hover { color: #fff; }

.topbar-info-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--brand-300);
}

.topbar-info-item span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1080px) {
  .topbar-info-mail { display: none; }
}

@media (max-width: 820px) {
  body.has-topbar { --topbar-h: 34px; }

  .topbar-label { display: none; }

  .topbar-info-item:first-child { display: none; }
}

@media (max-width: 520px) {
  .topbar-inner { justify-content: center; }
  .topbar-info { display: none; }
}

/* ============================================ header */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 110;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease-soft),
              box-shadow 0.35s var(--ease-soft),
              height 0.35s var(--ease-soft);
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.35s var(--ease-soft);
}

.header.has-topbar { top: var(--topbar-h); }

.header.is-stuck { height: 66px; }
.header.is-stuck::before { opacity: 1; }
.header.is-stuck { box-shadow: 0 8px 30px rgba(6, 17, 39, 0.07); }

body.has-topbar .header.is-stuck { height: 62px; }

.header .wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
}

.brand img {
  height: 40px;
  width: auto;
  transition: height 0.35s var(--ease-soft);
}

.header.is-stuck .brand img { height: 34px; }

.brand .logo-light { display: none; }

/* Header sobre hero escura: logo clara ate encostar o scroll */
.header:not(.is-stuck) .brand .logo-light { display: block; }
.header:not(.is-stuck) .brand .logo-dark { display: none; }

/* ============================================ navegacao */
.nav { display: flex; align-items: center; gap: 0.35rem; }

.nav a {
  position: relative;
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border-radius: var(--r-sm);
  font-size: 0.955rem;
  font-weight: 550;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.25s var(--ease-soft), background 0.25s var(--ease-soft);
}

.header.is-stuck .nav a { color: var(--ink-700); }

.nav a::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.32s var(--ease);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav a:hover { color: #fff; }
.header.is-stuck .nav a:hover,
.header.is-stuck .nav a[aria-current="page"] { color: var(--brand-600); }
.nav a[aria-current="page"] { color: #fff; }

/* ---------------------------------------- submenu de Solucoes */
.nav-sub { position: relative; }

.nav-sub-bt {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  padding: 0.55rem 0.9rem;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 0.955rem;
  font-weight: 550;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.25s var(--ease-soft);
}

.header.is-stuck .nav-sub-bt { color: var(--ink-700); }
.nav-sub-bt:hover,
.nav-sub-bt.is-atual { color: #fff; }
.header.is-stuck .nav-sub-bt:hover,
.header.is-stuck .nav-sub-bt.is-atual { color: var(--brand-600); }

.nav-seta { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.nav-sub-bt[aria-expanded="true"] .nav-seta,
.nav-sub:hover .nav-seta { transform: rotate(180deg); }

.nav-sub-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: -0.3rem;
  z-index: 10;
  width: 310px;
  padding: 0.5rem;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.26s var(--ease-soft),
              transform 0.34s var(--ease),
              visibility 0.26s;
}

/* o hover cobre quem nao tem JS; o aria-expanded cobre teclado e toque */
.nav-sub:hover .nav-sub-menu,
.nav-sub:focus-within .nav-sub-menu,
.nav-sub-bt[aria-expanded="true"] + .nav-sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* a faixa invisivel evita que o menu feche ao atravessar o espaco ate ele */
.nav-sub-menu::before {
  content: "";
  position: absolute;
  inset: -0.7rem 0 100% 0;
}

.nav-sub-menu a {
  display: block;
  padding: 0.62rem 0.75rem;
  border-radius: var(--r-sm);
  color: var(--ink-700);
  transition: background 0.24s var(--ease-soft);
}

.nav-sub-menu a::after { content: none; }
.nav-sub-menu a:hover { background: var(--brand-50); color: var(--brand-700); }
.nav-sub-menu a[aria-current="page"] { background: var(--brand-50); color: var(--brand-600); }

.nav-sub-menu b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.99rem;
  font-weight: 650;
  color: inherit;
}

.nav-sub-menu span {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.83rem;
  font-weight: 450;
  color: var(--ink-400);
}

/* ---------------------------------------- grupo no menu mobile */
.drawer-grupo {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-200);
  padding: 1.15rem 0 0.35rem;
  opacity: 0;
  transform: translateY(14px);
}

.drawer.is-open .drawer-grupo {
  animation: drawerIn 0.5s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 55ms + 90ms);
}

.drawer a.drawer-filho { font-size: 1.32rem; padding-left: 0.9rem; }

.nav-cta { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }

/* botao hamburguer */
.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  place-items: center;
  color: #fff;
}

.header.is-stuck .burger { color: var(--ink-900); }

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.burger span + span { margin-top: 5px; }

body.is-locked .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.is-locked .burger span:nth-child(2) { opacity: 0; }
body.is-locked .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================ menu mobile */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: linear-gradient(165deg, var(--navy-900), var(--brand-800) 130%);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.32s var(--ease-soft),
              transform 0.42s var(--ease),
              visibility 0.32s;
}

.drawer.is-open { opacity: 1; visibility: visible; transform: none; }

.drawer a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  opacity: 0;
  transform: translateY(14px);
}

.drawer.is-open a {
  animation: drawerIn 0.5s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 55ms + 90ms);
}

@keyframes drawerIn { to { opacity: 1; transform: none; } }

.drawer .btn {
  margin-top: 1.75rem;
  border-bottom: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  justify-content: center;
}

.drawer-foot {
  margin-top: auto;
  padding-top: 2rem;
  color: #8fa9cd;
  font-size: 0.92rem;
}

.drawer-foot a {
  font-family: var(--font-body);
  font-size: 1rem;
  border: 0;
  padding: 0.2rem 0;
  color: var(--brand-200);
  animation: none;
  opacity: 1;
  transform: none;
}

/* ============================================ botoes */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
              background 0.28s var(--ease-soft), color 0.28s var(--ease-soft),
              border-color 0.28s var(--ease-soft);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--brand-600), var(--brand-500) 55%, var(--brand-400));
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.4) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.75s var(--ease);
}

.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 22px 48px rgba(1, 67, 158, 0.4); }

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.6);
}

.header.is-stuck .btn-ghost,
.btn-ghost.on-light {
  color: var(--brand-600);
  border-color: var(--line-strong);
  background: #fff;
}

.header.is-stuck .btn-ghost:hover,
.btn-ghost.on-light:hover {
  background: var(--brand-50);
  border-color: var(--brand-300);
}

.btn-wa {
  background: #ffffff;
  color: #0f7a45;
  border: 1px solid #cfe9db;
  box-shadow: var(--shadow-sm);
}

.btn-wa:hover { background: #f1fbf5; border-color: #86d1a9; }

.btn-wa.solid {
  background: #1fab5a;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(31, 171, 90, 0.3);
}

.btn-wa.solid:hover { background: #189b50; }

.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.03rem; }
.btn-sm { padding: 0.65rem 1.15rem; font-size: 0.88rem; }
.btn-block { width: 100%; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--brand-600);
}

.btn-link svg { width: 17px; height: 17px; transition: transform 0.3s var(--ease); }
.btn-link:hover svg { transform: translateX(4px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* ============================================ divisores de secao */
.divider {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}

.divider svg {
  display: block;
  width: 100%;
  height: clamp(48px, 7vw, 108px);
}

.divider.flip svg { transform: rotate(180deg); }

/* transicao diagonal via clip-path */
.clip-diagonal {
  clip-path: polygon(0 0, 100% 4.5vw, 100% 100%, 0 100%);
  margin-top: -4.5vw;
  padding-top: calc(var(--sec-y) + 4.5vw);
}

.clip-diagonal-b {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4.5vw), 0 100%);
  padding-bottom: calc(var(--sec-y) + 4.5vw);
}

/* formas organicas de fundo.
   As secoes escuras clipam para a blob nao alargar o documento no celular.
   Nao aplicar overflow em .section generico: quebraria o indice sticky. */
.section.dark { overflow: hidden; }

.blob {
  position: absolute;
  border-radius: 46% 54% 62% 38% / 52% 44% 56% 48%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
  animation: blobFloat 22s ease-in-out infinite;
}

.blob-b { animation-duration: 28s; animation-direction: reverse; }

@keyframes blobFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); border-radius: 46% 54% 62% 38% / 52% 44% 56% 48%; }
  33% { transform: translate3d(3%, -5%, 0) scale(1.08); border-radius: 60% 40% 42% 58% / 44% 62% 38% 56%; }
  66% { transform: translate3d(-4%, 4%, 0) scale(0.95); border-radius: 38% 62% 55% 45% / 60% 40% 60% 40%; }
}

/* grade tecnologica sutil */
.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(1, 67, 158, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 67, 158, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 25%, transparent 78%);
}

.dark.grid-bg::before {
  background-image:
    linear-gradient(rgba(120, 170, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.075) 1px, transparent 1px);
}

/* ============================================ cards */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease-soft);
  height: 100%;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-200);
}

.card h3 { font-size: var(--step-1); margin-bottom: 0.6rem; }
.card p { color: var(--ink-500); font-size: 0.985rem; }

.card-ico {
  display: grid;
  place-items: center;
  width: var(--ico-g);
  height: var(--ico-g);
  margin-bottom: 1.15rem;
  border-radius: 15px;
  color: var(--brand-600);
  background: linear-gradient(140deg, var(--brand-50), #fff);
  border: 1px solid var(--brand-100);
  transition: transform 0.45s var(--ease), background 0.35s, color 0.35s;
}

.card-ico svg { width: 48%; height: 48%; }

.card:hover .card-ico {
  transform: translateY(-3px) rotate(-4deg);
  background: linear-gradient(140deg, var(--brand-600), var(--brand-400));
  color: #fff;
}

/* card sobre fundo escuro */
.dark .card {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.dark .card:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(120, 170, 255, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.dark .card p { color: #a7bdda; }

.dark .card-ico {
  background: rgba(120, 170, 255, 0.13);
  border-color: rgba(120, 170, 255, 0.24);
  color: var(--brand-300);
}

.dark .card:hover .card-ico {
  background: linear-gradient(140deg, var(--brand-400), var(--brand-300));
  color: var(--navy-900);
}

/* ============================================ listas de checagem */
.check-list { display: grid; gap: 0.7rem; }

.check-list li {
  position: relative;
  padding-left: 2rem;
  font-size: 0.985rem;
  color: var(--ink-600);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2301439E' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.dark .check-list li { color: #b7cae4; }

.dark .check-list li::before {
  background-color: rgba(120, 170, 255, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2361A0FF' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.check-list.cols {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.7rem 1.75rem;
}

/* ============================================ badge / pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.95rem;
  border-radius: var(--r-pill);
  font-size: 0.83rem;
  font-weight: 600;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
}

.pill.on-dark {
  background: rgba(120, 170, 255, 0.12);
  color: var(--brand-200);
  border-color: rgba(120, 170, 255, 0.26);
}

.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-400);
  box-shadow: 0 0 0 0 rgba(44, 123, 242, 0.6);
  animation: ping 2.4s var(--ease-soft) infinite;
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(44, 123, 242, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(44, 123, 242, 0); }
  100% { box-shadow: 0 0 0 0 rgba(44, 123, 242, 0); }
}

/* ============================================ midia com moldura */
.frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-lg);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.8s var(--ease-soft);
}

.frame:hover img { transform: scale(1.055); }

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(1, 67, 158, 0.16), transparent 52%);
  pointer-events: none;
}

.frame.glow::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(120, 170, 255, 0.75), transparent 45%, rgba(120, 170, 255, 0.35));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  z-index: 2;
  pointer-events: none;
}

.frame.tall { aspect-ratio: 4 / 5; }
.frame.wide { aspect-ratio: 16 / 10; }
.frame.square { aspect-ratio: 1 / 1; }

/* cartao flutuante sobre imagem */
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.7);
  animation: floaty 6s ease-in-out infinite;
}

.float-card .fc-ico {
  display: grid;
  place-items: center;
  width: var(--ico-p);
  height: var(--ico-p);
  border-radius: 11px;
  background: linear-gradient(140deg, var(--brand-600), var(--brand-400));
  color: #fff;
  flex-shrink: 0;
}

.float-card .fc-ico svg { width: 19px; height: 19px; }

.float-card b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--ink-900);
  line-height: 1.2;
}

.float-card span {
  font-size: 0.78rem;
  color: var(--ink-500);
  letter-spacing: 0.01em;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================ estatisticas */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: clamp(1.2rem, 3vw, 2.5rem);
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand-600);
}

.dark .stat b { color: #fff; }

.stat span {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.93rem;
  color: var(--ink-500);
  line-height: 1.45;
}

.dark .stat span { color: #93aac9; }

/* ============================================ acordeao */
.acc { border-top: 1px solid var(--line); }

.acc-item { border-bottom: 1px solid var(--line); }

.acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.4rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  font-weight: 620;
  color: var(--ink-900);
  transition: color 0.25s;
}

.acc-btn:hover { color: var(--brand-600); }

.acc-sign {
  position: relative;
  flex-shrink: 0;
  width: var(--ico-p);
  height: var(--ico-p);
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background 0.3s var(--ease-soft), border-color 0.3s, transform 0.4s var(--ease);
}

.acc-sign::before,
.acc-sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-600);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), background 0.3s;
}

.acc-sign::after { transform: translate(-50%, -50%) rotate(90deg); }

.acc-btn[aria-expanded="true"] .acc-sign {
  background: var(--brand-600);
  border-color: var(--brand-600);
  transform: rotate(180deg);
}

.acc-btn[aria-expanded="true"] .acc-sign::before,
.acc-btn[aria-expanded="true"] .acc-sign::after { background: #fff; }
.acc-btn[aria-expanded="true"] .acc-sign::after { transform: translate(-50%, -50%) rotate(0deg); }

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s var(--ease);
}

.acc-panel > div { overflow: hidden; }

.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }

.acc-panel p {
  padding-bottom: 1.5rem;
  padding-right: clamp(0rem, 6vw, 4rem);
  color: var(--ink-500);
}

/* ============================================ marquee */
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: clamp(1rem, 2.4vw, 2rem);
  animation: marquee var(--speed, 42s) linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee { to { transform: translateX(-50%); } }

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #cddcf3;
  font-weight: 550;
  font-size: 0.95rem;
  white-space: nowrap;
}

.marquee-item svg { width: 18px; height: 18px; color: var(--brand-300); }

/* ============================================ whatsapp flutuante */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.35rem 0.85rem 0.95rem;
  border-radius: var(--r-pill);
  background: #1fab5a;
  color: #fff;
  font-weight: 600;
  font-size: 0.94rem;
  box-shadow: 0 16px 40px rgba(16, 122, 62, 0.38);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s, background 0.25s;
}

.wa-float.is-shown { transform: none; opacity: 1; }
.wa-float:hover { background: #189b50; }
.wa-float svg { width: 26px; height: 26px; }

@media (max-width: 560px) {
  .wa-float span { display: none; }
  .wa-float { padding: 0.95rem; }
}

/* ============================================ footer */
.footer {
  position: relative;
  background: var(--navy-950);
  color: #93aac9;
  padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: -40% 30% auto -10%;
  height: 420px;
  background: radial-gradient(circle, rgba(1, 67, 158, 0.55), transparent 68%);
  filter: blur(40px);
  pointer-events: none;
}

.footer .wrap { position: relative; }

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

/* sem width:auto o atributo width do arquivo prevalecia e o logo achatava */
.footer-brand img { height: 40px; width: auto; margin-bottom: 1.35rem; }

.footer-brand p { font-size: 0.95rem; max-width: 34ch; }

.footer h5 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.15rem;
}

.footer-col a,
.footer-col li {
  display: block;
  padding: 0.32rem 0;
  color: #93aac9;
  font-size: 0.95rem;
  transition: color 0.25s, transform 0.3s var(--ease);
}

.footer-col a:hover { color: #fff; transform: translateX(4px); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 2rem;
  font-size: 0.88rem;
}

.socials { display: flex; gap: 0.6rem; }

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #93aac9;
  transition: all 0.3s var(--ease);
}

.socials a:hover {
  color: #fff;
  background: var(--brand-600);
  border-color: var(--brand-600);
  transform: translateY(-3px);
}

.socials svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ============================================ scroll reveal */
/* Sem JS (ou se o script falhar) o conteudo aparece normalmente:
   a classe .js e adicionada no <head> antes da primeira pintura. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease-soft), transform 0.85s var(--ease);
  transition-delay: calc(var(--d, 0) * 85ms);
  will-change: opacity, transform;
}

.js [data-reveal="left"] { transform: translateX(-32px); }
.js [data-reveal="right"] { transform: translateX(32px); }
.js [data-reveal="zoom"] { transform: scale(0.94); }
.js [data-reveal="none"] { transform: none; }

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Abaixo de 980px as colunas viram uma so e nao sobra folga lateral:
   a revelacao entra apenas na vertical, senao o translateX de 32px
   estoura a largura do documento ate o elemento aparecer. */
@media (max-width: 980px) {
  .js [data-reveal="left"],
  .js [data-reveal="right"] { transform: translateY(22px); }
}

/* ============================================ header responsivo */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: grid; }
  .nav-cta .btn-ghost { display: none; }
}

@media (max-width: 700px) {
  .nav-cta .btn-primary { display: none; }
}
