
:root {
  --color-primary: #e11d2e;
  --color-primary-dark: #991b1b;
  --color-primary-hover: #ff3347;
  --color-focus: #ff5a6d;

  --color-bg: #0a0a0b;
  --color-bg-alt: #121317;
  --color-surface: #0f1115;
  --color-border: #27272a;

  --color-text: #f5f7fa;
  --color-text-muted: #a1a1aa;
  --color-text-soft: #71717a;

  --color-success: #22c55e;
  --color-error: #ef4444;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --space-9: 96px;

  --container: min(100% - 2rem, 1320px);
  --radius-sm: 0.25rem;
  --radius-lg: 0.35rem;
  --radius-pill: 999px;

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Onest", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-hero-display: "Syne", var(--font-display);

  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.26);
  --shadow-card-hover: 0 24px 80px rgba(0, 0, 0, 0.36);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --section-viewport: 100vh;
}

@supports (height: 100dvh) {
  :root {
    --section-viewport: 100dvh;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background:
    radial-gradient(circle at 70% 18%, rgba(225, 29, 46, 0.14), transparent 32%),
    radial-gradient(circle at 18% 78%, rgba(225, 29, 46, 0.08), transparent 28%),
    linear-gradient(180deg, var(--color-bg) 0%, #0f1115 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(225, 29, 46, 0.08), transparent 28%),
    radial-gradient(circle at 86% 62%, rgba(255, 90, 109, 0.045), transparent 34%),
    linear-gradient(90deg, rgba(225, 29, 46, 0.035), transparent 18%, transparent 82%, rgba(225, 29, 46, 0.03));
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82), transparent 92%);
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
}

.eyebrow {
  margin: 0 0 var(--space-4);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.section:not(.hero) .eyebrow {
  width: fit-content;
  color: rgba(254, 226, 226, 0.78);
}


.site-header {
  --header-frame-offset: clamp(1.1rem, 2vh, 1.45rem);
  position: fixed;
  top: var(--header-frame-offset);
  left: 0;
  right: 0;
  z-index: 60;
  pointer-events: none;
}

.site-header>* {
  pointer-events: auto;
}

.navbar {
  --header-width: 68rem;
  --nav-cut: clamp(0.85rem, 1.3vw, 1.15rem);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(13rem, auto) minmax(21rem, 1fr);
  align-items: center;
  gap: clamp(0.75rem, 1.4vw, 1rem);
  width: min(100% - 2rem, var(--header-width));
  min-height: 3.25rem;
  margin-inline: auto;
  padding: 0.4rem clamp(0.58rem, 1.25vw, 0.8rem) 0.4rem clamp(0.65rem, 1.35vw, 0.92rem);
  color: var(--color-text);
  background:
    linear-gradient(135deg, rgba(255, 90, 109, 0.54), rgba(225, 29, 46, 0.12) 28%, rgba(255, 255, 255, 0.1) 58%, rgba(225, 29, 46, 0.38));
  clip-path: polygon(var(--nav-cut) 0,
      calc(100% - var(--nav-cut)) 0,
      100% var(--nav-cut),
      100% calc(100% - 0.55rem),
      calc(100% - 0.55rem) 100%,
      var(--nav-cut) 100%,
      0 calc(100% - var(--nav-cut)),
      0 var(--nav-cut));
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.38),
    0 0 46px rgba(225, 29, 46, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    transform 260ms var(--ease-out),
    box-shadow 260ms ease,
    filter 260ms ease;
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 0%, rgba(225, 29, 46, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(13, 14, 17, 0.84), rgba(7, 7, 10, 0.76));
  clip-path: inherit;
}

.navbar::after {
  content: "";
  position: absolute;
  left: clamp(8.2rem, 20vw, 18rem);
  right: clamp(7rem, 14vw, 11rem);
  bottom: 0.38rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 90, 109, 0.58), transparent);
  opacity: 0.7;
  box-shadow: 0 0 18px rgba(225, 29, 46, 0.28);
  pointer-events: none;
}

.navbar.is-scrolled {
  transform: none;
  box-shadow:
    0 18px 62px rgba(0, 0, 0, 0.48),
    0 0 54px rgba(225, 29, 46, 0.16);
  filter: saturate(1.05);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  color: var(--color-text);
  text-decoration: none;
}

.brand::after {
  content: "";
  width: clamp(1.4rem, 3vw, 2.8rem);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 90, 109, 0.7), transparent);
  box-shadow: 0 0 14px rgba(225, 29, 46, 0.28);
}

.brand__copy {
  display: grid;
  gap: 0;
  line-height: 1.05;
}

.brand__eyebrow {
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  color: rgba(255, 90, 109, 0.5);
}

.brand__text {
  font-family: var(--font-hero-display);
  font-size: clamp(0.76rem, 1vw, 0.94rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav {
  justify-self: center;
}

.nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.1rem, 0.45vw, 0.28rem);
  list-style: none;
  margin: 0;
  padding: 0.18rem;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.025);
  clip-path: polygon(0.7rem 0, 100% 0, 100% calc(100% - 0.7rem), calc(100% - 0.7rem) 100%, 0 100%, 0 0.7rem);
}

.nav-link {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0.34rem;
  min-height: 1.9rem;
  padding: 0.35rem clamp(0.5rem, 0.9vw, 0.72rem);
  overflow: hidden;
  color: rgba(245, 247, 250, 0.66);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    text-shadow 180ms ease;
}

.nav-link::before {
  content: attr(data-code);
  color: rgba(255, 90, 109, 0.58);
  font-size: 0.5rem;
  transition: color 180ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.23rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary-hover), transparent);
  box-shadow: 0 0 16px rgba(225, 29, 46, 0.36);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(225, 29, 46, 0.08);
  text-shadow: 0 0 18px rgba(255, 51, 71, 0.28);
}

.nav-link:hover::before,
.nav-link.active::before {
  color: var(--color-primary-hover);
}

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

.nav-link.active {
  box-shadow: inset 0 0 0 1px rgba(225, 29, 46, 0.22);
}

.nav-toggle {
  position: relative;
  display: none;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid rgba(255, 90, 109, 0.38);
  background: rgba(255, 255, 255, 0.035);
  clip-path: polygon(0.62rem 0, 100% 0, 100% calc(100% - 0.62rem), calc(100% - 0.62rem) 100%, 0 100%, 0 0.62rem);
  color: var(--color-text);
  cursor: pointer;
}

.nav-toggle__bar {
  position: absolute;
  width: 1.12rem;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 12px rgba(225, 29, 46, 0.34);
  transition:
    transform 220ms var(--ease-out),
    background-color 220ms ease;
}

.nav-toggle__bar:nth-child(1) {
  transform: translateY(-0.24rem);
}

.nav-toggle__bar:nth-child(2) {
  transform: translateY(0.24rem);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  transform: rotate(-45deg);
}

@media (max-width: 980px) {
  .navbar {
    grid-template-columns: minmax(12rem, auto) 1fr auto;
  }

  .nav {
    justify-self: end;
  }

  .nav-link {
    padding-inline: 0.62rem;
  }
}

@media (max-width: 767px) {
  .site-header {
    padding-inline: 0.85rem;
  }

  .navbar {
    width: min(100%, 38rem);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
    min-height: 3.9rem;
    padding: 0.52rem 0.65rem;
    overflow: visible;
    clip-path: none;
    background: transparent;
  }

  .navbar::before {
    inset: 0;
    border: 1px solid rgba(255, 90, 109, 0.38);
    box-shadow:
      0 18px 48px rgba(0, 0, 0, 0.42),
      0 0 32px rgba(225, 29, 46, 0.12);
    clip-path: polygon(var(--nav-cut) 0,
        calc(100% - var(--nav-cut)) 0,
        100% var(--nav-cut),
        100% calc(100% - 0.55rem),
        calc(100% - 0.55rem) 100%,
        var(--nav-cut) 100%,
        0 calc(100% - var(--nav-cut)),
        0 var(--nav-cut));
  }

  .navbar::after,
  .brand::after {
    display: none;
  }

  .brand__text {
    font-size: 0.78rem;
  }

  .nav-toggle {
    display: grid;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.62rem);
    left: 0;
    right: 0;
    width: 100%;
    justify-self: stretch;
    z-index: 4;
    padding: 1px;
    background:
      linear-gradient(135deg, rgba(255, 90, 109, 0.44), rgba(255, 255, 255, 0.08), rgba(225, 29, 46, 0.34));
    clip-path: polygon(0.9rem 0,
        100% 0,
        100% calc(100% - 0.9rem),
        calc(100% - 0.9rem) 100%,
        0 100%,
        0 0.9rem);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.65rem);
    transition:
      opacity 220ms ease,
      transform 220ms var(--ease-out),
      visibility 220ms;
  }

  .nav::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    background:
      radial-gradient(circle at 82% 0%, rgba(225, 29, 46, 0.14), transparent 34%),
      rgba(8, 8, 10, 0.96);
    clip-path: inherit;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__list {
    display: grid;
    gap: 0.35rem;
    padding: 0.75rem;
    border: 0;
    background: transparent;
    clip-path: none;
  }

  .nav-link {
    grid-template-columns: 2rem 1fr;
    min-height: 3rem;
    padding: 0.72rem 0.85rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.065);
  }

  .nav-link::after {
    left: 2.8rem;
    right: 0.85rem;
  }

}

section[id] {
  scroll-margin-top: 0;
}


.section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--space-8) 0;
  isolation: isolate;
}

.section:not(.hero)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.section>.container {
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .section {
    padding: var(--space-9) 0;
  }
}

.section--alt {
  background: linear-gradient(180deg, rgba(18, 19, 23, 0.55), rgba(10, 10, 11, 0.2));
  border-block: 1px solid rgba(39, 39, 42, 0.65);
}

.section__head {
  position: relative;
  max-width: 52rem;
  margin-bottom: var(--space-7);
}

.section:not(.hero) .section__head::after {
  content: "";
  width: min(18rem, 44vw);
  height: 1px;
  display: block;
  margin-top: 0.9rem;
  background: linear-gradient(90deg, rgba(225, 29, 46, 0.78), rgba(255, 255, 255, 0.1), transparent);
  box-shadow: 0 0 18px rgba(225, 29, 46, 0.18);
}

.section__title {
  margin: 0 0 clamp(1.35rem, 2.7vw, 2.1rem);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.012em;
}


.hero.section {
  padding-block: 0;
}

.hero {
  position: relative;
  --hero-robot-focus-x: 92%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background: #050509;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: 28px;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0%, rgba(225, 29, 46, 0.65) 18%, rgba(255, 255, 255, 0.18) 50%, rgba(225, 29, 46, 0.42) 82%, transparent 100%) center bottom / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(255, 90, 109, 0.8), transparent) -24% bottom / 18% 1px no-repeat,
    radial-gradient(ellipse at center bottom, rgba(225, 29, 46, 0.18), transparent 62%) center bottom / 100% 28px no-repeat;
  animation: heroExitScan 6.5s ease-in-out infinite;
}

@keyframes heroExitScan {

  0%,
  22% {
    background-position: center bottom, -24% bottom, center bottom;
  }

  70%,
  100% {
    background-position: center bottom, 124% bottom, center bottom;
  }
}


.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 82%, rgba(225, 29, 46, 0.12), transparent 34%),
    radial-gradient(circle at 82% 22%, rgba(225, 29, 46, 0.07), transparent 30%),
    radial-gradient(circle at 52% 100%, rgba(30, 58, 95, 0.12), transparent 42%),
    linear-gradient(to right, #050509 20%, transparent 80%),
    url('../imgs/robo-dormindo-v2.jpg') no-repeat var(--hero-robot-focus-x) center / cover,
    linear-gradient(180deg, #050509 0%, #0a0a0b 58%, #0f1115 100%);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  object-position: var(--hero-robot-focus-x) center;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
  z-index: 1;
}


.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #050509 28%, rgba(5, 5, 9, 0.35) 62%, transparent 80%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
  pointer-events: none;
}


.hero-video.is-playing,
.hero-video-overlay.is-playing {
  opacity: 1;
}


.hero-robot-hover {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
  cursor: default;
}

.hero-robot-scan {
  position: absolute;
  top: 18%;
  right: 6%;
  bottom: 14%;
  width: min(28rem, 38vw);
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  overflow: hidden;
  transition: opacity 360ms ease;
}

.hero-robot-scan::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -14%;
  width: 1px;
  background: linear-gradient(180deg,
      transparent 0%,
      rgba(255, 90, 109, 0.2) 18%,
      rgba(255, 90, 109, 0.74) 50%,
      rgba(255, 90, 109, 0.2) 82%,
      transparent 100%);
  box-shadow:
    0 0 12px rgba(255, 90, 109, 0.58),
    0 0 34px rgba(225, 29, 46, 0.34);
  animation: heroRobotScan 5.6s ease-in-out infinite;
}

.hero-robot-scan::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -26%;
  width: 16%;
  background: linear-gradient(90deg, transparent, rgba(225, 29, 46, 0.08), transparent);
  animation: heroRobotScanGlow 5.6s ease-in-out infinite;
}

.hero-robot-scan.is-hidden {
  opacity: 0;
}

@keyframes heroRobotScan {

  0%,
  18% {
    transform: translateX(0);
    opacity: 0;
  }

  30%,
  68% {
    opacity: 1;
  }

  82%,
  100% {
    transform: translateX(min(32rem, 44vw));
    opacity: 0;
  }
}

@keyframes heroRobotScanGlow {

  0%,
  18% {
    transform: translateX(0);
    opacity: 0;
  }

  34%,
  62% {
    opacity: 1;
  }

  82%,
  100% {
    transform: translateX(min(32rem, 44vw));
    opacity: 0;
  }
}


@media (max-width: 767px) {
  .hero {
    --hero-robot-focus-x: 92%;
  }

  .hero-robot-hover {
    display: none;
  }

  .hero-robot-scan {
    display: none;
  }

  .hero-video {
    opacity: 1;
  }

  .hero-video-overlay {
    opacity: 1;
    background:
      linear-gradient(180deg, rgba(5, 5, 9, 0.72) 0%, rgba(5, 5, 9, 0.54) 42%, rgba(5, 5, 9, 0.76) 100%),
      linear-gradient(to right, rgba(5, 5, 9, 0.9) 0%, rgba(5, 5, 9, 0.64) 58%, rgba(5, 5, 9, 0.36) 100%);
  }
}

@media (max-width: 479px) {
  .hero {
    --hero-robot-focus-x: 93%;
  }
}


.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.8) 52%,
      rgba(0, 0, 0, 0.18) 100%);
}


.hero-bg::after {
  content: "";
  position: absolute;
  width: min(70vw, 900px);
  height: min(70vw, 900px);
  left: -18%;
  bottom: -38%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(225, 29, 46, 0.16), transparent 62%);
  filter: blur(8px);
  opacity: 0.9;
}


.hero__inner--v2 {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(7rem, 13vh, 9rem);
  padding-bottom: clamp(3rem, 8vh, 6rem);
  text-align: left;
}

.hero__layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 52rem) minmax(12rem, 1fr);
  align-items: end;
  column-gap: clamp(2rem, 6vw, 6rem);
}

.hero__cluster {
  width: 100%;
  max-width: 52rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(var(--space-5), 3vh, var(--space-7));
}

.hero__main {
  width: 100%;
  max-width: 52rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__slug {
  margin: 0 0 var(--space-3);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: rgba(161, 161, 170, 0.85);
}

.hero__display {
  margin: 0 0 var(--space-4);
  font-family: var(--font-hero-display);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.hero__display-line {
  display: block;
}

.hero__display-line--solid {
  font-size: clamp(3.25rem, 11.5vw, 7.25rem);
  color: var(--color-text);
  text-shadow: 0 0 80px rgba(0, 0, 0, 0.35);
}

.hero__display-line--outline {
  font-size: clamp(3.25rem, 11.5vw, 7.25rem);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(225, 29, 46, 0.42);
  filter: drop-shadow(0 0 32px rgba(225, 29, 46, 0.14));
}

.hero__kicker {
  margin: 0 0 var(--space-3);
  font-size: clamp(0.8125rem, 1.5vw, 0.9375rem);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.hero__kicker-sep {
  margin-inline: 0.35rem;
  color: rgba(225, 29, 46, 0.45);
}

.hero__lead--v2 {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(0.95rem, 1.65vw, 1.05rem);
  line-height: 1.65;
  color: var(--color-text-muted);
  text-wrap: balance;
}

.hero__foot {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(var(--space-3), 1.75vh, var(--space-5));
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero__pill {
  padding: 0.28rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(161, 161, 170, 0.95);
  border: 1px solid rgba(39, 39, 42, 0.9);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
}

.hero__pill--accent {
  border-color: rgba(225, 29, 46, 0.35);
  color: rgba(254, 226, 226, 0.92);
}


.hero__hud {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(225, 29, 46, 0.35);
  pointer-events: none;
}

.hero__hud--tr {
  top: clamp(6.75rem, 15vh, 9rem);
  right: max(var(--space-4), calc((100% - 1320px) / 2 + var(--space-4)));
}

.hero__hud-ring {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(225, 29, 46, 0.22);
  border-top-color: rgba(225, 29, 46, 0.55);
  opacity: 0.65;
}

.hero__hud-label {
  color: rgba(161, 161, 170, 0.85);
  letter-spacing: 0.18em;
}

.hero__hud-coords {
  color: rgba(113, 113, 122, 0.9);
  font-size: 0.58rem;
}

.hero__scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1.35rem, 3.2vh, 2.15rem);
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.42rem;
  color: rgba(245, 247, 250, 0.5);
  text-decoration: none;
  transform: translateX(-50%);
  transition: color 180ms ease, opacity 180ms ease;
}

.hero__scroll-cue:hover {
  color: rgba(245, 247, 250, 0.82);
}

.hero__scroll-line {
  position: relative;
  display: block;
  width: 1px;
  height: 2.45rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 90, 109, 0), rgba(255, 90, 109, 0.86));
  animation: heroScrollCue 1.8s var(--ease-out) infinite;
}

.hero__scroll-arrow {
  width: 0.52rem;
  height: 0.52rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  animation: heroScrollArrow 1.8s var(--ease-out) infinite;
}

@keyframes heroScrollArrow {
  0%,
  100% {
    opacity: 0.36;
    transform: translateY(-0.08rem) rotate(45deg);
  }

  50% {
    opacity: 0.9;
    transform: translateY(0.16rem) rotate(45deg);
  }
}

@keyframes heroScrollCue {
  0% {
    transform: translateY(-110%);
    opacity: 0;
  }

  28%,
  72% {
    opacity: 1;
  }

  100% {
    transform: translateY(230%);
    opacity: 0;
  }
}

@media (max-width: 767px) {
  .hero__inner--v2 {
    padding-top: clamp(6rem, 12vh, 7rem);
    padding-bottom: var(--space-7);
  }

  .hero__layout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-6);
  }

  .hero__cluster {
    max-width: 100%;
  }

  .hero__hud--tr {
    right: var(--space-4);
    top: clamp(6rem, 14vh, 7.5rem);
  }

  .hero__hud-ring {
    width: 36px;
    height: 36px;
  }

  .hero__scroll-cue {
    left: 50%;
    bottom: 1rem;
    opacity: 0.72;
  }

  .hero__scroll-line {
    height: 2.25rem;
  }

  .hero__display-line--solid,
  .hero__display-line--outline {
    font-size: clamp(2.6rem, 14vw, 4.25rem);
    letter-spacing: -0.045em;
  }

}

@media (max-width: 479px) {

  .hero__display-line--solid,
  .hero__display-line--outline {
    font-size: clamp(2.35rem, 12.5vw, 3.35rem);
  }

  .hero__cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta-row .btn {
    width: 100%;
    justify-content: center;
  }
}

.contato {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 24%, rgba(225, 29, 46, 0.18), transparent 28rem),
    radial-gradient(circle at 14% 76%, rgba(120, 14, 22, 0.2), transparent 26rem),
    linear-gradient(180deg, #08090c 0%, #0d0e12 52%, #07080a 100%);
}

.contato::before,
.contato::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.contato::before {
  inset: 0;
  background:
    linear-gradient(105deg, transparent 0 18%, rgba(225, 29, 46, 0.08) 18.1%, transparent 18.7% 72%, rgba(255, 255, 255, 0.045) 72.1%, transparent 72.4%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 22%, transparent 80%, rgba(225, 29, 46, 0.08));
  opacity: 0.72;
}

.contato::after {
  right: max(1rem, calc((100% - 1320px) / 2));
  top: 15%;
  width: min(34vw, 28rem);
  height: min(34vw, 28rem);
  border: 1px solid rgba(225, 29, 46, 0.16);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 29, 46, 0.18), transparent 62%);
  filter: blur(0.2px);
  opacity: 0.48;
}

.contact-cyber__inner {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
  min-height: min(760px, 86vh);
}

@media (min-width: 1024px) {
  .contact-cyber__inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(28rem, 1.08fr);
  }
}

.contact-cyber__content {
  position: relative;
  max-width: 35rem;
}

.contact-cyber__content::before {
  display: none;
}

.contact-cyber__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 var(--space-5);
  color: rgba(255, 128, 139, 0.92);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-cyber__eyebrow::before {
  content: "";
  width: 2.75rem;
  height: 1px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  box-shadow: 0 0 16px rgba(225, 29, 46, 0.42);
}

.contact-cyber__title {
  margin: 0;
  max-width: 30rem;
  font-family: var(--font-hero-display);
  font-size: clamp(2.05rem, 3.65vw, 4rem);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--color-text);
  text-wrap: balance;
  text-shadow: none;
}

.contact-cyber__title::selection {
  background: rgba(225, 29, 46, 0.7);
  color: #fff;
}

.contact-cyber__status {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: clamp(1.5rem, 3vw, 2.2rem);
}

.contact-cyber__status span {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(225, 29, 46, 0.22);
  background: rgba(225, 29, 46, 0.055);
  color: rgba(254, 226, 226, 0.82);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  clip-path: polygon(0.55rem 0, 100% 0, 100% calc(100% - 0.55rem), calc(100% - 0.55rem) 100%, 0 100%, 0 0.55rem);
}

.contact-cyber__socials {
  display: grid;
  gap: var(--space-3);
  max-width: 31rem;
  margin: clamp(2rem, 5vw, 3.2rem) 0 0;
  padding: 0;
  list-style: none;
}

.contact-cyber__social {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: var(--space-3);
  align-items: center;
  min-height: 4.3rem;
  padding: 0.72rem 1rem 0.72rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(90deg, rgba(225, 29, 46, 0.1), transparent 48%),
    rgba(255, 255, 255, 0.025);
  color: var(--color-text);
  text-decoration: none;
  overflow: hidden;
  clip-path: polygon(0.8rem 0, 100% 0, 100% calc(100% - 0.8rem), calc(100% - 0.8rem) 100%, 0 100%, 0 0.8rem);
  transition: transform 220ms var(--ease-out), border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.contact-cyber__social::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 71, 88, 0.16), transparent);
  transform: translateX(-115%);
  transition: transform 520ms var(--ease-out);
}

.contact-cyber__social:hover {
  transform: translateX(6px);
  border-color: rgba(225, 29, 46, 0.48);
  background:
    linear-gradient(90deg, rgba(225, 29, 46, 0.18), transparent 58%),
    rgba(255, 255, 255, 0.038);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28), 0 0 28px rgba(225, 29, 46, 0.12);
}

.contact-cyber__social:hover::before {
  transform: translateX(115%);
}

.contact-cyber__social--email {
  --card-cut: 0.82rem;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  min-height: 5rem;
  padding: 0.9rem;
  border: 0;
  background:
    linear-gradient(135deg, rgba(225, 29, 46, 0.95), rgba(225, 29, 46, 0.26) 48%, rgba(225, 29, 46, 0.72));
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(225, 29, 46, 0.08);
  clip-path: polygon(var(--card-cut) 0,
      100% 0,
      100% calc(100% - var(--card-cut)),
      calc(100% - var(--card-cut)) 100%,
      0 100%,
      0 var(--card-cut));
}

.contact-cyber__social--email::before {
  inset: 1px;
  background:
    radial-gradient(circle at 14% 18%, rgba(225, 29, 46, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(16, 5, 7, 0.78), rgba(6, 7, 10, 0.9));
  transform: none;
  transition: opacity 220ms ease;
  clip-path: polygon(calc(var(--card-cut) - 1px) 0,
      100% 0,
      100% calc(100% - var(--card-cut) + 1px),
      calc(100% - var(--card-cut) + 1px) 100%,
      0 100%,
      0 calc(var(--card-cut) - 1px));
}

.contact-cyber__social--email::after {
  content: "";
  position: absolute;
  right: 0;
  top: 1.15rem;
  width: 0.2rem;
  height: 3rem;
  background: rgba(225, 29, 46, 0.86);
  box-shadow: 0 0 16px rgba(225, 29, 46, 0.34);
}

.contact-cyber__social--email:hover {
  transform: translateX(4px);
  background:
    linear-gradient(135deg, rgba(255, 51, 71, 1), rgba(225, 29, 46, 0.34) 48%, rgba(255, 51, 71, 0.8));
  box-shadow:
    0 26px 64px rgba(0, 0, 0, 0.38),
    0 0 38px rgba(225, 29, 46, 0.14);
}

.contact-cyber__social--email:hover::before {
  opacity: 0.92;
  transform: none;
}

.contact-cyber__social--email .contact-cyber__social-icon {
  width: 3.25rem;
  height: 3.25rem;
}

.contact-cyber__social-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(225, 29, 46, 0.42);
  background: rgba(225, 29, 46, 0.12);
  color: var(--color-primary-hover);
  box-shadow: inset 0 0 18px rgba(225, 29, 46, 0.12), 0 0 24px rgba(225, 29, 46, 0.12);
  clip-path: polygon(0.55rem 0, 100% 0, 100% calc(100% - 0.55rem), calc(100% - 0.55rem) 100%, 0 100%, 0 0.55rem);
}

.contact-cyber__social-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-cyber__social strong,
.contact-cyber__social small {
  position: relative;
  z-index: 1;
  display: block;
}

.contact-cyber__social strong {
  font-family: var(--font-display);
  font-size: 0.94rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-cyber__social small {
  margin-top: 0.2rem;
  color: rgba(245, 247, 250, 0.56);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-cyber__form {
  --card-cut: 0.95rem;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  padding: clamp(1.25rem, 3vw, 2.2rem);
  border: 1px solid rgba(225, 29, 46, 0.36);
  background:
    linear-gradient(135deg, rgba(225, 29, 46, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(8, 9, 12, 0.9);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.035) inset,
    0 0 52px rgba(225, 29, 46, 0.12);
  clip-path: polygon(var(--card-cut) 0,
      calc(100% - var(--card-cut)) 0,
      100% var(--card-cut),
      100% calc(100% - var(--card-cut)),
      calc(100% - var(--card-cut)) 100%,
      var(--card-cut) 100%,
      0 calc(100% - var(--card-cut)),
      0 var(--card-cut));
}

.contact-cyber__form::before,
.contact-cyber__form::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.contact-cyber__form::before {
  inset: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.055);
  clip-path: polygon(calc(var(--card-cut) - 1px) 0,
      calc(100% - var(--card-cut) + 1px) 0,
      100% calc(var(--card-cut) - 1px),
      100% calc(100% - var(--card-cut) + 1px),
      calc(100% - var(--card-cut) + 1px) 100%,
      calc(var(--card-cut) - 1px) 100%,
      0 calc(100% - var(--card-cut) + 1px),
      0 calc(var(--card-cut) - 1px));
}

.contact-cyber__form::after {
  right: 1.15rem;
  top: 1.15rem;
  width: clamp(4rem, 12vw, 9rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 51, 71, 0.9));
  box-shadow: 0 0 20px rgba(225, 29, 46, 0.55);
  animation: contactGlow 3.8s ease-in-out infinite;
}

.contact-cyber__form-head,
.contact-cyber__field,
.contact-cyber__submit,
.contact-cyber__feedback {
  position: relative;
  z-index: 1;
}

.contact-cyber__form-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: 0.35rem;
  color: rgba(254, 226, 226, 0.82);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-cyber__pulse {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--color-primary-hover);
  box-shadow: 0 0 18px rgba(255, 51, 71, 0.76);
  animation: contactPulse 1.9s ease-in-out infinite;
}

.contact-cyber__field {
  display: grid;
  gap: var(--space-2);
}

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

.contact-cyber__label {
  font-family: var(--font-mono);
  color: rgba(245, 247, 250, 0.68);
  font-size: 0.74rem;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-cyber__input,
.contact-cyber__textarea {
  width: 100%;
  border: 1px solid rgba(225, 29, 46, 0.24);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(225, 29, 46, 0.11), transparent 2.4rem),
    rgba(4, 5, 8, 0.58);
  color: var(--color-text);
  font: inherit;
  padding: 1rem 1rem 1rem 1.05rem;
  clip-path: polygon(0.62rem 0, 100% 0, 100% calc(100% - 0.62rem), calc(100% - 0.62rem) 100%, 0 100%, 0 0.62rem);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, transform 180ms ease;
}

.contact-cyber__textarea {
  min-height: 9.5rem;
  resize: vertical;
}

.contact-cyber__input::placeholder,
.contact-cyber__textarea::placeholder {
  color: rgba(161, 161, 170, 0.5);
}

.contact-cyber__input:hover,
.contact-cyber__textarea:hover {
  border-color: rgba(225, 29, 46, 0.42);
}

.contact-cyber__input:focus,
.contact-cyber__textarea:focus {
  outline: none;
  border-color: rgba(255, 90, 109, 0.92);
  background:
    linear-gradient(90deg, rgba(225, 29, 46, 0.18), transparent 2.4rem),
    rgba(10, 12, 17, 0.92);
  box-shadow:
    0 0 0 3px rgba(255, 90, 109, 0.14),
    0 0 34px rgba(225, 29, 46, 0.18),
    inset 0 0 18px rgba(225, 29, 46, 0.07);
}

.contact-cyber__submit {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  min-height: 3.7rem;
  margin-top: 0.2rem;
  padding: 0 1.15rem 0 1.35rem;
  border: 1px solid rgba(255, 51, 71, 0.72);
  background:
    linear-gradient(100deg, rgba(225, 29, 46, 0.98), rgba(153, 27, 27, 0.9)),
    var(--color-primary);
  color: #06070a;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0.75rem 0, 100% 0, 100% calc(100% - 0.75rem), calc(100% - 0.75rem) 100%, 0 100%, 0 0.75rem);
  box-shadow: 0 0 28px rgba(225, 29, 46, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 190ms var(--ease-out), box-shadow 190ms ease, color 190ms ease, background 190ms ease;
}

.contact-cyber__submit:hover {
  transform: translateY(-2px);
  color: #fff;
  background:
    linear-gradient(100deg, rgba(255, 51, 71, 0.9), rgba(120, 14, 22, 0.92)),
    var(--color-primary-hover);
  box-shadow: 0 0 42px rgba(225, 29, 46, 0.38), 0 18px 44px rgba(0, 0, 0, 0.28);
}

.contact-cyber__submit:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 4px;
}

.contact-cyber__submit-icon {
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.contact-cyber__feedback {
  grid-column: 1 / -1;
  min-height: 1.3rem;
  margin: 0;
  color: rgba(245, 247, 250, 0.62);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.form__feedback.is-success {
  color: var(--color-success);
}

.form__feedback.is-error {
  color: var(--color-error);
}

@keyframes contactGlow {
  0%,
  100% {
    opacity: 0.45;
    transform: scaleX(0.72);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes contactPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.86);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1023px) {
  .contact-cyber__inner {
    align-items: start;
    min-height: auto;
  }

  .contact-cyber__content {
    max-width: 42rem;
  }

  .contact-cyber__title {
    max-width: 12ch;
  }
}

@media (max-width: 767px) {
  .contato::after {
    top: 5%;
    right: -30%;
    width: 26rem;
    height: 26rem;
  }

  .contact-cyber__content {
    text-align: center;
    margin-inline: auto;
  }

  .contact-cyber__content::before {
    display: none;
  }

  .contact-cyber__status {
    justify-content: center;
  }

  .contact-cyber__title {
    max-width: 10.8ch;
    margin-inline: auto;
    font-size: clamp(2.25rem, 10.6vw, 3.15rem);
  }

  .contact-cyber__socials {
    max-width: 100%;
  }

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

  .contact-cyber__field--full,
  .contact-cyber__form-head,
  .contact-cyber__submit,
  .contact-cyber__feedback {
    grid-column: auto;
  }
}

@media (max-width: 479px) {
  .contact-cyber__social {
    grid-template-columns: 2.65rem minmax(0, 1fr);
    padding: 0.65rem 0.78rem 0.65rem 0.65rem;
  }

  .contact-cyber__social-icon {
    width: 2.65rem;
    height: 2.65rem;
  }

  .contact-cyber__form {
    padding: 1.05rem;
  }

  .contact-cyber__form-head {
    align-items: flex-start;
    font-size: 0.64rem;
  }

  .contact-cyber__submit {
    justify-content: center;
    text-align: center;
  }

  .contact-cyber__submit-icon {
    display: none;
  }
}


.footer {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(2.3rem, 5vw, 4.5rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(225, 29, 46, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(10, 10, 11, 0.12), rgba(7, 7, 10, 0.94));
}

.footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(72rem, calc(100% - 2rem));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 90, 109, 0.72), transparent);
  box-shadow: 0 0 30px rgba(225, 29, 46, 0.34);
  transform: translateX(-50%);
}

.footer__panel {
  --footer-cut: clamp(1rem, 2vw, 1.45rem);
  position: relative;
  isolation: isolate;
  width: var(--container);
  margin-inline: auto;
  padding: clamp(1.15rem, 2.8vw, 2rem);
  background:
    linear-gradient(135deg, rgba(255, 90, 109, 0.5), rgba(255, 255, 255, 0.08) 34%, rgba(225, 29, 46, 0.34));
  clip-path: polygon(var(--footer-cut) 0,
      calc(100% - var(--footer-cut)) 0,
      100% var(--footer-cut),
      100% calc(100% - var(--footer-cut)),
      calc(100% - var(--footer-cut)) 100%,
      var(--footer-cut) 100%,
      0 calc(100% - var(--footer-cut)),
      0 var(--footer-cut));
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.44),
    0 0 74px rgba(225, 29, 46, 0.09);
}

.footer__panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 12%, rgba(225, 29, 46, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(14, 15, 19, 0.94), rgba(7, 7, 10, 0.93));
  clip-path: inherit;
}

.footer__panel::after {
  content: "";
  position: absolute;
  left: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  top: clamp(3.15rem, 5vw, 4.3rem);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 90, 109, 0.62), rgba(255, 90, 109, 0.08), transparent);
  opacity: 0.62;
  pointer-events: none;
}

.footer__corner {
  display: none;
}

.footer__corner--tl {
  top: 0.7rem;
  left: 0.7rem;
  border-top: 1px solid;
  border-left: 1px solid;
}

.footer__corner--tr {
  top: 0.7rem;
  right: 0.7rem;
  border-top: 1px solid;
  border-right: 1px solid;
}

.footer__corner--bl {
  bottom: 0.7rem;
  left: 0.7rem;
  border-bottom: 1px solid;
  border-left: 1px solid;
}

.footer__corner--br {
  right: 0.7rem;
  bottom: 0.7rem;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.footer__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(2.1rem, 4vw, 3.1rem);
  color: rgba(254, 226, 226, 0.72);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer__topline span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
}

.footer__topline span:first-child::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border: 1px solid rgba(255, 90, 109, 0.8);
  background: rgba(225, 29, 46, 0.18);
  box-shadow: 0 0 14px rgba(225, 29, 46, 0.5);
  transform: rotate(45deg);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(9rem, 0.42fr) minmax(14rem, 0.72fr);
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: start;
}

.footer__brand-block {
  max-width: 35rem;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: clamp(1rem, 2vw, 1.35rem);
  color: var(--color-text);
  text-decoration: none;
}

.footer__brand-mark {
  display: inline-grid;
  place-items: center;
  width: 3.4rem;
  height: 2.55rem;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 90, 109, 0.48);
  background: rgba(225, 29, 46, 0.1);
  clip-path: polygon(0.6rem 0, 100% 0, 100% calc(100% - 0.6rem), calc(100% - 0.6rem) 100%, 0 100%, 0 0.6rem);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: inset 0 0 24px rgba(225, 29, 46, 0.08), 0 0 22px rgba(225, 29, 46, 0.12);
}

.footer__brand strong {
  display: block;
  font-family: var(--font-hero-display);
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0;
}

.footer__brand small {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 90, 109, 0.78);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer__desc {
  max-width: 52ch;
  margin: 0;
  color: rgba(235, 235, 240, 0.72);
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1.8;
}

.footer__label {
  margin: 0 0 0.8rem;
  color: rgba(255, 90, 109, 0.78);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer__nav {
  display: grid;
  gap: 0.58rem;
}

.footer__nav a,
.footer__email {
  position: relative;
  width: fit-content;
  color: rgba(245, 247, 250, 0.72);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-decoration: none;
  transition:
    color 180ms ease,
    text-shadow 180ms ease,
    transform 180ms var(--ease-out);
}

.footer__nav a::after,
.footer__email::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.18rem;
  height: 1px;
  background: linear-gradient(90deg, var(--color-primary-hover), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-out);
}

.footer__nav a:hover,
.footer__email:hover {
  color: #fff;
  text-shadow: 0 0 16px rgba(255, 51, 71, 0.26);
  transform: translateX(0.18rem);
}

.footer__nav a:hover::after,
.footer__email:hover::after {
  transform: scaleX(1);
}

.footer__contact {
  min-width: 0;
}

.footer__email {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem;
  margin-top: 1.1rem;
}

.footer__socials a {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 90, 109, 0.28);
  background: rgba(255, 255, 255, 0.03);
  clip-path: polygon(0.58rem 0, 100% 0, 100% calc(100% - 0.58rem), calc(100% - 0.58rem) 100%, 0 100%, 0 0.58rem);
  color: rgba(245, 247, 250, 0.76);
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms var(--ease-out);
}

.footer__socials svg {
  width: 1.05rem;
  height: 1.05rem;
}

.footer__socials a:hover {
  color: #fff;
  background: rgba(225, 29, 46, 0.12);
  border-color: rgba(255, 90, 109, 0.55);
  box-shadow: 0 0 22px rgba(225, 29, 46, 0.18);
  transform: translateY(-2px);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.2rem, 4vw, 3.4rem);
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  color: rgba(245, 247, 250, 0.54);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__copy {
  margin: 0;
}

.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(254, 226, 226, 0.76);
  white-space: nowrap;
}

.footer__status::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--color-primary-hover);
  box-shadow: 0 0 14px rgba(225, 29, 46, 0.72);
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer {
    padding-top: 3.25rem;
  }

  .footer__panel {
    text-align: center;
  }

  .footer__topline {
    flex-direction: column;
    justify-content: center;
    margin-bottom: 2rem;
    text-align: center;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: center;
  }

  .footer__brand,
  .footer__brand-block,
  .footer__desc,
  .footer__nav a,
  .footer__email {
    margin-inline: auto;
  }

  .footer__nav,
  .footer__contact {
    justify-items: center;
  }

  .footer__socials {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__status {
    white-space: normal;
    justify-content: center;
  }
}


.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 58rem) minmax(10rem, 1fr);
  align-items: center;
  column-gap: clamp(2rem, 5vw, 5rem);
  width: 100%;
}

.hero__inner--v2 {
  padding-top: clamp(7rem, 13vh, 9rem);
  padding-bottom: clamp(3.5rem, 8vh, 6rem);
  justify-content: center;
  pointer-events: none;
}

.hero__cluster {
  max-width: 58rem;
  gap: clamp(3rem, 6vh, 4.5rem);
  pointer-events: auto;
}

.hero__main {
  gap: 0;
}

.hero__slug {
  margin-bottom: 0.65rem;
  opacity: 0.75;
}

.hero__display {
  margin-bottom: clamp(2.25rem, 4.8vh, 3.75rem);
}

.hero__display-line--solid,
.hero__display-line--outline {
  font-size: clamp(3.25rem, 9vw, 6.5rem);
}

.hero__kicker {
  margin-bottom: 0.8rem;
  line-height: 1.55;
}

.hero__lead--v2 {
  max-width: 34rem;
  line-height: 1.75;
}

.hero__foot {
  gap: clamp(1.4rem, 3vh, 2rem);
}

.hero__cta-row {
  gap: 0.9rem;
  align-items: center;
}

.hero__hud--tr {
  top: clamp(6.5rem, 13vh, 8.5rem);
  opacity: 0.6;
}

main>.section:not(.hero) {
  min-height: 100vh;
  min-height: 100dvh;
  padding-block: clamp(3.5rem, 7vh, 5.25rem);
}

.section:not(.hero) .section__head,
.contato .section__head {
  display: grid;
  gap: 0.65rem;
}

.section:not(.hero) .section__head {
  max-width: 54rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.75rem);
}

.section:not(.hero) .eyebrow {
  margin: 0;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero__layout {
    display: flex;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero__cluster {
    max-width: 100%;
    gap: var(--space-6);
  }

  .hero__display {
    margin-bottom: var(--space-5);
  }

  .hero__display-line--solid,
  .hero__display-line--outline {
    font-size: clamp(3rem, 8vw, 5rem);
  }
}

@media (max-width: 767px) {
  .hero__inner--v2 {
    padding-top: clamp(6.25rem, 16vh, 7.5rem);
    padding-bottom: clamp(3rem, 8vh, 4.5rem);
    min-height: 100dvh;
  }

  .hero__layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hero__cluster {
    max-width: 100%;
    gap: clamp(2.75rem, 7vh, 3.75rem);
  }

  .hero__slug {
    margin-bottom: 0.7rem;
  }

  .hero__display {
    margin-bottom: clamp(2.1rem, 5.5vh, 2.85rem);
  }

  .hero__display-line--solid,
  .hero__display-line--outline {
    font-size: clamp(2.5rem, 11.5vw, 3.75rem);
    letter-spacing: -0.04em;
  }

  .hero__kicker {
    margin-bottom: 0.9rem;
    line-height: 1.6;
  }

  .hero__lead--v2 {
    max-width: 100%;
    font-size: 0.9375rem;
    line-height: 1.78;
  }

  .hero__foot {
    width: 100%;
    gap: 1.55rem;
  }

  .hero__cta-row {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .hero__cta-row .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero__hud--tr {
    top: clamp(5rem, 12vh, 6.5rem);
    right: var(--space-4);
    opacity: 0.4;
  }

  .hero__hud-ring {
    width: 28px;
    height: 28px;
  }

  .hero__hud-label {
    font-size: 0.48rem;
    letter-spacing: 0.12em;
  }

  .hero__hud-coords {
    font-size: 0.44rem;
  }

  main>.section:not(.hero) {
    padding-block: clamp(3.5rem, 13vw, 5rem);
  }

  .section:not(.hero) .section__head {
    margin-bottom: 2rem;
  }

}

@media (max-width: 479px) {
  .hero__inner--v2 {
    padding-top: clamp(5rem, 20vh, 7rem);
    padding-bottom: clamp(2rem, 6vh, 3.5rem);
  }

  .hero__cluster {
    gap: 2.45rem;
  }

  .hero__display {
    margin-bottom: 1.9rem;
  }

  .hero__display-line--solid,
  .hero__display-line--outline {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

  .hero__hud {
    display: none;
  }

  .hero__lead--v2 {
    line-height: 1.74;
  }

  .hero__foot {
    gap: 1.4rem;
  }

}


.section-frame {
  --frame-inset: clamp(0.45rem, 1.2vw, 0.95rem);
  --frame-color: rgba(225, 29, 46, 0.92);
  --frame-soft: rgba(225, 29, 46, 0.32);
  position: fixed;
  inset: var(--frame-inset);
  z-index: 1000;
  pointer-events: none;
}

.section-frame__line,
.section-frame__chip,
.section-frame__node {
  position: absolute;
  display: block;
  pointer-events: none;
}

.section-frame__line {
  background: var(--frame-color);
  box-shadow: 0 0 16px rgba(225, 29, 46, 0.2);
}

.section-frame__line--top,
.section-frame__line--bottom {
  left: 4.2rem;
  right: 4.2rem;
  height: 1px;
}

.section-frame__line--top {
  top: 0;
  clip-path: polygon(0 0, 36% 0, calc(36% + 0.6rem) 100%, 60% 100%, calc(60% + 0.6rem) 0, 100% 0, 100% 100%, 0 100%);
}

.section-frame__line--bottom {
  bottom: 0;
  clip-path: polygon(0 0, 34% 0, calc(34% + 0.6rem) 100%, 60% 100%, calc(60% + 0.6rem) 0, 100% 0, 100% 100%, 0 100%);
}

.section-frame__line--left,
.section-frame__line--right {
  top: 3rem;
  bottom: 3rem;
  width: 1px;
}

.section-frame__line--left {
  left: 0;
}

.section-frame__line--right {
  right: 0;
}

.section-frame__line--left::before,
.section-frame__line--right::before,
.section-frame__line--left::after,
.section-frame__line--right::after {
  content: "";
  position: absolute;
  left: -3px;
  width: 7px;
  height: 34px;
  background: var(--frame-color);
  box-shadow: 0 0 18px rgba(225, 29, 46, 0.35);
}

.section-frame__line--left::before,
.section-frame__line--right::before {
  top: 38%;
}

.section-frame__line--left::after,
.section-frame__line--right::after {
  bottom: 4%;
  height: 7px;
}

.section-frame__chip {
  width: 70px;
  height: 7px;
  border: 1px solid var(--frame-color);
  background: linear-gradient(90deg, transparent, rgba(225, 29, 46, 0.28), transparent);
}

.section-frame__chip--top-left,
.section-frame__chip--bottom-left {
  left: 0;
}

.section-frame__chip--top-right,
.section-frame__chip--bottom-right {
  right: 0;
}

.section-frame__chip--top-left,
.section-frame__chip--top-right {
  top: 0;
  transform: translateY(-50%);
}

.section-frame__chip--bottom-left,
.section-frame__chip--bottom-right {
  bottom: 0;
  transform: translateY(50%);
}

.section-frame__chip--top-center,
.section-frame__chip--bottom-center {
  left: 50%;
  width: 64px;
  height: 4px;
  border: 0;
  background: var(--frame-color);
  transform: translateX(-50%);
}

.section-frame__chip--top-center {
  top: 0;
}

.section-frame__chip--bottom-center {
  bottom: 0;
}

.section-frame__node {
  width: 8px;
  height: 8px;
  border: 1px solid var(--frame-color);
  border-radius: 50%;
  background: #0a0a0b;
}

.section-frame__node--top-left,
.section-frame__node--top-right {
  top: 1.35rem;
}

.section-frame__node--bottom-left,
.section-frame__node--bottom-right {
  bottom: 1.35rem;
}

.section-frame__node--top-left,
.section-frame__node--bottom-left {
  left: -4px;
}

.section-frame__node--top-right,
.section-frame__node--bottom-right {
  right: -4px;
}


.about-cyber {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-block: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 18%, rgba(225, 29, 46, 0.12), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(225, 29, 46, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(7, 7, 10, 0.8) 0%, rgba(16, 17, 21, 0.95) 100%),
    #07070a;
}

main>.about-cyber {
  min-height: 100vh;
  min-height: 100dvh;
  padding-block: 0;
  scroll-margin-top: 0;
}

.about-cyber::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.82;
  mask-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.8) 52%,
      rgba(0, 0, 0, 0.18) 100%);
}

.about-cyber__inner {
  min-height: 0;
  height: auto;
  display: grid;
  grid-template-columns: minmax(0, min(48rem, 58vw)) minmax(19rem, 27.5rem);
  align-items: center;
  justify-content: center;
  gap: clamp(1.8rem, 4vw, 4.5rem);
  padding-block: clamp(3rem, 6vh, 4.5rem);
}

.about-cyber__content {
  max-width: 48rem;
}

.about-cyber__eyebrow {
  width: fit-content;
  margin: 0 0 var(--space-4);
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(254, 226, 226, 0.78);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-cyber__title {
  margin: 0;
  max-width: 30rem;
  font-family: var(--font-hero-display);
  font-size: clamp(2.05rem, 3.65vw, 4rem);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--color-text);
}

.about-cyber__copy {
  position: relative;
  max-width: 42rem;
  margin-top: clamp(1.65rem, 3.4vh, 2.45rem);
  padding-left: clamp(1rem, 1.6vw, 1.35rem);
  border-left: 1px solid rgba(225, 29, 46, 0.46);
}

.about-cyber__copy p {
  margin: 0;
  color: rgba(226, 232, 240, 0.82);
  font-size: clamp(0.96rem, 1.08vw, 1.04rem);
  line-height: 1.72;
}

.about-cyber__copy p+p {
  margin-top: clamp(1.35rem, 2.6vh, 1.75rem);
}

.about-cyber__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.15vw, 1.85rem);
  margin-top: clamp(2rem, 4.4vh, 3.1rem);
  padding: 0;
}

.about-cyber__stats article {
  --card-cut: 0.85rem;
  min-height: 6.45rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(0.9rem, 1.2vw, 1.08rem);
  border: 0;
  background:
    linear-gradient(135deg, rgba(225, 29, 46, 0.95), rgba(225, 29, 46, 0.32) 42%, rgba(225, 29, 46, 0.72));
  clip-path: polygon(var(--card-cut) 0,
      calc(100% - var(--card-cut)) 0,
      100% var(--card-cut),
      100% calc(100% - var(--card-cut)),
      calc(100% - var(--card-cut)) 100%,
      var(--card-cut) 100%,
      0 calc(100% - var(--card-cut)),
      0 var(--card-cut));
  box-shadow: 0 0 26px rgba(225, 29, 46, 0.08);
}

.about-cyber__stats article::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 12%, rgba(225, 29, 46, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(16, 5, 7, 0.92), rgba(7, 7, 10, 0.9));
  clip-path: polygon(calc(var(--card-cut) - 1px) 0,
      calc(100% - var(--card-cut) + 1px) 0,
      100% calc(var(--card-cut) - 1px),
      100% calc(100% - var(--card-cut) + 1px),
      calc(100% - var(--card-cut) + 1px) 100%,
      calc(var(--card-cut) - 1px) 100%,
      0 calc(100% - var(--card-cut) + 1px),
      0 calc(var(--card-cut) - 1px));
}

.about-cyber__stats article::after {
  content: "";
  position: absolute;
  top: 0.6rem;
  right: 0;
  width: 0.22rem;
  height: 2rem;
  background: rgba(225, 29, 46, 0.92);
  box-shadow: 0 0 16px rgba(225, 29, 46, 0.45);
}

.about-cyber__stats span {
  display: block;
  margin-bottom: 0.55rem;
  color: rgba(225, 29, 46, 0.88);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
}

.about-cyber__stats strong {
  display: block;
  margin-bottom: 0.38rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: #fff;
  text-transform: uppercase;
}

.about-cyber__stats p {
  margin: 0;
  color: rgba(190, 190, 198, 0.9);
  font-size: 0.8rem;
  line-height: 1.5;
}

.about-cyber__panel {
  --card-cut: 0.95rem;
  position: relative;
  width: min(100%, 27.5rem);
  justify-self: center;
  isolation: isolate;
  overflow: hidden;
  padding: 0.9rem;
  border: 0;
  background:
    linear-gradient(135deg, rgba(225, 29, 46, 0.95), rgba(225, 29, 46, 0.3) 44%, rgba(225, 29, 46, 0.7));
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.42),
    0 0 56px rgba(225, 29, 46, 0.1);
  clip-path: polygon(var(--card-cut) 0,
      calc(100% - var(--card-cut)) 0,
      100% var(--card-cut),
      100% calc(100% - var(--card-cut)),
      calc(100% - var(--card-cut)) 100%,
      var(--card-cut) 100%,
      0 calc(100% - var(--card-cut)),
      0 var(--card-cut));
}

.about-cyber__panel>* {
  position: relative;
  z-index: 1;
}

.about-cyber__panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 12%, rgba(225, 29, 46, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(16, 5, 7, 0.84), rgba(7, 7, 10, 0.9));
  clip-path: polygon(calc(var(--card-cut) - 1px) 0,
      calc(100% - var(--card-cut) + 1px) 0,
      100% calc(var(--card-cut) - 1px),
      100% calc(100% - var(--card-cut) + 1px),
      calc(100% - var(--card-cut) + 1px) 100%,
      calc(var(--card-cut) - 1px) 100%,
      0 calc(100% - var(--card-cut) + 1px),
      0 calc(var(--card-cut) - 1px));
}

.about-cyber__panel::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 2.1rem;
  right: 0;
  width: 0.24rem;
  height: 3.15rem;
  background: rgba(225, 29, 46, 0.84);
  box-shadow: 0 0 16px rgba(225, 29, 46, 0.34);
}

.about-cyber__portrait {
  --card-cut: 0.78rem;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  clip-path: polygon(var(--card-cut) 0,
      calc(100% - var(--card-cut)) 0,
      100% var(--card-cut),
      100% calc(100% - var(--card-cut)),
      calc(100% - var(--card-cut)) 100%,
      var(--card-cut) 100%,
      0 calc(100% - var(--card-cut)),
      0 var(--card-cut));
  background: #09090b;
}

.about-cyber__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 7, 10, 0.08) 0%, rgba(7, 7, 10, 0.02) 45%, rgba(7, 7, 10, 0.54) 100%),
    linear-gradient(135deg, rgba(225, 29, 46, 0.1), transparent 42%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 7px);
  opacity: 0.72;
  pointer-events: none;
}

.about-cyber__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.9) contrast(1.08);
}

.about-cyber__terminal {
  --card-cut: 0.55rem;
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.8rem;
  border: 1px solid rgba(225, 29, 46, 0.2);
  background: rgba(0, 0, 0, 0.34);
  color: rgba(254, 226, 226, 0.86);
  font-size: 0.72rem;
  line-height: 1.48;
  letter-spacing: 0.04em;
  clip-path: polygon(var(--card-cut) 0,
      100% 0,
      100% calc(100% - var(--card-cut)),
      calc(100% - var(--card-cut)) 100%,
      0 100%,
      0 var(--card-cut));
}

@media (max-width: 900px) {
  .section-frame {
    --frame-inset: 0.45rem;
  }

  .section-frame__line--top,
  .section-frame__line--bottom {
    left: 2.8rem;
    right: 2.8rem;
  }

  .section-frame__chip {
    width: 48px;
  }

  .about-cyber__inner {
    grid-template-columns: 1fr;
    align-content: center;
    gap: clamp(1rem, 3vh, 1.5rem);
    padding-block: clamp(3rem, 7vh, 4.5rem);
  }

  .about-cyber__panel {
    justify-self: center;
    width: min(100%, 100%);
    display: grid;
    grid-template-columns: minmax(8rem, 13rem) 1fr;
    align-items: stretch;
    gap: 0.65rem;
  }

  .about-cyber__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-cyber__stats article {
    min-height: auto;
  }

  .about-cyber__portrait {
    aspect-ratio: 1 / 1;
  }

  .about-cyber__terminal {
    margin-top: 0;
    align-content: center;
  }
}

@media (max-width: 560px) {

  .about-cyber__inner {
    gap: 0.9rem;
    padding-block: clamp(2.8rem, 8vh, 3.8rem);
  }

  .about-cyber__title {
    font-size: clamp(1.75rem, 10vw, 2.55rem);
    line-height: 0.96;
  }

  .about-cyber__copy {
    padding-left: 1rem;
  }

  .about-cyber__copy p {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .about-cyber__stats {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .about-cyber__stats article {
    --card-cut: 0.7rem;
    padding: 0.55rem 0.7rem;
  }

  .about-cyber__stats span {
    margin-bottom: 0.25rem;
  }

  .about-cyber__stats p {
    font-size: 0.7rem;
    line-height: 1.35;
  }

}


.grid-projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-7);
}

@media (min-width: 768px) {
  .grid-projects {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-projects {
    grid-template-columns: repeat(3, 1fr);
  }
}


.project.card {
  padding: 0;
  display: flex;
  flex-direction: column;
  border: 0;
  background: linear-gradient(135deg, rgba(225, 29, 46, 0.95), rgba(225, 29, 46, 0.32) 42%, rgba(225, 29, 46, 0.72));
  clip-path: polygon(var(--card-cut) 0,
      calc(100% - var(--card-cut)) 0,
      100% var(--card-cut),
      100% calc(100% - var(--card-cut)),
      calc(100% - var(--card-cut)) 100%,
      var(--card-cut) 100%,
      0 calc(100% - var(--card-cut)),
      0 var(--card-cut));
  box-shadow: 0 0 26px rgba(225, 29, 46, 0.08);
}

.project.card::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 12%, rgba(225, 29, 46, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(16, 5, 7, 0.92), rgba(7, 7, 10, 0.9));
  clip-path: polygon(calc(var(--card-cut) - 1px) 0,
      calc(100% - var(--card-cut) + 1px) 0,
      100% calc(var(--card-cut) - 1px),
      100% calc(100% - var(--card-cut) + 1px),
      calc(100% - var(--card-cut) + 1px) 100%,
      calc(var(--card-cut) - 1px) 100%,
      0 calc(100% - var(--card-cut) + 1px),
      0 calc(var(--card-cut) - 1px));
  opacity: 1;
}

.project.card::after {
  display: none;
}

.project__media {
  position: relative;
  width: calc(100% - 2px);
  margin: 1px 1px 0 1px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid rgba(225, 29, 46, 0.15);
  z-index: 0;
  clip-path: polygon(calc(var(--card-cut) - 1px) 0,
      calc(100% - var(--card-cut) + 1px) 0,
      100% calc(var(--card-cut) - 1px),
      100% 100%,
      0 100%,
      0 calc(var(--card-cut) - 1px));
}

.project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}

.project.card:hover .project__media img {
  transform: scale(1.05);
}

.project__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 17, 21, 0.95));
  pointer-events: none;
  z-index: 1;
}

.project__body {
  padding: clamp(1.2rem, 1.5vw, 1.5rem);
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 2;

}

.project__cat {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: rgba(225, 29, 46, 0.88);
  text-transform: uppercase;
  margin-bottom: 0.55rem;
  font-weight: 600;
}

.project__title {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.project__desc {
  margin: 0 0 var(--space-5);
  color: var(--color-text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
  flex: 1;
}

.project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: var(--space-5);
}

.project__tags .hero__pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-soft);
}

.project__links {
  margin-top: auto;
}

.projects-carousel {
  --carousel-gap: clamp(1rem, 2.4vw, 2rem);
  position: relative;
  margin-top: var(--space-7);
}

.projects-carousel__top {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: clamp(1rem, 2vw, 1.35rem);
  color: rgba(254, 226, 226, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.projects-carousel__viewport {
  position: relative;
  min-height: clamp(34rem, 62vw, 42rem);
  overflow: hidden;
  outline: none;
  cursor: grab;
  perspective: 1200px;
}

.projects-carousel__viewport:active {
  cursor: grabbing;
}

.projects-carousel .grid-projects {
  display: flex;
  align-items: center;
  gap: var(--carousel-gap);
  height: 100%;
  min-height: inherit;
  margin-top: 0;
  will-change: transform;
}

.projects-carousel .project.card {
  --card-cut: clamp(0.75rem, 1.4vw, 1rem);
  flex: 0 0 min(72vw, 31rem);
  min-height: clamp(29rem, 48vw, 36rem);
  isolation: isolate;
  overflow: hidden;
  opacity: 0.44;
  transform-origin: 50% 50%;
  filter: saturate(0.72) brightness(0.72);
  pointer-events: none;
  transition:
    filter 260ms ease,
    box-shadow 260ms ease;
}

.projects-carousel .project.card.is-active {
  opacity: 1;
  filter: saturate(1) brightness(1);
  pointer-events: auto;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.48),
    0 0 38px rgba(225, 29, 46, 0.18);
}

.projects-carousel .project.card.is-near {
  opacity: 0.7;
  filter: saturate(0.85) brightness(0.82);
}

.projects-carousel .project.card:not(.is-active) .project__body {
  opacity: 0.74;
}

.projects-carousel .project.card:hover {
  transform: none;
}

.projects-carousel__controls {
  display: grid;
  grid-template-columns: 2.75rem minmax(8rem, 20rem) 2.75rem;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: clamp(1.25rem, 2.6vw, 2rem);
}

.projects-carousel__button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(225, 29, 46, 0.38);
  border-radius: 0;
  color: var(--color-text);
  background: rgba(16, 5, 7, 0.72);
  clip-path: polygon(0.48rem 0,
      calc(100% - 0.48rem) 0,
      100% 0.48rem,
      100% calc(100% - 0.48rem),
      calc(100% - 0.48rem) 100%,
      0.48rem 100%,
      0 calc(100% - 0.48rem),
      0 0.48rem);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.projects-carousel__button:hover:not(:disabled) {
  border-color: rgba(255, 90, 109, 0.78);
  background: rgba(225, 29, 46, 0.16);
  transform: translateY(-2px);
}

.projects-carousel__button:disabled {
  opacity: 0.36;
  cursor: not-allowed;
}

.projects-carousel__button span {
  font-size: 1.15rem;
  line-height: 1;
}

.projects-carousel__rail {
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.projects-carousel__rail span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-focus));
  transform: scaleX(0);
  transform-origin: left center;
}

@media (max-width: 767px) {
  .projects-carousel {
    margin-top: var(--space-6);
  }

  .projects-carousel__top {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .projects-carousel__viewport {
    min-height: 35rem;
    overflow: hidden;
  }

  .projects-carousel .project.card {
    flex-basis: min(82vw, 24rem);
    min-height: 32rem;
  }
}

#projetos {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-block: clamp(0.9rem, 2vh, 1.65rem);
  background:
    radial-gradient(circle at 48% 48%, rgba(225, 29, 46, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(10, 10, 11, 0.2), rgba(10, 10, 11, 0.74));
}

#projetos>.container {
  width: var(--container);
  --projects-rail-offset: clamp(1rem, 1.6vw, 1.35rem);
  --projects-media-col: minmax(0, 1.35fr);
  --projects-copy-col: minmax(22rem, 0.98fr);
  --projects-gap: clamp(1.5rem, 3vw, 3rem);
  display: grid;
  grid-template-columns: var(--projects-media-col) var(--projects-copy-col);
  grid-template-rows: auto auto;
  align-items: start;
  justify-content: start;
  column-gap: var(--projects-gap);
  row-gap: clamp(0.35rem, 0.9vh, 0.65rem);
  padding-left: var(--projects-rail-offset);
}

#projetos .section__head {
  grid-column: 1;
  grid-row: 1;
  max-width: 48rem;
  margin-bottom: 0;
}

#projetos .section__title {
  font-family: var(--font-hero-display);
  margin-bottom: 0;
  font-size: clamp(2.05rem, 3.65vw, 4rem);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

#projetos .projects-carousel {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 0;
}

#projetos .projects-carousel__top {
  display: grid;
  grid-template-columns: var(--projects-media-col) var(--projects-copy-col);
  align-items: center;
  justify-content: start;
  gap: var(--projects-gap);
  width: 100%;
  margin-bottom: clamp(0.45rem, 0.9vh, 0.75rem);
  padding: 0;
}

#projetos .projects-carousel__top span:first-child {
  justify-self: start;
  width: min(100%, 42rem);
  text-align: center;
}

#projetos .projects-carousel__top span:last-child {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-self: start;
  width: min(100%, 34rem);
  text-align: left;
  color: rgba(254, 226, 226, 0.62);
  opacity: 0.64;
}

#projetos .projects-carousel__top span:last-child::before {
  content: "";
  flex: 0 0 clamp(2.8rem, 4vw, 4rem);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 90, 109, 0.72), rgba(255, 90, 109, 0.08));
  box-shadow: 0 0 16px rgba(225, 29, 46, 0.28);
}

#projetos .projects-carousel__viewport {
  min-height: clamp(22rem, 33vw, 28rem);
  cursor: default;
  perspective: none;
}

#projetos .projects-carousel__viewport:active {
  cursor: default;
}

#projetos .projects-carousel .grid-projects {
  position: relative;
  display: block;
  height: clamp(22rem, 33vw, 28rem);
  min-height: 0;
  transform: none !important;
}

#projetos .projects-carousel .project.card {
  --card-cut: clamp(1rem, 2vw, 1.45rem);
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: var(--projects-media-col) var(--projects-copy-col);
  align-items: start;
  justify-content: start;
  gap: var(--projects-gap);
  min-height: 0;
  padding: 0;
  background: transparent;
  clip-path: none;
  box-shadow: none;
  filter: none;
  overflow: visible;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

#projetos .projects-carousel .project.card::before,
#projetos .projects-carousel .project.card::after {
  display: none;
}

#projetos .projects-carousel .project.card.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  box-shadow: none;
}

#projetos .projects-carousel .project.card.is-near {
  opacity: 0;
  filter: none;
}

#projetos .projects-carousel .project__media {
  position: relative;
  align-self: start;
  justify-self: start;
  width: 100%;
  max-width: 780px;
  margin: 0;
  aspect-ratio: 16 / 9;
  border: 0;
  padding: 1px;
  background: rgba(225, 29, 46, 0.58);
  clip-path: none;
  box-shadow:
    0 24px 72px rgba(0, 0, 0, 0.42),
    0 0 22px rgba(225, 29, 46, 0.12),
    0 0 90px rgba(225, 29, 46, 0.1);
  transition:
    transform 420ms var(--ease-out),
    box-shadow 420ms ease,
    filter 420ms ease;
}

#projetos .projects-carousel .project__media::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: -1;
  opacity: 0.9;
  background:
    radial-gradient(circle, rgba(255, 0, 60, 0.18), transparent 68%);
  pointer-events: none;
}

#projetos .projects-carousel .project__media::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 2;
  opacity: 0.36;
  background:
    linear-gradient(180deg, transparent 70%, rgba(7, 7, 10, 0.38)),
    repeating-linear-gradient(0deg, rgba(225, 29, 46, 0.12) 0 1px, transparent 1px 7px);
  pointer-events: none;
  animation: none;
}

#projetos .projects-carousel .project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: #050509;
  filter: saturate(0.95) contrast(1.04) brightness(0.9);
  transform: none !important;
  transition:
    filter 420ms ease,
    scale 420ms var(--ease-out);
}

#projetos .projects-carousel .project__media:hover {
  transform: translateY(-4px);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.48),
    0 0 30px rgba(225, 29, 46, 0.18),
    0 0 120px rgba(225, 29, 46, 0.16);
}

#projetos .projects-carousel .project__media:hover img {
  filter: saturate(1.04) contrast(1.08) brightness(0.96);
  scale: 1.012;
}

#projetos .projects-carousel .project__media > span {
  display: none;
}

#projetos .projects-carousel .project__media + .project__body::before {
  content: "";
  position: absolute;
  top: 0;
  left: -0.9rem;
  width: 1px;
  height: clamp(4rem, 8vw, 6.5rem);
  background: linear-gradient(180deg, rgba(255, 90, 109, 0.78), transparent);
  box-shadow: 0 0 18px rgba(225, 29, 46, 0.34);
  opacity: 0.58;
}

#projetos .projects-carousel .project__media + .project__body::after {
  content: "";
  position: absolute;
  top: 0;
  left: -0.9rem;
  width: min(8rem, 42%);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 90, 109, 0.68), transparent);
  opacity: 0.52;
}

#projetos .projects-carousel .project__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(100%, 34rem);
  max-width: 34rem;
  min-height: clamp(22rem, 33vw, 28rem);
  padding: clamp(0.15rem, 0.9vw, 0.85rem) 0.45rem 0 clamp(0.7rem, 1.1vw, 1rem);
  align-self: start;
}

#projetos .projects-carousel .project__cat {
  display: none;
}

#projetos .projects-carousel .project__title {
  margin: 0 0 clamp(0.9rem, 1.6vw, 1.25rem);
  font-family: var(--font-hero-display);
  width: 100%;
  max-width: 100%;
  font-size: clamp(2.15rem, 2.72vw, 3.25rem);
  line-height: 0.98;
  font-weight: 800;
  color: var(--color-text);
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: keep-all;
  white-space: nowrap;
  text-wrap: nowrap;
  letter-spacing: -0.055em;
  text-shadow: 0 0 34px rgba(225, 29, 46, 0.14);
}

#projetos .projects-carousel .project__title::after {
  content: "PROJECT";
  display: block;
  margin-top: clamp(0.35rem, 0.7vw, 0.55rem);
  font-size: clamp(0.75rem, 1vw, 0.95rem);
  line-height: 1;
  letter-spacing: 0.28em;
  color: var(--color-primary-hover);
  white-space: nowrap;
  text-shadow: 0 0 20px rgba(225, 29, 46, 0.22);
}

#projetos .projects-carousel .project__desc {
  max-width: 32ch;
  margin: 0 0 clamp(1.1rem, 1.9vw, 1.55rem);
  color: rgba(235, 235, 240, 0.84);
  font-family: var(--font-mono);
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  line-height: 1.8;
  text-transform: uppercase;
}

#projetos .projects-carousel .project__tags {
  margin: 0 0 clamp(1.15rem, 1.8vw, 1.45rem);
  gap: 0.55rem;
  transform: translateY(clamp(-1.35rem, -1.45vw, -0.9rem));
}

#projetos .projects-carousel .project__links {
  width: fit-content;
  margin: 0;
  padding-top: 0;
  border-top: 0;
  transform: translateY(clamp(-1.35rem, -1.45vw, -0.9rem));
}

#projetos .projects-carousel .project__links .btn {
  min-width: 12rem;
  box-shadow: 0 0 0 rgba(225, 29, 46, 0);
  transition:
    transform 240ms var(--ease-out),
    box-shadow 240ms ease,
    background-color 240ms ease,
    border-color 240ms ease,
    filter 240ms ease;
}

#projetos .projects-carousel .project__links .btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.32),
    0 0 24px rgba(225, 29, 46, 0.26);
  filter: saturate(1.08);
}

#projetos .projects-carousel__controls {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 2.75rem minmax(12rem, 1fr) 2.75rem;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  width: min(calc((100% - var(--projects-gap)) * 0.58), 860px);
  margin-top: clamp(0.75rem, 1.4vw, 1.15rem);
  margin-inline: 0 auto;
}

.btn,
.contact-cyber__submit {
  --button-cut: 0.75rem;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 3.7rem;
  padding: 0 1.15rem 0 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(255, 51, 71, 0.72);
  border-radius: 0;
  background:
    linear-gradient(100deg, rgba(225, 29, 46, 0.98), rgba(153, 27, 27, 0.9)),
    var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  clip-path: polygon(var(--button-cut) 0, 100% 0, 100% calc(100% - var(--button-cut)), calc(100% - var(--button-cut)) 100%, 0 100%, 0 var(--button-cut));
  box-shadow:
    0 0 28px rgba(225, 29, 46, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition:
    transform 190ms var(--ease-out),
    box-shadow 190ms ease,
    background 190ms ease,
    filter 190ms ease;
}

.btn {
  padding-right: 1.15rem;
}

.btn__mark {
  flex: 0 0 auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.btn:hover,
.contact-cyber__submit:hover {
  transform: translateY(-2px);
  color: #fff;
  background:
    linear-gradient(100deg, rgba(255, 51, 71, 0.9), rgba(120, 14, 22, 0.92)),
    var(--color-primary-hover);
  box-shadow:
    0 0 42px rgba(225, 29, 46, 0.38),
    0 18px 44px rgba(0, 0, 0, 0.28);
  filter: saturate(1.06);
}

.btn:focus-visible,
.contact-cyber__submit:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 4px;
}

.btn-block,
#projetos .projects-carousel .project__links .btn {
  width: 100%;
  min-width: min(100%, 12rem);
}

.hero__cta-row .btn,
#projetos .projects-carousel .project__links .btn {
  justify-content: space-between;
}

.hero__cta-row .btn.btn-primary,
#projetos .projects-carousel .project__links .btn.btn-primary {
  background:
    linear-gradient(100deg, rgba(225, 29, 46, 0.98), rgba(153, 27, 27, 0.9)),
    var(--color-primary);
  color: #fff;
}

.hero__cta-row .btn.btn-primary:hover,
#projetos .projects-carousel .project__links .btn.btn-primary:hover {
  background:
    linear-gradient(100deg, rgba(255, 51, 71, 0.9), rgba(120, 14, 22, 0.92)),
    var(--color-primary-hover);
  color: #fff;
}

.hero__cta-row .btn.btn-secondary,
#projetos .projects-carousel .project__links .btn.btn-secondary {
  border-color: rgba(161, 161, 170, 0.52);
  background:
    linear-gradient(100deg, rgba(91, 91, 102, 0.92), rgba(43, 43, 50, 0.88)),
    rgba(63, 63, 70, 0.92);
  color: #fff;
  box-shadow:
    0 0 24px rgba(161, 161, 170, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hero__cta-row .btn.btn-secondary:hover,
#projetos .projects-carousel .project__links .btn.btn-secondary:hover {
  border-color: rgba(212, 212, 216, 0.7);
  background:
    linear-gradient(100deg, rgba(113, 113, 122, 0.96), rgba(39, 39, 42, 0.92)),
    rgba(82, 82, 91, 0.95);
  color: #fff;
  box-shadow:
    0 0 32px rgba(161, 161, 170, 0.18),
    0 18px 44px rgba(0, 0, 0, 0.28);
}

.contact-cyber__submit-icon {
  color: rgba(255, 255, 255, 0.82);
}

.projects-carousel__button {
  border-color: rgba(255, 51, 71, 0.72);
  color: #fff;
  background:
    linear-gradient(100deg, rgba(225, 29, 46, 0.98), rgba(153, 27, 27, 0.9)),
    var(--color-primary);
  box-shadow:
    0 0 22px rgba(225, 29, 46, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.projects-carousel__button:hover:not(:disabled) {
  border-color: rgba(255, 90, 109, 0.86);
  color: #fff;
  background:
    linear-gradient(100deg, rgba(255, 51, 71, 0.9), rgba(120, 14, 22, 0.92)),
    var(--color-primary-hover);
  box-shadow:
    0 0 34px rgba(225, 29, 46, 0.34),
    0 14px 34px rgba(0, 0, 0, 0.26);
}

@media (max-width: 479px) {
  .btn,
  .contact-cyber__submit {
    width: min(100%, calc(100vw - 3rem));
    max-width: 100%;
    min-width: 0;
    padding-inline: 1rem;
    gap: 0.75rem;
  }

  .btn {
    justify-content: flex-start;
  }

  .btn__mark {
    margin-left: 0.75rem;
  }

  .contact-cyber__submit-icon {
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  #projetos>.container {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-left: 0;
  }

  #projetos .section__head {
    grid-column: 1;
    grid-row: auto;
    max-width: 42rem;
    margin-inline: auto;
    text-align: center;
  }

  #projetos .projects-carousel {
    grid-column: 1;
    grid-row: auto;
  }

  #projetos .section__head::after {
    display: none;
  }

  #projetos .projects-carousel__top {
    position: static;
    grid-template-columns: 1fr;
    gap: 0.3rem;
    margin-bottom: 0.75rem;
    text-align: center;
  }

  #projetos .projects-carousel__top span:first-child,
  #projetos .projects-carousel__top span:last-child {
    justify-self: center;
    width: 100%;
    text-align: center;
  }

  #projetos .projects-carousel__top span:last-child {
    justify-content: center;
    gap: 0;
  }

  #projetos .projects-carousel__top span:last-child {
    font-size: 0;
  }

  #projetos .projects-carousel__top span:last-child::before {
    display: none;
  }

  #projetos .projects-carousel__top span:last-child::after {
    content: "Arraste para navegar";
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-align: center;
  }

  #projetos .projects-carousel__viewport,
  #projetos .projects-carousel .grid-projects {
    height: auto;
    min-height: min(62vh, 35rem);
  }

  #projetos .projects-carousel .project.card {
    grid-template-columns: 1fr;
    align-content: start;
    align-items: start;
    justify-items: center;
    gap: 1.35rem;
    padding-bottom: 1rem;
  }

  #projetos .projects-carousel .project__media {
    justify-self: center;
    width: min(100%, 31rem);
    aspect-ratio: 16 / 9;
  }

  #projetos .projects-carousel .project__body {
    align-items: center;
    width: min(100%, 30rem);
    max-width: 30rem;
    min-height: 0;
    margin-top: 0;
    margin-inline: auto;
    padding: 0;
    text-align: center;
  }

  #projetos .projects-carousel .project__media + .project__body::before,
  #projetos .projects-carousel .project__media + .project__body::after {
    display: none;
  }

  #projetos .projects-carousel .project__cat,
  #projetos .projects-carousel .project__links {
    margin-inline: auto;
  }

  #projetos .projects-carousel .project__title {
    font-size: clamp(2.35rem, 8vw, 4.2rem);
    white-space: normal;
    text-wrap: balance;
  }

  #projetos .projects-carousel .project__desc {
    margin-inline: auto;
  }

  #projetos .projects-carousel .project__tags {
    justify-content: center;
    transform: none;
  }

  #projetos .projects-carousel .project__links {
    transform: none;
  }
}

@media (max-width: 560px) {
  #projetos {
    min-height: var(--section-viewport);
    padding-block: clamp(2.5rem, 8vh, 4rem);
  }

  #projetos .projects-carousel__viewport,
  #projetos .projects-carousel .grid-projects {
    min-height: 34rem;
  }

  #projetos .projects-carousel .project.card {
    gap: 1.1rem;
  }

  #projetos .projects-carousel .project__media {
    width: 100%;
    padding: 0.28rem;
  }

  #projetos .projects-carousel .project__title {
    font-size: clamp(1.35rem, 7vw, 2.15rem);
    line-height: 1.08;
  }

  #projetos .projects-carousel .project__title::after {
    font-size: clamp(1.7rem, 10vw, 2.65rem);
    line-height: 1;
  }

  #projetos .projects-carousel .project__desc {
    max-width: 20rem;
    font-size: 0.78rem;
  }

  #projetos .projects-carousel__controls {
    grid-template-columns: 2.4rem minmax(7rem, 1fr) 2.4rem;
    width: min(100%, 31rem);
    margin-top: 0.85rem;
  }
}

main>.section,
.hero,
.hero__inner--v2,
.about-cyber,
.about-cyber__inner,
#projetos,
.contato {
  min-height: var(--section-viewport);
}

.about-cyber {
  min-height: var(--section-viewport);
}

.about-cyber__inner {
  min-height: 0;
  height: auto;
}

.about-cyber__eyebrow,
#projetos .eyebrow,
.contact-cyber__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 var(--space-5);
  color: rgba(255, 128, 139, 0.92);
  font-family: var(--font-mono);
  font-size: 0;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-cyber__eyebrow::before,
#projetos .eyebrow::before,
.contact-cyber__eyebrow::before {
  content: "";
  width: 2.75rem;
  height: 1px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  box-shadow: 0 0 16px rgba(225, 29, 46, 0.42);
}

.about-cyber__eyebrow::after,
#projetos .eyebrow::after,
.contact-cyber__eyebrow::after {
  font-size: 0.76rem;
  letter-spacing: 0.2em;
}

.about-cyber__eyebrow::after {
  content: "SOBRE";
}

#projetos .eyebrow::after {
  content: "PROJETOS";
}

.contact-cyber__eyebrow::after {
  content: "CONTATO";
}

.navbar {
  background: rgba(10, 10, 12, 0.5);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar::before {
  background: rgba(10, 10, 12, 0.64);
}

.navbar::after,
.brand::after {
  display: none;
}

.navbar.is-scrolled {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  filter: none;
}

.brand__eyebrow {
  color: rgba(255, 90, 109, 0.68);
}

.nav__list {
  border-color: rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.01);
}

.nav-link {
  color: rgba(245, 247, 250, 0.52);
  text-shadow: none;
}

.nav-link::before {
  color: rgba(255, 90, 109, 0.42);
}

.nav-link::after {
  box-shadow: none;
  opacity: 0.7;
}

.nav-link:hover,
.nav-link.active {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.035);
  text-shadow: none;
}

.nav-link.active {
  box-shadow: inset 0 0 0 1px rgba(255, 90, 109, 0.18);
}

.nav-toggle {
  border-color: rgba(255, 90, 109, 0.24);
  background: rgba(255, 255, 255, 0.025);
}

.nav-toggle__bar {
  box-shadow: none;
}

.hero__inner--v2 {
  padding-top: clamp(8rem, 14vh, 10rem);
  padding-bottom: clamp(4rem, 9vh, 6.5rem);
}

.hero__cluster {
  gap: clamp(3.25rem, 6.4vh, 5rem);
}

.hero__display {
  margin-bottom: clamp(2.6rem, 5.6vh, 4rem);
}

.hero__kicker {
  margin-bottom: clamp(1rem, 2.2vh, 1.35rem);
}

.hero__foot {
  padding-top: 0.35rem;
}

#projetos {
  padding-block: clamp(2.4rem, 4.8vh, 3.8rem);
}

#projetos .projects-carousel__viewport {
  min-height: clamp(21rem, 28vw, 24rem);
}

#projetos .projects-carousel .grid-projects {
  height: clamp(21rem, 28vw, 24rem);
}

#projetos .projects-carousel .project__media {
  max-width: 860px;
  aspect-ratio: 1900 / 930;
  padding: 0;
  background: transparent;
}

#projetos .projects-carousel .project__media img {
  object-fit: contain;
  object-position: center top;
}

#projetos .projects-carousel .project__title {
  letter-spacing: -0.035em;
}

#projetos .projects-carousel .project__title::after {
  max-width: 100%;
  font-size: clamp(0.66rem, 0.9vw, 0.84rem);
  letter-spacing: 0.22em;
  white-space: normal;
}

#projetos .projects-carousel .project__body {
  min-height: 0;
}

#projetos .projects-carousel .project__desc {
  flex: 0 0 auto;
  margin-bottom: clamp(0.85rem, 1.45vw, 1.15rem);
}

#projetos .projects-carousel .project__tags {
  margin-bottom: clamp(0.85rem, 1.45vw, 1.1rem);
  transform: none;
}

#projetos .projects-carousel .project__links {
  transform: none;
}

#projetos .projects-carousel__controls {
  margin-top: clamp(0.45rem, 0.9vw, 0.8rem);
}

@media (max-width: 900px) {
  #projetos {
    align-items: flex-start;
    min-height: auto;
    padding-block: clamp(5.5rem, 12vh, 7rem) clamp(3.5rem, 8vh, 5rem);
  }

  #projetos .projects-carousel__viewport,
  #projetos .projects-carousel .grid-projects {
    height: clamp(28rem, 62vh, 33rem);
    min-height: clamp(28rem, 62vh, 33rem);
  }

  #projetos .projects-carousel__controls {
    display: none;
  }

  #projetos .projects-carousel .project.card {
    gap: clamp(1.15rem, 3vw, 1.6rem);
  }

  #projetos .projects-carousel .project__media {
    width: min(100%, 34rem);
    max-width: 34rem;
  }

  #projetos .projects-carousel .project__body {
    width: min(100%, 34rem);
    max-width: 34rem;
  }

  #projetos .projects-carousel .project__title {
    font-size: clamp(2rem, 7vw, 3.35rem);
    line-height: 1;
  }

  #projetos .projects-carousel .project__title::after {
    margin-top: 0.45rem;
    font-size: clamp(0.66rem, 2.1vw, 0.82rem);
    letter-spacing: 0.2em;
  }

  #projetos .projects-carousel .project__desc {
    max-width: 34ch;
    font-size: clamp(0.8rem, 2.1vw, 0.92rem);
    line-height: 1.65;
  }
}

@media (max-width: 767px) {
  .section-frame {
    display: none;
  }

  .site-header {
    top: clamp(0.65rem, 2vh, 1rem);
    padding-inline: 0.7rem;
  }

  .navbar {
    min-height: 3.7rem;
    padding: 0.55rem 0.7rem 0.55rem 0.85rem;
  }

  .brand__eyebrow {
    font-size: 0.46rem;
  }

  .brand__text {
    max-width: calc(100vw - 7rem);
    overflow: hidden;
    font-size: clamp(0.78rem, 3.7vw, 0.94rem);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero__inner--v2 {
    padding-top: clamp(7.8rem, 16vh, 9rem);
    padding-bottom: clamp(3.5rem, 8vh, 5rem);
  }

  .hero__cluster {
    gap: clamp(3rem, 7.5vh, 4.4rem);
  }

  .hero__display {
    margin-bottom: clamp(2.45rem, 6vh, 3.25rem);
  }

  .contact-cyber__eyebrow {
    display: flex;
    width: fit-content;
  }
}

@media (max-width: 560px) {
  .about-cyber__panel {
    --card-cut: 0.75rem;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.7rem;
  }

  .about-cyber__portrait {
    width: min(96%, 22rem);
    margin: 0 auto;
    aspect-ratio: 1 / 1;
  }

  .about-cyber__portrait img {
    object-position: center center;
  }

  .about-cyber__terminal {
    padding: 0.6rem;
    font-size: clamp(0.56rem, 1.9vw, 0.66rem);
  }

  #projetos .projects-carousel__viewport,
  #projetos .projects-carousel .grid-projects {
    height: clamp(27rem, 66vh, 31rem);
    min-height: clamp(27rem, 66vh, 31rem);
  }

  #projetos .projects-carousel .project__media {
    width: min(100%, calc(100vw - 3rem));
    padding: 0;
  }

  #projetos .projects-carousel .project__title {
    font-size: clamp(1.65rem, 8vw, 2.3rem);
  }

  #projetos .projects-carousel .project__title::after {
    font-size: clamp(0.58rem, 3vw, 0.72rem);
    letter-spacing: 0.18em;
  }

  #projetos .projects-carousel .project__desc {
    max-width: 22rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 420px) {
  .brand__text {
    font-size: clamp(0.72rem, 3.8vw, 0.84rem);
  }

  #projetos .projects-carousel__viewport,
  #projetos .projects-carousel .grid-projects {
    height: 28rem;
    min-height: 28rem;
  }
}

.page-404 {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(225, 29, 46, 0.12), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(255, 90, 109, 0.07), transparent 28%),
    linear-gradient(180deg, #050509 0%, var(--color-bg) 58%, #0f1115 100%);
}

.page-404 .reveal {
  opacity: 1;
  transform: none;
}

.error-main {
  min-height: 100vh;
  min-height: 100dvh;
}

.error-404 {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(7rem, 13vh, 9rem) 0 clamp(3rem, 8vh, 5rem);
  background:
    linear-gradient(90deg, rgba(225, 29, 46, 0.08), transparent 22%, transparent 78%, rgba(225, 29, 46, 0.06)),
    linear-gradient(180deg, rgba(5, 5, 9, 0.82), rgba(10, 10, 11, 0.94));
}

.error-404::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, #000 74%, rgba(0, 0, 0, 0.18) 100%);
}

.error-404::after {
  content: "";
  position: absolute;
  left: 7vw;
  right: 7vw;
  top: 50%;
  height: 1px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 90, 109, 0.7), rgba(245, 247, 250, 0.2), rgba(255, 90, 109, 0.55), transparent);
  box-shadow: 0 0 34px rgba(225, 29, 46, 0.24);
  opacity: 0.7;
}

.error-404__matrix {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(225, 29, 46, 0.2) 10.05%, transparent 10.18% 38%, rgba(225, 29, 46, 0.14) 38.05%, transparent 38.2% 100%),
    linear-gradient(180deg, transparent 0 20%, rgba(225, 29, 46, 0.16) 20.05%, transparent 20.16% 66%, rgba(225, 29, 46, 0.12) 66.05%, transparent 66.16% 100%);
  opacity: 0.52;
}

.error-404__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
}

.error-404__eyebrow {
  margin: 0 0 clamp(0.75rem, 1.5vw, 1rem);
  color: rgba(254, 226, 226, 0.72);
  font-size: clamp(0.66rem, 0.9vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.error-404__code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.2rem, 1.2vw, 0.75rem);
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-hero-display);
  font-size: clamp(6.5rem, 20vw, 18rem);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0 34px rgba(245, 247, 250, 0.08),
    0 0 74px rgba(225, 29, 46, 0.12);
}

.error-404__code span {
  display: block;
}

.error-404__copy {
  width: min(100%, 46rem);
  min-width: 0;
  max-width: min(46rem, 100%);
  margin-top: clamp(1.3rem, 3vw, 2.25rem);
}

.error-404__title {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.1rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

.error-404__desc {
  max-width: 38rem;
  margin: clamp(0.9rem, 2vw, 1.25rem) auto 0;
  color: var(--color-text-muted);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  line-height: 1.7;
}

.error-404__actions {
  width: min(100%, 34rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: clamp(1.6rem, 3vw, 2.35rem);
}

.error-404__actions .btn {
  min-width: min(100%, 13.5rem);
}

.error-404__status {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  color: rgba(161, 161, 170, 0.78);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.error-404__status span {
  padding: 0.4rem 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.085);
  background: rgba(255, 255, 255, 0.025);
  clip-path: polygon(0.45rem 0, 100% 0, 100% calc(100% - 0.45rem), calc(100% - 0.45rem) 100%, 0 100%, 0 0.45rem);
}

@media (max-width: 767px) {
  .error-404 {
    align-items: start;
    padding-top: clamp(8rem, 18vh, 10rem);
  }

  .error-404::after {
    top: 42%;
  }

  .error-404__inner {
    justify-items: stretch;
    overflow: hidden;
  }

  .error-404__title {
    max-width: 20rem;
    margin-inline: auto;
    font-size: clamp(1.55rem, 7vw, 2.25rem);
    line-height: 1.08;
  }

  .error-404__desc {
    max-width: 18rem;
  }

  .error-404__actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .error-404__actions .btn {
    width: min(100%, 18rem);
  }

  .error-404__status {
    width: min(100%, 18rem);
    margin-inline: auto;
  }

  .error-404__status span {
    flex: 1 1 calc(50% - 0.5rem);
    text-align: center;
  }
}

@media (max-width: 479px) {
  .error-404__code {
    font-size: clamp(5.35rem, 27vw, 7.25rem);
  }

  .error-404__title {
    max-width: 19rem;
    margin-inline: auto;
    font-size: clamp(1.35rem, 7vw, 1.85rem);
    line-height: 1.08;
  }

  .error-404__desc {
    max-width: 19rem;
    font-size: 0.92rem;
  }

  .error-404__actions .btn {
    width: min(100%, 17.5rem);
  }

  .error-404__status {
    max-width: 19rem;
    margin-inline: auto;
    font-size: 0.58rem;
  }
}
