/* SentinelTI: paleta extraída da logo */
:root {
  --bg: #00020f;
  --bg-2: #050b1a;
  --surface: #0a1428;
  --surface-2: #0e1b33;
  --blue: #1e6bff;
  --cyan: #22d3ee;
  --cyan-soft: #67e3f4;
  --text: #e8eef8;
  --muted: #9fb0c8;
  --line: rgba(159, 176, 200, 0.16);
  --line-strong: rgba(34, 211, 238, 0.45);
  --whatsapp: #25d366;

  --header-h: 64px;
  --container: 1200px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (min-width: 960px) {
  :root {
    --header-h: 72px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--text);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 1.1rem + 4.6vw, 4.5rem);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.85rem, 1.25rem + 2.2vw, 3rem);
}

h3 {
  font-size: 1.1875rem;
  line-height: 1.25;
  letter-spacing: -0.012em;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--cyan);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: var(--r-sm);
  background: var(--cyan);
  color: var(--bg);
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--cyan);
  color: var(--bg);
  box-shadow: 0 10px 30px -12px rgba(34, 211, 238, 0.7);
}

.btn-primary:hover {
  background: var(--cyan-soft);
}

.btn-ghost {
  background: rgba(10, 20, 40, 0.6);
  border-color: rgba(232, 238, 248, 0.32);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--cyan);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

.btn-icon-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-tag {
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 2, 15, 0.14);
  font-size: 0.75rem;
  font-weight: 700;
}

.btn-ghost .btn-tag {
  background: rgba(159, 176, 200, 0.16);
  color: var(--muted);
}

/* Ícones */
.icon {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 14px;
  background: rgba(34, 211, 238, 0.08);
  color: var(--cyan);
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Fotos ilustrativas */
.photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface);
}

.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-caption {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 3;
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 2, 15, 0.8);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
}

/* Cabeçalho */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  margin-right: auto;
  border-radius: 6px;
}

.brand img {
  display: block;
  width: auto;
  height: 34px;
}

.header-cta {
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  box-shadow: none;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul,
.nav-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop ul {
  display: flex;
  gap: 0.25rem;
}

.nav-desktop a {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-desktop a:hover {
  background: var(--surface);
  color: var(--text);
}

.nav-menu summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu summary svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.nav-menu .icon-close,
.nav-menu[open] .icon-open {
  display: none;
}

.nav-menu[open] .icon-close {
  display: block;
}

.nav-menu[open] summary {
  border-color: var(--line-strong);
}

.nav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 0.25rem var(--gutter) 1rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.9);
}

.nav-menu[open] .nav-panel {
  animation: menu-in 0.22s var(--ease);
}

.nav-panel a {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.nav-panel li:last-child a {
  border-bottom: 0;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@media (min-width: 960px) {
  .header-inner {
    gap: 1.25rem;
  }

  .brand img {
    height: 40px;
  }

  .nav-desktop {
    display: block;
  }

  .nav-menu {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  background: radial-gradient(120% 80% at 0% 0%, #071233 0%, var(--bg) 62%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(159, 176, 200, 0.16) 1px, transparent 1.4px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(90% 70% at 30% 40%, #000, transparent 80%);
  mask-image: radial-gradient(90% 70% at 30% 40%, #000, transparent 80%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.glow-a {
  top: -28vmax;
  left: -22vmax;
  width: 64vmax;
  height: 64vmax;
  background: radial-gradient(closest-side, rgba(30, 107, 255, 0.34), transparent);
  animation: drift-a 26s ease-in-out infinite alternate;
}

.glow-b {
  right: -18vmax;
  bottom: -30vmax;
  width: 54vmax;
  height: 54vmax;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.2), transparent);
  animation: drift-b 32s ease-in-out infinite alternate;
}

@keyframes drift-a {
  to {
    transform: translate3d(14vmax, 10vmax, 0) scale(1.08);
  }
}

@keyframes drift-b {
  to {
    transform: translate3d(-16vmax, -8vmax, 0) scale(0.94);
  }
}

.hero-circuit {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-circuit .traces path {
  fill: none;
  stroke: var(--blue);
  stroke-opacity: 0.34;
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.hero-circuit .pads circle {
  fill: var(--bg);
  stroke: var(--cyan);
  stroke-opacity: 0.55;
  stroke-width: 1.5;
}

.hero-circuit .pads .pad-live {
  animation: pad-blink 5s ease-in-out infinite;
}

.hero-circuit .pads .pad-d2 {
  animation-delay: -1.2s;
}

.hero-circuit .pads .pad-d3 {
  animation-delay: -2.6s;
}

.hero-circuit .pads .pad-d4 {
  animation-delay: -3.8s;
}

@keyframes pad-blink {
  0%,
  100% {
    opacity: 0.45;
  }

  50% {
    opacity: 1;
  }
}

.hero-circuit .sig {
  fill: var(--cyan);
  stroke: var(--cyan);
  stroke-opacity: 0.28;
  stroke-width: 7;
  opacity: 0;
  animation-duration: 9s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.hero-circuit .sig-1 { animation-name: sig-1; }
.hero-circuit .sig-2 { animation-name: sig-2; animation-delay: -3s; animation-duration: 7s; }
.hero-circuit .sig-3 { animation-name: sig-3; animation-delay: -5s; animation-duration: 11s; }
.hero-circuit .sig-4 { animation-name: sig-4; animation-delay: -2s; animation-duration: 10s; }
.hero-circuit .sig-5 { animation-name: sig-5; animation-delay: -6s; animation-duration: 8s; }
.hero-circuit .sig-6 { animation-name: sig-6; animation-delay: -1s; animation-duration: 9.5s; }

@keyframes sig-1 {
  0% { opacity: 0; transform: translateX(0); }
  15%, 80% { opacity: 1; }
  100% { opacity: 0; transform: translateX(520px); }
}

@keyframes sig-2 {
  0% { opacity: 0; transform: translateX(0); }
  15%, 80% { opacity: 1; }
  100% { opacity: 0; transform: translateX(260px); }
}

@keyframes sig-3 {
  0% { opacity: 0; transform: translateX(0); }
  15%, 80% { opacity: 1; }
  100% { opacity: 0; transform: translateX(-360px); }
}

@keyframes sig-4 {
  0% { opacity: 0; transform: translateX(0); }
  15%, 80% { opacity: 1; }
  100% { opacity: 0; transform: translateX(380px); }
}

@keyframes sig-5 {
  0% { opacity: 0; transform: translateY(0); }
  15%, 80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(200px); }
}

@keyframes sig-6 {
  0% { opacity: 0; transform: translateX(0); }
  15%, 80% { opacity: 1; }
  100% { opacity: 0; transform: translateX(-260px); }
}

.hero-media {
  position: relative;
  z-index: 0;
  order: 2;
  margin: 0;
  height: clamp(220px, 58vw, 380px);
}

.media-frame {
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 30%, #000 55%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 30%, #000 55%);
}

.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 2, 15, 0) 50%, rgba(0, 2, 15, 0.65)),
    linear-gradient(135deg, rgba(30, 107, 255, 0.22), rgba(0, 2, 15, 0.15));
}

.hero-inner {
  position: relative;
  z-index: 2;
  order: 1;
  padding-top: clamp(2.5rem, 7vh, 6rem);
  padding-bottom: clamp(1.5rem, 5vh, 6rem);
}

.hero-copy {
  max-width: 40rem;
}

.hero-copy > * {
  animation: rise 0.9s var(--ease) backwards;
}

.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.24s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.9rem 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 20, 40, 0.7);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.kicker-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18);
}

.hero h1 {
  max-width: 15ch;
  margin-bottom: 1.25rem;
}

.hero-lead {
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);
}

.hero-points {
  max-width: 32rem;
}

.hero-points li {
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.city-chips li {
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 20, 40, 0.6);
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

@media (min-width: 960px) {
  .hero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    height: auto;
  }

  .media-frame {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 22%, #000 48%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 22%, #000 48%);
  }

  .hero-media .photo-caption {
    right: 1.25rem;
    bottom: 1.25rem;
  }

  .hero-copy {
    max-width: min(40rem, 54%);
  }
}

/* Faixa "Para quem" */
.audience {
  position: relative;
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.audience-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.audience-copy h2 {
  max-width: 20ch;
}

.audience-copy > p {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.audience-list {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr);
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.audience-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem 0.75rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(0, 2, 15, 0.45);
  font-weight: 700;
  line-height: 1.3;
}

.audience-list .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.audience-list .audience-size {
  grid-column: 1 / -1;
  border-color: var(--line-strong);
  background: rgba(34, 211, 238, 0.06);
  font-weight: 500;
}

.audience-size strong {
  color: var(--cyan);
  font-weight: 800;
}

@media (min-width: 560px) {
  .audience-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .audience-list li:not(.audience-size) {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    font-size: 1rem;
  }
}

.audience-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  align-items: start;
}

.photo-portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
}

.photo-offset {
  margin-top: 2.5rem;
}

@media (min-width: 960px) {
  .audience-inner {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(3rem, 6vw, 5.5rem);
  }

  .audience-photos {
    gap: 1.25rem;
  }

  .photo-offset {
    margin-top: 4rem;
  }
}

/* Seções */
.section {
  padding-block: clamp(4rem, 2.8rem + 5vw, 7.5rem);
}

.section-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.125rem;
}

/* Problemas */
.problems-layout {
  display: grid;
  gap: 0.5rem;
}

.problem-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--surface), rgba(10, 20, 40, 0.35));
}

.problem .icon {
  margin-bottom: 1.1rem;
  border-color: rgba(30, 107, 255, 0.4);
  background: rgba(30, 107, 255, 0.12);
  color: #8fb3ff;
}

.problem p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

@media (min-width: 960px) {
  .problems-layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(3rem, 5vw, 5rem);
    align-items: start;
  }

  .problems-layout .section-head {
    position: sticky;
    top: calc(var(--header-h) + 2.5rem);
    margin-bottom: 0;
  }
}

/* Serviços */
.service-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service {
  position: relative;
  overflow: hidden;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: transform 0.35s var(--ease);
}

.service::before,
.service::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.service::before {
  background: radial-gradient(120% 90% at 0% 0%, rgba(34, 211, 238, 0.16), transparent 60%);
}

.service::after {
  border: 1px solid rgba(34, 211, 238, 0.55);
}

.service:hover {
  transform: translateY(-4px);
}

.service:hover::before,
.service:hover::after {
  opacity: 1;
}

.service > * {
  position: relative;
}

.service .icon {
  margin-bottom: 1.1rem;
}

.service p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.service-main {
  background:
    radial-gradient(90% 70% at 100% 100%, rgba(30, 107, 255, 0.22), transparent 70%),
    var(--surface-2);
  border-color: rgba(34, 211, 238, 0.3);
}

.service-main h3 {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem);
}

.service-main p {
  max-width: 30rem;
  font-size: 1.0625rem;
}

.service-trace {
  display: block;
  width: min(100%, 260px);
  height: auto;
  margin-top: 2rem;
  margin-left: auto;
}

.service-trace path {
  fill: none;
  stroke: var(--blue);
  stroke-opacity: 0.6;
  stroke-width: 1.5;
}

.service-trace circle {
  fill: var(--surface-2);
  stroke: var(--cyan);
  stroke-width: 1.5;
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-main {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  }

  .service-main {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    padding: 2.25rem;
  }

  .service-trace {
    margin-top: auto;
    padding-top: 2rem;
  }
}

.service-note {
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

/* Como funciona */
.timeline {
  position: relative;
  display: grid;
  gap: 2.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.timeline::before {
  top: 24px;
  bottom: 24px;
  left: 23px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--blue) 55%, rgba(30, 107, 255, 0.2));
}

.timeline::after {
  top: 24px;
  left: 21px;
  width: 6px;
  height: calc((100% - 48px) * 0.2);
  border-radius: 6px;
  background: linear-gradient(180deg, transparent, #fff 60%, transparent);
  opacity: 0;
  animation: comet-y 6s ease-in-out infinite;
}

@keyframes comet-y {
  0% { opacity: 0; transform: translateY(0); }
  15%, 85% { opacity: 0.85; }
  100% { opacity: 0; transform: translateY(400%); }
}

@keyframes comet-x {
  0% { opacity: 0; transform: translateX(0); }
  15%, 85% { opacity: 0.85; }
  100% { opacity: 0; transform: translateX(400%); }
}

.step {
  position: relative;
  padding-left: 4.5rem;
}

.step-node {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 6px var(--bg), 0 0 24px rgba(34, 211, 238, 0.35);
  color: var(--cyan);
  font-weight: 800;
  font-size: 1.125rem;
}

.step h3 {
  padding-top: 0.6rem;
}

.step p {
  max-width: 30rem;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

@media (min-width: 900px) {
  .timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }

  .timeline::before {
    top: 23px;
    bottom: auto;
    left: 24px;
    right: calc((100% - 6rem) / 4 - 24px);
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--blue) 60%, rgba(30, 107, 255, 0.35));
  }

  .timeline::after {
    top: 21px;
    left: 24px;
    width: calc(15% + 0.3rem);
    height: 6px;
    background: linear-gradient(90deg, transparent, #fff 60%, transparent);
    animation-name: comet-x;
  }

  .step {
    padding-left: 0;
    padding-top: 4.75rem;
  }

  .step-node {
    box-shadow: 0 0 0 8px var(--bg), 0 0 24px rgba(34, 211, 238, 0.35);
  }

  .step h3 {
    padding-top: 0;
  }
}

/* Bloco foto + texto */
.feature-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.feature-media {
  position: relative;
  padding-bottom: 20%;
}

.photo-tall {
  width: 74%;
  aspect-ratio: 4 / 5;
}

.photo-tall .photo-caption {
  top: 0.75rem;
  right: auto;
  bottom: auto;
  left: 0.75rem;
}

.photo-inset {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 54%;
  aspect-ratio: 4 / 3;
  border: 6px solid var(--bg-2);
  border-radius: var(--r-md);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(34, 211, 238, 0.25);
}

.feature-trace {
  position: absolute;
  top: 14%;
  right: 4%;
  z-index: 1;
  width: 24%;
  height: 46%;
  border-top: 2px solid rgba(34, 211, 238, 0.55);
  border-right: 2px solid rgba(34, 211, 238, 0.55);
  border-top-right-radius: 14px;
  pointer-events: none;
}

.feature-trace::before,
.feature-trace::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: var(--bg-2);
}

.feature-trace::before {
  top: -7px;
  left: -6px;
}

.feature-trace::after {
  right: -7px;
  bottom: -6px;
}

.feature-copy h2 {
  max-width: 16ch;
  margin-bottom: 1.25rem;
}

.feature-copy p {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

.checks {
  display: grid;
  gap: 0.85rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 2.25rem;
  font-weight: 600;
  line-height: 1.45;
}

.checks li::before {
  content: "";
  position: absolute;
  top: 0.1rem;
  left: 0;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.1);
}

.checks li::after {
  content: "";
  position: absolute;
  top: 0.42rem;
  left: 0.47rem;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(3rem, 6vw, 6rem);
  }
}

/* Sentinel Control */
.sentinel-control-block {
  max-width: 44rem;
  padding: clamp(1.75rem, 1.25rem + 2vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--surface), rgba(10, 20, 40, 0.35));
}

.sentinel-control-badge {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 20, 40, 0.6);
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.sentinel-control-block h2 {
  margin-bottom: 1.25rem;
}

.sentinel-control-block p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.sentinel-control-block p:last-child {
  margin-bottom: 0;
}

/* Quem atende */
.attend-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}

.attend-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--surface), rgba(10, 20, 40, 0.35));
}

.attend-card .icon {
  margin-bottom: 1.1rem;
}

.attend-role {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.attend-card a {
  font-weight: 600;
  text-decoration: none;
}

.attend-card a:hover {
  text-decoration: underline;
}

.attend-area h3 {
  margin-bottom: 1rem;
  font-size: 1.0625rem;
}

.attend-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Contato */
.contact {
  background: radial-gradient(80% 60% at 50% 100%, rgba(30, 107, 255, 0.16), transparent 70%);
}

.contact-panel {
  position: relative;
  display: grid;
  gap: 2.5rem;
  overflow: hidden;
  padding: clamp(1.75rem, 1rem + 4vw, 4rem);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: var(--r-lg);
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(34, 211, 238, 0.14), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(30, 107, 255, 0.22), transparent 70%),
    var(--surface);
}

.contact-trace {
  position: absolute;
  top: 0;
  right: 0;
  width: min(60%, 400px);
  height: auto;
  pointer-events: none;
}

.contact-trace path {
  fill: none;
  stroke: var(--blue);
  stroke-opacity: 0.45;
  stroke-width: 1.5;
}

.contact-trace circle {
  fill: var(--surface);
  stroke: var(--cyan);
  stroke-opacity: 0.6;
  stroke-width: 1.5;
}

.contact-copy,
.contact-info {
  position: relative;
}

.contact-copy h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.5rem);
}

.contact-copy p {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contact-info {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  align-content: start;
}

.contact-info div {
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(0, 2, 15, 0.55);
  overflow-wrap: anywhere;
}

.contact-info dt {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.contact-info dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
}

@media (min-width: 960px) {
  .contact-panel {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: end;
  }
}

/* Rodapé */
.site-footer {
  padding: 3rem 0 calc(3rem + 72px);
  background: var(--bg);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand img {
  display: block;
  width: auto;
  height: 32px;
  margin-bottom: 1rem;
}

.footer-brand p,
.footer-credits p {
  margin: 0 0 0.4rem;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--text);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--cyan);
  text-decoration: underline;
}

.footer-credits {
  font-size: 0.875rem;
}

@media (min-width: 960px) {
  .site-footer {
    padding-bottom: 3rem;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 4fr);
    gap: 3rem;
  }

  .footer-nav ul {
    display: grid;
    gap: 0.1rem;
  }
}

/* Botão flutuante de WhatsApp */
.whatsapp-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--bg);
  box-shadow: 0 12px 30px -10px rgba(37, 211, 102, 0.6), 0 0 0 1px rgba(0, 2, 15, 0.5);
  animation: fab-in 0.6s var(--ease) 0.8s backwards;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), visibility 0s;
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.whatsapp-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--whatsapp);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: fab-pulse 2.8s ease-out 1.6s 3;
}

.whatsapp-fab:hover {
  transform: scale(1.06);
}

.whatsapp-fab.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), visibility 0s 0.25s;
}

@keyframes fab-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
}

@keyframes fab-pulse {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

@media (min-width: 960px) {
  .whatsapp-fab {
    right: 1.5rem;
    bottom: 1.5rem;
    width: 60px;
    height: 60px;
  }
}

/* Página 404 */
.not-found {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
}

.not-found .hero-copy {
  max-width: 40rem;
}

.not-found .hero-kicker {
  color: var(--cyan);
}

.site-footer-compact {
  padding-bottom: 3rem;
}

/* Revelação ao rolar: o estado oculto só existe com JavaScript ativo */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-circuit .sig,
  .timeline::after {
    display: none;
  }

  .btn:hover,
  .service:hover,
  .whatsapp-fab:hover {
    transform: none;
  }
}

@media print {
  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .site-header,
  .whatsapp-fab,
  .hero-bg,
  .hero-circuit {
    display: none;
  }
}

/* Perguntas frequentes (SITE-006) */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 44rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--surface), rgba(10, 20, 40, 0.35));
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: 0.85rem 1.25rem;
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-answer {
  padding: 0.25rem 1.25rem 1.1rem;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.faq-answer a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (min-width: 640px) {
  .faq-item summary {
    padding: 1rem 1.5rem;
  }

  .faq-answer {
    padding: 0.35rem 1.5rem 1.25rem;
  }
}

/* Aviso de privacidade (SITE-012) */
.legal {
  max-width: 46rem;
}

.legal h2 {
  margin-top: 2.5rem;
  font-size: 1.375rem;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal p {
  color: var(--muted);
  font-size: 1.0625rem;
}

.legal a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
