/* =========================================================
   GENERAL PADRONI — CREATIVE SYSTEM
   Arquivo: css/style.css
   ========================================================= */

/* ---------- 1. DESIGN TOKENS ---------- */

:root {
  color-scheme: dark;

  --bg: #050508;
  --bg-soft: #090a10;
  --panel: #0c0e15;
  --panel-raised: #11141e;

  --text: #f6f7fb;
  --text-soft: #a4a9b8;
  --text-muted: #676e7e;

  --blue: #168cff;
  --yellow: #ffe34f;
  --green: #3dffad;
  --white: #f5f6ff;
  --red: #ff465d;
  --purple: #a46aff;

  --font-main: "Space Grotesk", sans-serif;
  --font-mono: "DM Mono", monospace;
  --font-pixel: "Space Mono", monospace;

  --container: 1440px;
  --gutter: clamp(22px, 5.4vw, 84px);
  --section-space: clamp(90px, 12vw, 170px);

  --line: rgba(255, 255, 255, 0.105);
  --line-bright: rgba(255, 255, 255, 0.19);

  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
  --ease-spring: cubic-bezier(0.18, 0.85, 0.25, 1.15);
}

/* ---------- 2. RESET ---------- */

/* SCROLLBAR — PRETA */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: #292929;
  border: 2px solid #000;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #444;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #292929 #000;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: #000;
}

body {
  position: relative;
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: #000;
  color: var(--text);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
.site-shell {
  isolation: isolate;
}

body::selection,
body *::selection {
  color: #050508;
  background: var(--green);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 5px;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: clip;
}

/* ---------- 3. FUNDO GLOBAL: .site-atmosphere ---------- */

.site-atmosphere {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 48% 38%, #10111b 0%, transparent 56%),
    #050508;

  --mouse-x: 50vw;
  --mouse-y: 50vh;
  --mouse-opacity: 0;
}

/* Plano quadrangular */
.atmosphere-grid {
  position: absolute;
  inset: -2px;
  opacity: 0.29;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.047) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.047) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 13%,
    #000 83%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 13%,
    #000 83%,
    transparent 100%
  );
}

/* Manchas coloridas escuras distribuídas pelo fundo */
.atmosphere-color {
  position: absolute;
  width: min(54vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.13;
  mix-blend-mode: screen;
  transform: translate3d(0, 0, 0);
  animation: atmosphere-drift 20s ease-in-out infinite alternate;
}

.atmosphere-blue {
  top: -25%;
  left: -17%;
  background: var(--blue);
}

.atmosphere-yellow {
  top: 5%;
  right: -27%;
  background: #b99a17;
  animation-delay: -5s;
}

.atmosphere-green {
  top: 36%;
  left: 12%;
  background: #087d50;
  animation-delay: -8s;
}

.atmosphere-white {
  top: 42%;
  right: -28%;
  background: #777eaa;
  animation-delay: -11s;
}

.atmosphere-red {
  bottom: -30%;
  left: 27%;
  background: #981d34;
  animation-delay: -4s;
}

.atmosphere-purple {
  right: 2%;
  bottom: -32%;
  background: #55209d;
  animation-delay: -7s;
}

/* Luz que clareia e mistura as cores ao redor do mouse */
.atmosphere-mouse {
  position: absolute;
  inset: 0;
  opacity: var(--mouse-opacity);
  background:
    radial-gradient(
      circle 185px at var(--mouse-x) var(--mouse-y),
      rgba(255, 255, 255, 0.11) 0%,
      rgba(255, 255, 255, 0.055) 22%,
      transparent 73%
    ),
    radial-gradient(
      circle 360px at var(--mouse-x) var(--mouse-y),
      rgba(22, 140, 255, 0.14) 0%,
      rgba(164, 106, 255, 0.12) 27%,
      rgba(61, 255, 173, 0.07) 48%,
      transparent 76%
    );
  mix-blend-mode: screen;
  transition: opacity 350ms ease;
  will-change: background;
}

.site-atmosphere.mouse-light-off .atmosphere-mouse {
  opacity: 0 !important;
}

.atmosphere-noise {
  position: absolute;
  inset: 0;
  opacity: 0.075;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.91' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

@keyframes atmosphere-drift {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(0.95);
  }
  100% {
    transform: translate3d(4%, 5%, 0) scale(1.08);
  }
}

/* ---------- 4. HEADER ---------- */

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(100% - var(--gutter) * 2, var(--container));
  min-height: 96px;
  margin-inline: auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-symbol,
.footer-brand-symbol {
  display: grid;
  grid-template-columns: repeat(3, 8px);
  grid-template-rows: repeat(2, 8px);
  gap: 3px;
  transform: rotate(-9deg);
}

.brand-symbol span,
.footer-brand-symbol i {
  display: block;
  background: var(--blue);
  box-shadow: 0 0 12px rgba(22, 140, 255, 0.18);
}

.brand-symbol span:nth-child(2),
.footer-brand-symbol i:nth-child(2) {
  background: var(--yellow);
}

.brand-symbol span:nth-child(3),
.footer-brand-symbol i:nth-child(3) {
  background: var(--green);
}

.brand-symbol span:nth-child(4),
.footer-brand-symbol i:nth-child(4) {
  background: var(--white);
}

.brand-symbol span:nth-child(5),
.footer-brand-symbol i:nth-child(5) {
  background: var(--red);
}

.brand-symbol span:nth-child(6),
.footer-brand-symbol i:nth-child(6) {
  background: var(--purple);
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.brand-wordmark strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.brand-wordmark small {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.25em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
}

.main-nav a {
  position: relative;
  padding-block: 10px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  transition: color 220ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease);
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 39px;
  padding: 0 12px;
  border: 1px solid var(--line-bright);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.055em;
  white-space: nowrap;
  transition:
    border-color 220ms ease,
    color 220ms ease,
    background 220ms ease;
}

.header-status:hover {
  border-color: rgba(61, 255, 173, 0.5);
  color: var(--green);
  background: rgba(61, 255, 173, 0.04);
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(61, 255, 173, 0.65);
  animation: status-pulse 2s ease-in-out infinite;
}

.status-arrow {
  margin-left: 3px;
}

@keyframes status-pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 10px rgba(61, 255, 173, 0.55);
  }
  50% {
    opacity: 0.55;
    box-shadow: 0 0 3px rgba(61, 255, 173, 0.2);
  }
}

/* ---------- 5. ELEMENTOS COMPARTILHADOS ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.eyebrow-line {
  width: 25px;
  height: 1px;
  background: var(--green);
  box-shadow: 0 0 9px rgba(61, 255, 173, 0.4);
}

.eyebrow-index {
  margin-left: 10px;
  color: var(--text-muted);
}

.section-padding {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 54px;
  padding: 0 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  transition:
    transform 250ms var(--ease),
    background 250ms ease,
    border-color 250ms ease,
    color 250ms ease,
    box-shadow 250ms ease;
}

.button-primary {
  border: 1px solid var(--green);
  background: var(--green);
  color: #05130d;
}

.button-primary:hover {
  transform: translateY(-3px);
  background: #8dffcd;
  box-shadow: 0 10px 32px rgba(61, 255, 173, 0.14);
}

.button-icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.25);
  font-size: 15px;
  transition: transform 250ms var(--ease);
}

.button-primary:hover .button-icon {
  transform: translate(2px, -2px);
}

.button-secondary {
  border: 1px solid var(--line-bright);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-2px);
}

.button-secondary > span {
  color: var(--green);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  width: fit-content;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-bright);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  transition:
    gap 220ms ease,
    color 220ms ease,
    border-color 220ms ease;
}

.text-link span {
  color: var(--green);
}

.text-link:hover {
  gap: 21px;
  border-color: var(--green);
  color: var(--green);
}

/* ---------- 6. PRIMEIRA SEÇÃO / HERO ---------- */

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(35px, 5vw, 82px);
  width: min(100% - var(--gutter) * 2, var(--container));
  min-height: min(850px, calc(100svh - 96px));
  margin-inline: auto;
  padding-block: clamp(72px, 9vw, 130px) 120px;
}

.hero-grid-overlay {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(to right, #000, transparent);
  mask-image: linear-gradient(to right, #000, transparent);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
  animation: hero-copy-enter 850ms var(--ease) both;
}

.hero-eyebrow {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.hero-title {
  margin: 0;
  font-size: clamp(70px, 9.2vw, 142px);
  font-weight: 700;
  letter-spacing: -0.105em;
  line-height: 0.83;
}

.title-general,
.title-padroni {
  display: block;
}

.title-general {
  color: var(--text);
}

.title-padroni {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: 14px;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(246, 247, 251, 0.84);
  text-shadow: 0 0 35px rgba(22, 140, 255, 0.07);
}

#typing-title {
  display: inline-block;
  min-width: 0;
}

.typing-cursor {
  display: inline-block;
  width: 0.075em;
  height: 0.72em;
  margin-left: 0.1em;
  background: var(--green);
  box-shadow: 0 0 18px rgba(61, 255, 173, 0.45);
  animation: cursor-blink 750ms steps(2, start) infinite;
}

@keyframes cursor-blink {
  to {
    visibility: hidden;
  }
}

.hero-subtitle {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  max-width: 485px;
  margin-top: 37px;
}

.subtitle-marker {
  padding-top: 1px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 16px;
}

.hero-subtitle p {
  margin: 0;
  color: #c5c8d2;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.7;
}

.hero-subtitle strong {
  color: var(--text);
  font-weight: 600;
}

.hero-description {
  max-width: 470px;
  margin: 19px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-bottom-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 42px);
  margin-top: clamp(45px, 6vw, 76px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.meta-label {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.meta-value {
  color: #d7dae5;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.035em;
}

.meta-live {
  display: flex;
  align-items: center;
  gap: 7px;
}

.meta-live .status-dot {
  width: 5px;
  height: 5px;
}

@keyframes hero-copy-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 7. LOGO DE SEIS MÓDULOS ---------- */


/* GENERAL PADRONI — LOGO MODULAR */
/* Sem fundo de página ou cenário externo. */

.gp-logo {
  --blue: #168cff;
  --yellow: #ffe34f;
  --green: #3dffad;
  --white: #f5f6ff;
  --red: #ff465d;
  --purple: #a46aff;

  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(5px, 1.1vw, 12px);
  width: min(100%, 510px);
  aspect-ratio: 1 / 0.82;
  margin-inline: auto;
  background: transparent;
}

/* Cada módulo é parte da própria marca. */

.gp-piece {
  --c: #fff;
  --rgb: 255, 255, 255;

  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  padding: 17% 5% 12%;
  color: var(--c);
  text-decoration: none;
  background: rgba(var(--rgb), .035);
  border: 1px solid rgba(var(--rgb), .42);
  clip-path: polygon(
    14% 0, 86% 0, 100% 14%,
    100% 86%, 86% 100%, 14% 100%,
    0 86%, 0 14%
  );
  transition: transform .3s ease, background .3s ease;
}

/* Faceta interna, sem criar um fundo externo. */

.gp-piece::before {
  position: absolute;
  inset: 4px;
  z-index: -1;
  border: 1px solid rgba(var(--rgb), .2);
  clip-path: polygon(
    14% 0, 86% 0, 100% 14%,
    100% 86%, 86% 100%, 14% 100%,
    0 86%, 0 14%
  );
  content: "";
  pointer-events: none;
}

.gp-piece::after {
  position: absolute;
  right: 13%;
  bottom: 0;
  left: 13%;
  height: 2px;
  background: var(--c);
  box-shadow: 0 0 12px var(--c);
  content: "";
  transform: scaleX(.35);
  transition: transform .3s ease;
}

.gp-piece:hover {
  z-index: 3;
  background: rgba(var(--rgb), .12);
  transform: translateY(-3px);
}

.gp-piece:hover::after {
  transform: scaleX(1);
}

.gp-code {
  --c: var(--blue);
  --rgb: 22, 140, 255;
  grid-area: 1 / 1;
}

.gp-admin {
  --c: var(--yellow);
  --rgb: 255, 227, 79;
  grid-area: 1 / 2;
}

.gp-identity {
  --c: var(--green);
  --rgb: 61, 255, 173;
  grid-area: 1 / 3;
}

.gp-courses {
  --c: var(--white);
  --rgb: 245, 246, 255;
  grid-area: 2 / 1;
}

.gp-ai {
  --c: var(--red);
  --rgb: 255, 70, 93;
  grid-area: 2 / 2;
}

.gp-design {
  --c: var(--purple);
  --rgb: 164, 106, 255;
  grid-area: 2 / 3;
}

.gp-index,
.gp-name,
.gp-caption,
.gp-piece svg {
  position: relative;
  z-index: 1;
}

.gp-index {
  position: absolute;
  top: 9%;
  left: 12%;
  color: var(--c);
  font: 700 clamp(8px, 1vw, 11px)/1 monospace;
  opacity: .8;
}

.gp-piece svg {
  display: block;
  width: 45%;
  max-height: 47%;
  margin: 0 0 8%;
  overflow: visible;
  fill: none;
  stroke: var(--c);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
  filter: drop-shadow(0 0 4px rgba(var(--rgb), .28));
  transition: transform .3s ease, filter .3s ease;
}

.gp-piece svg .gp-detail {
  stroke-width: .7;
  opacity: .35;
}

.gp-piece:hover svg {
  transform: scale(1.08);
  filter: drop-shadow(0 0 8px var(--c));
}

.gp-name {
  max-width: 100%;
  color: var(--c);
  font: 900 clamp(7px, 1.05vw, 11px)/1.2 monospace;
  letter-spacing: .035em;
  text-align: center;
  overflow-wrap: anywhere;
}

.gp-caption {
  margin-top: 5px;
  color: rgba(var(--rgb), .7);
  font: 8px/1.2 monospace;
  letter-spacing: .08em;
  text-align: center;
}

/* Monograma central sobre a junção dos módulos. */

.gp-monogram {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 19%;
  aspect-ratio: 1;
  background: #080a10;
  border: 1px solid rgba(255,255,255,.72);
  outline: 4px solid rgba(8,10,16,.95);
  box-shadow:
    0 0 0 5px rgba(255,255,255,.08),
    0 0 18px rgba(22,140,255,.2);
  transform: translate(-50%, -50%) rotate(45deg);
}

.gp-monogram-frame {
  position: relative;
  width: 100%;
  height: 100%;
}

.gp-monogram-frame::before {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255,255,255,.17);
  content: "";
}

.gp-g,
.gp-p {
  position: absolute;
  color: var(--white);
  font: 900 clamp(18px, 3.3vw, 32px)/1 Arial, sans-serif;
  transform: rotate(-45deg);
}

.gp-g {
  top: 12%;
  left: 11%;
  color: var(--blue);
  text-shadow: 0 0 10px rgba(22,140,255,.6);
}

.gp-p {
  right: 11%;
  bottom: 10%;
  color: var(--purple);
  text-shadow: 0 0 10px rgba(164,106,255,.6);
}

.gp-plus {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--green);
  font: 700 clamp(12px, 2vw, 19px)/1 Arial, sans-serif;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Adaptação para telas pequenas. */

@media (max-width: 480px) {
  .gp-logo {
    gap: 5px;
  }

  .gp-piece {
    padding-inline: 3%;
  }

  .gp-name {
    font-size: clamp(6px, 2vw, 9px);
    letter-spacing: 0;
  }

  .gp-caption {
    font-size: clamp(5px, 1.5vw, 7px);
    letter-spacing: 0;
  }

  .gp-index {
    font-size: 8px;
  }

  .gp-monogram {
    width: 20%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gp-piece,
  .gp-piece svg,
  .gp-piece::after {
    transition: none;
  }
}


/* ---------- 8. TÍTULOS DE SEÇÃO ---------- */

.areas-section {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.section-heading,
.universe-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 54px;
}

.section-heading h2,
.universe-heading h2 {
  margin: 23px 0 0;
  font-size: clamp(48px, 7.2vw, 94px);
  font-weight: 700;
  letter-spacing: -0.085em;
  line-height: 0.93;
}

.section-heading h2 > span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 247, 251, 0.75);
}

.section-heading-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 325px;
  gap: 22px;
}

.section-heading-side p,
.universe-intro {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.9;
}

.section-index {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 10px;
}

/* ---------- 9. CARDS DE HARDWARE ---------- */

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
  perspective: 1300px;
}

.area-card {
  --card-color: var(--white);
  --card-rgb: 245, 246, 255;
  --rotate-x: 0deg;
  --rotate-y: 0deg;
  --pointer-x: 50%;
  --pointer-y: 50%;

  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 325px;
  overflow: hidden;
  padding: 0 18px;
  border: 1px solid rgba(var(--card-rgb), 0.25);
  background:
    radial-gradient(
      circle at var(--pointer-x) var(--pointer-y),
      rgba(var(--card-rgb), 0.12),
      transparent 43%
    ),
    linear-gradient(145deg, rgba(var(--card-rgb), 0.055), transparent 47%),
    linear-gradient(180deg, #10121b 0%, #090a10 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 10px 35px rgba(0, 0, 0, 0.13);
  transform:
    perspective(1000px)
    rotateX(var(--rotate-x))
    rotateY(var(--rotate-y))
    translateZ(0);
  transform-style: preserve-3d;
  transition:
    transform 230ms ease,
    border-color 250ms ease,
    box-shadow 250ms ease,
    background-color 250ms ease;
  will-change: transform;
}

.area-card::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--card-color);
  box-shadow: 0 0 17px rgba(var(--card-rgb), 0.55);
  content: "";
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 350ms var(--ease);
}

.area-card::after {
  position: absolute;
  right: -35px;
  bottom: -45px;
  width: 135px;
  height: 135px;
  border: 1px solid rgba(var(--card-rgb), 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 12px rgba(var(--card-rgb), 0.02),
    0 0 0 25px rgba(var(--card-rgb), 0.02);
  content: "";
  pointer-events: none;
  transition:
    transform 400ms var(--ease),
    border-color 250ms ease;
}

.area-card:hover {
  z-index: 3;
  border-color: rgba(var(--card-rgb), 0.72);
  box-shadow:
    0 24px 65px rgba(0, 0, 0, 0.34),
    0 0 26px rgba(var(--card-rgb), 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.area-card:hover::before {
  transform: scaleX(1);
}

.area-card:hover::after {
  border-color: rgba(var(--card-rgb), 0.35);
  transform: scale(1.14);
}

.area-programming {
  --card-color: var(--blue);
  --card-rgb: 22, 140, 255;
}

.area-administration {
  --card-color: var(--yellow);
  --card-rgb: 255, 227, 79;
}

.area-identity {
  --card-color: var(--green);
  --card-rgb: 61, 255, 173;
}

.area-courses {
  --card-color: var(--white);
  --card-rgb: 245, 246, 255;
}

.area-artificial-intelligence {
  --card-color: var(--red);
  --card-rgb: 255, 70, 93;
}

.area-design {
  --card-color: var(--purple);
  --card-rgb: 164, 106, 255;
}

/* Parafusos e identificação do módulo */
.hardware-top,
.hardware-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-height: 43px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.055em;
}

.hardware-top {
  border-bottom: 1px solid rgba(var(--card-rgb), 0.14);
}

.hardware-bottom {
  margin-top: auto;
  border-top: 1px solid rgba(var(--card-rgb), 0.14);
}

.hardware-screw {
  position: relative;
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border: 1px solid rgba(var(--card-rgb), 0.65);
  border-radius: 50%;
}

.hardware-screw::after {
  position: absolute;
  top: 2px;
  left: 1px;
  width: 3px;
  height: 1px;
  background: rgba(var(--card-rgb), 0.75);
  content: "";
  transform: rotate(-35deg);
}

.hardware-label {
  margin-right: auto;
}

.hardware-power {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.hardware-power i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--card-color);
  box-shadow: 0 0 8px rgba(var(--card-rgb), 0.75);
  animation: status-pulse 2s ease-in-out infinite;
}

.area-card-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 24px 0 29px;
  transform: translateZ(16px);
}

.area-icon {
  display: grid;
  width: 57px;
  height: 57px;
  place-items: center;
  margin-bottom: 21px;
  border: 1px solid rgba(var(--card-rgb), 0.3);
  background: rgba(var(--card-rgb), 0.045);
  color: var(--card-color);
  transition:
    transform 300ms var(--ease),
    background 250ms ease,
    box-shadow 250ms ease;
}

.area-icon svg {
  width: 37px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.area-card:hover .area-icon {
  background: rgba(var(--card-rgb), 0.095);
  box-shadow: 0 0 24px rgba(var(--card-rgb), 0.11);
  transform: translateY(-3px) rotate(-3deg);
}

.area-category {
  color: var(--card-color);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.area-card h3 {
  margin: 12px 0 10px;
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.area-card p {
  max-width: 290px;
  margin: 0;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.8;
}

.hardware-leds {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hardware-leds i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(var(--card-rgb), 0.32);
}

.hardware-leds i:first-child {
  background: var(--card-color);
  box-shadow: 0 0 7px rgba(var(--card-rgb), 0.4);
}

.area-arrow {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(var(--card-rgb), 0.3);
  color: var(--card-color);
  font-size: 14px;
  transition:
    background 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.area-card:hover .area-arrow {
  background: var(--card-color);
  color: #08090d;
  transform: translate(2px, -2px);
}

.areas-footnote {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.areas-footnote p {
  margin: 0;
}

.footnote-line {
  width: 25px;
  height: 1px;
  background: var(--green);
}

.footnote-count {
  margin-left: auto;
}

/* ---------- 10. SEÇÃO DO VÍDEO ---------- */

.universe-section {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
  border-top: 1px solid var(--line);
}

.universe-heading {
  align-items: flex-end;
  margin-bottom: 65px;
}

.universe-heading h2 {
  font-size: clamp(56px, 8vw, 108px);
}

.universe-heading h2 > span {
  color: var(--blue);
  text-shadow: 0 0 40px rgba(22, 140, 255, 0.15);
}

.universe-intro {
  max-width: 330px;
  padding-bottom: 5px;
}

/* O painel de vídeo fica isolado da galeria de imagens */
.video-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(220px, 0.7fr);
  align-items: stretch;
  gap: clamp(25px, 5vw, 68px);
}

.video-panel {
  position: relative;
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background:
    linear-gradient(145deg, rgba(22, 140, 255, 0.075), transparent 45%),
    #080a11;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.3),
    inset 0 0 0 4px rgba(255, 255, 255, 0.012);
}

.video-panel::before {
  position: absolute;
  z-index: 0;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  content: "";
  pointer-events: none;
}

.video-panel-header,
.video-panel-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 40px;
  padding-inline: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.07em;
}

.video-panel-header {
  border-bottom: 1px solid var(--line);
}

.video-window-label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.window-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
}

.dot-red {
  background: var(--red);
}

.dot-yellow {
  background: var(--yellow);
}

.dot-green {
  background: var(--green);
}

.window-title {
  margin-left: 7px;
  overflow: hidden;
  color: #b8bdca;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-panel-index {
  flex-shrink: 0;
}

.video-stage {
  position: relative;
  margin: 12px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #020307;
}

.video-stage-grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 140, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 140, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.showcase-video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-height: 580px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #020307;
}

.showcase-video:focus-visible {
  outline-offset: -4px;
}

.video-corner {
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  border-color: var(--blue);
  border-style: solid;
  pointer-events: none;
}

.video-corner-tl {
  top: 8px;
  left: 8px;
  border-width: 1px 0 0 1px;
}

.video-corner-tr {
  top: 8px;
  right: 8px;
  border-width: 1px 1px 0 0;
}

.video-corner-bl {
  bottom: 8px;
  left: 8px;
  border-width: 0 0 1px 1px;
}

.video-corner-br {
  right: 8px;
  bottom: 8px;
  border-width: 0 1px 1px 0;
}

.video-stage-caption {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  pointer-events: none;
  text-shadow: 0 1px 5px #000;
}

.video-panel-footer {
  min-height: 57px;
  border-top: 1px solid var(--line);
}

.video-panel-footer > div:not(.video-signal) {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.video-meta-label {
  color: var(--text-muted);
  font-size: 7px;
}

.video-panel-footer strong {
  color: #d8dbe5;
  font-size: 8px;
  font-weight: 400;
}

.video-signal {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
  white-space: nowrap;
}

.signal-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.signal-bars i {
  display: block;
  width: 3px;
  background: var(--green);
  animation: signal-wave 900ms ease-in-out infinite alternate;
}

.signal-bars i:nth-child(1) {
  height: 4px;
}

.signal-bars i:nth-child(2) {
  height: 8px;
  animation-delay: -200ms;
}

.signal-bars i:nth-child(3) {
  height: 12px;
  animation-delay: -450ms;
}

.signal-bars i:nth-child(4) {
  height: 6px;
  animation-delay: -300ms;
}

.signal-bars i:nth-child(5) {
  height: 10px;
  animation-delay: -600ms;
}

@keyframes signal-wave {
  to {
    opacity: 0.35;
    transform: scaleY(0.55);
    transform-origin: bottom;
  }
}

.video-description {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 100%;
  padding: 30px 0 45px;
  border-top: 1px solid var(--line-bright);
  border-bottom: 1px solid var(--line);
}

.video-description-index {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.video-description h3 {
  max-width: 320px;
  margin: 22px 0 15px;
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1.05;
}

.video-description p {
  max-width: 300px;
  margin: 0 0 28px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.95;
}

.video-description-decoration {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 40px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 8px;
}

.video-description-decoration > span {
  width: 9px;
  height: 9px;
  border: 1px solid var(--blue);
}

.video-description-decoration > span:nth-child(2) {
  border-color: var(--purple);
}

.video-description-decoration > span:nth-child(3) {
  border-color: var(--green);
}

.video-description-decoration > span:nth-child(4) {
  border-color: var(--red);
}

.video-description-decoration small {
  margin-left: 8px;
}

/* ---------- 11. ARQUIVO VISUAL / GALERIA SEPARADA ---------- */

.visual-archive {
  margin-top: clamp(110px, 14vw, 185px);
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.archive-heading {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 0.55fr) auto;
  align-items: end;
  gap: 35px;
  margin-bottom: 42px;
}

.archive-heading h3 {
  margin: 20px 0 0;
  font-size: clamp(34px, 4.5vw, 59px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.97;
}

.archive-heading > p {
  max-width: 300px;
  margin: 0;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.9;
}

.archive-index {
  padding-bottom: 4px;
  color: var(--purple);
  font-family: var(--font-mono);
  font-size: 9px;
  white-space: nowrap;
}

.image-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(25px, 5vw, 70px);
  align-items: start;
}

.gallery-card {
  min-width: 0;
  margin: 0;
}

.gallery-card-left {
  margin-top: 0;
}

.gallery-card-right {
  margin-top: clamp(45px, 8vw, 105px);
}

.gallery-frame {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  background:
    linear-gradient(135deg, rgba(164, 106, 255, 0.08), transparent 45%),
    #0b0c13;
}

.gallery-card-left .gallery-frame {
  box-shadow: 12px 12px 0 -5px rgba(22, 140, 255, 0.18);
}

.gallery-card-right .gallery-frame {
  box-shadow: -12px 12px 0 -5px rgba(164, 106, 255, 0.18);
}

.gallery-frame::after {
  position: absolute;
  inset: 0;
  border: 7px solid rgba(5, 5, 8, 0.08);
  content: "";
  pointer-events: none;
  transition: border-color 300ms ease;
}

.gallery-frame img {
  width: 100%;
  height: clamp(270px, 35vw, 470px);
  object-fit: cover;
  transition:
    transform 700ms var(--ease),
    filter 500ms ease;
}

.gallery-card-left .gallery-frame img {
  filter: saturate(0.82);
}

.gallery-card-right .gallery-frame img {
  filter: saturate(0.82) hue-rotate(5deg);
}

.gallery-card:hover .gallery-frame img {
  filter: saturate(1.08);
  transform: scale(1.035);
}

.gallery-top-tag {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(5, 5, 8, 0.76);
  color: #e7e9f1;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
}

.gallery-target {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 21px;
  opacity: 0;
  transform: translate(-50%, -45%) scale(0.85);
  transition:
    opacity 250ms ease,
    transform 250ms var(--ease);
  pointer-events: none;
}

.gallery-card:hover .gallery-target {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.gallery-vertical-label {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 16px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
  text-shadow: 0 1px 6px #000;
}

.gallery-card figcaption {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.gallery-caption-number {
  color: var(--purple);
  font-family: var(--font-mono);
  font-size: 11px;
}

.gallery-card figcaption > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gallery-card figcaption strong {
  font-size: 14px;
  font-weight: 500;
}

.gallery-card figcaption small {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.gallery-caption-arrow {
  margin-left: auto;
  color: var(--text-muted);
  transition:
    color 200ms ease,
    transform 200ms ease;
}

.gallery-card:hover .gallery-caption-arrow {
  color: var(--purple);
  transform: translate(2px, -2px);
}

.archive-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.archive-footer-mark {
  color: var(--purple);
  font-family: var(--font-pixel);
  font-size: 14px;
  font-weight: 700;
}

.archive-footer p {
  margin: 0;
}

.archive-footer > span:last-child {
  margin-left: auto;
}

/* ---------- 12. CHAMADA FINAL ---------- */

.closing-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 590px;
  overflow: hidden;
  padding: 100px var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 75%, rgba(22, 140, 255, 0.08), transparent 55%),
    radial-gradient(ellipse at 15% 25%, rgba(164, 106, 255, 0.06), transparent 40%),
    rgba(6, 7, 11, 0.8);
  text-align: center;
}

.closing-grid {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 45px 45px;
  -webkit-mask-image: radial-gradient(ellipse, #000, transparent 75%);
  mask-image: radial-gradient(ellipse, #000, transparent 75%);
  pointer-events: none;
}

.closing-overline {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.closing-section h2 {
  position: relative;
  margin: 28px 0 22px;
  font-size: clamp(56px, 9vw, 115px);
  font-weight: 700;
  letter-spacing: -0.09em;
  line-height: 0.88;
}

.closing-section h2 span {
  color: transparent;
  -webkit-text-stroke: 1.3px var(--green);
}

.closing-section > p {
  position: relative;
  max-width: 470px;
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.9;
}

.closing-button {
  position: relative;
  margin-top: 30px;
}

.closing-coordinate {
  position: absolute;
  bottom: 26px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.closing-coordinate-left {
  left: var(--gutter);
}

.closing-coordinate-right {
  right: var(--gutter);
}

/* ---------- 13. RODAPÉ COLORIDO E VIVO ---------- */

/*
   O rodapé tem seu próprio sistema de cores.
   O efeito .atmosphere-mouse não se aplica aqui.
*/

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #08070d;
}

.footer-color-field {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(164, 106, 255, 0.16), transparent 55%),
    #08070d;
  pointer-events: none;
}

.footer-color {
  position: absolute;
  width: 45%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
  mix-blend-mode: screen;
  animation: footer-color-flow 15s ease-in-out infinite alternate;
}

.footer-color-blue {
  top: -55%;
  left: -13%;
  background: #0750bd;
}

.footer-color-yellow {
  top: -62%;
  left: 18%;
  background: #8d7613;
  animation-delay: -4s;
}

.footer-color-green {
  top: -30%;
  right: 13%;
  background: #08764a;
  animation-delay: -7s;
}

.footer-color-white {
  top: -55%;
  right: -20%;
  background: #5f6487;
  animation-delay: -5s;
}

.footer-color-red {
  right: 20%;
  bottom: -75%;
  background: #85182c;
  animation-delay: -9s;
}

.footer-color-purple {
  bottom: -80%;
  left: -7%;
  background: #4d168b;
  animation-delay: -3s;
}

@keyframes footer-color-flow {
  0% {
    transform: translate3d(-2%, 0, 0) scale(0.9);
    opacity: 0.14;
  }
  50% {
    opacity: 0.24;
  }
  100% {
    transform: translate3d(6%, -4%, 0) scale(1.12);
    opacity: 0.2;
  }
}

.footer-grid-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 35px 35px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%);
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
  pointer-events: none;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) minmax(115px, 0.7fr) minmax(190px, 1fr) minmax(125px, 0.7fr);
  gap: clamp(30px, 4.5vw, 75px);
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
  padding-block: 90px 80px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.footer-brand-symbol {
  grid-template-columns: repeat(3, 10px);
  grid-template-rows: repeat(2, 10px);
  gap: 4px;
}

.footer-brand-symbol i {
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.08);
}

.footer-brand > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-brand strong {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.footer-brand small {
  color: #9293a5;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.07em;
}

.footer-brand-block > p {
  max-width: 280px;
  margin: 24px 0 20px;
  color: #a2a3b2;
  font-size: 12px;
  line-height: 1.9;
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b8b8c6;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.footer-nav-block,
.footer-contact-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.footer-column-title {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e3ed;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.footer-nav-block a,
.footer-contact-block a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  color: #a6a7b5;
  font-size: 11px;
  line-height: 1.4;
  transition:
    color 200ms ease,
    transform 200ms ease;
}

.footer-nav-block a > span:not(.footer-color-dot),
.footer-contact-block a > span {
  color: #626475;
  font-family: var(--font-mono);
  font-size: 8px;
  transition: color 200ms ease;
}

.footer-nav-block a:hover,
.footer-contact-block a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-nav-block a:hover > span:not(.footer-color-dot),
.footer-contact-block a:hover > span {
  color: var(--green);
}

.footer-color-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
}

.dot-blue {
  background: var(--blue);
  box-shadow: 0 0 9px rgba(22, 140, 255, 0.4);
}

.dot-yellow {
  background: var(--yellow);
  box-shadow: 0 0 9px rgba(255, 227, 79, 0.4);
}

.dot-green {
  background: var(--green);
  box-shadow: 0 0 9px rgba(61, 255, 173, 0.4);
}

.dot-white {
  background: var(--white);
  box-shadow: 0 0 9px rgba(245, 246, 255, 0.4);
}

.dot-red {
  background: var(--red);
  box-shadow: 0 0 9px rgba(255, 70, 93, 0.4);
}

.dot-purple {
  background: var(--purple);
  box-shadow: 0 0 9px rgba(164, 106, 255, 0.4);
}

.footer-signature {
  width: 100%;
  overflow: hidden;
  padding: 19px var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(
    90deg,
    rgba(22, 140, 255, 0.09),
    rgba(255, 227, 79, 0.035),
    rgba(61, 255, 173, 0.07),
    rgba(245, 246, 255, 0.025),
    rgba(255, 70, 93, 0.07),
    rgba(164, 106, 255, 0.09)
  );
  color: rgba(255, 255, 255, 0.22);
  font-family: var(--font-pixel);
  font-size: clamp(11px, 1.5vw, 19px);
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  animation: footer-signature-glow 8s linear infinite alternate;
}

@keyframes footer-signature-glow {
  from {
    text-shadow: 0 0 0 rgba(22, 140, 255, 0);
  }
  to {
    text-shadow: 0 0 18px rgba(164, 106, 255, 0.3);
  }
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - var(--gutter) * 2, var(--container));
  min-height: 72px;
  margin-inline: auto;
  color: #737485;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.footer-bottom a {
  color: #c1c1ce;
  transition: color 200ms ease;
}

.footer-bottom a:hover {
  color: var(--green);
}

/* ---------- 14. ANIMAÇÃO DE ENTRADA ---------- */

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.reveal.reveal-pending.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.areas-grid .reveal:nth-child(2) {
  transition-delay: 60ms;
}

.areas-grid .reveal:nth-child(3) {
  transition-delay: 120ms;
}

.areas-grid .reveal:nth-child(4) {
  transition-delay: 180ms;
}

.areas-grid .reveal:nth-child(5) {
  transition-delay: 240ms;
}

.areas-grid .reveal:nth-child(6) {
  transition-delay: 300ms;
}

/* ---------- 15. RESPONSIVIDADE ---------- */

@media (min-width: 1600px) {
  .hero-title {
    font-size: 142px;
  }
}

@media (max-width: 1150px) {
  .hero-section {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.9fr);
    gap: 35px;
  }

  .hero-title {
    font-size: clamp(66px, 8vw, 105px);
  }

  .data-left {
    left: -3%;
  }

  .data-right {
    right: -2%;
  }

  .footer-main {
    grid-template-columns: minmax(210px, 1.2fr) minmax(120px, 0.7fr) minmax(180px, 1fr);
  }

  .footer-contact-block {
    grid-column: 2 / 4;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 13px 24px;
  }

  .footer-contact-block .footer-column-title {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 82px;
    gap: 16px;
  }

  .main-nav {
    gap: 17px;
  }

  .main-nav a {
    font-size: 10px;
  }

  .header-status {
    padding-inline: 9px;
    font-size: 8px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 45px;
    min-height: 0;
    padding-top: 80px;
    padding-bottom: 115px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-title {
    font-size: clamp(80px, 13vw, 135px);
  }

  .hero-art-area {
    width: min(100%, 600px);
    margin-inline: auto;
  }

  .logo-composition {
    width: min(100%, 510px);
  }

  .art-top-label,
  .art-bottom-label {
    width: min(100%, 510px);
  }

  .areas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
  }

  .video-description {
    min-height: 0;
    padding: 30px 0 35px;
  }

  .video-description-decoration {
    margin-top: 28px;
  }

  .archive-heading {
    grid-template-columns: 1fr minmax(180px, 0.7fr);
  }

  .archive-index {
    grid-column: 1 / -1;
  }
}

@media (max-width: 650px) {
  :root {
    --gutter: 21px;
    --section-space: 95px;
  }

  .site-header {
    flex-wrap: wrap;
    justify-content: space-between;
    padding-block: 17px;
  }

  .brand-wordmark strong {
    font-size: 12px;
  }

  .header-status {
    min-height: 33px;
  }

  .main-nav {
    order: 3;
    justify-content: space-between;
    width: 100%;
    padding-top: 13px;
    border-top: 1px solid var(--line);
  }

  .main-nav a {
    font-size: 9px;
  }

  .hero-section {
    padding-top: 70px;
  }

  .hero-title {
    font-size: clamp(58px, 12.5vw, 82px);
    letter-spacing: -0.09em;
  }

  .title-padroni {
    margin-top: 12px;
  }

  .hero-eyebrow {
    flex-wrap: wrap;
    font-size: 8px;
  }

  .eyebrow-index {
    margin-left: auto;
  }

  .hero-subtitle {
    margin-top: 29px;
  }

  .hero-subtitle p {
    font-size: 14px;
  }

  .hero-description {
    font-size: 12px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button-primary,
  .button-secondary {
    min-height: 49px;
    gap: 13px;
    padding-inline: 12px;
    font-size: 9px;
  }

  .hero-bottom-meta {
    gap: 19px;
  }

  .meta-value {
    font-size: 9px;
  }

  .hero-art-area {
    padding-block: 32px;
  }

  .art-top-label,
  .art-bottom-label {
    font-size: 7px;
  }

  .logo-composition {
    gap: 5px;
    padding: 7px;
  }

  .logo-module {
    padding: 8px 3px;
  }

  .module-number {
    top: 6px;
    left: 6px;
    font-size: 7px;
  }

  .module-art {
    width: 57%;
  }

  .module-name {
    margin-top: 8px;
    font-size: clamp(6px, 1.7vw, 8px);
  }

  .module-detail {
    font-size: 6px;
  }

  .logo-center {
    width: 58px;
    height: 58px;
  }

  .center-top,
  .center-bottom {
    font-size: 20px;
  }

  .center-top {
    top: 8px;
    left: 11px;
  }

  .center-bottom {
    right: 10px;
    bottom: 7px;
  }

  .data-left {
    top: 10%;
    left: 0;
  }

  .data-right {
    right: 0;
    bottom: 10%;
  }

  .floating-data {
    font-size: 7px;
  }

  .art-orbit {
    width: 110%;
  }

  .orbit-two {
    width: 125%;
  }

  .scroll-indicator {
    bottom: 30px;
  }

  .section-heading,
  .universe-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 38px;
  }

  .section-heading h2 {
    font-size: clamp(49px, 10vw, 68px);
  }

  .section-heading-side {
    max-width: 400px;
    gap: 13px;
  }

  .section-heading-side p,
  .universe-intro {
    font-size: 12px;
  }

  .areas-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .area-card {
    min-height: 295px;
  }

  .area-card h3 {
    font-size: 27px;
  }

  .area-card p {
    font-size: 12px;
  }

  .areas-footnote {
    flex-wrap: wrap;
    line-height: 1.7;
  }

  .footnote-count {
    width: 100%;
    margin-left: 39px;
  }

  .universe-heading h2 {
    font-size: clamp(58px, 11vw, 76px);
  }

  .video-panel {
    padding: 7px;
  }

  .video-panel-header,
  .video-panel-footer {
    padding-inline: 5px;
  }

  .video-panel-footer {
    flex-wrap: wrap;
    gap: 13px;
    padding-block: 12px;
  }

  .video-panel-footer strong {
    font-size: 7px;
  }

  .video-signal {
    font-size: 7px;
  }

  .video-stage-caption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    font-size: 6px;
  }

  .visual-archive {
    margin-top: 100px;
  }

  .archive-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 30px;
  }

  .archive-heading h3 {
    font-size: 43px;
  }

  .archive-heading > p {
    font-size: 12px;
  }

  .archive-index {
    grid-column: auto;
  }

  .image-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .gallery-card-right {
    margin-top: 0;
  }

  .gallery-frame img {
    height: 310px;
  }

  .gallery-card-left .gallery-frame {
    box-shadow: 7px 7px 0 -3px rgba(22, 140, 255, 0.18);
  }

  .gallery-card-right .gallery-frame {
    box-shadow: -7px 7px 0 -3px rgba(164, 106, 255, 0.18);
  }

  .archive-footer {
    flex-wrap: wrap;
    line-height: 1.7;
  }

  .archive-footer > span:last-child {
    width: 100%;
    margin-left: 29px;
  }

  .closing-section {
    min-height: 510px;
    padding-block: 80px;
  }

  .closing-section h2 {
    font-size: clamp(50px, 10vw, 72px);
  }

  .closing-section > p {
    font-size: 12px;
  }

  .closing-coordinate {
    bottom: 17px;
    font-size: 7px;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 25px;
    padding-block: 65px 55px;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }

  .footer-brand strong {
    font-size: 25px;
  }

  .footer-nav-block,
  .footer-contact-block {
    grid-column: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .footer-contact-block .footer-column-title {
    grid-column: auto;
  }

  .footer-nav-block a,
  .footer-contact-block a {
    font-size: 10px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    padding-block: 20px;
    font-size: 7px;
  }

  .footer-bottom > span:nth-child(2) {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 390px) {
  .header-status {
    gap: 6px;
    font-size: 7px;
  }

  .hero-title {
    font-size: 56px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
  }

  .module-detail {
    letter-spacing: 0;
  }

  .art-top-label,
  .art-bottom-label {
    letter-spacing: 0.03em;
  }

  .data-left,
  .data-right {
    display: none;
  }

  .footer-main {
    column-gap: 18px;
  }
}

/* ---------- 16. ACESSIBILIDADE: MOVIMENTO REDUZIDO ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .atmosphere-mouse {
    display: none;
  }

  .area-card {
    transform: none !important;
  }

  .hero-art-area,
  .logo-composition {
    transform: none !important;
  }
}
