:root {
  --brand-dark: #0a1f44;
  --brand: #1464ff;
  --brand-light: #79cbff;
  --brand-ice: #eef6ff;
  --ink: #10213b;
  --ink-soft: #4c6180;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --border: rgba(20, 100, 255, 0.14);
  --shadow: 0 16px 42px rgba(8, 34, 82, 0.1);
}

html {
  scroll-behavior: smooth;
}

#conteudo,
#canais-contato,
#formulario {
  scroll-margin-top: 7rem;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(121, 203, 255, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(20, 100, 255, 0.16), transparent 26%),
    linear-gradient(180deg, #f5f9ff 0%, #ffffff 32%, #f8fbff 100%);
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

::selection {
  background: rgba(20, 100, 255, 0.18);
  color: var(--brand-dark);
}

.site-header {
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(10px);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(20, 100, 255, 0.1);
  box-shadow: 0 8px 22px rgba(10, 31, 68, 0.07);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
}

.brand-mark {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 1rem;
  box-shadow: 0 10px 22px rgba(20, 100, 255, 0.14);
}

.brand-header-mark {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.nav-link {
  position: relative;
  color: var(--ink-soft);
  transition: color 180ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--brand-dark);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(20, 100, 255, 0.24);
  outline-offset: 3px;
}

.mobile-link.is-active {
  color: var(--brand-dark);
  background: rgba(20, 100, 255, 0.08);
}

[data-menu-button] {
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

[data-menu-button]:hover {
  background: rgba(20, 100, 255, 0.08);
  border-color: rgba(20, 100, 255, 0.26);
}

[data-mobile-menu] {
  margin-top: 0.35rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(10, 31, 68, 0.1);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(20, 100, 255, 0.16);
  background: rgba(255, 255, 255, 0.78);
  color: var(--brand-dark);
  padding: 0.65rem 1rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(10, 31, 68, 0.05);
}

.pill-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
}

.section-card,
.service-card,
.detail-card,
.contact-card,
.timeline-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 255, 0.94));
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
}

.section-card::before,
.service-card::before,
.detail-card::before,
.contact-card::before,
.timeline-card::before {
  content: "";
  position: absolute;
  inset: auto -14% -42% auto;
  width: 8.5rem;
  height: 8.5rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(121, 203, 255, 0.14), transparent 68%);
}

.hero-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(20, 100, 255, 0.12);
  border-radius: 2rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 255, 0.9));
  box-shadow: 0 18px 48px rgba(10, 31, 68, 0.1);
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: -22% auto auto -8%;
  width: 13rem;
  height: 13rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(20, 100, 255, 0.1), transparent 68%);
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: auto -8% -18% auto;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(121, 203, 255, 0.14), transparent 68%);
}

.hero-mesh {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(20, 100, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 100, 255, 0.06) 1px, transparent 1px);
  background-size: 2.4rem 2.4rem;
}

.hero-panel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid rgba(20, 100, 255, 0.16);
  background: linear-gradient(160deg, rgba(7, 28, 62, 0.97), rgba(20, 100, 255, 0.88) 78%);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(10, 31, 68, 0.18);
}

.hero-node {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--brand-dark);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.35rem;
  height: 1px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
}

.muted {
  color: var(--ink-soft);
}

.grid-accent {
  position: relative;
}

.grid-accent::after {
  content: "";
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(20, 100, 255, 0.18);
  background: rgba(20, 100, 255, 0.06);
}

.process-step {
  position: relative;
  padding-left: 4rem;
}

.process-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--brand), #2b87ff);
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(20, 100, 255, 0.18);
}

.quote-card {
  border-left: 4px solid var(--brand);
  background: rgba(20, 100, 255, 0.05);
}

.footer-shell {
  border-top: 1px solid rgba(20, 100, 255, 0.1);
  background: linear-gradient(180deg, rgba(245, 249, 255, 0.86), rgba(255, 255, 255, 0.98));
}

.field {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(20, 100, 255, 0.14);
  background: rgba(255, 255, 255, 0.96);
  padding: 0.9rem 1rem;
  color: var(--ink);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field:focus {
  border-color: rgba(20, 100, 255, 0.34);
  box-shadow: 0 0 0 4px rgba(20, 100, 255, 0.08);
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(10, 31, 68, 0.98), rgba(20, 100, 255, 0.92));
  color: #ffffff;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: auto -8% -36% auto;
  width: 11rem;
  height: 11rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(121, 203, 255, 0.16), transparent 68%);
}

.link-card {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.16);
}

.link-card:hover,
.link-card:focus-visible {
  background: rgba(255, 255, 255, 0.24);
}

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

.float-soft {
  animation: floatY 7.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .float-soft {
    animation: none;
  }
}

@media (max-width: 767px) {
  .site-header,
  .hero-node {
    backdrop-filter: none;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.96);
  }

  .brand-lockup {
    gap: 0.65rem;
  }

  .brand-mark {
    width: 2.6rem;
    height: 2.6rem;
  }


@media (min-width: 768px) {
  .brand-header-mark {
    width: 3.5rem;
    height: 3.5rem;
  }
}
  .hero-shell,
  .cta-band {
    border-radius: 1.5rem;
    box-shadow: 0 12px 28px rgba(10, 31, 68, 0.08);
  }

  .hero-panel,
  .section-card,
  .service-card,
  .detail-card,
  .contact-card,
  .timeline-card {
    border-radius: 1.35rem;
    box-shadow: 0 10px 24px rgba(8, 34, 82, 0.08);
  }

  .section-card::before,
  .service-card::before,
  .detail-card::before,
  .contact-card::before,
  .timeline-card::before,
  .hero-shell::before,
  .hero-shell::after,
  .cta-band::after,
  .grid-accent::after {
    display: none;
  }

  .hero-mesh {
    opacity: 0.12;
    background-size: 2.8rem 2.8rem;
  }

  .hero-panel {
    background: linear-gradient(160deg, rgba(7, 28, 62, 0.98), rgba(20, 100, 255, 0.84) 82%);
    box-shadow: 0 14px 30px rgba(10, 31, 68, 0.14);
  }

  .hero-node {
    background: rgba(255, 255, 255, 0.14);
  }

  .float-soft {
    animation: none;
  }

  .process-step {
    padding-left: 0;
    padding-top: 4rem;
  }

  .process-step::before {
    top: 0;
    left: 0;
  }
}
