:root {
  --bg: #080f1f;
  --ink: #ecf2ff;
  --muted: #c1cee5;
  --line: rgba(135, 156, 194, 0.36);
  --blue: #4a78bf;
  --blue-soft: #75a0d6;
  --panel: rgba(9, 19, 38, 0.84);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 15, 31, 0.65), rgba(8, 15, 31, 0.92)), url('imagens/futurista.jpg') center/cover no-repeat;
  background-attachment: fixed;
  z-index: -2;
}

.v-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(117, 160, 214, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 160, 214, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 20%, black 38%, transparent 88%);
}

.w-wrap { width: min(95vw, 1460px); margin: 0 auto; }

.w-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  border-bottom: 1px solid rgba(135, 156, 194, 0.35);
  background: linear-gradient(180deg, rgba(8, 15, 31, 0.92), rgba(8, 15, 31, 0.68));
  box-shadow: 0 10px 26px rgba(6, 12, 24, 0.35);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.w-header.is-scrolled {
  border-bottom-color: rgba(168, 190, 225, 0.4);
  background: linear-gradient(180deg, rgba(11, 20, 40, 0.96), rgba(8, 15, 31, 0.82));
  box-shadow: 0 12px 30px rgba(6, 12, 24, 0.45);
}

.w-header-inner {
  min-height: 104px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.9rem;
}

.w-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
  color: var(--ink);
}

.w-logo { width: 90px; height: 90px; object-fit: contain; }

.w-brand strong,
.w-btn,
.w-kicker,
h1,h2,h3,h4 { font-family: Manrope, sans-serif; }

.w-brand strong { display: block; font-size: 1.02rem; }
.w-brand span { color: var(--muted); font-size: 0.82rem; }

.w-nav { display: flex; gap: 0.45rem; }
.w-nav a {
  text-decoration: none;
  color: #e5efff;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.52rem 0.74rem;
  transition: 0.2s ease;
}
.w-nav a:hover {
  background: rgba(117, 160, 214, 0.16);
  border-color: rgba(135, 156, 194, 0.45);
}

.w-btn {
  min-height: 44px;
  padding: 0.72rem 1rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.83rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.w-btn:hover { transform: translateY(-2px); }
.w-btn-solid { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-soft)); box-shadow: 0 14px 28px rgba(74, 120, 191, 0.32); }
.w-btn-soft { color: #e8f1ff; border: 1px solid rgba(135, 156, 194, 0.45); background: rgba(10, 20, 39, 0.56); }
.w-btn-outline { color: #deebff; border: 1px solid rgba(135, 156, 194, 0.45); background: rgba(10, 19, 35, 0.4); }

.w-hero {
  position: relative;
  min-height: 64vh;
  display: grid;
  align-items: center;
  padding-top: 104px;
  padding-bottom: 32px;
}
.w-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0;
}

.w-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(96deg, rgba(8, 15, 31, 0.86) 0%, rgba(8, 15, 31, 0.68) 42%, rgba(8, 15, 31, 0.48) 100%),
    linear-gradient(180deg, rgba(8, 15, 31, 0.35) 0%, rgba(8, 15, 31, 0.52) 100%),
    url('imagens/futurista.jpg');
  background-position: center, center, center;
  background-size: auto, auto, cover;
  background-repeat: no-repeat, no-repeat, no-repeat;
  opacity: 0.92;
  z-index: 0;
}

.w-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('imagens/hero_novo_claro.jpg') 120% center / cover no-repeat;
  opacity: 0.108;
  filter: none;
  transform: none;
}

.w-hero-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding: 0;
  margin-left: clamp(0px, 4vw, 56px);
  margin-top: 0;
  align-self: center;
}

.w-kicker { font-size: 0.74rem; color: #bfd2ee; letter-spacing: 0.08em; margin-bottom: 0.8rem; }
.w-hero-content h1 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.04;
  margin-bottom: 0.75rem;
  text-shadow: 0 10px 26px rgba(6, 12, 24, 0.45);
}
.w-hero-content p { color: var(--muted); line-height: 1.62; max-width: 440px; font-size: 0.98rem; }
.w-actions { display: flex; gap: 0.62rem; flex-wrap: wrap; margin-top: 1rem; }
.w-type { display: inline-block; min-height: 1.1em; }
.w-cursor {
  display: inline-block;
  width: 0.55ch;
  height: 1em;
  margin-left: 0.12ch;
  background: #8cb2e6;
  border-radius: 999px;
  animation: blink 1s steps(2, start) infinite;
  vertical-align: -0.08em;
}
@keyframes blink {
  0%, 40% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.w-hero-visual {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.w-hero-logo {
  width: min(360px, 30vw);
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(6, 12, 24, 0.32)) drop-shadow(0 0 22px rgba(120, 160, 220, 0.22));
  animation: heroLogoBlink 10s linear infinite;
  animation-delay: 1.6s;
  will-change: opacity;
}
@keyframes heroLogoBlink {
  0% { opacity: 1; }
  2.5% { opacity: 0.2; }
  5% { opacity: 1; }
  7.5% { opacity: 0.2; }
  10% { opacity: 1; }
  12.5% { opacity: 0.2; }
  15% { opacity: 1; }
  100% { opacity: 1; }
}

.w-trust {
  border-top: 1px solid rgba(135, 156, 194, 0.3);
  border-bottom: 1px solid rgba(135, 156, 194, 0.3);
  background: rgba(10, 20, 39, 0.7);
  padding: 0.95rem 0;
}

.w-trust-title { color: #d2e2fb; margin-bottom: 0.55rem; }
.w-chip-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.45rem; }
.w-chip-row span,
.w-chip-row a {
  border: 1px solid rgba(135, 156, 194, 0.35);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  text-align: center;
  color: #e6f0ff;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}
.w-chip-row a {
  text-decoration: none;
  background: radial-gradient(circle at 30% 20%, rgba(117, 160, 214, 0.35), rgba(10, 20, 39, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -6px 12px rgba(8, 15, 31, 0.65),
    0 10px 24px rgba(8, 15, 31, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.w-chip-row a:hover {
  border-color: rgba(135, 156, 194, 0.7);
  background: radial-gradient(circle at 30% 20%, rgba(117, 160, 214, 0.55), rgba(10, 20, 39, 0.85));
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -6px 14px rgba(8, 15, 31, 0.6),
    0 14px 28px rgba(8, 15, 31, 0.45);
}

.w-section { padding: 2rem 0; }
.w-head { margin-bottom: 0.9rem; }
.w-head h2 { font-size: clamp(1.34rem, 2.6vw, 2.06rem); }
.w-head p { color: var(--muted); margin-top: 0.34rem; }

.w-card,
.w-box,
.w-person,
.w-contact-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  padding: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.w-card > *,
.w-box > *,
.w-person > *,
.w-contact-box > * { position: relative; z-index: 1; }

.w-card::before,
.w-box::before,
.w-person::before,
.w-contact-box::before {
  content: "";
  position: absolute;
  inset: -60% -40%;
  background: linear-gradient(120deg, transparent 0%, rgba(117, 160, 214, 0.12) 35%, rgba(117, 160, 214, 0.32) 50%, transparent 70%);
  transform: translateX(-60%);
  opacity: 0;
  transition: transform 0.55s ease, opacity 0.4s ease;
  pointer-events: none;
}

.w-card:hover,
.w-box:hover,
.w-person:hover,
.w-contact-box:hover {
  border-color: rgba(148, 176, 216, 0.7);
  background: linear-gradient(180deg, rgba(18, 32, 60, 0.9), rgba(10, 20, 39, 0.9));
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(6, 12, 24, 0.45);
}

.w-card:hover::before,
.w-box:hover::before,
.w-person:hover::before,
.w-contact-box:hover::before {
  opacity: 1;
  transform: translateX(60%);
}

.w-box h2,
.w-box h3,
.w-card h3,
.w-person strong,
.w-contact-box h2 { margin-bottom: 0.45rem; }

.w-box p,
.w-card p,
.w-card li,
.w-person span,
.w-contact-box p { color: var(--muted); line-height: 1.6; }
.w-box ul { margin-left: 1rem; display: grid; gap: 0.3rem; margin-top: 0.45rem; }

.w-igp-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0.7rem; }
.w-grid { display: grid; gap: 0.7rem; }
.w-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.w-card-highlight { background: linear-gradient(180deg, rgba(74, 120, 191, 0.3), rgba(10, 20, 39, 0.86)); }

.w-person { display: grid; gap: 0.68rem; }
.w-person img {
  width: 74%;
  max-height: 220px;
  object-fit: contain;
  object-position: center top;
  margin: 0 auto;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.18), rgba(51, 65, 85, 0.12));
}
.w-person div { display: grid; gap: 0.35rem; }
.w-person strong { letter-spacing: 0.01em; }

.w-contact-box {
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(74, 120, 191, 0.34), rgba(10, 20, 39, 0.88));
}

.w-footer {
  border-top: 1px solid rgba(135, 156, 194, 0.3);
  background: rgba(8, 15, 28, 0.8);
  padding: 1.3rem 0 2rem;
}

.w-footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 0.9rem; }
.w-footer-grid h3,
.w-footer-grid h4 { margin-bottom: 0.35rem; }
.w-footer-grid p,
.w-footer-grid a { color: var(--muted); text-decoration: none; }
.w-address { opacity: 0.84; font-size: 0.88rem; }
.w-footer-grid a:hover { color: #edf4ff; }
.w-social-list { display: grid; gap: 0.5rem; margin-top: 0.35rem; }
.w-social-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.36rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(135, 156, 194, 0.35);
  background: rgba(8, 15, 28, 0.4);
  transition: 0.2s ease;
}
.w-social-item:hover {
  background: rgba(117, 160, 214, 0.18);
  border-color: rgba(135, 156, 194, 0.55);
}
.w-social-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(74, 120, 191, 0.2);
  color: #d7e6ff;
  flex: 0 0 auto;
}
.w-social-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.reveal-up { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .w-header-inner { grid-template-columns: 1fr auto; }
  .w-nav { display: none; }
  .w-chip-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .w-igp-grid,
  .w-grid-3,
  .w-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-hero-inner { grid-template-columns: 1fr; }
  .w-hero-visual { justify-content: center; }
  .w-hero-logo { width: min(260px, 48vw); }
}

@media (max-width: 760px) {
  .w-wrap { width: min(93vw, 1460px); }
  .w-logo { width: 76px; height: 76px; }
  .w-hero { padding-top: 104px; }
  .w-hero-content { padding: 0; margin-left: 0; }
  .w-chip-row,
  .w-igp-grid,
  .w-grid-3,
  .w-footer-grid { grid-template-columns: 1fr; }
  .w-person img { width: 72%; }
  .w-hero-visual { display: none; }
}
