/* ==========================================================================
   RESET & TYPOGRAPHY
   ========================================================================== */

@font-face {
  font-family: 'Nata';
  src: url('fonts/Nata-ExtraBlack.otf') format('opentype');
  font-weight: 900 950;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0a0b;
  --ink: #f4f1ea;
  --mid: #8d8b86;
  --line: rgba(244, 241, 234, .14);

  --bg-dark: #0a0a0b;
  --bg-watermark: #0e0e10;
  --color-red: #f5073f;
  --color-red-dark: #bf002d;
  --color-white: #ffffff;
  --color-muted: rgba(255, 255, 255, 0.61);
  --color-card-placeholder: #d9d9d9;
  
  --font-display: 'Nata', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--color-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
}

body {
  background-color: var(--bg-dark);
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

button {
  background: none;
  border: none;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}

/* ==========================================================================
   SEÇÕES BASE (1920x800 base)
   ========================================================================== */

.section {
  position: relative;
  width: 100%;
  height: 800px;
  background-color: var(--bg-dark);
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1104px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Shared Titles */
.section-title {
  font-family: var(--font-display);
  font-weight: 950;
  font-size: 70px;
  line-height: 0.8;
  letter-spacing: -1.4px;
  color: var(--color-white);
  text-transform: uppercase;
}

.section-title.center-title {
  text-align: center;
  padding-top: 100px;
}

/* ==========================================================================
   SEÇÃO 1: HERO
   ========================================================================== */

.hero-section {
  position: relative;
  width: 100%;
  height: 800px;
  background-color: var(--bg-dark);
  overflow: hidden;
}

/* Background GradientASCII (React Bits - WebGL 2) */
.gradient-ascii-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.gradient-ascii-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-container {
  height: 100%;
  max-width: 1104px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

/* Menu de Navegação Global - Fixo acima de tudo com desfoque de fundo e alta legibilidade */
.nav-menu {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1040px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(12, 10, 11, 0.88) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  padding: 10px 24px;
  border-radius: 40px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75), 0 0 20px rgba(245, 7, 63, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-sizing: border-box;
  z-index: 2147483647 !important;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s ease,
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

/* Quando descer a página: o menu fica fixo compacto, com desfoque e conteúdo perfeitamente por cima */
.nav-menu.nav-menu--fixed {
  width: auto;
  max-width: fit-content;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 8px 14px;
  background: rgba(12, 10, 11, 0.90) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(245, 7, 63, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.22);
  z-index: 2147483647 !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  transition: opacity 0.25s ease, max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1), margin 0.35s ease;
  overflow: hidden;
}

.nav-menu.nav-menu--fixed .nav-links {
  display: none !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-menu.nav-menu--fixed .nav-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: auto;
  margin: 0;
}

.nav-links li {
  height: 32px;
  overflow: hidden;
}

/* Efeito Roller 3D do Menu com Letras Brancas Nítidas */
.nav-roller {
  display: inline-block;
  height: 32px;
  line-height: 32px;
  position: relative;
  text-decoration: none;
  cursor: pointer;
  perspective: 400px;
}

.nav-roller .roller-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1);
  transform: translateY(0);
}

.nav-roller:hover .roller-track {
  transform: translateY(-50%);
}

.roller-item {
  height: 32px;
  line-height: 32px;
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.4px;
  color: #ffffff; /* Letras Brancas nítidas sobre o desfoque */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.35s ease;
  transform-origin: center center;
}

.roller-item.clone {
  color: var(--color-red);
  transform: rotateX(-50deg);
  opacity: 0.9;
}

.nav-roller:hover .roller-item.primary {
  transform: rotateX(50deg);
  opacity: 0;
}

.nav-roller:hover .roller-item.clone {
  transform: rotateX(0deg);
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Ptbr Pill */
.lang-pill {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 33.3px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
}

.lang-flag-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.lang-flag {
  width: 18px;
  height: 13.5px;
  border-radius: 2.5px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  display: block;
}

.lang-pill:hover {
  background-color: rgba(245, 7, 63, 0.2);
  border-color: var(--color-red);
  transform: translateY(-1px);
}

.lang-pill span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.3px;
  color: #ffffff;
  user-select: none;
  transition: color 0.25s ease;
}

.lang-pill.active-en {
  border-color: var(--color-red);
  background-color: rgba(245, 7, 63, 0.25);
}

.lang-pill.active-en span {
  color: #ffffff;
  font-weight: 600;
}

/* Vamos Conversar */
.btn-conversar {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 45px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-conversar:hover {
  background-color: #25D366; /* Verde Oficial do WhatsApp */
  border-color: #25D366;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}

.btn-conversar:hover span {
  color: #ffffff;
}

.btn-conversar:hover .icon-chat {
  filter: brightness(0) invert(1);
}

.btn-conversar .icon-chat-wrapper {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-conversar .icon-chat {
  width: 100%;
  height: 100%;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.btn-conversar span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  letter-spacing: -0.32px;
  color: #ffffff;
  white-space: nowrap;
  transition: color 0.3s ease;
}

/* Subtítulo Hero - Perfeitamente alinhado à esquerda com o container central de 1104px */
.hero-subtitle {
  position: absolute;
  top: 450px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1104px;
  padding: 0;
  text-align: left;
  box-sizing: border-box;
}

.hero-subtitle p {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 35px;
  line-height: 0.9;
  letter-spacing: -0.7px;
  color: var(--color-white);
  margin: 0;
  padding: 0;
}

/* Componente TechText (React Bits) no Hero - Centralizado na página com 1104px */
.tech-text-hero {
  position: absolute;
  top: 555px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1104px;
  height: 350px;
  touch-action: pan-y;
  user-select: none;
  z-index: 10;
  overflow: visible;
}

.tech-text-hero canvas.tech-text-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Componente ScrollReveal (React Bits) - Ajustes 7, 8 e 9 */
.scroll-reveal-text {
  display: inline;
  line-height: inherit;
  font-weight: inherit;
}

.scroll-reveal-word {
  display: inline-block;
  white-space: pre-wrap;
}

.scroll-reveal-piece {
  display: inline-block;
  will-change: opacity, transform, filter;
}

/* Título Gigante Hero - Ajuste 1: Exatamente alinhado à esquerda com corte embaixo */
.hero-title {
  position: absolute;
  top: 577px;
  left: 0;
  width: 1104px;
  font-family: var(--font-display);
  font-weight: 950;
  font-size: 348.43px;
  line-height: 0.8;
  letter-spacing: -6.97px;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  z-index: 10;
  color: var(--color-red);
  background: linear-gradient(90deg, #f5073f 0%, #bf002d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Letras com Efeito Fumaça Detalhado */
.smoke-char {
  display: inline-block;
  position: relative;
  will-change: transform, filter, opacity;
  transition: transform 1.25s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.15s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
              text-shadow 0.8s ease-out;
  cursor: pointer;
  -webkit-text-fill-color: initial;
}

.smoke-space {
  display: inline-block;
  width: 0.3em;
}

/* Estado Dissipado (Fumaça Detalhada com dispersão cromática e deriva) */
.smoke-char.smoked {
  filter: blur(28px) brightness(1.35) !important;
  opacity: 0 !important;
  transform: translate(var(--drift-x, 20px), var(--drift-y, -110px)) scale(1.9) rotate(var(--rot, 15deg)) !important;
  text-shadow: 0 0 35px #f5073f, 0 -25px 50px #bf002d, 0 -50px 80px rgba(245, 7, 63, 0.6) !important;
  transition: transform 0.55s cubic-bezier(0.1, 0.85, 0.2, 1),
              filter 0.5s ease-out,
              opacity 0.5s ease-out,
              text-shadow 0.4s ease-out !important;
  pointer-events: none;
}

/* Partícula de Fumaça Vaporosa Detalhada */
.smoke-puff {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  background: radial-gradient(circle, rgba(245, 7, 63, 0.75) 0%, rgba(191, 0, 45, 0.4) 45%, rgba(20, 10, 12, 0.15) 70%, transparent 85%);
  filter: blur(14px);
  will-change: transform, opacity;
  animation: puffRise 1.3s cubic-bezier(0.18, 0.85, 0.3, 1) forwards;
}

@keyframes puffRise {
  0% {
    transform: translate(-50%, -50%) scale(0.4) rotate(0deg);
    opacity: 0.95;
  }
  40% {
    opacity: 0.7;
  }
  100% {
    transform: translate(calc(-50% + var(--puff-drift, 0px)), calc(-50% - 150px)) scale(3.2) rotate(var(--puff-rot, 30deg));
    opacity: 0;
    filter: blur(34px);
  }
}

/* Micro-Fagulha / Brasa de Fumaça Detalhada */
.smoke-ember {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  background: #ffffff;
  box-shadow: 0 0 8px #f5073f, 0 0 16px #f5073f, 0 0 24px #bf002d;
  will-change: transform, opacity;
  animation: emberFloat 1.1s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

@keyframes emberFloat {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    transform: translate(calc(-50% + var(--ember-drift, 0px)), calc(-50% - 180px)) scale(0.2);
    opacity: 0;
  }
}

/* ==========================================================================
   SEÇÃO 2: PROJETOS (Ajustes 1 e 2)
   ========================================================================== */

.projects-section {
  position: relative;
  width: 100%;
  height: auto !important;
  background-color: var(--bg);
  overflow: visible !important;
  padding: 0;
}

#track {
  height: 700vh;
  position: relative;
  width: 100%;
}

.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--bg);
  width: 100%;
  z-index: 10;
}

.hl {
  position: absolute;
  left: 0;
  right: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 6.7vw, 130px);
  line-height: 1;
  letter-spacing: -.055em;
  white-space: nowrap;
  text-align: center;
  will-change: transform;
  color: var(--ink);
}

#l1 {
  top: calc(50% - .98em);
}

#l2 {
  top: calc(50% + .03em);
}

#l1 span, #l2 span {
  display: inline-block;
}

#l1 span {
  margin-right: 15vw;
}

#l2 span {
  margin-left: 15vw;
}

#cap {
  display: none !important;
}

#gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.stage .top {
  display: none !important;
}

.stage .acts {
  display: none !important;
}

#pager {
  display: none !important;
}

#hint {
  display: none !important;
}

#glow {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 42%;
  background: linear-gradient(rgba(244, 241, 234, .1), rgba(244, 241, 234, 0));
  pointer-events: none;
  z-index: 2;
}

/* Ajuste 3: Linha de cima (#cross) removida */
#cross {
  display: none !important;
}

/* Ajuste 6: Escrita abaixo (.bot) removida */
.stage .bot {
  display: none !important;
}

/* Ajuste 2: Linha do meio perfeitamente alinhada e centrada */
#rule {
  display: none !important;
}

#name {
  position: absolute;
  left: 0;
  top: 0;
  padding: 6px 11px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
  pointer-events: none;
  opacity: 0;
  transition: opacity .16s;
  white-space: nowrap;
  z-index: 999;
}

/* ==========================================================================
   SEÇÃO 2: DOCK SELETOR DE CATEGORIA (Social Media / Landing Pages - Ajuste 4)
   ========================================================================== */
.projects-category-dock {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 12, 12, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 6px 10px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(245, 7, 63, 0.2);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
}

.projects-category-dock.visible {
  opacity: 1;
  pointer-events: auto;
}

.proj-cat-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid transparent;
  border-radius: 99px;
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  letter-spacing: -0.2px;
}

.proj-cat-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.proj-cat-btn.active {
  background: #f5073f;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 20px rgba(245, 7, 63, 0.6);
}

/* ==========================================================================
   PÁGINA EXTRA DE PROJETO & GALERIA COMPLETA (Case Study View)
   ========================================================================== */

.project-page-overlay {
  position: fixed;
  inset: 0;
  background: #090809;
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
  overflow: hidden;
}

.project-page-overlay.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

body.project-page-active {
  overflow: hidden !important;
}

/* Header Fixo com Efeito Vidro */
.project-page-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(12, 10, 11, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
}

.project-page-header-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.project-back-btn:hover {
  background: #f5073f;
  border-color: #f5073f;
  transform: translateX(-3px);
}

.project-back-btn .back-arrow {
  font-size: 16px;
  line-height: 1;
}

.project-back-btn .kbd-hint {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.8);
  font-family: monospace;
}

.project-header-center {
  display: flex;
  align-items: center;
  gap: 12px;
}

.project-header-badge {
  background: rgba(245, 7, 63, 0.18);
  color: #ff3366;
  border: 1px solid rgba(245, 7, 63, 0.4);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 99px;
  text-transform: uppercase;
}

.project-header-counter {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

.project-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-nav-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.project-nav-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.06);
}

.project-page-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245, 7, 63, 0.15);
  border: 1px solid rgba(245, 7, 63, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  margin-left: 6px;
  transition: all 0.2s ease;
}

.project-page-close-btn:hover {
  background: #f5073f;
  border-color: #f5073f;
  transform: rotate(90deg) scale(1.08);
}

/* Corpo Scrollável */
.project-page-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 40px 0 100px 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.project-page-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Hero do Projeto */
.project-hero-block {
  margin-bottom: 48px;
}

.project-category-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.project-pill {
  background: #f5073f;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 99px;
  text-transform: uppercase;
}

.project-year {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
}

.project-hero-title {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 12px 0;
}

.project-hero-subtitle {
  display: none !important;
}

/* Grid de Metadados (Oculto - Apresentação direta: Nome Único + Descrição Breve + Galeria) */
.project-meta-grid {
  display: none !important;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.meta-val {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.project-description-box {
  background: rgba(245, 7, 63, 0.04);
  border-left: 3px solid #f5073f;
  padding: 20px 24px;
  border-radius: 0 14px 14px 0;
  margin-top: 18px;
  margin-bottom: 36px;
}

.project-description-box p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* Seção da Capa (Oculta - Apresentação segue direto para a galeria) */
.project-cover-section {
  display: none !important;
}

.project-cover-wrapper {
  position: relative;
  width: 100%;
  max-height: 600px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(245, 7, 63, 0.15);
  background: #141113;
}

.project-cover-img {
  width: 100%;
  height: 100%;
  max-height: 600px;
  object-fit: cover;
  display: block;
}

.project-cover-tag {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(12, 10, 11, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
}

/* Seção de Galeria */
.project-gallery-section {
  margin-bottom: 72px;
}

.gallery-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 18px;
  margin-bottom: 32px;
}

.gallery-title-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gallery-title {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.gallery-count-badge {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
}

.gallery-hint {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* Grid da Galeria */
.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-gallery-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #141113;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-gallery-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 7, 63, 0.5);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 30px rgba(245, 7, 63, 0.2);
}

.gallery-card-media {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #0f0d0e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-card-img {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-gallery-card:hover .gallery-card-img {
  transform: scale(1.02);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 8, 9, 0.85) 0%, rgba(10, 8, 9, 0.2) 60%, transparent 100%);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.project-gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.zoom-pill {
  background: #f5073f;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(245, 7, 63, 0.5);
}

.project-gallery-card:hover .zoom-pill {
  transform: translateY(0);
}

.gallery-card-info {
  display: none !important;
}

.gallery-card-caption {
  display: none !important;
}

.gallery-card-desc {
  display: none !important;
}

/* Footer do Projeto */
.project-page-footer {
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 48px;
}

.project-footer-box {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}

.project-footer-box .footer-cta-col h3 {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.project-footer-box .footer-cta-col p {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 24px 0;
  max-width: 480px;
}

.project-whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #f5073f;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 10px 30px rgba(245, 7, 63, 0.4);
}

.project-whatsapp-cta:hover {
  background: #ff1f55;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(245, 7, 63, 0.6);
}

.project-whatsapp-cta .cta-icon {
  width: 20px;
  height: 20px;
}

.footer-next-col {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 26px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-next-col:hover {
  background: rgba(245, 7, 63, 0.08);
  border-color: rgba(245, 7, 63, 0.4);
  transform: translateX(4px);
}

.footer-next-col .next-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: #f5073f;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.footer-next-col h4 {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.footer-next-col .next-cat {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* Lightbox Fullscreen */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.gallery-lightbox.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.lightbox-overlay-bg {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 5, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-image-box {
  max-width: 100%;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-active-img {
  max-width: 92vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 40px rgba(245, 7, 63, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: block;
}

.lightbox-caption {
  display: none !important;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: #f5073f;
  border-color: #f5073f;
  transform: scale(1.1);
}

/* Responsividade da Página do Projeto */
@media (max-width: 900px) {
  .project-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-gallery-grid {
    grid-template-columns: 1fr;
  }
  .project-footer-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .project-page-header-container {
    padding: 0 16px;
  }
  .project-back-btn .back-label, .project-back-btn .kbd-hint {
    display: none;
  }
  .project-meta-grid {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .project-page-container {
    padding: 0 18px;
  }
}

/* ==========================================================================
   SEÇÃO 3: SOBRE (Ajuste 7: Textos e trajetória 100% visíveis e com total legibilidade)
   ========================================================================== */

.about-section {
  position: relative;
  height: auto !important;
  min-height: 850px;
  padding: 100px 0 120px 0;
  overflow: visible !important;
}

/* Watermark de Fundo - Ajuste: "SOMA" monumental com pulso suave */
.about-watermark {
  position: absolute;
  top: calc(50% + 7px);
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 950;
  font-size: 850px;
  line-height: 0.8;
  letter-spacing: -20px;
  color: #bf002d;
  opacity: 0.025;
  user-select: none;
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
  text-transform: uppercase;
  animation: chatgptGeneratePulse 5.5s ease-in-out infinite;
  will-change: transform, filter, opacity;
}

@keyframes chatgptGeneratePulse {
  0% {
    transform: translate(-50%, -50%) scale(0.985);
    opacity: 0.015;
    filter: blur(2px) drop-shadow(0 0 0px rgba(245, 7, 63, 0));
  }
  35% {
    transform: translate(-50%, -50%) scale(1.02);
    opacity: 0.032;
    filter: blur(0.5px) drop-shadow(0 0 30px rgba(245, 7, 63, 0.4));
  }
  70% {
    transform: translate(-50%, -50%) scale(0.995);
    opacity: 0.02;
    filter: blur(2.5px) drop-shadow(0 0 10px rgba(245, 7, 63, 0.15));
  }
  100% {
    transform: translate(-50%, -50%) scale(0.985);
    opacity: 0.015;
    filter: blur(2px) drop-shadow(0 0 0px rgba(245, 7, 63, 0));
  }
}

/* Componente ScrollReveal (React Bits) */
.scroll-reveal {
  position: relative;
}

.about-container {
  max-width: 1064px;
  height: 100%;
}

.about-grid {
  margin-top: 58px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

/* Coluna Esquerda: Foto & Card */
.about-left-col {
  width: 434px;
  position: relative;
}

/* Container de Fundo para o InfiniteSpiral (atrás da foto na coluna esquerda) */
.about-spiral-container {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 460px;
  height: 620px;
  z-index: 1;
  pointer-events: auto;
  overflow: visible;
}

/* ==========================================================================
   InfiniteSpiral (React Bits Component CSS)
   ========================================================================== */
.infinite-spiral {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
  isolation: isolate;
}

.infinite-spiral__stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.infinite-spiral__item {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--infinite-spiral-card-width);
  height: var(--infinite-spiral-card-height);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--infinite-spiral-card-radius);
  background: rgba(14, 12, 12, 0.88);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.6);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.infinite-spiral__item:hover {
  border-color: rgba(245, 7, 63, 0.85);
  box-shadow: 0 16px 45px rgba(245, 7, 63, 0.35);
}

.infinite-spiral__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  .infinite-spiral__item {
    transition: none;
  }
}

.profile-card-wrapper {
  position: relative;
  width: 434px;
  height: 480px;
  z-index: 5;
}

/* Foto sobrepondo o topo do retângulo vermelho */
.profile-photo-wrapper {
  position: absolute;
  top: 0;
  left: 27px;
  width: 361px;
  height: 331.51px;
  z-index: 6;
  pointer-events: none;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Retângulo com Gradiente Vermelho Escuro */
.profile-card-bg {
  position: absolute;
  top: 199px;
  left: 0;
  width: 434px;
  height: 131px;
  border-radius: 27px;
  background: linear-gradient(90deg, #2c040d 0%, #3b010f 100%);
  z-index: 2;
}

/* Informações Abaixo do Retângulo */
.profile-footer {
  position: absolute;
  top: 344px;
  left: 0;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 3;
}

.profile-identity {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-name {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 21px;
  line-height: 1;
  letter-spacing: -0.42px;
  color: var(--color-red);
}

.profile-role {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11.19px;
  line-height: 1;
  letter-spacing: -0.22px;
  color: var(--color-white);
}

/* Botões Sociais */
.social-links {
  display: flex;
  align-items: center;
  gap: 7.07px;
  padding-top: 4px;
}

.social-btn {
  width: 28.29px;
  height: 28.29px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.social-btn:hover {
  transform: scale(1.1);
}

.social-icon {
  width: 100%;
  height: 100%;
  display: block;
}

/* Coluna Direita: Bio e Linha do Tempo */
.about-right-col {
  width: 505px;
  padding-top: 14px;
  position: relative;
  z-index: 5;
}

.about-bio p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 21px;
  line-height: 1.09;
  letter-spacing: -0.42px;
  color: var(--color-white);
  margin-bottom: 24px;
}

.about-bio strong {
  font-weight: 700;
}

/* Experiência com Linha Vertical */
.experience-timeline {
  margin-top: 48px;
  display: flex;
  align-items: stretch;
  gap: 20px;
  position: relative;
}

.timeline-indicator {
  width: 1px;
  background-color: var(--color-white);
  opacity: 0.35;
  flex-shrink: 0;
  align-self: stretch;
  min-height: 100%;
}

.timeline-indicator .timeline-line {
  display: none;
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.timeline-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.timeline-role-group {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.timeline-role {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.38px;
  color: var(--color-white);
}

.timeline-company {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: -0.2px;
  color: var(--color-muted);
}

.timeline-dates {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.timeline-dates span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.2px;
  color: var(--color-white);
  opacity: 0.9;
  white-space: nowrap;
}

.arrow-right {
  width: 16px;
  display: block;
  opacity: 0.65;
}

.timeline-desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
  letter-spacing: -0.15px;
}

@media (max-width: 600px) {
  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .timeline-dates {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   SEÇÃO 4: SERVIÇOS (Ajuste 3: Título e Tópicos juntos; hover dinâmico em Design Posts e Landing Page)
   ========================================================================== */

.services-section {
  height: auto !important;
  min-height: 640px;
  padding: 100px 0 120px 0;
  overflow: visible !important;
}

.services-container {
  max-width: 1300px;
  width: 100%;
}

.services-list {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}

.service-row {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  min-height: 94px;
  padding: 22px 34px;
  border-radius: 24px;
  cursor: pointer;
  background-color: transparent;
  display: flex;
  align-items: center;
  transition: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
}

.service-main-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 2;
  gap: 16px;
}

.service-title {
  font-family: var(--font-display);
  font-weight: 950;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.76px;
  color: var(--color-white);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease, transform 0.35s ease;
  flex-shrink: 0;
}

/* Imagem Maior, Reta (Sem Inclinação) que Sobe da Linha no Hover (Landing Page) */
.service-rising-image {
  width: 0;
  height: 235px;
  opacity: 0;
  overflow: hidden;
  border-radius: 20px;
  pointer-events: none;
  background-color: #121011;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.92), 0 0 35px rgba(245, 7, 63, 0.3);
  transform: translateY(40px);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              margin 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: width, opacity, transform;
  flex-shrink: 0;
  margin: 0;
  position: relative;
}

.service-rising-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Container e Itens do Rastro de Imagens (Design Posts - Cases de Social Media) */
.service-trail-container {
  position: absolute;
  inset: 0;
  pointer-events: none !important;
  overflow: hidden;
  z-index: 6;
  border-radius: 24px;
}

.service-trail-item {
  position: absolute;
  width: 195px;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  pointer-events: none !important;
  user-select: none;
  background-color: #121011;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(245, 7, 63, 0.35);
  transform: translate(-50%, -50%) scale(0.7) rotate(var(--rot, 0deg));
  opacity: 0;
  transition: transform 0.11s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.10s ease-out;
  will-change: transform, opacity;
}

.service-trail-item.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(var(--rot, 0deg));
}

.service-trail-item.fade-out {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88) rotate(var(--rot, 0deg));
  transition: transform 0.18s ease-in, opacity 0.18s ease-in;
}

.service-trail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  margin-left: auto;
  flex-shrink: 0;
  z-index: 2;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* No Hover: Preenchimento de cor 100% completo cobrindo toda a linha e todos os tópicos */
.service-row:hover {
  min-height: 235px;
  padding: 26px 34px;
  background: linear-gradient(90deg, #f5073f 0%, #ba042e 100%);
  box-shadow: 0 22px 60px rgba(245, 7, 63, 0.45), 0 0 35px rgba(245, 7, 63, 0.25);
  transform: translateY(-2px);
}

.service-row:hover .service-title {
  color: #ffffff;
  transform: translateX(4px);
}

.service-row:hover .service-tags {
  transform: translateX(-4px);
}

/* Hover no Container da Imagem Reta (Landing Page Showcase) */
.service-row:hover .service-rising-image {
  width: 420px;
  opacity: 1;
  transform: translateY(-18px) scale(1);
  margin: 0 18px;
  pointer-events: none;
}

/* Imagem completa da landing page que rola suavemente do topo até o fim */
.service-rising-scroll-img {
  width: 100% !important;
  height: auto !important;
  display: block;
  transform: translateY(0);
  will-change: transform;
}

/* Animação suave com início mais cadenciado e aceleração progressiva sutil */
.service-row:hover .service-rising-scroll-img {
  animation: pageScrollImmediate 11s cubic-bezier(0.42, 0, 0.58, 1) infinite alternate;
}

@keyframes pageScrollImmediate {
  0% {
    transform: translateY(0);
  }
  15% {
    /* Começa menos acelerado nos primeiros instantes */
    transform: translateY(-8%);
  }
  100% {
    /* Desce com ritmo contínuo e equilibrado até o rodapé */
    transform: translateY(calc(-100% + 235px));
  }
}

/* Scrollbar estilizada sutil para o preview interativo */
.service-preview-frame-wrap::-webkit-scrollbar {
  width: 5px;
}
.service-preview-frame-wrap::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.2);
}
.service-preview-frame-wrap::-webkit-scrollbar-thumb {
  background: rgba(245, 7, 63, 0.6);
  border-radius: 99px;
}

.service-tag {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 99px;
  padding: 7px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.service-row:hover .service-tag {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.9);
}

.service-tag span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1;
  letter-spacing: -0.2px;
  color: var(--color-white);
  white-space: nowrap;
}

/* Divisória única e limpa */
.service-divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-white);
  opacity: 0.15;
  margin: 18px 0;
  transition: opacity 0.3s ease;
}

/* ==========================================================================
   SEÇÃO 5: FOOTER (Layout e atmosfera inspirados na referência visual, identidade Endrio)
   ========================================================================== */

.footer-section {
  position: relative;
  height: auto !important;
  min-height: auto !important;
  padding: 100px 0 60px 0;
  overflow: visible !important;
  background: radial-gradient(ellipse 75% 65% at 50% 105%, rgba(245, 7, 63, 0.28) 0%, rgba(191, 0, 45, 0.1) 45%, rgba(10, 10, 11, 0) 80%), #0a0a0b;
}

.footer-container {
  max-width: 1104px;
  height: auto !important;
  padding: 0 24px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  z-index: 2;
}

.footer-main-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

/* Lado Esquerdo do Rodapé: Texto Principal Mantido */
.footer-cta-col {
  max-width: 500px;
}

.footer-headline {
  font-family: var(--font-display);
  font-weight: 950;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.8px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.footer-headline .cta-white {
  color: var(--color-white);
  display: block;
}

.footer-headline .cta-red {
  color: var(--color-red);
  display: block;
  margin-top: 6px;
}

.footer-cta-action {
  display: inline-flex;
}

/* Lado Direito do Rodapé: Voltar ao Topo + Colunas de Navegação Alinhadas */
.footer-nav-col {
  display: flex;
  align-items: flex-start;
  gap: 52px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  min-width: 90px;
}

.footer-column-title,
.footer-back-to-top {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.footer-back-to-top {
  cursor: pointer;
}

.footer-back-to-top:hover {
  color: var(--color-red);
  transform: translateY(-2px);
}

.footer-back-to-top .arrow-up {
  font-size: 16px;
  line-height: 1;
}

.footer-column-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column-links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.65);
  transition: all 0.2s ease;
  display: inline-block;
  text-decoration: none;
}

.footer-column-links a:hover {
  color: var(--color-white);
  transform: translateX(3px);
}

/* Linha Inferior de Copyright e Créditos (Totalmente visível, sem sobreposição) */
.footer-bottom-bar {
  margin-top: 64px;
  padding-top: 24px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright,
.footer-credits {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.footer-credits strong {
  color: #ffffff;
  font-weight: 600;
}

@media (max-width: 900px) {
  .footer-main-row {
    flex-direction: column;
    gap: 48px;
  }
  .footer-nav-col {
    flex-wrap: wrap;
    gap: 36px;
  }
  .footer-bottom-bar {
    margin-top: 48px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ==========================================================================
   DESFOQUE INFERIOR FIXO (Totalmente Desativado e Removido)
   ========================================================================== */

.bottom-blur-dock {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  height: 0 !important;
  opacity: 0 !important;
}

/* ==========================================================================
   RESPONSIVIDADE (Telas menores, Tablets e Mobile First-Class)
   ========================================================================== */

@media (max-width: 1150px) {
  .hero-title {
    font-size: 260px;
    width: 100%;
  }

  .nav-menu {
    width: calc(100% - 32px);
    padding: 10px 20px;
  }

  .container {
    padding: 0 24px;
  }
}

@media (max-width: 900px) {
  .section {
    height: auto !important;
    min-height: auto;
    padding: 70px 0;
  }

  /* Menu Fixo Adaptativo no Mobile: Compacto, proporcional, centralizado e com alta legibilidade */
  .nav-menu {
    position: fixed !important;
    top: 12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 16px) !important;
    max-width: 382px !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 5px 8px 5px 12px !important;
    border-radius: 40px !important;
    background: rgba(12, 10, 11, 0.94) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85), 0 0 18px rgba(245, 7, 63, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    z-index: 2147483647 !important;
    box-sizing: border-box !important;
  }

  /* No mobile, ao rolar a página (.nav-menu--fixed), os links são ocultados e a pílula se ajusta ao conteúdo central */
  .nav-menu.nav-menu--fixed {
    width: auto !important;
    max-width: fit-content !important;
    justify-content: center !important;
    padding: 6px 14px !important;
    gap: 8px !important;
  }

  .nav-menu.nav-menu--fixed .nav-actions {
    justify-content: center !important;
    margin: 0 !important;
    width: auto !important;
  }

  .nav-links {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    flex-shrink: 0 !important;
    overflow: visible !important;
  }

  .nav-links li {
    height: 24px !important;
    line-height: 24px !important;
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    width: auto !important;
  }

  .nav-roller {
    height: 24px !important;
    line-height: 24px !important;
    overflow: hidden !important;
  }

  .nav-roller .roller-item {
    font-size: 11.5px !important;
    font-weight: 500 !important;
    height: 24px !important;
    line-height: 24px !important;
    letter-spacing: -0.1px !important;
    color: rgba(255, 255, 255, 0.92) !important;
    white-space: nowrap !important;
  }

  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    flex-shrink: 0 !important;
  }

  .lang-pill {
    padding: 4px 6px !important;
    font-size: 10px !important;
    gap: 4px !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    white-space: nowrap !important;
  }

  .lang-flag {
    width: 13px !important;
    height: 9px !important;
  }

  .lang-pill span {
    font-size: 10px !important;
    font-weight: 500 !important;
  }

  .btn-conversar {
    padding: 4px 8px !important;
    font-size: 10.5px !important;
    gap: 4px !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    white-space: nowrap !important;
  }

  .btn-conversar span {
    font-size: 10.5px !important;
    font-weight: 500 !important;
    letter-spacing: -0.1px !important;
  }

  .icon-chat {
    width: 12px !important;
    height: 12px !important;
  }

  .hero-section {
    padding-top: 85px !important;
    height: auto !important;
    min-height: 560px !important;
    overflow: hidden !important;
  }

  .hero-container {
    height: auto !important;
    min-height: 520px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
  }

  .hero-content {
    position: relative !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 8px 0 16px 0 !important;
  }

  .hero-subtitle {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 10px auto !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .hero-subtitle p {
    font-size: clamp(20px, 5.5vw, 26px) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.4px !important;
    text-align: center !important;
  }

  .tech-text-hero {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 280px !important;
    overflow: visible !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
  }

  .tech-text-hero canvas.tech-text-canvas {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    margin: 0 auto !important;
  }

  /* Desativação completa do desfoque e opacidade reduzida no ScrollReveal Mobile */
  .scroll-reveal-piece {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    color: inherit !important;
  }

  .scroll-reveal {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .section-title {
    font-size: clamp(34px, 8.5vw, 54px) !important;
    letter-spacing: -0.8px !important;
    line-height: 0.95 !important;
  }

  .section-title.center-title {
    padding-top: 20px !important;
  }

  .section-header-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-top: 0;
  }

  .section-description {
    width: 100%;
    font-size: 15px !important;
    line-height: 1.4 !important;
  }

  .filter-pills {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .projects-grid {
    flex-wrap: wrap;
  }

  .project-card {
    width: 100%;
    max-width: 340px;
  }

  /* Seção 2: Projetos no Mobile - Cards 1 por vez, grandes, um embaixo do outro, sem tela preta */
  #track {
    height: auto !important;
    min-height: auto !important;
  }

  .stage {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: auto !important;
    padding: 50px 16px 70px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    overflow: visible !important;
  }

  #gl,
  #glow,
  #name {
    display: none !important;
  }

  #projectsH1 {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 auto 16px auto !important;
    width: 100% !important;
    order: 1 !important;
  }

  #l1, #l2 {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    opacity: 1 !important;
    font-family: var(--font-display, 'Poppins', sans-serif) !important;
    font-size: clamp(28px, 8vw, 40px) !important;
    font-weight: 900 !important;
    line-height: 0.95 !important;
    letter-spacing: -0.02em !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
  }

  .projects-category-dock {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    display: inline-flex !important;
    margin: 0 auto 24px auto !important;
    padding: 6px !important;
    gap: 6px !important;
    background: rgba(22, 18, 20, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 40px !important;
    z-index: 25 !important;
    order: 2 !important;
  }

  .proj-cat-btn {
    padding: 7px 18px !important;
    font-size: 12.5px !important;
    border-radius: 30px !important;
  }

  .projects-dom-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    z-index: 10 !important;
    order: 3 !important;
  }

  .projects-dom-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    aspect-ratio: auto !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  /* Seção 3: Sobre (Foto e Trajetória fluida) */
  .about-section {
    padding: 60px 0 80px 0 !important;
    min-height: auto !important;
  }

  .about-watermark {
    font-size: clamp(140px, 35vw, 300px) !important;
    letter-spacing: -6px !important;
  }

  .about-grid {
    flex-direction: column !important;
    gap: 40px !important;
    margin-top: 30px !important;
  }

  .about-left-col,
  .about-right-col {
    width: 100% !important;
    max-width: 100% !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }

  .about-spiral-container {
    width: 100% !important;
    max-width: 320px !important;
    height: 440px !important;
  }

  .profile-card-wrapper {
    width: 100% !important;
    max-width: 310px !important;
    height: 420px !important;
    margin: 0 auto !important;
  }

  .profile-card-bg {
    width: 100% !important;
    max-width: 310px !important;
    height: 120px !important;
    top: 170px !important;
  }

  .profile-photo-wrapper {
    width: 290px !important;
    height: 270px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .profile-footer {
    top: 310px !important;
    padding: 0 10px !important;
  }

  .about-bio p {
    font-size: 17px !important;
    line-height: 1.25 !important;
    margin-bottom: 18px !important;
  }

  .experience-timeline {
    margin-top: 32px !important;
    gap: 14px !important;
  }

  .timeline-items {
    gap: 18px !important;
  }

  .role-title {
    font-size: 14.5px !important;
  }

  .role-desc {
    font-size: 12.5px !important;
  }

  /* Seção 4: Serviços (Design de Posts & Landing Pages) */
  .services-section {
    padding: 60px 0 80px 0 !important;
  }

  .service-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    height: auto !important;
    min-height: auto !important;
    padding: 18px 16px !important;
    gap: 12px !important;
    border-radius: 16px !important;
  }

  .service-row:hover {
    min-height: auto !important;
    transform: none !important;
    padding: 18px 16px !important;
  }

  .service-main-content {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .service-title {
    font-size: clamp(22px, 6vw, 30px) !important;
    white-space: normal !important;
  }

  .service-tags {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .service-tag {
    padding: 5px 11px !important;
  }

  .service-tag span {
    font-size: 12px !important;
  }

  .service-rising-image {
    display: none !important;
  }

  .service-trail-container {
    display: none !important;
  }

  /* Seção 5: Footer Mobile - Diagramação centralizada, elegante e compacta */
  .footer-section {
    padding: 50px 0 36px 0 !important;
  }

  .footer-container {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 32px !important;
    padding: 0 18px !important;
  }

  .footer-main-row {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 28px !important;
    width: 100% !important;
  }

  .footer-cta-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .footer-headline {
    font-size: clamp(22px, 6vw, 30px) !important;
    line-height: 1.15 !important;
    text-align: center !important;
    margin: 0 auto 16px auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .footer-cta-action {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .footer-nav-col {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 22px 28px !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .footer-back-to-top-col {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 6px !important;
  }

  .footer-back-to-top {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-size: 11.5px !important;
    color: rgba(255, 255, 255, 0.7) !important;
  }

  .footer-column {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .footer-column-title {
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.45) !important;
    margin-bottom: 10px !important;
  }

  .footer-column-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .footer-column-links li a {
    font-size: 12.5px !important;
    color: rgba(255, 255, 255, 0.7) !important;
  }

  .footer-bottom-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
    margin-top: 16px !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    width: 100% !important;
    max-width: 440px !important;
  }

  .footer-copyright,
  .footer-credits {
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    text-align: center !important;
  }
}

/* ==========================================================================
   GERENCIADOR DE PROJETOS (Ajuste 2: Interface de Edição)
   ========================================================================== */
.pm-modal {
  max-width: 780px !important;
  width: 92vw;
  max-height: 88vh;
  border-radius: 20px;
  background: #141113 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 40px rgba(245, 7, 63, 0.2);
}

.pm-category-tabs {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.pm-tab {
  flex: 1;
  padding: 10px 16px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pm-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.pm-tab.active {
  background: #f5073f;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(245, 7, 63, 0.4);
}

.pm-project-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.pm-project-pill {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pm-project-pill:hover {
  border-color: rgba(245, 7, 63, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

.pm-project-pill.active {
  background: rgba(245, 7, 63, 0.15);
  border-color: #f5073f;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(245, 7, 63, 0.3);
}

.pm-pill-idx {
  font-weight: 700;
  color: #f5073f;
}

.pm-form-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pm-gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .pm-gallery-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pm-thumb-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a090a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pm-thumb-img {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  display: block;
}

.pm-thumb-tag {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.pm-gallery-count {
  font-size: 11px;
  background: rgba(245, 7, 63, 0.15);
  color: #f5073f;
  border: 1px solid rgba(245, 7, 63, 0.3);
  padding: 3px 8px;
  border-radius: 99px;
  font-weight: 600;
}

.project-header-edit-btn {
  background: rgba(245, 7, 63, 0.15);
  border: 1px solid rgba(245, 7, 63, 0.4);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  margin-right: 8px;
}

.project-header-edit-btn:hover {
  background: #f5073f;
  box-shadow: 0 4px 16px rgba(245, 7, 63, 0.4);
  transform: translateY(-1px);
}


/* Fallback DOM Grid de Projetos */
.projects-dom-grid {
  display: none;
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1200px;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  z-index: 20;
}

@media (max-width: 960px) {
  .projects-dom-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 94%;
  }
}

@media (max-width: 600px) {
  .projects-dom-grid {
    grid-template-columns: 1fr;
    width: 96%;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 40px auto 80px auto;
  }
}

.projects-dom-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #141113;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  aspect-ratio: 16 / 10;
  transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1), 
              border-color 0.35s ease, 
              box-shadow 0.35s ease,
              outline 0.2s ease;
  outline: none;
}

.projects-dom-card:not(.is-empty):hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(245, 7, 63, 0.85);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 24px rgba(245, 7, 63, 0.35);
}

.projects-dom-card:not(.is-empty):focus-visible {
  transform: translateY(-6px) scale(1.01);
  border-color: #f5073f;
  outline: 3px solid #f5073f;
  outline-offset: 3px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 24px rgba(245, 7, 63, 0.4);
}

.projects-dom-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: #0d0a0b;
}

.projects-dom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.projects-dom-card:hover .projects-dom-img {
  transform: scale(1.03);
}

.projects-dom-card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(18, 14, 16, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.projects-dom-card-texts {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.projects-dom-card-cat {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: #f5073f;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.projects-dom-card-title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.projects-dom-card-btn {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.projects-dom-card:hover .projects-dom-card-btn {
  background: #f5073f;
  color: #ffffff;
  border-color: #f5073f;
}

.projects-dom-card.is-empty {
  cursor: default;
  border-style: dashed;
  border-color: rgba(245, 7, 63, 0.35);
  background: #100d0e;
}

.projects-dom-card.is-empty:hover,
.projects-dom-card.is-empty:focus {
  transform: none;
  box-shadow: none;
  border-color: rgba(245, 7, 63, 0.45);
  outline: none;
}

.projects-dom-empty-bg {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #1a1416 0%, #0c090a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  box-sizing: border-box;
}

.projects-dom-empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px dashed rgba(245, 7, 63, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5073f;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 2px;
}

.projects-dom-empty-title {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-display, 'Poppins', sans-serif);
  letter-spacing: 0.5px;
}

.projects-dom-empty-sub {
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
  font-weight: 400;
  font-family: var(--font-body);
}
