:root {
  --blue-dark: #1E3B5E;
  --blue-deeper: #0D1F35;
  --blue-electric: #2E7CF6;
  --gray-light: #F4F6F9;
  --gray-mid: #8A9AB0;
  --gray-line: rgba(30, 59, 94, 0.13);
  --white: #FFFFFF;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(30, 59, 94, 0.08);
  --shadow-hover: 0 12px 40px rgba(30, 59, 94, 0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
  --page-gutter: clamp(20px, 5.6vw, 32px);
}

/* Base e utilitários globais. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-family: var(--font-body);
  color: var(--blue-dark);
  background: var(--white);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

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

:focus-visible {
  outline: 3px solid rgba(46, 124, 246, 0.8);
  outline-offset: 3px;
}

ul {
  list-style: none;
}

.container {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--container));
  margin: 0 auto;
}

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

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

/* Header e navegação. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header::before {
  content: "";
  position: fixed;
  inset: 72px 0 0;
  background: rgba(13, 31, 53, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.site-header.scrolled {
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(13, 31, 53, 0.08);
}

.site-header.theme-dark.scrolled {
  background: rgba(13, 31, 53, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
}

.site-header.theme-light {
  background: rgba(255, 255, 255, 0.95);
  color: var(--blue-dark);
  border-color: rgba(30, 59, 94, 0.12);
}

.header-shell {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  line-height: 1.12;
  min-width: 166px;
}

.brand-mark {
  display: block;
  width: 38px;
  height: auto;
  flex: 0 0 auto;
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-tagline {
  margin-top: 4px;
  color: currentColor;
  opacity: 0.72;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav-link {
  position: relative;
  border-radius: 999px;
  padding: 9px 14px;
  color: currentColor;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color var(--transition), background var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--blue-electric);
  transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue-electric);
}

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

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 13px 20px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}

.btn:disabled,
.form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.header-cta,
.btn-primary {
  background: var(--blue-electric);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(46, 124, 246, 0.24);
}

.header-cta:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(46, 124, 246, 0.34);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--blue-deeper);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  flex-direction: column;
  gap: 5px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: currentColor;
  line-height: 1;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: var(--transition);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Seções e tipografia compartilhada. */
section {
  position: relative;
  padding: 100px 0;
  scroll-margin-top: 96px;
}

section:not(.hero) {
  content-visibility: auto;
}

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

.section-muted {
  background: var(--gray-light);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--blue-electric);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  max-width: 960px;
  font-size: clamp(3.9rem, 6vw, 5rem);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h2 {
  color: var(--blue-dark);
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  font-weight: 800;
  text-wrap: balance;
}

h3 {
  color: var(--blue-dark);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.24;
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.lead {
  max-width: 680px;
  color: rgba(30, 59, 94, 0.78);
  font-size: 1.12rem;
  line-height: 1.82;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-heading p:not(.eyebrow) {
  margin-top: 14px;
  color: rgba(30, 59, 94, 0.72);
  font-size: 1.08rem;
  line-height: 1.78;
}

.section-heading-dark p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

/* Hero com geometria industrial feita em CSS. */
.hero {
  display: flex;
  min-height: 100vh;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 120px;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(13, 31, 53, 0) 0%, rgba(13, 31, 53, 0.88) 100%);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 18% 30%, rgba(46, 124, 246, 0.18), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.08), transparent 22%),
    radial-gradient(circle at 68% 86%, rgba(46, 124, 246, 0.12), transparent 26%);
  opacity: 0.8;
  pointer-events: none;
  animation: ambient-drift 18s ease-in-out infinite alternate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.36));
  animation: grid-drift 28s linear infinite;
}

.hero-blueprint {
  position: absolute;
  right: 7%;
  top: 20%;
  width: 440px;
  height: 440px;
  opacity: 0.52;
  z-index: 1;
  animation: blueprint-float 16s ease-in-out infinite;
}

.blueprint-node,
.blueprint-ring,
.blueprint-line {
  position: absolute;
  display: block;
}

.blueprint-node {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--blue-electric);
  box-shadow: 0 0 28px rgba(46, 124, 246, 0.7);
}

.node-a {
  top: 22px;
  left: 80px;
  animation: node-a-orbit 9s ease-in-out infinite, node-glow 3.4s ease-in-out infinite;
}

.node-b {
  right: 50px;
  top: 120px;
  animation: node-b-orbit 10s ease-in-out infinite, node-glow 3.4s ease-in-out 0.55s infinite;
}

.node-c {
  bottom: 70px;
  left: 160px;
  animation: node-c-orbit 11s ease-in-out infinite, node-glow 3.4s ease-in-out 1.1s infinite;
}

.blueprint-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.42);
  transform-origin: left center;
  overflow: hidden;
}

.line-a {
  top: 29px;
  left: 93px;
  width: 260px;
  transform: rotate(22deg);
  animation: line-a-harmonic 10s ease-in-out infinite;
}

.line-b {
  top: 128px;
  right: 60px;
  width: 250px;
  transform: rotate(127deg);
  animation: line-b-harmonic 11s ease-in-out 0.4s infinite;
}

.line-c {
  bottom: 77px;
  left: 170px;
  width: 190px;
  transform: rotate(-38deg);
  animation: line-c-harmonic 9.5s ease-in-out 0.9s infinite;
}

.blueprint-ring {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  animation: ring-breathe 7s ease-in-out infinite;
}

.ring-a {
  top: 62px;
  right: 80px;
  width: 250px;
  height: 250px;
}

.ring-b {
  right: 0;
  bottom: 12px;
  width: 150px;
  height: 150px;
  animation-delay: 1.3s;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 999px;
  background: rgba(128, 178, 255, 0.82);
  box-shadow: 0 0 14px rgba(46, 124, 246, 0.72);
  opacity: 0;
  animation: particle-drift var(--d) ease-in-out var(--delay) infinite;
}

.hero-particles span:nth-child(1) {
  --x: 68%;
  --y: 20%;
  --s: 3px;
  --tx: 42px;
  --ty: -28px;
  --d: 12s;
  --delay: -1s;
}

.hero-particles span:nth-child(2) {
  --x: 82%;
  --y: 32%;
  --s: 4px;
  --tx: -34px;
  --ty: 38px;
  --d: 14s;
  --delay: -4s;
}

.hero-particles span:nth-child(3) {
  --x: 56%;
  --y: 66%;
  --s: 2px;
  --tx: 55px;
  --ty: 24px;
  --d: 10s;
  --delay: -2s;
}

.hero-particles span:nth-child(4) {
  --x: 74%;
  --y: 74%;
  --s: 3px;
  --tx: -48px;
  --ty: -22px;
  --d: 13s;
  --delay: -6s;
}

.hero-particles span:nth-child(5) {
  --x: 91%;
  --y: 18%;
  --s: 2px;
  --tx: -64px;
  --ty: 44px;
  --d: 16s;
  --delay: -8s;
}

.hero-particles span:nth-child(6) {
  --x: 45%;
  --y: 28%;
  --s: 3px;
  --tx: 36px;
  --ty: 48px;
  --d: 15s;
  --delay: -3s;
}

.hero-particles span:nth-child(7) {
  --x: 64%;
  --y: 48%;
  --s: 2px;
  --tx: -42px;
  --ty: -36px;
  --d: 11s;
  --delay: -5s;
}

.hero-particles span:nth-child(8) {
  --x: 87%;
  --y: 58%;
  --s: 3px;
  --tx: 28px;
  --ty: -58px;
  --d: 17s;
  --delay: -7s;
}

.hero-particles span:nth-child(9) {
  --x: 34%;
  --y: 72%;
  --s: 2px;
  --tx: 62px;
  --ty: -30px;
  --d: 14s;
  --delay: -9s;
}

.hero-particles span:nth-child(10) {
  --x: 52%;
  --y: 14%;
  --s: 2px;
  --tx: -38px;
  --ty: 40px;
  --d: 12s;
  --delay: -10s;
}

.hero-particles span:nth-child(11) {
  --x: 77%;
  --y: 86%;
  --s: 4px;
  --tx: -22px;
  --ty: -62px;
  --d: 18s;
  --delay: -12s;
}

.hero-particles span:nth-child(12) {
  --x: 95%;
  --y: 72%;
  --s: 2px;
  --tx: -78px;
  --ty: -18px;
  --d: 13s;
  --delay: -11s;
}

.hero-particles span:nth-child(13) {
  --x: 40%;
  --y: 44%;
  --s: 2px;
  --tx: 48px;
  --ty: -54px;
  --d: 16s;
  --delay: -13s;
}

.hero-particles span:nth-child(14) {
  --x: 70%;
  --y: 38%;
  --s: 3px;
  --tx: -58px;
  --ty: 20px;
  --d: 15s;
  --delay: -14s;
}

.hero-particles span:nth-child(15) {
  --x: 60%;
  --y: 82%;
  --s: 2px;
  --tx: 70px;
  --ty: -44px;
  --d: 17s;
  --delay: -15s;
}

.hero-particles span:nth-child(16) {
  --x: 88%;
  --y: 45%;
  --s: 2px;
  --tx: -54px;
  --ty: 52px;
  --d: 12s;
  --delay: -16s;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  color: rgba(255, 255, 255, 0.76);
  opacity: 0;
  animation: fade-in-up 0.65s ease forwards;
}

.hero h1 {
  opacity: 0;
  animation: fade-in-up 0.75s ease 0.12s forwards;
}

.hero-subtitle {
  max-width: 720px;
  margin-top: 22px;
  color: rgba(244, 246, 249, 0.82);
  font-size: 1.25rem;
  line-height: 1.72;
  opacity: 0;
  animation: fade-in-up 0.75s ease 0.24s forwards;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  opacity: 0;
  animation: fade-in-up 0.75s ease 0.36s forwards;
}

.hero-locations {
  position: absolute;
  right: 44px;
  bottom: 34px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.hero-locations span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

/* Bloco sobre a empresa. */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
  gap: 112px;
  align-items: center;
}

.about-copy {
  position: relative;
  padding-left: 28px;
}

.about-copy::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: var(--blue-electric);
}

.about-copy h2 {
  max-width: 650px;
  margin-bottom: 34px;
  line-height: 1.26;
}

.about-copy .lead {
  max-width: 640px;
}

.about-highlights {
  display: grid;
  gap: 24px;
}

.stat-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 7px 20px;
  align-items: center;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 26px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.stat-card i {
  grid-row: 1 / span 2;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 10px;
  background: rgba(46, 124, 246, 0.1);
  color: var(--blue-electric);
  font-size: 1.35rem;
}

.stat-card strong {
  font-family: var(--font-display);
  color: var(--blue-dark);
  font-size: 1.45rem;
  line-height: 1.18;
}

.stat-card span {
  color: rgba(30, 59, 94, 0.7);
}

/* Cards de serviços. */
.services {
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  top: 120px;
  right: -18%;
  width: min(760px, 70vw);
  height: min(760px, 70vw);
  border: 1px solid rgba(46, 124, 246, 0.1);
  border-radius: 50%;
  background:
    linear-gradient(115deg, transparent 44%, rgba(46, 124, 246, 0.08) 45%, transparent 47%),
    linear-gradient(25deg, transparent 53%, rgba(30, 59, 94, 0.06) 54%, transparent 56%);
  opacity: 0.85;
  pointer-events: none;
  animation: technical-orbit 26s linear infinite;
}

.services::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 9%;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 124, 246, 0.2), transparent);
  opacity: 0.75;
  pointer-events: none;
  animation: scan-line 7s ease-in-out infinite;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-top: 4px solid var(--blue-electric);
  border-right: 1px solid rgba(30, 59, 94, 0.08);
  border-bottom: 1px solid rgba(30, 59, 94, 0.08);
  border-left: 1px solid rgba(30, 59, 94, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 10px;
  background: rgba(46, 124, 246, 0.1);
  color: var(--blue-electric);
  font-size: 1.45rem;
}

.service-card h3 {
  margin-top: 22px;
}

.service-card p {
  margin-top: 14px;
  color: rgba(30, 59, 94, 0.72);
  line-height: 1.76;
  text-wrap: pretty;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.check-list li {
  position: relative;
  padding-left: 29px;
  color: rgba(13, 31, 53, 0.82);
  line-height: 1.58;
}

.check-list li::before {
  content: "\f00c";
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 999px;
  color: var(--blue-electric);
  font-family: "Font Awesome 6 Free";
  font-size: 0.72rem;
  font-weight: 900;
}

/* Diferenciais em seção de contraste. */
.why {
  overflow: hidden;
}

.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  animation: contrast-grid-drift 34s linear infinite;
}

.why::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, transparent 0%, rgba(46, 124, 246, 0.12) 46%, transparent 58%),
    radial-gradient(circle at 18% 80%, rgba(46, 124, 246, 0.14), transparent 26%);
  opacity: 0.75;
  pointer-events: none;
  animation: contrast-glow 12s ease-in-out infinite alternate;
}

.why .container {
  position: relative;
  z-index: 1;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.why-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 30px;
}

.why-item i {
  color: var(--blue-electric);
  font-size: 2rem;
}

.why-item h3 {
  margin-top: 24px;
}

.why-item p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.72;
}

/* Formulário e dados de contato. */
.contact-heading {
  margin-bottom: 38px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.contact-form,
.contact-panel {
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label span {
  color: rgba(13, 31, 53, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(30, 59, 94, 0.18);
  border-radius: 8px;
  background: var(--white);
  color: var(--blue-deeper);
  font-size: 1rem;
  padding: 13px 14px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

textarea {
  resize: vertical;
  min-height: 128px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue-electric);
  box-shadow: 0 0 0 4px rgba(46, 124, 246, 0.12);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.1);
}

.form-submit {
  width: 100%;
}

.form-message {
  min-height: 24px;
  color: #18794e;
  font-weight: 700;
}

.form-message.error {
  color: #b42318;
}

.contact-panel {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: linear-gradient(180deg, var(--blue-deeper), #102943);
  color: var(--white);
}

.contact-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  padding: 17px;
}

.contact-card i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: rgba(46, 124, 246, 0.2);
  color: var(--blue-electric);
}

.contact-card strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
}

.contact-card p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.contact-card a {
  color: rgba(255, 255, 255, 0.88);
}

.contact-card a:hover {
  color: var(--white);
}

.coverage {
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

/* Rodapé. */
.site-footer {
  background: var(--blue-deeper);
  color: var(--white);
  padding: 70px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.75fr 1fr;
  gap: 44px;
}

.footer-brand {
  margin-bottom: 18px;
}

.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 1.05rem;
}

.site-footer ul {
  display: grid;
  gap: 10px;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
}

/* Animações ativadas pelo IntersectionObserver. */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ambient-drift {
  0% {
    transform: translate3d(-1%, -1%, 0) scale(1);
  }

  100% {
    transform: translate3d(1.5%, 1%, 0) scale(1.05);
  }
}

@keyframes grid-drift {
  0% {
    background-position: 0 0, 0 0;
  }

  100% {
    background-position: 72px 72px, 72px 72px;
  }
}

@keyframes blueprint-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(-14px, 12px, 0) rotate(1.6deg);
  }
}

@keyframes node-glow {
  0%,
  100% {
    opacity: 0.88;
    box-shadow: 0 0 24px rgba(46, 124, 246, 0.55);
  }

  50% {
    opacity: 1;
    box-shadow: 0 0 36px rgba(46, 124, 246, 0.88);
  }
}

@keyframes node-a-orbit {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  25% {
    transform: translate3d(9px, 4px, 0) scale(1.08);
  }

  50% {
    transform: translate3d(18px, -8px, 0) scale(1.16);
  }

  75% {
    transform: translate3d(6px, -15px, 0) scale(1.08);
  }
}

@keyframes node-b-orbit {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  25% {
    transform: translate3d(-10px, 12px, 0) scale(1.12);
  }

  50% {
    transform: translate3d(-22px, 3px, 0) scale(1.18);
  }

  75% {
    transform: translate3d(-9px, -10px, 0) scale(1.08);
  }
}

@keyframes node-c-orbit {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  25% {
    transform: translate3d(12px, -10px, 0) scale(1.1);
  }

  50% {
    transform: translate3d(24px, 2px, 0) scale(1.18);
  }

  75% {
    transform: translate3d(8px, 14px, 0) scale(1.08);
  }
}

@keyframes line-a-harmonic {
  0%,
  100% {
    opacity: 0.42;
    transform: rotate(22deg) translate3d(0, 0, 0) scaleX(1);
  }

  50% {
    opacity: 0.68;
    transform: rotate(22deg) translate3d(10px, -5px, 0) scaleX(1.05);
  }
}

@keyframes line-b-harmonic {
  0%,
  100% {
    opacity: 0.34;
    transform: rotate(127deg) translate3d(0, 0, 0) scaleX(1);
  }

  50% {
    opacity: 0.62;
    transform: rotate(127deg) translate3d(-8px, 7px, 0) scaleX(0.94);
  }
}

@keyframes line-c-harmonic {
  0%,
  100% {
    opacity: 0.38;
    transform: rotate(-38deg) translate3d(0, 0, 0) scaleX(1);
  }

  50% {
    opacity: 0.66;
    transform: rotate(-38deg) translate3d(12px, 5px, 0) scaleX(1.08);
  }
}

@keyframes particle-drift {
  0%,
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.65);
  }

  18%,
  82% {
    opacity: 0.68;
  }

  50% {
    opacity: 1;
    transform: translate3d(var(--tx), var(--ty), 0) scale(1.18);
  }
}

@keyframes ring-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.58;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.24;
  }
}

@keyframes technical-orbit {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes scan-line {
  0% {
    transform: translateX(-32%);
    opacity: 0;
  }

  45%,
  55% {
    opacity: 0.85;
  }

  100% {
    transform: translateX(32%);
    opacity: 0;
  }
}

@keyframes contrast-grid-drift {
  0% {
    background-position: 0 0, 0 0;
  }

  100% {
    background-position: -88px 88px, -88px 88px;
  }
}

@keyframes contrast-glow {
  0% {
    transform: translateX(-4%);
    opacity: 0.45;
  }

  100% {
    transform: translateX(4%);
    opacity: 0.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Responsividade. */
@media (max-width: 1024px) {
  h1 {
    font-size: clamp(2.7rem, 6.7vw, 3.75rem);
  }

  h2 {
    font-size: clamp(2rem, 4.5vw, 2.45rem);
  }

  .hero-blueprint {
    right: -110px;
    opacity: 0.3;
  }

  .hero-particles span:nth-child(n + 13) {
    display: none;
  }

  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-layout {
    gap: 48px;
  }

  .services-grid {
    gap: 20px;
  }

  .about-copy h2,
  .about-copy .lead {
    max-width: 760px;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(calc(100% - (var(--page-gutter) * 2)), var(--container));
  }

  .site-header.menu-open::before {
    opacity: 1;
    pointer-events: auto;
  }

  .header-shell {
    grid-template-columns: 1fr auto;
    gap: 14px;
    min-height: 70px;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: calc(70px + env(safe-area-inset-top, 0px) + 10px);
    right: var(--page-gutter);
    left: var(--page-gutter);
    display: grid;
    gap: 8px;
    transform: translateY(-18px);
    transform-origin: top center;
    width: auto;
    border: 1px solid rgba(30, 59, 94, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    color: var(--blue-dark);
    padding: 12px;
    max-height: min(calc(100svh - 92px), 520px);
    overflow-y: auto;
    box-shadow: var(--shadow-hover);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 46px;
    border-radius: 8px;
    padding: 12px 14px;
    line-height: 1.2;
  }

  .nav-link::after {
    display: none;
  }

  section {
    padding: 72px 0;
  }

  .hero {
    min-height: 100svh;
    align-items: flex-start;
    padding: 118px 0 58px;
  }

  @supports (-webkit-touch-callout: none) {
    .hero {
      min-height: -webkit-fill-available;
    }
  }

  h1 {
    font-size: clamp(2.05rem, 7.4vw, 2.42rem);
    line-height: 1.24;
  }

  h2 {
    font-size: clamp(1.78rem, 5.6vw, 2.05rem);
  }

  .hero-subtitle {
    font-size: 1.08rem;
    line-height: 1.76;
    margin-top: 22px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
  }

  .hero-locations {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    justify-content: flex-start;
    width: min(calc(100% - (var(--page-gutter) * 2)), var(--container));
    margin: 30px auto 0;
  }

  .hero-locations span {
    padding: 9px 12px;
    line-height: 1.25;
  }

  .services-grid,
  .why-grid,
  .field-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .service-card,
  .contact-form {
    padding: 24px;
  }

  .about-layout,
  .contact-layout {
    gap: 34px;
  }

  .contact-panel {
    padding: 22px;
  }

  .services::before {
    width: 520px;
    height: 520px;
    opacity: 0.42;
  }
}

@media (hover: none) {
  .header-cta:hover,
  .btn-primary:hover,
  .btn-outline:hover,
  .stat-card:hover,
  .service-card:hover,
  .contact-card a:hover,
  .site-footer a:hover {
    transform: none;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(calc(100% - (var(--page-gutter) * 2)), var(--container));
  }

  section {
    padding: 58px 0;
    scroll-margin-top: 80px;
  }

  .brand-name {
    font-size: 1.24rem;
  }

  .brand-tagline {
    font-size: 0.61rem;
  }

  .brand {
    min-width: 154px;
    gap: 9px;
  }

  .brand-mark {
    width: 30px;
  }

  h1 {
    font-size: clamp(1.58rem, 7.1vw, 1.86rem);
    line-height: 1.3;
  }

  h2 {
    font-size: 1.78rem;
  }

  h3 {
    font-size: 1.28rem;
  }

  .btn {
    width: 100%;
    min-height: 54px;
    padding-right: 16px;
    padding-left: 16px;
    text-align: center;
  }

  .hero {
    padding: 104px 0 50px;
  }

  .hero-kicker {
    max-width: 270px;
    margin-bottom: 20px;
    font-size: 0.76rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.78;
    margin-top: 22px;
  }

  .hero-actions {
    gap: 14px;
    margin-top: 28px;
  }

  .hero-actions .btn {
    min-height: 56px;
  }

  .hero-locations {
    width: min(calc(100% - (var(--page-gutter) * 2)), var(--container));
    gap: 8px;
    margin-top: 26px;
  }

  .hero-locations span {
    font-size: 0.74rem;
    padding: 8px 9px;
  }

  .hero-blueprint {
    display: none;
  }

  .hero-particles span:nth-child(n + 9),
  .services::after {
    display: none;
  }

  .about-copy {
    padding-left: 18px;
  }

  .stat-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .stat-card i {
    grid-row: auto;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-form,
  .contact-panel,
  .service-card,
  .why-item {
    padding: 20px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading p:not(.eyebrow),
  .lead,
  .service-card p,
  .why-item p {
    line-height: 1.76;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 1.56rem;
    line-height: 1.33;
  }

  h2 {
    font-size: 1.52rem;
  }

  .brand-tagline {
    display: none;
  }

  .brand {
    min-width: 118px;
  }

  .hero {
    padding-top: 98px;
  }

  .hero-locations {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-locations span {
    justify-content: center;
    text-align: center;
  }

  .contact-form,
  .contact-panel,
  .service-card,
  .why-item {
    padding: 18px;
  }
}
