/* Hero Ramtech · Versão A "Da marca ao Brasil": abertura 3D → o símbolo vira Campinas → mapa → lente das linhas */
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 500; font-display: swap; src: url('assets/hero-a/fonts/pjs-500.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 600; font-display: swap; src: url('assets/hero-a/fonts/pjs-600.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-display: swap; src: url('assets/hero-a/fonts/pjs-700.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-display: swap; src: url('assets/hero-a/fonts/pjs-800.woff2') format('woff2'); }
.fa-hero {
  --fa-azul: #3e92e3;
  --fa-claro: #9fd0ff;
  --fa-verm: #d02326;
  --fa-txt: #eef4ff;
  --fa-txt2: rgba(226, 236, 252, 0.8);
}
.fa-hero, .fa-hero * { box-sizing: border-box; }
.fa-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  max-height: 1100px;
  overflow: hidden;
  color: var(--fa-txt);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background:
    radial-gradient(ellipse 62% 70% at 66% 52%, rgba(22, 74, 140, 0.34) 0%, rgba(10, 36, 78, 0.18) 45%, rgba(3, 10, 24, 0) 75%),
    linear-gradient(180deg, #040d1f 0%, #030a18 60%, #02070f 100%);
  isolation: isolate;
}

/* ---------------------------------------------------------------- mapa e rótulos */
.fa-mapa { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.fa-rotulos { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.fa-sede, .fa-cidade { position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap; will-change: transform, opacity; }
.fa-sede {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px 6px 9px;
  border-radius: 999px;
  background: rgba(3, 10, 24, 0.78);
  border: 1px solid rgba(208, 35, 38, 0.55);
  font-size: 13px;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.fa-sede i { width: 8px; height: 8px; border-radius: 50%; background: var(--fa-verm); box-shadow: 0 0 10px rgba(208, 35, 38, 0.9); }
.fa-sede b { font-weight: 800; letter-spacing: 0.01em; }
.fa-sede span { font-weight: 600; color: rgba(226, 236, 252, 0.72); }
.fa-cidade { padding: 8px 12px 9px; border-radius: 10px; background: rgba(4, 14, 32, 0.84); border: 1px solid rgba(140, 196, 255, 0.4); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4); line-height: 1.25; }
.fa-cidade b { display: block; font-size: 14px; font-weight: 700; }
.fa-cidade span { display: block; font-size: 12px; font-weight: 600; color: var(--fa-claro); }
.fa-ok, .fa-foto::after {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #030a18;
  background: #3e92e3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.4 8.3l2.3 2.3 4.9-5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.fa-ok { right: -7px; top: -7px; box-shadow: 0 0 12px rgba(110, 180, 255, 0.7); opacity: 0; }

/* ---------------------------------------------------------------- lente */
.fa-lente { position: absolute; z-index: 5; left: 0; top: 0; width: 300px; aspect-ratio: 1; opacity: 0; will-change: transform, opacity; }
.fa-vidro {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #0b1a33;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 8px rgba(9, 22, 44, 0.92), 0 0 0 9px rgba(140, 196, 255, 0.28), 0 0 60px rgba(62, 146, 227, 0.25);
}
.fa-vidro canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; will-change: filter; }
.fa-brilho { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 56%, rgba(3, 10, 24, 0.5) 100%), radial-gradient(40% 30% at 30% 22%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 70%); }
.fa-anel { position: absolute; inset: -11%; width: 122%; height: 122%; pointer-events: none; overflow: visible; }
.fa-anel .marca { stroke: rgba(160, 205, 255, 0.32); stroke-width: 1.2; }
.fa-anel .marca.forte { stroke: rgba(170, 212, 255, 0.6); stroke-width: 1.6; }
.fa-anel .aro { fill: none; stroke: rgba(140, 196, 255, 0.22); stroke-width: 1.2; }
.fa-anel .posto { fill: rgba(140, 196, 255, 0.35); }
.fa-anel .posto.atual { fill: #cfe8ff; }
.fa-anel .indice { fill: #d02326; }
.fa-anel .varre { fill: none; stroke: #9fd0ff; stroke-width: 2.4; stroke-linecap: round; }
.fa-etq {
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px 8px 11px;
  border-radius: 999px;
  background: rgba(4, 14, 32, 0.88);
  border: 1px solid rgba(140, 196, 255, 0.32);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}
.fa-etq i { width: 8px; height: 8px; border-radius: 50%; background: var(--fa-verm); box-shadow: 0 0 0 4px rgba(208, 35, 38, 0.18); flex: none; }
.fa-slot { position: relative; display: inline-block; height: 1.3em; line-height: 1.3; overflow: hidden; vertical-align: bottom; }
.fa-slot span { display: inline-block; line-height: 1.3; white-space: nowrap; }
.fa-slot span + span { position: absolute; left: 0; top: 0; }
.fa-etq-ok { font-style: normal; font-size: 12px; font-weight: 700; color: var(--fa-claro); padding-left: 9px; border-left: 1px solid rgba(140, 196, 255, 0.25); opacity: 0.35; }

/* ---------------------------------------------------------------- menu */
.fa-nav {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 88px;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 clamp(20px, 5vw, 96px);
  background: linear-gradient(180deg, rgba(3, 10, 24, 0.85) 0%, rgba(3, 10, 24, 0) 100%);
}
.fa-logo { display: block; height: 42px; flex: none; }
.fa-logo img { height: 100%; width: auto; display: block; }
.fa-links { display: flex; gap: 30px; margin-left: auto; }
.fa-links a, .fa-burger { color: rgba(234, 242, 255, 0.84); text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; }
.fa-links a:hover { color: #fff; }
.fa-seta { font-size: 11px; margin-left: 4px; opacity: 0.7; }
.fa-burger { display: none; margin-left: auto; background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; }
.fa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.fa-btn svg { width: 18px; height: 18px; }
.fa-btn:hover { transform: translateY(-1px); }
.fa-btn--prim { background: var(--fa-verm); color: #fff; box-shadow: 0 12px 32px rgba(208, 35, 38, 0.32); }
.fa-btn--prim:hover { box-shadow: 0 16px 40px rgba(208, 35, 38, 0.45); }
.fa-btn--sec { color: #fff; border: 1.5px solid rgba(234, 242, 255, 0.36); background: rgba(255, 255, 255, 0.04); }
.fa-btn--sec:hover { border-color: rgba(234, 242, 255, 0.7); }
.fa-btn--nav { height: 42px; padding: 0 18px; font-size: 14px; border-radius: 10px; }

/* ---------------------------------------------------------------- texto */
.fa-texto { position: absolute; z-index: 10; left: clamp(24px, 7vw, 136px); top: calc(50% + 30px); transform: translateY(-50%); width: min(620px, 37vw); }
.fa-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #9fc4f0; }
.fa-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--fa-verm); flex: none; }
.fa-titulo { margin: 18px 0 0; font-size: clamp(34px, 3.4vw, 62px); line-height: 1.06; font-weight: 800; letter-spacing: -0.022em; }
.fa-l { display: block; }
.fa-dest { color: #5aa8f2; }
.fa-sub { margin: 20px 0 0; max-width: 540px; font-size: clamp(15px, 1.05vw, 18px); line-height: 1.62; color: var(--fa-txt2); }
.fa-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.fa-help { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; font-size: 14px; font-weight: 600; color: rgba(226, 236, 252, 0.74); }
.fa-help svg { width: 18px; height: 18px; color: var(--fa-claro); flex: none; }
.fa-help b { color: #fff; font-weight: 700; }
.fa-entra { opacity: 0; }

/* ---------------------------------------------------------------- fluxo do atendimento */
.fa-fluxo { position: relative; margin-top: clamp(26px, 4.4vh, 44px); opacity: 0; }
.fa-fluxo-topo { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.fa-fluxo-tit { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(159, 196, 240, 0.9); }
.fa-fluxo-topo::after { content: ''; order: 1; flex: 1; height: 1px; background: rgba(140, 196, 255, 0.14); }
.fa-pausa { order: 2; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(234, 242, 255, 0.25); background: rgba(3, 10, 24, 0.4); color: rgba(234, 242, 255, 0.85); font-size: 10px; line-height: 1; cursor: pointer; flex: none; }
.fa-pausa:hover { border-color: rgba(234, 242, 255, 0.6); }
.fa-linha { position: relative; }
.fa-passos { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.fa-trilho { position: absolute; left: 22px; right: calc(25% - 7.5px - 22px); top: 21px; height: 2px; background: rgba(140, 196, 255, 0.16); border-radius: 2px; }
.fa-trilho i { position: absolute; inset: 0; background: linear-gradient(90deg, #3e92e3, #9fd0ff); border-radius: 2px; transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px rgba(110, 180, 255, 0.6); }
.fa-passo { --on: 0; --feito: 0; position: relative; display: flex; flex-direction: column; gap: 10px; }
.fa-foto { position: relative; width: 44px; height: 44px; border-radius: 50%; transform: scale(calc(1 + var(--on) * 0.1)); }
.fa-foto img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(140, 196, 255, calc(0.22 + var(--on) * 0.78));
  filter: saturate(calc(0.35 + 0.65 * max(var(--on), var(--feito)))) brightness(calc(0.62 + 0.38 * max(var(--on), var(--feito))));
  box-shadow: 0 0 0 calc(var(--on) * 5px) rgba(62, 146, 227, 0.2), 0 0 calc(var(--on) * 22px) rgba(110, 180, 255, 0.55);
}
.fa-foto::after { content: ''; right: -3px; bottom: -3px; width: 16px; height: 16px; opacity: var(--feito); transform: scale(calc(0.4 + 0.6 * var(--feito))); }
.fa-rot { font-size: 13px; line-height: 1.32; font-weight: 600; color: rgba(226, 236, 252, calc(0.5 + 0.5 * max(var(--on), var(--feito)))); }
.fa-rot b { display: block; font-weight: 700; color: rgba(255, 255, 255, calc(0.55 + 0.45 * max(var(--on), var(--feito)))); }
.fa-agora { display: none; }

/* ---------------------------------------------------------------- vinheta com som */
.fa-vinheta {
  position: absolute;
  z-index: 12;
  left: clamp(24px, 7vw, 136px);
  bottom: clamp(18px, 3.6vh, 40px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  border: 1px solid rgba(234, 242, 255, 0.22);
  background: rgba(3, 10, 24, 0.45);
  color: rgba(234, 242, 255, 0.86);
  font: 600 13px/1 'Plus Jakarta Sans', system-ui, sans-serif;
  cursor: pointer;
  opacity: 0;
}
.fa-vinheta i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--fa-verm); color: #fff; font-style: normal; font-size: 10px; padding-left: 2px; }
.fa-vinheta:hover { border-color: rgba(234, 242, 255, 0.55); }
.fa-modal { width: min(1100px, 92vw); padding: 0; border: 0; border-radius: 16px; background: #000; overflow: visible; }
.fa-modal::backdrop { background: rgba(2, 6, 14, 0.82); }
.fa-modal video { display: block; width: 100%; height: auto; border-radius: 16px; }
.fa-fechar { position: absolute; top: -46px; right: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(0, 0, 0, 0.4); color: #fff; font-size: 15px; cursor: pointer; }

/* ---------------------------------------------------------------- abertura */
.fa-intro { position: absolute; inset: 0; z-index: 30; background: #02050d; }
.fa-intro video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: fill; }
.fa-logo3d { position: absolute; z-index: 40; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; opacity: 0; will-change: transform, opacity; }
.fa-pular { position: absolute; z-index: 41; right: 24px; bottom: 22px; padding: 8px 14px; border: 1px solid rgba(234, 242, 255, 0.25); border-radius: 999px; background: rgba(3, 10, 24, 0.4); color: rgba(234, 242, 255, 0.8); font: 600 13px/1 'Plus Jakarta Sans', system-ui, sans-serif; cursor: pointer; }

/* ---------------------------------------------------------------- celular */
@media (max-width: 860px) {
  .fa-hero { height: auto; min-height: 0; max-height: none; padding-bottom: 30px; display: flex; flex-direction: column; }
  .fa-links, .fa-btn--nav { display: none; }
  .fa-burger { display: block; }
  .fa-nav { height: 72px; }
  .fa-logo { height: 34px; }
  .fa-texto { position: relative; left: auto; top: auto; transform: none; width: auto; margin: calc(72px + 40svh) 22px 0; }
  .fa-titulo { font-size: clamp(31px, 8.4vw, 44px); margin-top: 14px; }
  .fa-sub { font-size: 15px; margin-top: 14px; }
  .fa-ctas { margin-top: 22px; gap: 12px; }
  .fa-btn { height: 48px; padding: 0 20px; }
  .fa-help { font-size: 13px; margin-top: 18px; }
  .fa-fluxo { margin-top: 30px; }
  .fa-fluxo-topo { margin-bottom: 10px; }
  .fa-linha { width: 56%; }
  .fa-passos { gap: 0; grid-template-columns: repeat(4, 40px); justify-content: space-between; }
  .fa-rot { display: none; }
  .fa-trilho { left: 20px; right: 20px; top: 19px; }
  .fa-foto { width: 40px; height: 40px; }
  .fa-agora { display: block; position: absolute; left: calc(56% + 16px); right: 0; top: 60px; transform: translateY(-50%); margin: 0; font-size: 13px; line-height: 1.3; font-weight: 700; color: #fff; }
  .fa-agora small { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--fa-claro); }
  .fa-sede { font-size: 12px; padding: 5px 11px 5px 8px; }
  .fa-cidade b { font-size: 13px; }
  .fa-etq { font-size: 12px; padding: 6px 11px 6px 9px; margin-top: 14px; gap: 7px; }
  .fa-etq { display: none; }
  .fa-vinheta { position: relative; left: auto; bottom: auto; align-self: flex-start; margin: 24px 22px 0; }
}
@media (max-width: 860px) and (max-height: 700px) { .fa-texto { margin-top: calc(72px + 34svh); } }
@media (min-width: 861px) and (max-height: 820px) {
  .fa-titulo { font-size: clamp(30px, 2.9vw, 50px); margin-top: 14px; }
  .fa-sub { margin-top: 12px; font-size: 15px; }
  .fa-ctas { margin-top: 20px; }
  .fa-btn { height: 46px; }
  .fa-help { margin-top: 16px; }
  .fa-fluxo { margin-top: 22px; }
  .fa-fluxo-topo { margin-bottom: 10px; }
}
