:root {
  --blue-deep: #0a2342;
  --blue-deeper: #06172c;
  --blue-accent: #1e5f9c;
  --surface: #07111f;
  --surface-2: #0b1b30;
  --surface-3: #0d2748;
  --gray: #6c757d;
  --gray-soft: #eef2f6;
  --white: #ffffff;
  --black: #000000;
  --text-soft: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --blue-glow: 0 0 34px rgba(30, 95, 156, 0.24);
  --glass: rgba(9, 20, 36, 0.62);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 8%, rgba(30, 95, 156, 0.22), transparent 34rem),
    radial-gradient(circle at 88% 28%, rgba(10, 35, 66, 0.7), transparent 32rem),
    var(--black);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  color: var(--white);
  background: var(--blue-accent);
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue-accent);
  border-radius: var(--radius);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(0, 0, 0, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
  transition: box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.76);
  border-color: rgba(30, 95, 156, 0.18);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(30, 95, 156, 0.4);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34), 0 0 24px rgba(30, 95, 156, 0.2);
}

.nav-menu {
  display: none;
  position: absolute;
  top: 76px;
  left: 16px;
  right: 16px;
  padding: 18px;
  background: rgba(7, 17, 31, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nav-menu.is-open {
  display: grid;
  gap: 8px;
}

.nav-menu a {
  padding: 12px 8px;
  position: relative;
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 6px;
  height: 2px;
  background: var(--blue-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: #d8ecff;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 11px;
  background: var(--blue-deep);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
}

.section {
  position: relative;
  padding: 86px 0;
  overflow: hidden;
}

.section-dark {
  color: var(--white);
  background: var(--blue-deep);
}

.section-soft {
  background:
    radial-gradient(circle at 22% 16%, rgba(30, 95, 156, 0.16), transparent 28rem),
    linear-gradient(112deg, transparent 0 26%, rgba(30, 95, 156, 0.12) 26.05%, transparent 26.25% 100%),
    linear-gradient(152deg, transparent 0 54%, rgba(255,255,255,0.07) 54.05%, transparent 54.22% 100%),
    var(--surface);
  background-size: auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-accent);
  font-family: "Sora", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-dark .eyebrow {
  color: #7db8ef;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", Arial, sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.32rem, 6.8vw, 4.35rem);
}

h2 {
  font-size: clamp(2rem, 6vw, 3.4rem);
}

h3 {
  font-size: 1.14rem;
}

p {
  margin: 0;
}

.hero {
  position: relative;
  min-height: calc(100svh - 34px);
  padding: 118px 0 58px;
  overflow: hidden;
  display: grid;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 26%, rgba(30, 95, 156, 0.26), transparent 25rem),
    radial-gradient(circle at 18% 72%, rgba(30, 95, 156, 0.16), transparent 28rem),
    linear-gradient(92deg, rgba(0, 0, 0, 0.96), rgba(10, 35, 66, 0.72) 58%, rgba(0, 0, 0, 0.96)),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: auto, auto, auto, 72px 72px, 72px 72px;
}

.hero::after,
.about::before,
.differentiators::before,
.diagnostic::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 24%, rgba(30, 95, 156, 0.18), transparent 2px),
    radial-gradient(circle at 62% 44%, rgba(255, 255, 255, 0.13), transparent 1px),
    radial-gradient(circle at 82% 18%, rgba(30, 95, 156, 0.2), transparent 2px),
    linear-gradient(118deg, transparent 0 29%, rgba(30, 95, 156, 0.16) 29.1%, transparent 29.35% 100%),
    linear-gradient(26deg, transparent 0 68%, rgba(255, 255, 255, 0.08) 68.1%, transparent 68.32% 100%);
  background-size: 360px 360px, 420px 420px, 520px 520px, 100% 100%, 100% 100%;
  opacity: 0.48;
}

.hero-bg {
  position: absolute;
  top: 18%;
  right: max(4vw, 42px);
  width: min(38vw, 440px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  opacity: 0.18;
  pointer-events: none;
  filter: drop-shadow(0 0 42px rgba(30, 95, 156, 0.28));
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle, #000 0 44%, rgba(0,0,0,0.7) 58%, transparent 76%);
  mask-image: radial-gradient(circle, #000 0 44%, rgba(0,0,0,0.7) 58%, transparent 76%);
}

.hero-bg img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  opacity: 0.72;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(125, 184, 239, 0.2);
  border-radius: 50%;
  transform: scale(1.25);
  background: radial-gradient(circle, rgba(30, 95, 156, 0.12), transparent 68%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 34px;
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.hero-text {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.06rem, 4vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--blue-glow);
}

.button-primary {
  color: var(--white);
  background: var(--blue-accent);
  border-color: var(--blue-accent);
  box-shadow: 0 12px 26px rgba(30, 95, 156, 0.24);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.03);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(30, 95, 156, 0.8);
  background: rgba(30, 95, 156, 0.16);
}

.hero-signal {
  display: grid;
  gap: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.signal-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.signal-top img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
}

.signal-top span {
  max-width: 280px;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

.signal-metrics {
  display: grid;
  gap: 10px;
}

.signal-metrics div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.signal-metrics div:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 95, 156, 0.58);
  background: rgba(30, 95, 156, 0.1);
  box-shadow: var(--blue-glow);
}

.signal-metrics strong {
  display: block;
  font-family: "Sora", Arial, sans-serif;
  font-size: 1.42rem;
  line-height: 1;
}

.signal-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.split,
.results-grid,
.founder-grid,
.partner-grid,
.diagnostic-grid {
  display: grid;
  gap: 34px;
}

.body-copy,
.founder-copy,
.partner-grid p,
.diagnostic-grid p {
  color: var(--text-soft);
  font-size: 1.04rem;
}

.body-copy,
.founder-copy {
  display: grid;
  gap: 18px;
}

.section-head {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head.compact {
  max-width: 720px;
}

.service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

#servicos::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 74% 8%, rgba(30, 95, 156, 0.24), transparent 22rem),
    linear-gradient(125deg, transparent 0 36%, rgba(125, 184, 239, 0.16) 36.05%, transparent 36.24% 100%),
    linear-gradient(33deg, transparent 0 62%, rgba(30, 95, 156, 0.12) 62.05%, transparent 62.22% 100%);
  opacity: 0.8;
}

#servicos::after {
  content: "";
  position: absolute;
  right: -10vw;
  bottom: 8%;
  width: min(52vw, 620px);
  height: min(34vw, 380px);
  pointer-events: none;
  border: 1px solid rgba(30, 95, 156, 0.14);
  border-radius: 50%;
  filter: blur(0.2px);
  transform: rotate(-12deg);
  opacity: 0.58;
}

.service-card {
  position: relative;
  min-height: 202px;
  padding: 26px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(148deg, rgba(8, 18, 32, 0.96), rgba(10, 35, 66, 0.72) 52%, rgba(4, 10, 18, 0.98)),
    var(--surface-2);
  border: 1px solid rgba(30, 95, 156, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(30, 95, 156, 0.22), transparent 11rem),
    linear-gradient(135deg, rgba(255,255,255,0.08), transparent 34%);
  opacity: 0;
  transition: opacity 260ms ease;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(125, 184, 239, 0.44);
  box-shadow: 0 26px 62px rgba(0, 0, 0, 0.44), 0 0 36px rgba(30, 95, 156, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card span,
.diff-index {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--blue-accent);
  font-family: "Sora", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
}

.service-card p,
.diff-grid p {
  margin-top: 12px;
  color: var(--text-soft);
}

.diff-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  border-top: 0;
}

.diff-grid article {
  padding: 24px;
  border: 1px solid rgba(30, 95, 156, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(10, 35, 66, 0.12));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: color 220ms ease, background 220ms ease, transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.diff-grid article:hover {
  color: var(--white);
  background: rgba(30, 95, 156, 0.08);
  border-color: rgba(125, 184, 239, 0.34);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), 0 0 28px rgba(30, 95, 156, 0.14);
  transform: translateY(-4px);
}

.diff-index {
  margin-bottom: 18px;
}

.results {
  background:
    linear-gradient(135deg, rgba(6, 23, 44, 0.96), rgba(10, 35, 66, 1) 58%, rgba(30, 95, 156, 0.78)),
    var(--blue-deep);
}

.results p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.74);
}

.result-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.15);
}

.result-list div {
  padding: 22px;
  background: rgba(6, 23, 44, 0.64);
  transition: transform 220ms ease, background 220ms ease;
}

.result-list div:hover {
  background: rgba(30, 95, 156, 0.16);
}

.result-list strong,
.result-list span {
  display: block;
}

.result-list strong {
  font-family: "Sora", Arial, sans-serif;
  font-size: 1.15rem;
}

.result-list span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.founder-media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blue-deep);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.founder-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.founder-copy {
  align-content: center;
}

.founder-copy h2 {
  color: var(--white);
}

.partner-grid {
  align-items: center;
}

.partner {
  padding: 70px 0;
}

.partner-seal {
  width: min(100%, 390px);
  justify-self: center;
  padding: 12px;
  background: linear-gradient(145deg, rgba(9, 20, 36, 0.78), rgba(10, 35, 66, 0.42));
  border: 1px solid rgba(30, 95, 156, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.partner-seal img {
  border-radius: 6px;
  opacity: 0.88;
}

.diagnostic {
  background:
    radial-gradient(circle at 82% 20%, rgba(30, 95, 156, 0.18), transparent 25rem),
    var(--black);
}

.contact-lines {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  font-weight: 800;
}

.contact-lines a {
  width: fit-content;
  color: var(--blue-accent);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: linear-gradient(150deg, rgba(9, 20, 36, 0.92), rgba(10, 35, 66, 0.38));
  border: 1px solid rgba(30, 95, 156, 0.24);
  border-radius: var(--radius);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255,255,255,0.05);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(30, 95, 156, 0.12);
}

.form-note {
  color: var(--text-soft);
  font-size: 0.86rem;
}

.footer {
  padding: 34px 0;
  color: var(--white);
  background: var(--black);
}

.footer-grid {
  display: grid;
  gap: 18px;
  align-items: center;
}

.footer-brand {
  width: 88px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.footer-brand img {
  width: 100%;
  transform: scale(1.45);
}

.footer strong,
.footer span,
.footer a {
  display: block;
}

.footer span,
.footer a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: grid;
  gap: 6px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: #25d366;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(10, 35, 66, 0.28);
  animation: whatsappPulse 2.8s ease-in-out infinite;
}

.whatsapp-float svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
  transition: opacity 760ms ease, transform 760ms ease, filter 760ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 16px 34px rgba(10, 35, 66, 0.28), 0 0 0 0 rgba(37, 211, 102, 0.28);
  }
  50% {
    box-shadow: 0 16px 34px rgba(10, 35, 66, 0.28), 0 0 0 11px rgba(37, 211, 102, 0);
  }
}

@media (min-width: 640px) {
  .signal-metrics,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form .full {
    grid-column: 1 / -1;
  }
}

@media (min-width: 880px) {
  .brand {
    width: 48px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-menu a {
    padding: 6px 0;
  }

  .nav-menu a::after {
    left: 0;
    right: 0;
    bottom: -8px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
  }

  .hero-signal {
    align-self: stretch;
    align-content: center;
    padding: 0 0 0 28px;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  .split,
  .results-grid,
  .founder-grid,
  .partner-grid,
  .diagnostic-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .diff-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-bottom: 0;
  }

  .diff-grid article {
    min-height: 248px;
    padding: 24px 20px;
    border-bottom: 1px solid rgba(30, 95, 156, 0.18);
    border-right: 1px solid rgba(30, 95, 156, 0.18);
  }

  .diff-grid article:last-child {
    border-right: 1px solid rgba(30, 95, 156, 0.18);
  }

  .founder-grid {
    grid-template-columns: 0.82fr 1.18fr;
    align-items: center;
  }

  .partner-grid {
    grid-template-columns: 1fr 0.75fr;
  }

  .footer-grid {
    grid-template-columns: auto 1fr auto;
  }
}

@media (min-width: 1120px) {
  .section {
    padding: 112px 0;
  }

  .hero {
    padding-top: 132px;
  }
}

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

  .whatsapp-float {
    animation: none !important;
  }
}
