/* ========== Fontes ========== */
@font-face {
  font-family: "Saira";
  src: url("../fonts/saira-var.woff2") format("woff2");
  font-weight: 300 600;
  font-stretch: 100% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-var.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("../fonts/space-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

/* ========== Tokens ========== */
:root {
  --bg: #05080F;
  --bg-alt: #070B15;
  --bg-band: #070C17;
  --bg-field: #070C18;
  --card-gradient: linear-gradient(160deg, #0D3B91 0%, #0A1A3D 50%, #05080F 100%);
  --panel-gradient: linear-gradient(180deg, #0C1426 0%, #0A1120 100%);

  --text-title: #F3F6FB;
  --text-strong: #EAF0F8;
  --text-chip: #C9D1DC;
  --text-photo: #B4BDCA;
  --text: #A6B0BF;
  --text-muted: #7D8899;
  --text-placeholder: #6E7A8C;

  --cyan: #5CC8FF;
  --cyan-hover: #A8E2FF;
  --blue: #2A68E3;
  --blue-hover: #3B7BFF;
  --blue-active: #1F55C4;
  --error-border: #FF6B8A;
  --error-text: #FF8FA6;
  --whatsapp: #25D366;

  --line-12: rgba(110, 150, 230, .12);
  --line-14: rgba(110, 150, 230, .14);
  --line-16: rgba(110, 150, 230, .16);
  --line-18: rgba(110, 150, 230, .18);
  --line-22: rgba(110, 150, 230, .22);
  --line-28: rgba(110, 150, 230, .28);
  --field-border: rgba(120, 160, 240, .24);

  --font-display: "Saira", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-space: clamp(96px, 12vw, 168px);
  --header-h: 76px;
  --card-pad: clamp(24px, 3vw, 36px);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

/* ========== Base ========== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-strong);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg { display: block; max-width: 100%; }
input, select, textarea, button { font: inherit; color: inherit; }

a { color: var(--cyan); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--cyan-hover); }

[id] { scroll-margin-top: var(--header-h); }
::selection { background: rgba(92, 200, 255, .28); color: #FFFFFF; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
::placeholder { color: var(--text-placeholder); opacity: 1; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--blue);
  color: #FFFFFF;
  font-weight: 600;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; color: #FFFFFF; }

.scroll-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 24px;
  pointer-events: none;
}

/* ========== Layout ========== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: var(--section-space); }
.section--alt { background: var(--bg-alt); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head-main { max-width: 780px; }

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.section-label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}
.section-label--muted { color: var(--text); }

.title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -.025em;
  color: var(--text-title);
  text-wrap: balance;
}

.lead {
  font-size: clamp(16.5px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--text);
  text-wrap: pretty;
}
.section-intro { max-width: 420px; }

.text-gradient {
  background: linear-gradient(90deg, #5CC8FF, #397FEF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  --grid-line: rgba(110, 150, 230, .08);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: var(--grid-mask);
  mask-image: var(--grid-mask);
}

/* ========== Componentes ========== */
.btn {
  --cut: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
  padding: 0 28px;
  border: 0;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .02em;
  white-space: nowrap;
  cursor: pointer;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background-color .2s ease, color .2s ease;
}
.btn:focus-visible { outline: 2px solid currentColor; outline-offset: -6px; }
.btn img { width: 22px; height: 22px; flex: none; }

.btn-primary { background: var(--blue); color: #FFFFFF; }
.btn-primary:hover { background: var(--blue-hover); color: #FFFFFF; }
.btn-primary:active { background: var(--blue-active); }

.btn-secondary {
  background: rgba(120, 160, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(120, 160, 255, .3);
  color: var(--text-strong);
}
.btn-secondary:hover { background: rgba(120, 160, 255, .16); color: #FFFFFF; }

.btn-sm { --cut: 9px; height: 44px; padding: 0 20px; gap: 10px; font-size: 14.5px; }
.btn-block { width: 100%; }

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

.live-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pi8-blink 2.4s ease-in-out infinite;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chips li {
  padding: 7px 12px;
  border: 1px solid var(--line-28);
  border-radius: 2px;
  background: rgba(5, 8, 15, .55);
  font-size: 13.5px;
  color: var(--text-chip);
}

.corners { position: relative; }
.corners::before,
.corners::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: var(--corner, 18px);
  height: var(--corner, 18px);
  border: 0 solid var(--cyan);
  pointer-events: none;
}
.corners::before {
  top: var(--corner-offset, 0);
  left: var(--corner-offset, 0);
  border-top-width: var(--corner-width, 1px);
  border-left-width: var(--corner-width, 1px);
}
.corners::after {
  right: var(--corner-offset, 0);
  bottom: var(--corner-offset, 0);
  border-right-width: var(--corner-width, 1px);
  border-bottom-width: var(--corner-width, 1px);
}

.contact-list { display: flex; flex-direction: column; border-bottom: 1px solid var(--line-14); }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line-14);
}
.contact-icon {
  width: 48px;
  height: 48px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(110, 150, 230, .25);
  background: rgba(42, 104, 227, .08);
}
.contact-icon img { width: 22px; height: 22px; }
.contact-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.contact-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-value {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-strong);
  overflow-wrap: anywhere;
}
a.contact-value:hover { color: var(--cyan); }

/* ========== Cabeçalho ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(5, 8, 15, 0);
  border-bottom: 1px solid rgba(110, 150, 230, 0);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background-color .3s ease, border-color .3s ease;
}
.site-header.is-scrolled,
body:has(.mobile-menu:popover-open) .site-header {
  background: rgba(5, 8, 15, .86);
  border-bottom-color: var(--line-16);
}

.header-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 42px; width: auto; }

.nav { display: none; align-items: center; gap: 32px; }
.nav a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color .2s ease, border-color .2s ease;
}
.nav a:hover { color: var(--text-strong); }
.nav a[aria-current] { color: var(--text-strong); border-bottom-color: var(--cyan); }

.header-cta { display: none; }

.menu-toggle {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(120, 160, 255, .08);
  border: 1px solid rgba(120, 160, 255, .24);
  border-radius: 2px;
  cursor: pointer;
}
.menu-toggle img { width: 24px; height: 24px; }
.menu-toggle .icon-close,
body:has(.mobile-menu:popover-open) .menu-toggle .icon-open { display: none; }
body:has(.mobile-menu:popover-open) .menu-toggle .icon-close { display: block; }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 16px var(--gutter) 32px;
  border: 0;
  background: var(--bg);
  color: var(--text-strong);
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  overflow-y: auto;
}
.mobile-menu:popover-open { display: flex; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-14);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  color: var(--text-strong);
}
.mobile-menu nav a span { font-family: var(--font-mono); font-size: 12px; color: var(--cyan); }
.mobile-menu .actions { flex-direction: column; }

@media (min-width: 1100px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-toggle,
  .mobile-menu:popover-open { display: none; }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: max(720px, 100vh);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-top: 140px;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  opacity: .6;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, #05080F 0%, rgba(5, 8, 15, 0) 42%),
    linear-gradient(180deg, rgba(5, 8, 15, .85) 0%, rgba(5, 8, 15, 0) 24%),
    linear-gradient(90deg, #05080F 0%, rgba(5, 8, 15, .9) 30%, rgba(5, 8, 15, .45) 62%, rgba(5, 8, 15, .3) 100%);
}
.hero .grid-bg { --grid-mask: radial-gradient(ellipse 60% 70% at 72% 45%, #000 0%, transparent 75%); }

.hero-ring {
  position: absolute;
  top: 46%;
  right: max(-12vw, -180px);
  width: min(820px, 86vw);
  aspect-ratio: 388 / 406;
  transform: translateY(-50%);
  opacity: .3;
}
.hero-ring img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-ring .hero-ring-glow {
  inset: auto;
  left: -12%;
  top: -12%;
  width: 124%;
  height: 124%;
  max-width: none;
  animation: pi8-breathe 7s ease-in-out infinite;
}
@media (min-width: 760px) { .hero-ring { opacity: .6; } }
@media (min-width: 1100px) { .hero-ring { opacity: .95; } }

.hero-content {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: clamp(48px, 7vw, 88px);
}
.hero-text { flex: 1 1 520px; max-width: 800px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(42px, 6.4vw, 96px);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--text-title);
  text-wrap: balance;
}
.hero-lead {
  max-width: 600px;
  margin-top: 28px;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--text-photo);
  text-wrap: pretty;
}
.hero .actions { margin-top: 40px; }
.hero .btn-primary img { width: 20px; height: 20px; }

.stat {
  flex: 0 0 auto;
  padding: 26px 30px;
  background: rgba(5, 8, 15, .5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.stat-number {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 300;
  font-size: clamp(64px, 7vw, 104px);
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--text-title);
}
.stat-number span { color: var(--cyan); }
.stat-caption {
  max-width: 230px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
}

/* ========== Faixa de serviços ========== */
.marquee {
  overflow: hidden;
  padding: 20px 0;
  background: var(--bg-band);
  border-block: 1px solid var(--line-16);
  font-family: var(--font-display);
  font-stretch: 112%;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-chip);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: pi8-marquee 50s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  white-space: nowrap;
}
.marquee-track span::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  transform: rotate(45deg);
}

/* ========== Serviços ========== */
.services { display: flex; flex-wrap: wrap; gap: 20px; }

.card {
  --card-shade: linear-gradient(0deg, #05080F 14%, rgba(5, 8, 15, .72) 52%, rgba(5, 8, 15, .15) 100%);
  position: relative;
  isolation: isolate;
  flex: 1 1 300px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  overflow: hidden;
  background: var(--card-gradient);
  border: 1px solid var(--line-18);
  border-radius: 2px;
  color: var(--text-strong);
  transition: transform .45s var(--ease-out), border-color .3s ease, box-shadow .3s ease;
}
.card:hover,
.card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(92, 200, 255, .55);
  box-shadow: 0 30px 60px -30px rgba(42, 104, 227, .6);
  color: var(--text-strong);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--card-shade);
}
.card-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: var(--photo-opacity, .55);
}
.card--featured {
  --card-shade: linear-gradient(0deg, #05080F 12%, rgba(5, 8, 15, .7) 48%, rgba(5, 8, 15, .15) 100%);
  flex: 2 1 560px;
  min-height: 540px;
}
.card--tall { min-height: 540px; }
.card--dim { --photo-opacity: .5; }

.card-top,
.card-body { position: relative; z-index: 1; }
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px var(--card-pad) 0;
}
.card-top > img { width: 22px; height: 22px; flex: none; }
.card-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.card-tag img { width: 24px; height: 24px; flex: none; }
.card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 var(--card-pad) var(--card-pad);
}
.card-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.1vw, 30px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--text-title);
}
.card-body p { font-size: 16px; line-height: 1.6; color: var(--text-photo); text-wrap: pretty; }
.card--featured h3 { font-size: clamp(28px, 2.8vw, 42px); line-height: 1.05; }
.card--featured .card-body p { max-width: 520px; font-size: 16.5px; }

/* ========== Sobre ========== */
.about {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: clamp(48px, 6vw, 96px);
}
.about-text { flex: 1 1 480px; max-width: 640px; }
.about-text .lead { margin-top: 18px; }
.about-text .title + .lead { margin-top: 28px; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 36px 40px;
  margin-top: 52px;
}
.feature { display: flex; flex-direction: column; gap: 10px; }
.feature img { width: 30px; height: 30px; }
.feature h3 {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  color: var(--text-strong);
}
.feature p { font-size: 15.5px; line-height: 1.6; color: var(--text); }

.about-photo {
  --corner: 28px;
  --corner-offset: -10px;
  flex: 1 1 400px;
  min-height: 520px;
}
.about-photo-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0A1A3D;
  border: 1px solid var(--line-18);
}
.about-photo-frame picture { height: 100%; }
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.about-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 15, 0) 50%, rgba(5, 8, 15, .8) 100%);
}
.about-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-chip);
}

.timeline { margin-top: clamp(80px, 10vw, 128px); }
.timeline .section-label { margin-bottom: 36px; }
.timeline ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  row-gap: 40px;
}
.timeline li {
  position: relative;
  padding: 30px 28px 0 0;
  border-top: 1px solid var(--line-28);
}
.timeline li::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  background: var(--bg-alt);
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}
.timeline h3 {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 500;
  font-size: 22px;
  color: var(--text-strong);
}
.timeline p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--text); }
.timeline .is-current { border-top-color: var(--cyan); }
.timeline .is-current::before { background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.timeline .is-current h3 { color: var(--cyan); }

/* ========== Processo ========== */
.process { overflow: hidden; }
.process .grid-bg {
  --grid-line: rgba(110, 150, 230, .06);
  --grid-mask: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 80%);
}
.process .container { position: relative; }
.process .section-head { margin-bottom: clamp(56px, 7vw, 96px); }
.process .section-head-main { max-width: 760px; }
.process .section-intro { max-width: 400px; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 48px 28px;
}
.step { position: relative; display: flex; flex-direction: column; }
.step::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -4px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--bg);
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}
.step:last-child::before { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.step-line {
  position: relative;
  height: 2px;
  overflow: hidden;
  background: var(--line-22);
}
.step-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -25%;
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: pi8-travel 6s linear var(--delay, 0s) infinite both;
}
.step:nth-child(2) { --delay: 1.2s; }
.step:nth-child(3) { --delay: 2.4s; }
.step:nth-child(4) { --delay: 3.6s; }
.step:nth-child(5) { --delay: 4.8s; }
.step .step-number {
  margin-top: 30px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 300;
  font-size: 56px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--cyan);
}
.step h3 {
  margin: 22px 0 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.2;
  color: var(--text-strong);
}
.step p { font-size: 15.5px; line-height: 1.6; color: var(--text); text-wrap: pretty; }

/* ========== FAQ ========== */
.faq { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); }
.faq-intro { flex: 1 1 320px; max-width: 440px; }
.faq-intro .lead { margin-top: 24px; }
.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
}
.link-cta img { width: 22px; height: 22px; }

.faq-list { flex: 2 1 520px; border-bottom: 1px solid var(--line-18); }
.faq-list details { border-top: 1px solid var(--line-18); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-strong);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary img { width: 24px; height: 24px; flex: none; transition: transform .25s ease; }
.faq-list details[open] summary img { transform: rotate(45deg); }
.faq-list details p {
  max-width: 660px;
  margin-bottom: 28px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
}

/* ========== Clientes ========== */
.clients { padding-bottom: var(--section-space); }
#clientes { scroll-margin-top: calc(var(--header-h) + 40px); }
.clients-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px clamp(40px, 6vw, 96px);
}
.clients-intro { flex: 1 1 280px; max-width: 380px; }
.clients-intro .section-label { margin-bottom: 20px; }
.clients-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--text-title);
  text-wrap: balance;
}
.clients-logos { --corner: 22px; --corner-offset: -1px; flex: 3 1 560px; }
.clients-logos ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line-16);
  border: 1px solid var(--line-16);
}
.clients-logos li {
  flex: 1 1 clamp(calc(25% - 1px), calc((720px - 100%) * 999), calc(50% - 1px));
  height: clamp(104px, 10vw, 128px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background: var(--bg);
}
.clients-logos img { height: auto; opacity: .72; }

/* ========== Contato ========== */
.contact {
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 12% 20%, rgba(42, 104, 227, .2), rgba(42, 104, 227, 0) 60%),
    var(--bg-alt);
}
.contact-ring {
  position: absolute;
  left: -160px;
  bottom: -200px;
  width: 560px;
  height: auto;
  opacity: .1;
}
.contact-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(48px, 6vw, 96px);
}
.contact-info { flex: 1 1 400px; max-width: 540px; }
.contact-info .lead { margin-top: 24px; }
.contact-info .contact-list { margin-top: 44px; }

.form-panel {
  --corner: 22px;
  --corner-offset: -1px;
  --corner-width: 2px;
  flex: 1 1 460px;
  padding: clamp(28px, 3.5vw, 48px);
  background: var(--panel-gradient);
  border: 1px solid rgba(110, 150, 230, .2);
}
.form,
.form-success { display: flex; flex-direction: column; }
.form { gap: 22px; }
.form-success { gap: 20px; }
.form[hidden],
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }

.form-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
  color: var(--text-title);
}
.form-note { margin-top: 6px; font-size: 14px; color: var(--text-muted); }

.field-row { display: flex; flex-wrap: wrap; gap: 20px; }
.field-row .field { flex: 1 1 220px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label:not(.consent) {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
}
.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  background: var(--bg-field);
  border: 1px solid var(--field-border);
  border-radius: 2px;
  color: var(--text-strong);
  font-size: 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 48px;
  cursor: pointer;
  background: var(--bg-field) url("../icons/caret-down.svg") no-repeat right 16px center / 18px 18px;
}
.field select option { background: #0C1424; color: var(--text-strong); }
.field textarea {
  height: auto;
  min-height: 128px;
  padding: 14px 16px;
  line-height: 1.55;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(92, 200, 255, .18);
}
.field :is(input, textarea)[aria-invalid="true"] { border-color: var(--error-border); }
.field-error { font-size: 13px; color: var(--error-text); }
.field-error:empty { display: none; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
}
.consent input {
  width: 18px;
  height: 18px;
  flex: none;
  margin: 2px 0 0;
  accent-color: var(--blue);
  cursor: pointer;
}
.consent a { text-decoration: underline; text-underline-offset: 3px; }

.form .btn { height: 58px; font-size: 16.5px; }
.form-hint {
  margin-top: -8px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}

.form-success > img { width: 44px; height: 44px; }
.form-success p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--text); }
.wa-preview {
  padding: 20px;
  background: var(--bg-field);
  border: 1px solid var(--field-border);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-chip);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.form-success .btn { padding: 0 24px; }
.form-success .btn-primary { flex: 1 1 200px; }
.form-success .btn-secondary { flex: 1 1 160px; }

/* ========== Rodapé ========== */
.site-footer {
  padding: clamp(64px, 8vw, 96px) 0 32px;
  background: var(--bg);
  border-top: 1px solid var(--line-14);
}
.footer-main { display: flex; flex-wrap: wrap; gap: 48px clamp(40px, 6vw, 96px); }
.footer-brand {
  flex: 1 1 280px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.footer-brand > img { height: 48px; width: auto; }
.footer-brand p { font-size: 15px; line-height: 1.65; color: var(--text); }

.social { display: flex; gap: 10px; }
.social > * {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-22);
  transition: border-color .2s ease, background-color .2s ease;
}
.social a:hover { border-color: var(--cyan); background: rgba(92, 200, 255, .08); }
.social img { width: 20px; height: 20px; }

.footer-nav {
  flex: 2 1 520px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 40px 32px;
}
.footer-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-chip);
}
.footer-nav a { display: inline-block; padding: 5px 0; color: var(--text-chip); overflow-wrap: anywhere; }
.footer-nav a:hover { color: var(--cyan); }
.footer-nav li:not(:has(a)) { padding: 5px 0; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 64px;
  padding: 24px 0 72px;
  border-top: 1px solid var(--line-12);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: var(--text); }
.footer-links a:hover { color: var(--cyan); }

.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 45;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 12px 32px -10px rgba(37, 211, 102, .7);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float img { width: 30px; height: 30px; }

/* ========== Páginas internas (política e 404) ========== */
.page-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 8, 15, .86);
  border-bottom: 1px solid var(--line-16);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.back-link:hover { color: var(--text-strong); }
.back-link img { width: 18px; height: 18px; transform: rotate(180deg); }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 128px) 0 clamp(64px, 8vw, 104px);
}
.page-hero .grid-bg {
  --grid-line: rgba(110, 150, 230, .07);
  --grid-mask: radial-gradient(ellipse 55% 80% at 85% 30%, #000 0%, transparent 75%);
}
.page-ring {
  position: absolute;
  top: -140px;
  right: max(-160px, -14vw);
  width: min(560px, 70vw);
  height: auto;
  opacity: .16;
  -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 90%);
  mask-image: linear-gradient(180deg, #000 45%, transparent 90%);
}
.page-hero .container { position: relative; }
.page-hero h1 {
  max-width: 900px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1.02;
  letter-spacing: -.03em;
  color: var(--text-title);
  text-wrap: balance;
}
.page-hero .hero-lead { max-width: 640px; }
.page-date {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.policy {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(40px, 6vw, 96px);
  padding-bottom: var(--section-space);
}
.toc { flex: 1 1 260px; max-width: 320px; top: 116px; }
.toc ol { margin-top: 16px; border-bottom: 1px solid var(--line-14); }
.toc li { border-top: 1px solid var(--line-14); }
.toc a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-chip);
}
.toc a:hover { color: var(--cyan); }
.toc a span { flex: none; font-family: var(--font-mono); font-size: 12px; color: var(--cyan); }
@media (min-width: 1000px) { .toc { position: sticky; } }

.policy-content {
  flex: 3 1 560px;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 5vw, 64px);
}
.policy-content section { scroll-margin-top: 110px; display: flex; flex-direction: column; gap: 16px; }
.policy-number { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; color: var(--cyan); }
.policy-content h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--text-title);
}
.policy-content p,
.policy-content li { font-size: 17px; line-height: 1.7; color: var(--text); text-wrap: pretty; }
.policy-content strong { font-weight: 600; color: var(--text-strong); }
.bullets { display: flex; flex-direction: column; gap: 10px; }
.bullets li { display: flex; gap: 14px; line-height: 1.6; }
.bullets li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 10px;
  background: var(--cyan);
  transform: rotate(45deg);
}
.policy-content .contact-list { margin-top: 8px; }
.policy-content .contact-list li { padding: 16px 0; }
.policy-content .contact-list + p { margin-top: 8px; }

.page-footer {
  padding: 40px 0 32px;
  background: var(--bg);
  border-top: 1px solid var(--line-14);
}
.page-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 32px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
}
.page-footer img { height: 40px; width: auto; }
.page-footer a { color: var(--text); }
.page-footer a:hover { color: var(--cyan); }

.not-found {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-h) - 113px);
  display: flex;
  align-items: center;
  padding-block: clamp(72px, 9vw, 128px);
}
.not-found .grid-bg { --grid-mask: radial-gradient(ellipse 60% 70% at 80% 50%, #000 0%, transparent 75%); }
.not-found .page-ring { top: 50%; transform: translateY(-50%); -webkit-mask-image: none; mask-image: none; }
.not-found .container { position: relative; }
.not-found .hero-lead { max-width: 560px; }
.not-found .actions { margin-top: 40px; }

/* ========== Movimento ========== */
@keyframes pi8-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pi8-breathe { 0%, 100% { opacity: .45; transform: scale(1); } 50% { opacity: .9; transform: scale(1.025); } }
@keyframes pi8-travel {
  0% { left: -25%; opacity: 0; }
  3% { opacity: 1; }
  17% { opacity: 1; }
  20% { left: 100%; opacity: 0; }
  100% { left: 100%; opacity: 0; }
}
@keyframes pi8-blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

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