/* ==========================================================================
   SNOWFILMES — CYBERPUNK FUI / ENDHOUSE HACKER AESTHETIC (THEME V4)
   Palette:
     #050608 (Absolute Carbon Black — Primary Background)
     #080B11 (Deep Terminal Slate — Secondary Surface)
     #0B1018 (Card Surface)
     #0B72B5 (Darker Cyber Blue — Primary Accent)
     #1488D8 (Bright Cyber Blue — Active / Hover)
     #063B63 (Structural Steel Blue — Rules & Borders)
     #F2DDD5 (Warm Cream / Blush — Primary Light Text)
   Typography:
     Brunson (Display & Main Headings)
     Inter (Body Copy)
     Share Tech Mono / Space Mono (Code, Telemetry & HUD Metadata)
   ========================================================================== */

@font-face {
  font-family: 'Brunson';
  src: url('../assets/fonts/Brunson.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Brunson Rough';
  src: url('../assets/fonts/Brunson Rough.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Core Palette */
  --c-black: #050608;
  --c-slate: #080B11;
  --c-card: #0B1018;
  --c-elevated: #0F1724;

  --c-blue: #0B72B5;
  --c-blue-bright: #1488D8;
  --c-blue-deep: #063B63;
  --c-blue-dim: rgba(11, 114, 181, 0.14);
  --c-blue-glow: rgba(11, 114, 181, 0.45);
  --c-green-status: #10B981;

  --c-blush: #F2DDD5;
  --c-sky: #0B72B5;
  --c-ocean: #063B63;
  --c-teal: #063B63;
  --c-forest: #050608;

  /* Background Tokens */
  --bg-absolute: #050608;
  --bg-deep: #070A0F;
  --bg-surface: #080B11;
  --bg-card: #0B1018;
  --bg-elevated: #101824;

  /* Borders & HUD Frames */
  --border-subtle: rgba(11, 114, 181, 0.32);
  --border-glass: rgba(11, 114, 181, 0.45);
  --border-light: rgba(20, 136, 216, 0.65);
  --border-highlight: #0B72B5;

  /* Text Tokens */
  --text-primary: #F2DDD5;
  --text-secondary: rgba(242, 221, 213, 0.80);
  --text-muted: rgba(242, 221, 213, 0.58);
  --text-dim: rgba(242, 221, 213, 0.35);

  /* Accent Aliases */
  --accent-lavender: #0B72B5;
  --accent-violet: #1488D8;
  --accent-blue: #0B72B5;
  --accent-dark-blue: #063B63;
  --accent-magenta: #0B72B5;
  --accent-primary: #0B72B5;
  --grad-metallic: #0B72B5;

  /* Typography */
  --font-display: 'Brunson', Impact, sans-serif;
  --font-heading: 'Brunson', Impact, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sub: 'Inter', sans-serif;
  --font-tech: 'Share Tech Mono', 'Space Mono', monospace;
  --font-code: 'Share Tech Mono', 'Space Mono', monospace;

  /* Transitions & Chamfers */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-accordion: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-transform: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  --clip-chamfer-sm: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  --clip-chamfer-md: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  --clip-chamfer-lg: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

/* ==========================================================================
   1. GLOBAL RESET & ENDHOUSE CRT / BLUEPRINT MICRO-GRID
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-y: scroll;
  scroll-behavior: smooth;
  height: -webkit-fill-available;
  background-color: var(--bg-absolute);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-absolute);
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  line-height: 1.6;
  /* Endhouse fixed micro-scanline + blueprint grid */
  background-image:
    linear-gradient(rgba(11, 114, 181, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 114, 181, 0.028) 1px, transparent 1px);
  background-size: 100% 5px, 5px 100%;
  background-attachment: fixed;
}

::selection {
  background: var(--c-blue);
  color: var(--c-blush);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-absolute);
}
::-webkit-scrollbar-thumb {
  background: var(--c-blue-deep);
  border: 1px solid var(--c-blue);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--c-blue);
}

/* ==========================================================================
   2. ENDHOUSE FUI / HUD PRIMITIVES (.fui-*, .hud-*)
   ========================================================================== */

/* Endhouse Dotted Matrix Background (.fui-grid-bg) */
.fui-grid-bg {
  background-image:
    radial-gradient(circle, rgba(11, 114, 181, 0.28) 1px, transparent 1.25px),
    radial-gradient(circle, rgba(242, 221, 213, 0.045) 1px, transparent 1px);
  background-size: 22px 22px, 88px 88px;
  background-position: 0 0, 11px 11px;
}

/* Endhouse Corner L-Brackets (<div class="hud-corners"></div>) */
.hud-corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.hud-corners::before,
.hud-corners::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--c-blue);
  border-style: solid;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.hud-corners::before {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.hud-corners::after {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
}

*:hover > .hud-corners::before,
*:hover > .hud-corners::after {
  width: 22px;
  height: 22px;
  border-color: var(--c-blue-bright);
}

/* Pulsing Status Dot (.fui-status-dot) */
.fui-status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--c-green-status);
  box-shadow: 0 0 8px var(--c-green-status);
  margin-right: 6px;
  vertical-align: middle;
  animation: fuiPulse 2s infinite ease-in-out;
}

.fui-blink {
  color: var(--c-blue-bright);
  animation: fuiPulse 1.2s steps(2, start) infinite;
}

@keyframes fuiPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* Section Telemetry Divider (.fui-divider) */
.fui-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin-bottom: 1.75rem;
  font-family: var(--font-tech);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-blue-bright);
}

.fui-divider::before,
.fui-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(11, 114, 181, 0.08), rgba(11, 114, 181, 0.5), rgba(11, 114, 181, 0.08));
}

.fui-divider span {
  padding: 4px 12px;
  background: var(--bg-card);
  border: 1px solid rgba(11, 114, 181, 0.4);
  color: var(--c-blush);
  white-space: nowrap;
}

/* Animated Trace Line (.fui-trace-line) */
.fui-trace-line {
  position: relative;
  width: 100%;
  height: 1px;
  background: rgba(11, 114, 181, 0.35);
  overflow: hidden;
  margin: 1.15rem 0 1.25rem;
}

.fui-trace-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -35%;
  width: 35%;
  height: 100%;
  background: var(--c-blue-bright);
  box-shadow: 0 0 10px var(--c-blue-bright);
  animation: traceSweep 3.8s linear infinite;
}

@keyframes traceSweep {
  0% { left: -35%; }
  100% { left: 100%; }
}

/* Hero Corner Telemetry Overlays (.fui-overlay) */
.fui-overlay {
  position: absolute;
  z-index: 4;
  font-family: var(--font-tech);
  font-size: 11px;
  line-height: 1.55;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(5, 6, 8, 0.78);
  border: 1px solid rgba(11, 114, 181, 0.32);
  padding: 8px 14px;
  pointer-events: none;
}

.fui-top-left {
  top: 6.2rem;
  left: 3rem;
  border-left: 3px solid var(--c-blue);
}

.fui-top-right {
  top: 6.2rem;
  right: 3rem;
  text-align: right;
  border-right: 3px solid var(--c-blue);
}

@media (max-width: 900px) {
  .fui-overlay {
    display: none;
  }
}

/* Fixed Bottom-Right Mouse Coordinate HUD (#mouse-fx-coord) */
.mouse-fx-coord {
  position: fixed;
  bottom: 18px;
  right: 22px;
  z-index: 950;
  font-family: var(--font-tech);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--c-blush);
  background: rgba(5, 6, 8, 0.92);
  border: 1px solid rgba(11, 114, 181, 0.45);
  border-left: 3px solid var(--c-blue);
  padding: 6px 12px;
  pointer-events: none;
}

@media (max-width: 767px) {
  .mouse-fx-coord {
    display: none;
  }
}

/* ==========================================================================
   3. TYPOGRAPHY (BRUNSON HEADINGS + INTER BODY + CODE COMMENTS)
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.03em;
  line-height: 0.96;
  margin: 0;
}

p {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Code-Flavored Eyebrow Tag */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  font-family: var(--font-tech);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.18em;
  color: var(--c-blue-bright);
  background: rgba(8, 11, 17, 0.9);
  border: 1px solid rgba(11, 114, 181, 0.4);
  border-left: 3px solid var(--c-blue);
  padding: 5px 12px;
  white-space: nowrap;
}

.tag::before {
  content: ">_";
  color: var(--c-blush);
  font-weight: 700;
}

.tag-clean::before {
  display: none !important;
}

.destaque {
  color: var(--c-blue-bright);
  display: inline-block;
}

/* Lateral Padding & Section Spacing */
.padding-lateral {
  padding-left: 3rem;
  padding-right: 3rem;
}
@media (max-width: 1024px) {
  .padding-lateral {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (max-width: 767px) {
  .padding-lateral {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Scroll Reveal Entrance Animations */
.rb-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.rb-reveal.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.section-spacer {
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
}
@media (max-width: 1024px) {
  .section-spacer {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
}

/* Flex Section Header */
.flex-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  padding-bottom: 2.75rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.flex-header .titulo {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.4vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: 0.03em;
}

.tag-contagem {
  font-family: var(--font-tech);
  font-size: 12px;
  color: var(--c-blue-bright);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--bg-card);
  border: 1px solid rgba(11, 114, 181, 0.45);
  padding: 6px 14px;
  white-space: nowrap;
}
.tag-contagem::before {
  content: "[ ";
  color: var(--c-blush);
}
.tag-contagem::after {
  content: " ]";
  color: var(--c-blush);
}

/* Code-Style Section Titles: BIG BRUNSON WORD + // typed code comment */
.code-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 1.15rem;
  row-gap: 0.35rem;
}

.code-title .ct-main {
  font-family: var(--font-display);
  color: var(--c-blush);
  letter-spacing: 0.035em;
}

.code-title .ct-code {
  font-family: var(--font-code);
  font-size: clamp(0.88rem, 1.3vw, 1.18rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--c-blue-bright);
  background: var(--bg-card);
  border: 1px solid rgba(11, 114, 181, 0.45);
  border-left: 3px solid var(--c-blue);
  padding: 5px 14px;
  white-space: nowrap;
  transform: translateY(-0.22em);
  clip-path: var(--clip-chamfer-sm);
}

.code-title .ct-slash {
  color: var(--c-blush);
  font-weight: 700;
  margin-right: 0.3em;
}

.code-title .ct-cursor {
  display: inline-block;
  width: 0.55em;
  height: 1em;
  margin-left: 4px;
  background: var(--c-blue-bright);
  vertical-align: text-bottom;
  animation: ct-blink 1s steps(1) infinite;
}

@keyframes ct-blink {
  50% { opacity: 0; }
}

@media (max-width: 767px) {
  .code-title .ct-code {
    white-space: normal;
    transform: none;
  }
}

/* ==========================================================================
   4. BUTTONS (FLAT CYBERPUNK CHAMFERED — ZERO GRADIENTS)
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--c-blue);
  color: var(--c-blush);
  font-family: var(--font-tech);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 11px 22px;
  border: 1px solid var(--c-blue-bright);
  cursor: pointer;
  clip-path: var(--clip-chamfer-sm);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--c-blush);
  border-color: var(--c-blush);
  color: var(--c-black);
  transform: translateY(-1px);
}

.btn-black {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--c-black);
  color: var(--c-blush);
  font-family: var(--font-tech);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 34px;
  border: 2px solid var(--c-blush);
  cursor: pointer;
  clip-path: var(--clip-chamfer-sm);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn-black:hover {
  background: var(--c-blush);
  color: var(--c-black);
  border-color: var(--c-blush);
  transform: translateY(-2px);
}

.btn-black .seta {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-black:hover .seta {
  transform: translateX(6px);
}

/* ==========================================================================
   5. HEADER / FLOATING FUI NAVBAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
  background: rgba(5, 6, 8, 0.92);
  border-bottom: 1px solid rgba(11, 114, 181, 0.42);
  transition: padding 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  background: rgba(5, 6, 8, 0.98);
  border-bottom: 2px solid var(--c-blue);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mascot-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.site-logo:hover .logo-mascot-img {
  transform: rotate(8deg) scale(1.06);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 1.8vw, 2rem);
  flex-wrap: nowrap;
}

.nav-desktop a {
  font-family: var(--font-tech);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-desktop a::before {
  content: "//";
  color: var(--c-blue);
  margin-right: 4px;
  opacity: 0.7;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--c-blush);
}

.nav-desktop a:hover::before,
.nav-desktop a.active::before {
  color: var(--c-blue-bright);
  opacity: 1;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--c-blue-bright);
  transition: width 0.3s ease;
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.header-sys-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background: var(--bg-card);
  border: 1px solid rgba(11, 114, 181, 0.4);
  font-family: var(--font-tech);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--c-blush);
}

@media (max-width: 1100px) {
  .header-sys-badge {
    display: none;
  }
}

.hamburger-btn {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--c-blue);
  cursor: pointer;
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  position: relative;
  z-index: 1001;
}

.hamburger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px auto;
  transition: all 0.3s ease;
}

.hamburger-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 8, 0.98);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-nav-drawer.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-drawer a {
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.mobile-nav-drawer a:hover {
  color: var(--c-blue-bright);
}

@media (max-width: 960px) {
  .nav-desktop {
    display: none;
  }
  .hamburger-btn {
    display: block;
  }
}

/* ==========================================================================
   6. HERO SECTION (INTERACTIVE ENDHOUSE LED DOT MATRIX + HUD FRAME)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--bg-absolute);
  overflow: hidden;
  padding-bottom: 0;
  border-bottom: 2px solid var(--c-blue);
}

.hero-video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  object-fit: cover;
  border: none;
  filter: contrast(1.1) saturate(0.88) brightness(0.62);
}

/* Interactive Cyber-Blue LED Canvas (Endhouse Hero) */
.hero-led-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Perforated LED Dot-Matrix Overlay (Endhouse Hero) */
.hero-led-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(5, 6, 8, 0.72) 1px, transparent 1.2px),
    linear-gradient(rgba(11, 114, 181, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 114, 181, 0.05) 1px, transparent 1px);
  background-size: 4px 4px, 48px 48px, 48px 48px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 8, 0.42);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 4.25rem;
}

.hero-left {
  max-width: 780px;
}

/* Endhouse HUD Frame around Hero Copy */
.hero-hud-frame {
  position: relative;
  background: rgba(5, 6, 8, 0.84);
  border: 1px solid rgba(11, 114, 181, 0.45);
  border-left: 4px solid var(--c-blue);
  padding: 2.25rem 2.5rem;
  clip-path: var(--clip-chamfer-lg);
  width: fit-content;
  max-width: 780px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.4vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  color: var(--c-blush);
  margin-top: 0.35rem;
  margin-bottom: 0.5rem;
  white-space: pre-line;
}

.hero-title .storytelling {
  color: var(--c-blue-bright);
  text-shadow: 3px 3px 0px var(--c-blue-deep);
}

.hero-desc {
  max-width: 560px;
  font-size: clamp(0.95rem, 1.05vw, 1.08rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 767px) {
  .hero-content {
    padding-bottom: 2.5rem;
  }
  .hero-hud-frame {
    padding: 1.5rem 1.25rem;
  }
}

/* ==========================================================================
   7. SELECTED WORK — 8-SLICE FLEX ACCORDION WITH OPS HUD HEADERS
   ========================================================================== */
.work-section {
  background: var(--bg-absolute);
  padding-top: 6rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.work-columns {
  display: flex;
  height: 80vh;
  min-height: 560px;
  gap: 3px;
  overflow: hidden;
  width: 100%;
  background: var(--c-blue-deep);
  border-top: 2px solid var(--c-blue);
  border-bottom: 2px solid var(--c-blue);
}

.work-col {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-absolute);
  transition: var(--transition-accordion);
}

.work-columns:hover .work-col {
  flex: 0.62;
}
.work-columns:hover .work-col:hover {
  flex: 2.4;
}

/* Top HUD Telemetry Bar inside each Accordion Slice */
.work-col-hud-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(5, 6, 8, 0.88);
  border-bottom: 1px solid rgba(11, 114, 181, 0.35);
  font-family: var(--font-tech);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.work-col:hover .work-col-hud-top {
  background: rgba(11, 114, 181, 0.25);
  border-bottom-color: var(--c-blue-bright);
  color: var(--c-blush);
}

.wc-ops-id {
  color: var(--c-blush);
  font-weight: 700;
}

.wc-status {
  color: var(--c-blue-bright);
}

.work-col-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transform-origin: center;
  filter: grayscale(25%) contrast(1.08) brightness(0.75);
  transition: var(--transition-transform), filter 0.4s ease;
}

.work-col:hover .work-col-bg {
  transform: scale(1.06);
  filter: grayscale(0%) contrast(1.08) brightness(0.95);
}

.work-col-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.work-col:hover .work-col-video {
  opacity: 1;
}

.work-col-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 8, 0.38);
  z-index: 2;
  transition: background 0.4s ease;
}

.work-col:hover .work-col-overlay {
  background: rgba(5, 6, 8, 0.12);
}

.work-col-info {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  padding: 1.25rem 1.35rem;
  z-index: 4;
  background: rgba(5, 6, 8, 0.94);
  border: 1px solid var(--c-blue-bright);
  border-left: 4px solid var(--c-blue);
  clip-path: var(--clip-chamfer-md);
  opacity: 0;
  transform: translateY(14px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-col:hover .work-col-info {
  opacity: 1;
  transform: translateY(0);
}

.wci-cat {
  font-family: var(--font-tech);
  font-size: 11px;
  color: var(--c-blue-bright);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.wci-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.8vw, 2.75rem);
  color: var(--c-blush);
  line-height: 0.95;
  letter-spacing: 0.04em;
}

.wci-desc {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 6px;
  line-height: 1.45;
}

.wci-foot {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(11, 114, 181, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-tech);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.wci-open {
  color: var(--c-blue-bright);
  font-weight: 700;
}

@media (max-width: 960px) {
  .work-columns {
    height: auto !important;
    flex-direction: column !important;
    gap: 3px;
  }
  .work-col {
    flex: none !important;
    width: 100%;
    height: 58vw !important;
    min-height: 260px;
  }
  .work-col-info {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   8. CLIENTS & FULL-BLEED 100VW MARQUEE DIVIDER STRIP
   ========================================================================== */
.about-section {
  background: var(--bg-absolute);
  padding-top: 5.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.2vw, 5rem);
  line-height: 0.94;
  letter-spacing: 0.03em;
}

.hud-box-quote {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(11, 114, 181, 0.42);
  border-left: 4px solid var(--c-blue);
  padding: 1.65rem 1.85rem;
  clip-path: var(--clip-chamfer-md);
}

.hud-sys-prefix {
  display: block;
  font-family: var(--font-tech);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--c-blue-bright);
  margin-bottom: 0.55rem;
}

.about-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Full-Bleed 100vw Edge-to-Edge Marquee Divider Strip */
.marquee-divider-strip {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
  border-top: 2px solid var(--c-blue);
  border-bottom: 2px solid var(--c-blue);
  background: var(--bg-card);
  z-index: 5;
}

.marquee-divider-strip .marquee-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.marquee-divider-strip .marquee-track:hover {
  animation-play-state: paused;
}

.marquee-divider-strip .marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  padding: 0.5rem 1.15rem;
  background: var(--bg-absolute);
  border: 1px solid rgba(11, 114, 181, 0.38);
  clip-path: var(--clip-chamfer-sm);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.marquee-divider-strip .marquee-item:hover {
  border-color: var(--c-blue-bright);
  transform: translateY(-2px);
}

.mq-id {
  font-family: var(--font-tech);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--c-blue-bright);
  border-right: 1px solid rgba(11, 114, 181, 0.35);
  padding-right: 0.6rem;
}

.marquee-divider-strip .marquee-item img {
  height: 22px;
  width: auto;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.marquee-divider-strip .marquee-item:hover img {
  opacity: 1;
  transform: scale(1.05);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   9. YOUTUBE PORTFOLIO SECTION (ENDHOUSE DATA-BLOCK CARDS)
   ========================================================================== */
.youtube-section {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.youtube-header-quote {
  max-width: 820px;
  margin-top: 0.5rem;
  margin-bottom: 3.25rem;
  padding: 1.25rem 1.65rem;
  background: var(--bg-card);
  border: 1px solid rgba(11, 114, 181, 0.42);
  border-left: 4px solid var(--c-blue);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  clip-path: var(--clip-chamfer-md);
}

.youtube-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 960px) {
  .youtube-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.youtube-card {
  background: var(--bg-card);
  border: 1px solid rgba(11, 114, 181, 0.42);
  border-top: 3px solid var(--c-blue);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  clip-path: var(--clip-chamfer-md);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.youtube-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-blue-bright);
  box-shadow: 6px 6px 0 var(--c-blue-deep);
}

/* Endhouse Data-Block Top Telemetry Header (.db-header) */
.db-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: var(--bg-absolute);
  border-bottom: 1px solid rgba(11, 114, 181, 0.35);
  font-family: var(--font-tech);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.db-ops-id {
  color: var(--c-blush);
  font-weight: 700;
}

.db-category {
  color: var(--c-blue-bright);
}

.youtube-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-absolute);
  overflow: hidden;
  border-bottom: 1px solid rgba(11, 114, 181, 0.35);
}

.youtube-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.youtube-card:hover .youtube-thumb-wrap img {
  transform: scale(1.05);
  filter: brightness(1.08);
}

.youtube-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  background: rgba(5, 6, 8, 0.88);
  border: 1px solid var(--c-blue-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  z-index: 2;
  clip-path: var(--clip-chamfer-sm);
}

.youtube-play-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--c-blush);
  margin-left: 3px;
  transition: fill 0.25s ease;
}

.youtube-card:hover .youtube-play-btn {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--c-blue);
  border-color: var(--c-blush);
}

.youtube-badge-yt {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(5, 6, 8, 0.9);
  border: 1px solid rgba(11, 114, 181, 0.5);
  color: var(--c-blush);
  font-family: var(--font-tech);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.youtube-badge-yt svg {
  width: 12px;
  height: 12px;
  fill: #ff0000;
}

.youtube-info {
  padding: 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.youtube-tag {
  font-family: var(--font-tech);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-blue-bright);
  margin-bottom: 0.5rem;
}

.youtube-card-title {
  font-family: var(--font-display);
  font-size: 1.95rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.02;
  color: var(--c-blush);
  margin-bottom: 1.25rem;
}

.youtube-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(11, 114, 181, 0.32);
  font-family: var(--font-tech);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.youtube-action-link {
  color: var(--c-blue-bright);
  font-weight: 700;
}

/* ==========================================================================
   10. CAPABILITIES / SERVIÇOS — 04 ALIGNED FUI MODULES
   ========================================================================== */
.capabilities-section {
  background: var(--bg-absolute);
  border-bottom: 1px solid var(--border-subtle);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1100px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
}

.card-capabilities {
  background: var(--bg-card);
  border: 1px solid rgba(11, 114, 181, 0.42);
  border-top: 3px solid var(--c-blue);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 410px;
  position: relative;
  clip-path: var(--clip-chamfer-md);
  transition: background-color 0.25s ease, transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card-capabilities:hover {
  background: var(--bg-elevated);
  border-color: var(--c-blue-bright);
  transform: translateY(-5px);
  box-shadow: 6px 6px 0 var(--c-blue-deep);
}

.cap-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid rgba(11, 114, 181, 0.35);
}

.cap-num {
  font-family: var(--font-tech);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-blush);
  background: var(--c-blue-deep);
  border: 1px solid var(--c-blue-bright);
  padding: 3px 9px;
}

.cap-num::before {
  content: "0x";
  color: var(--c-blue-bright);
  margin-right: 1px;
}

.cap-mod-id {
  font-family: var(--font-tech);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--c-blue-bright);
}

.cap-titulo {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.65vw, 1.78rem);
  line-height: 1.05;
  color: var(--c-blush);
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  min-height: 2rem;
  white-space: normal;
}

.cap-descricao {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.68;
  display: block;
  min-height: 6.2rem;
  margin-bottom: 1.75rem;
}

.cap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(11, 114, 181, 0.3);
}

.cap-tag {
  font-family: var(--font-tech);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-blush);
  border: 1px solid rgba(11, 114, 181, 0.45);
  padding: 5px 10px;
  background: var(--bg-absolute);
}

.cap-tag::before {
  content: "#";
  color: var(--c-blue-bright);
  margin-right: 3px;
}

/* Complementary Formats & Platforms HUD Panel */
.cap-applications-panel {
  margin-top: 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(11, 114, 181, 0.45);
  border-left: 4px solid var(--c-blue);
  padding: 1.75rem 2rem;
  position: relative;
  clip-path: var(--clip-chamfer-md);
}

.cap-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(11, 114, 181, 0.32);
}

.cap-app-kicker {
  font-family: var(--font-tech);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--c-blue-bright);
  text-transform: uppercase;
}

.cap-app-badge {
  font-family: var(--font-tech);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--c-blush);
  background: var(--bg-absolute);
  border: 1px solid rgba(11, 114, 181, 0.45);
  padding: 4px 12px;
}

.cap-app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 860px) {
  .cap-app-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.cap-app-col {
  background: rgba(5, 6, 8, 0.55);
  border: 1px solid rgba(11, 114, 181, 0.28);
  padding: 1.25rem 1.4rem;
}

.cap-app-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.4vw, 1.45rem);
  letter-spacing: 0.04em;
  color: var(--c-blush);
  margin-bottom: 0.55rem;
}

.cap-app-title span {
  color: var(--c-blue-bright);
  font-family: var(--font-tech);
  font-size: 11px;
  letter-spacing: 0.14em;
  margin-left: 8px;
  vertical-align: middle;
}

.cap-app-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   11. DIRECTOR / CREATOR PROFILE — THIERRI NEVES
   ========================================================================== */
.director-section {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.director-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 4.5rem;
  align-items: center;
}

@media (max-width: 960px) {
  .director-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.director-photo-wrap {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--c-blue);
  background: var(--bg-card);
  box-shadow: 10px 10px 0 var(--c-blue-deep);
  clip-path: var(--clip-chamfer-lg);
}

.director-photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(106%) grayscale(15%);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s ease;
}

.director-photo-wrap:hover img {
  transform: scale(1.03);
  filter: contrast(110%) grayscale(0%);
}

.director-name-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--font-tech);
  font-size: 12px;
  color: var(--c-blush);
  background: rgba(5, 6, 8, 0.9);
  padding: 7px 14px;
  border: 1px solid var(--c-blue-bright);
  border-left: 3px solid var(--c-blue);
  letter-spacing: 0.16em;
}

.director-mascot-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 66px;
  height: 66px;
  background: rgba(5, 6, 8, 0.92);
  border: 1px solid var(--c-blue-bright);
  padding: 8px;
  box-shadow: 4px 4px 0 var(--c-blue-deep);
  z-index: 3;
}

.director-mascot-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Telemetry Row in Director Profile */
.director-telemetry-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.telemetry-cell {
  background: var(--bg-card);
  border: 1px solid rgba(11, 114, 181, 0.4);
  border-top: 2px solid var(--c-blue);
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tm-label {
  font-family: var(--font-tech);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.tm-val {
  font-family: var(--font-tech);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-blush);
}

.tm-online {
  color: var(--c-green-status);
}

.director-content .titulo-dir {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5.6vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.director-quote-box {
  background: var(--bg-card);
  border: 1px solid rgba(11, 114, 181, 0.42);
  border-left: 4px solid var(--c-blue);
  padding: 1.35rem 1.6rem;
  margin-bottom: 2rem;
  clip-path: var(--clip-chamfer-md);
}

.director-content .descricao {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.metrics-container {
  display: flex;
  gap: 3rem;
  border-top: 1px solid rgba(11, 114, 181, 0.35);
  padding-top: 1.75rem;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.4vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  color: var(--c-blue-bright);
}

.metric-label {
  font-family: var(--font-tech);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* ==========================================================================
   12. WHY WORK WITH ME (04 PROTOCOL CARDS)
   ========================================================================== */
.why-section {
  background: var(--bg-absolute);
  border-bottom: 1px solid var(--border-subtle);
}

.why-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.2vw, 5rem);
  margin-bottom: 3rem;
  letter-spacing: 0.03em;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

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

.card-why-work {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(11, 114, 181, 0.42);
  border-left: 4px solid var(--c-blue);
  padding: 2.25rem 2rem;
  clip-path: var(--clip-chamfer-md);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.card-why-work:hover {
  background: var(--bg-elevated);
  border-color: var(--c-blue-bright);
  transform: translateY(-4px);
}

.why-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.why-num {
  font-family: var(--font-tech);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-blush);
  background: var(--c-blue-deep);
  border: 1px solid var(--c-blue-bright);
  padding: 4px 10px;
  letter-spacing: 0.12em;
  line-height: 1.2;
  flex-shrink: 0;
}

.why-num::before {
  content: "0x";
  color: var(--c-blue-bright);
}

.why-conteudo {
  display: flex;
  flex-direction: column;
}

.why-titulo {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.4vw, 2.35rem);
  color: var(--c-blush);
  margin-bottom: 0.6rem;
  letter-spacing: 0.03em;
  line-height: 0.98;
}

.why-descricao {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   13. SNOW AI LAB, QUOTE STATEMENT, PARALLAX & CTA BAR
   ========================================================================== */
.ailab-section {
  background-color: var(--bg-surface);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.ailab-content {
  position: relative;
  max-width: 820px;
  background: var(--bg-card);
  border: 1px solid rgba(11, 114, 181, 0.45);
  border-left: 4px solid var(--c-blue);
  padding: 3rem 2.75rem;
  clip-path: var(--clip-chamfer-lg);
}

.ailab-content .titulo-ai {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5.8vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
}

.ailab-content .descricao {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.ailab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-outline {
  font-family: var(--font-tech);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-blue-bright);
  border: 1px solid rgba(11, 114, 181, 0.5);
  padding: 8px 14px;
  background: var(--bg-absolute);
  transition: all 0.25s ease;
}

.tag-outline:hover {
  border-color: var(--c-blush);
  background: var(--c-blue);
  color: var(--c-blush);
  transform: translateY(-2px);
}

/* Quote / Impact Statement */
.statement-section {
  background: var(--bg-absolute);
  text-align: center;
  padding-top: 6rem;
  padding-bottom: 6rem;
  border-bottom: 2px solid var(--c-blue);
}

.statement-text {
  font-family: var(--font-display);
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0.03em;
  color: var(--c-blush);
}

.statement-sub {
  margin-top: 1.75rem;
  font-family: var(--font-tech);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-blue-bright);
}

/* Fixed Window Parallax */
.parallax-window {
  width: 100%;
  height: 48vh;
  min-height: 340px;
  background-image: url('../assets/parallax-banner.webp');
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.parallax-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(rgba(5, 6, 8, 0.72) 1px, transparent 1.2px),
    rgba(5, 6, 8, 0.45);
  background-size: 4px 4px, 100% 100%;
}

/* Call to Action Bar (Darker Cyber Blue #0B72B5 Solid Block) */
.cta-section {
  width: 100%;
  background: var(--c-blue);
  border-top: 4px solid var(--c-blush);
  border-bottom: 4px solid var(--c-blue-deep);
  padding: 4rem 3rem;
}

@media (max-width: 960px) {
  .cta-section {
    padding: 3rem 1.5rem;
  }
}

.container-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 2rem;
}

@media (max-width: 960px) {
  .container-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

.cta-eyebrow {
  display: block;
  font-family: var(--font-tech);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--c-blush);
  margin-bottom: 0.4rem;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.6vw, 4.2rem);
  color: var(--c-blush);
  letter-spacing: 0.035em;
  line-height: 0.96;
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
.footer-main {
  background: var(--bg-absolute);
  padding-top: 5.5rem;
  padding-bottom: 2.5rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 960px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
}

.footer-brand .titulo-footer {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  letter-spacing: 0.04em;
  color: var(--c-blush);
  margin-bottom: 0.85rem;
  display: block;
}

.footer-brand .descricao {
  max-width: 390px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer-telemetry {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid rgba(11, 114, 181, 0.4);
  font-family: var(--font-tech);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--c-blue-bright);
}

.footer-col-title {
  font-family: var(--font-tech);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: var(--c-blue-bright);
  display: inline-block;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-nav-list a {
  font-family: var(--font-tech);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.footer-nav-list a:hover {
  color: var(--c-blue-bright);
}

.footer-contact-info {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.85;
}

.footer-contact-info .footer-al {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-tech);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--c-blue-bright);
  border-bottom: 1px solid var(--c-blue);
}

.footer-contact-info .footer-al:hover {
  color: var(--c-blush);
  border-bottom-color: var(--c-blush);
}

.bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(11, 114, 181, 0.35);
  font-family: var(--font-tech);
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
}

@media (max-width: 767px) {
  .bottom-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.back-to-top {
  color: var(--c-blush);
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--c-blue);
}

.back-to-top:hover {
  background: var(--c-blue);
  color: var(--c-blush);
}

/* ==========================================================================
   15. CINEMATIC VIDEO MODAL & SLIDE-OUT CONTACT MODAL
   ========================================================================== */
.video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 8, 0.94);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.video-modal-container {
  width: 100%;
  max-width: 1080px;
  background: var(--bg-card);
  border: 2px solid var(--c-blue-bright);
  box-shadow: 12px 12px 0 var(--c-blue-deep);
  overflow: hidden;
  position: relative;
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  clip-path: var(--clip-chamfer-md);
}

.video-modal-backdrop.open .video-modal-container {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 14px;
  background: rgba(5, 6, 8, 0.92);
  border: 1px solid var(--c-blue-bright);
  color: var(--c-blush);
  font-family: var(--font-tech);
  font-size: 12px;
  letter-spacing: 0.14em;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.video-modal-close:hover {
  background: var(--c-blue);
  color: var(--c-blush);
}

.video-modal-player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal-player-wrap iframe,
.video-modal-player-wrap video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: contain;
}

.video-modal-meta {
  padding: 1.15rem 1.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(11, 114, 181, 0.45);
  background: var(--bg-absolute);
}

.video-modal-category {
  font-family: var(--font-tech);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-blue-bright);
}

.video-modal-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  color: var(--c-blush);
}

.video-modal-telemetry {
  font-family: var(--font-tech);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  display: flex;
  gap: 0.5rem;
}

/* Slide-Out Contact Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 8, 0.88);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  justify-content: flex-end;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal-dialog {
  width: 75vw;
  max-width: 1080px;
  min-height: 100vh;
  background: var(--bg-surface);
  border-left: 2px solid var(--c-blue);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  padding: 4rem 3.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1024px) {
  .modal-dialog {
    width: 90vw;
    padding: 3rem 2rem;
  }
}
@media (max-width: 767px) {
  .modal-dialog {
    width: 100vw;
    padding: 2.5rem 1.5rem;
  }
}

.modal-backdrop.open .modal-dialog {
  transform: translateX(0);
}

.modal-close-btn {
  position: absolute;
  top: 26px;
  right: 26px;
  background: var(--bg-card);
  border: 1px solid var(--c-blue);
  color: var(--c-blush);
  font-family: var(--font-tech);
  font-size: 13px;
  letter-spacing: 0.14em;
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--c-blue);
  color: var(--c-blush);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  margin-top: auto;
  margin-bottom: auto;
}

@media (max-width: 900px) {
  .modal-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
}

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  line-height: 0.96;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
}

.modal-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.contact-card-list {
  display: flex;
  flex-direction: column;
}

.contact-card-row {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(11, 114, 181, 0.3);
  padding: 1.15rem 0;
}

.contact-label {
  font-family: var(--font-tech);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--c-blue-bright);
  text-transform: uppercase;
  min-width: 85px;
}

.contact-value {
  font-family: var(--font-tech);
  font-size: 14px;
  color: var(--c-blush);
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-field-group {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(11, 114, 181, 0.35);
  padding: 1rem 0;
  transition: border-color 0.2s ease;
}

.form-field-group:focus-within {
  border-bottom-color: var(--c-blue-bright);
}

.form-field-group.is-textarea {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.form-label {
  font-family: var(--font-tech);
  font-size: 12px;
  color: var(--c-blue-bright);
  min-width: 110px;
  letter-spacing: 0.12em;
}

.form-input,
.form-textarea {
  flex: 1;
  width: 100%;
  background: transparent;
  border: none;
  color: var(--c-blush);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(242, 221, 213, 0.32);
}

.form-textarea {
  resize: vertical;
  min-height: 85px;
}

.btn-form-submit {
  width: 100%;
  margin-top: 2rem;
  background: var(--c-blue);
  border: 1px solid var(--c-blue-bright);
  color: var(--c-blush);
  font-family: var(--font-tech);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px;
  cursor: pointer;
  clip-path: var(--clip-chamfer-sm);
  transition: all 0.25s ease;
}

.btn-form-submit:hover {
  background: var(--c-blush);
  color: var(--c-black);
  border-color: var(--c-blush);
}

.form-success-message {
  display: none;
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(11, 114, 181, 0.2);
  border: 1px solid var(--c-blue-bright);
  color: var(--c-blush);
  font-family: var(--font-tech);
  font-size: 13px;
  text-align: center;
}

/* ==========================================================================
   V4.1 ADJUSTMENTS
   ========================================================================== */
/* Marquee: logos only, no inner boxes */
.marquee-divider-strip { padding: 1.35rem 0; }
.marquee-divider-strip .marquee-track { gap: 5rem; }
.marquee-divider-strip .marquee-item {
  padding: 0;
  background: none;
  border: none;
  clip-path: none;
}
.marquee-divider-strip .marquee-item:hover { transform: none; }
.marquee-divider-strip .marquee-item img { height: 30px; max-width: 150px; }

/* Sobre mim: fit within one viewport */
.director-section.section-spacer { padding-top: 4rem; padding-bottom: 4rem; }
.director-grid {
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 3.5rem;
  max-width: 1240px;
  margin: 0 auto;
}
.director-photo-wrap { max-height: calc(100vh - 11rem); }
.director-photo-wrap img {
  height: calc(100vh - 11rem);
  max-height: 640px;
  object-fit: cover;
  object-position: center top;
}
.director-telemetry-row { margin-bottom: 1rem; }
.director-content .titulo-dir {
  font-size: clamp(2.6rem, 4.2vw, 4rem);
  margin-bottom: 1.1rem;
}
.director-quote-box { padding: 1.1rem 1.4rem; margin-bottom: 1.4rem; }
.director-content .descricao { font-size: 14px; }
.metrics-container { padding-top: 1.25rem; }
.metric-number { font-size: clamp(2.2rem, 3.4vw, 3.2rem); }

@media (max-width: 960px) {
  .director-grid { grid-template-columns: 1fr; }
  .director-photo-wrap, .director-photo-wrap img { max-height: 520px; height: auto; }
}

/* ==========================================================================
   LANGUAGE SWITCHER (PT-BR | EN) — HUD SWITCH MODULE
   ========================================================================== */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(8, 11, 17, 0.85);
  border: 1px solid rgba(11, 114, 181, 0.45);
  height: 36px;
  padding: 2px;
  gap: 2px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  height: 100%;
  font-family: var(--font-tech);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(242, 221, 213, 0.55);
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.lang-btn:hover {
  color: var(--c-blush);
  background: rgba(11, 114, 181, 0.14);
}

.lang-btn.active {
  color: var(--c-blush);
  background: rgba(11, 114, 181, 0.28);
  border-color: rgba(20, 136, 216, 0.65);
  box-shadow: inset 0 0 10px rgba(11, 114, 181, 0.25);
}

.lang-flag-svg {
  width: 16px;
  height: 11px;
  border-radius: 1.5px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.mobile-lang-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(11, 114, 181, 0.25);
}

.mobile-lang-switcher .lang-switcher {
  height: 40px;
}

.mobile-lang-switcher .lang-btn {
  padding: 0 14px;
  font-size: 12px;
}


/* ==========================================================================
   SNOWFILMES STUDIO — USER THEME OVERRIDES (AUTO-GENERATED)
   ========================================================================== */
:root {
  --c-black: #050608;
  --bg-absolute: #050608;
  --c-forest: #050608;

  --c-slate: #080B11;
  --bg-surface: #080B11;

  --c-card: #0B1018;
  --bg-card: #0B1018;

  --c-blue: #0B72B5;
  --c-sky: #0B72B5;
  --accent-primary: #0B72B5;
  --border-highlight: #0B72B5;

  --c-blue-bright: #1488D8;
  --border-light: #1488D8;

  --c-blue-deep: #063B63;
  --c-ocean: #063B63;
  --c-teal: #063B63;

  --c-blush: #F2DDD5;
  --text-primary: #F2DDD5;

  --font-display: 'Brunson', Impact, sans-serif;
  --font-heading: 'Brunson', Impact, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sub: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-tech: 'Share Tech Mono', 'Space Mono', monospace;
  --font-code: 'Share Tech Mono', 'Space Mono', monospace;
}
