/* === FONTES LOCAIS === */
@font-face {
  font-family: 'Inter Local';
  src: url('../fonte/Inter (2)/Inter-VariableFont_opsz,wght.ttf') format('truetype-variations'),
    url('../fonte/Inter (2)/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter Local';
  src: url('../fonte/Inter (2)/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype-variations'),
    url('../fonte/Inter (2)/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans Local';
  src: url('../fonte/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf') format('truetype-variations'),
    url('../fonte/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans Local';
  src: url('../fonte/Open_Sans/OpenSans-Italic-VariableFont_wdth,wght.ttf') format('truetype-variations'),
    url('../fonte/Open_Sans/OpenSans-Italic-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

/* === RESET & VARIÃVEIS === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --coral: #F45C74;
  --coral-light: #FF7A90;
  --orange: #FF8C42;
  --pink: #FF4FA0;
  --pink-light: #FF85C1;
  --cyan: #00C6FF;
  --blue: #3A7BD5;
  --purple: #6B3FA0;
  --yellow: #FFE600;
  --dark: #0A0A0A;
  --dark2: #111111;
  --dark3: #1A1A1A;
  --white: #FFFFFF;
  --white70: rgba(255, 255, 255, .70);
  --white30: rgba(255, 255, 255, .30);
  --white10: rgba(255, 255, 255, .10);
  --font: 'Open Sans Local', sans-serif;
  --bebas: 'Inter Local', sans-serif;
  --radius: 16px;
  --transition: .35s cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--bebas);
  font-weight: 800;
}

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 24px;
  left: 24px;
  right: 24px;
  z-index: 1000;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), transform 1s cubic-bezier(0.25, 1, 0.5, 1), opacity 1s ease;
  transform: translateY(-150%);
  opacity: 0;
}

body.loaded .navbar {
  transform: translateY(0);
  opacity: 1;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 36px;
  width: auto;
}

.nav-logo-img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0 auto;
}

.nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--white70);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width var(--transition);
}

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

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

.nav-cta {
  padding: 8px 24px;
  background: var(--white);
  border: 1.5px solid var(--white);
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--dark);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.nav-cta:hover {
  background: transparent;
  color: var(--white);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   SECTION 1 â€” HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.96);
  filter: blur(12px);
  opacity: 0;
  transition: transform 1.8s cubic-bezier(0.25, 1, 0.3, 1),
    filter 1.5s cubic-bezier(0.25, 1, 0.3, 1),
    opacity 1.5s ease;
}

body.loaded .hero {
  transform: scale(1);
  filter: blur(0);
  opacity: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* =========================================================================
     OPACIDADE DO VÃDEO DE FUNDO (DEMOREEL)
     VocÃª pode ajustar o valor de opacidade abaixo manualmente de 0.0 a 1.0.
     Exemplo: 0.7 = 70% de opacidade, 1.0 = 100% de opacidade (sem transparÃªncia).
     ========================================================================= */
  opacity: 1.0;
  overflow: hidden;
  pointer-events: none;
}

.hero-video-bg iframe {
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.78vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-video-bg-2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* =========================================================================
     OPACIDADE DO VÃDEO DE SOBREPOSIÃ‡ÃƒO (02.MP4)
     VocÃª pode ajustar o valor de opacidade abaixo manualmente de 0.0 a 1.0.
     Exemplo: 0.5 = 50% de opacidade, 1.0 = 100% de opacidade.
     ========================================================================= */
  opacity: 0.0;
}


/* Holographic shape */
.hero-shape-wrapper {
  position: absolute;
  right: -80px;
  top: -60px;
  width: 70%;
  height: 110%;
  z-index: 1;
}



@keyframes holoPulse {
  0% {
    transform: scale(1) rotate(0deg);
    filter: blur(30px) hue-rotate(0deg);
  }

  50% {
    transform: scale(1.08) rotate(6deg);
    filter: blur(25px) hue-rotate(30deg);
  }

  100% {
    transform: scale(.96) rotate(-4deg);
    filter: blur(35px) hue-rotate(-20deg);
  }
}



.hero-content {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 80px 60px;
  gap: 60px;
}

.hero-text {
  flex: 1;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


.hero-description {
  font-size: .95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 1.5px solid var(--white);
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--white);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.hero-cta:hover {
  background: var(--white);
  color: var(--coral);
  transform: translateX(4px);
}

.cta-arrow {
  transition: transform var(--transition);
}

.hero-cta:hover .cta-arrow {
  transform: translateX(4px);
}

/* Floating Cards */
.hero-cards {
  flex: 1;
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 20px;
}

.hero-cards-wrapper {
  position: relative;
  width: 780px;
  height: 520px;
}

@media (max-width: 1650px) {
  .hero-cards-wrapper {
    transform: scale(0.85);
    transform-origin: center right;
  }
}

@media (max-width: 1450px) {
  .hero-cards-wrapper {
    transform: scale(0.75);
    transform-origin: center right;
  }
}

@media (max-width: 1300px) {
  .hero-cards-wrapper {
    transform: scale(0.65);
    transform-origin: center right;
  }
}

.hero-card {
  position: absolute;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
  animation: cardFloat linear infinite;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  overflow: hidden;
}

.hero-card-1 {
  width: 290px;
  height: 380px;
  top: 30px;
  left: 0;
  border-radius: 24px;
  animation-duration: 6s;
  animation-delay: 0s;
  z-index: 5;
  --r: -8deg;
}

.hero-card-2 {
  width: 190px;
  height: 250px;
  top: 170px;
  left: 320px;
  border-radius: 18px;
  animation-duration: 7s;
  animation-delay: -2s;
  z-index: 4;
  --r: 6deg;
}

.hero-card-3 {
  width: 150px;
  height: 200px;
  top: 290px;
  left: 470px;
  border-radius: 14px;
  animation-duration: 5s;
  animation-delay: -4s;
  z-index: 3;
  --r: -6deg;
}

.hero-card-4 {
  width: 55px;
  height: 75px;
  top: 100px;
  left: 540px;
  border-radius: 8px;
  animation-duration: 8s;
  animation-delay: -1s;
  z-index: 2;
  --r: -8deg;
}

.hero-card-5 {
  width: 35px;
  height: 45px;
  top: 200px;
  left: 630px;
  border-radius: 6px;
  animation-duration: 6.5s;
  animation-delay: -3s;
  z-index: 1;
  --r: 8deg;
}

@keyframes cardFloat {

  0%,
  100% {
    transform: translateY(0) rotate(var(--r, 0deg));
  }

  50% {
    transform: translateY(-18px) rotate(var(--r, 0deg));
  }
}

/* Clients strip */
.hero-clients {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding: 30px 0;
  background: transparent;
}

.clients-track {
  display: flex;
  gap: 80px;
  align-items: center;
  animation: clientsScroll 35s linear infinite;
  width: max-content;
}

.client-logo {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .5;
  transition: opacity var(--transition), filter var(--transition);
  white-space: nowrap;
}

.client-logo img {
  height: 100%;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  /* Premium white filter. Se preferir manter as cores originais das logos, comente ou remova a linha abaixo: */
  filter: brightness(0) invert(1);
  transition: filter var(--transition), opacity var(--transition);
}

.client-logo:hover {
  opacity: 1;
}

@keyframes clientsScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* =============================================
   SECTION 2 â€” QUEM SOMOS
   ============================================= */
.quem-somos {
  background: #111;
  padding: 100px 80px;
}

.qs-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.qs-tagline {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
}

.qs-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 48px;
  color: var(--white);
}

.qs-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.qs-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.qs-item:last-child {
  border-bottom: none;
}

.qs-num {
  font-size: 1rem;
  font-weight: 800;
  color: var(--coral);
  min-width: 36px;
  margin-top: 2px;
}

.qs-item p {
  font-size: .9rem;
  color: var(--white70);
  line-height: 1.65;
}

/* Right side visual */
.qs-right {
  position: relative;
}

.qs-visual {
  background: #1a1a1a;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, .06);
}

.qs-block-dark {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 50%;
  background: #0d0d0d;
  border-radius: var(--radius) var(--radius) 0 0;
}

.qs-stats {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.qs-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.qs-stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--coral), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: .8rem;
  color: var(--white70);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =============================================
   SECTION 3 â€” NOVA ERA DO AUDIOVISUAL
   ============================================= */
.nova-era {
  background: #ffffff;
  padding: 120px 80px;
  color: #000000;
  position: relative;
  overflow: hidden;
}

.nova-cursor-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.servicos-cursor-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.nova-era-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.nova-era-title-block {
  text-align: center;
  position: relative;
  z-index: 1;
  margin-bottom: -100px;
  /* Overlap cards with title */
}

.nova-era-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.95;
  margin-bottom: 0;
}

.nova-era-pre {
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 400;
  letter-spacing: 4px;
  color: #000000;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.nova-era-main {
  font-size: clamp(3.5rem, 8vw, 8.5rem);
  font-family: var(--bebas);
  font-weight: 900;
  letter-spacing: 2px;
  color: #000000;
  line-height: 0.9;
  font-style: italic;
}

.nova-era-visual {
  -webkit-text-stroke: 2px #000000;
  color: transparent;
}

.nova-era-main-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: clamp(3.5rem, 8vw, 8.5rem);
  object-fit: contain;
  pointer-events: none;
  margin: 0 auto;
}

.nova-era-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.nova-era-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nova-era-sub-custom {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.45;
  text-transform: uppercase;
  color: #333333;
  margin-bottom: 0;
}

.btn-clique-aqui {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: transparent;
  border: 1.5px solid #000000;
  border-radius: 100px;
  color: #000000;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  width: fit-content;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-clique-aqui:hover {
  background: #000000;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-dot {
  width: 10px;
  height: 10px;
  background: #000000;
  border-radius: 50%;
  display: inline-block;
  transition: background var(--transition), transform var(--transition);
}

.btn-clique-aqui:hover .btn-dot {
  background: #ffffff;
  transform: scale(1.2);
}

/* Center: 3D Cards Pile */
.nova-era-center {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 480px;
}

.nova-deck-viewport {
  position: relative;
  width: 300px;
  height: 400px;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.nova-deck-card {
  position: absolute;
  width: 260px;
  height: 360px;
  top: 50%;
  left: 50%;
  margin-top: -180px;
  margin-left: -130px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--card-color);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.8s ease,
    box-shadow 0.4s ease,
    z-index 0s 0.8s;
  cursor: pointer;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.deck-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(1.1);
  transition: filter 0.4s ease;
}

.deck-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.deck-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--card-color);
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.deck-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
}

/* Pile Styles (Default State - Stacked) */
.nova-deck-viewport .nova-deck-card[data-index="0"] {
  transform: translate3d(0, 0, 0) rotateX(15deg) rotateY(-20deg) rotateZ(-12deg);
  z-index: 3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 15px rgba(0, 198, 255, 0.15);
}

.nova-deck-viewport .nova-deck-card[data-index="1"] {
  transform: translate3d(12px, 12px, -30px) rotateX(15deg) rotateY(-20deg) rotateZ(-12deg);
  z-index: 2;
  opacity: 0.95;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 15px rgba(244, 92, 116, 0.1);
}

.nova-deck-viewport .nova-deck-card[data-index="2"] {
  transform: translate3d(24px, 24px, -60px) rotateX(15deg) rotateY(-20deg) rotateZ(-12deg);
  z-index: 1;
  opacity: 0.85;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 15px rgba(255, 230, 0, 0.08);
}

/* Spreaded/Separated Styles (Triggered on viewport hover) */
.nova-deck-viewport:hover .nova-deck-card[data-index="0"] {
  transform: translate3d(-110px, -40px, 35px) rotateX(15deg) rotateY(-18deg) rotateZ(-26deg);
  z-index: 3;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 0 20px rgba(0, 198, 255, 0.25);
}

.nova-deck-viewport:hover .nova-deck-card[data-index="1"] {
  transform: translate3d(0px, 10px, 0px) rotateX(15deg) rotateY(-18deg) rotateZ(-16deg);
  z-index: 2;
  opacity: 1;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 0 20px rgba(244, 92, 116, 0.2);
}

.nova-deck-viewport:hover .nova-deck-card[data-index="2"] {
  transform: translate3d(110px, 60px, -35px) rotateX(15deg) rotateY(-18deg) rotateZ(-6deg);
  z-index: 1;
  opacity: 1;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 0 20px rgba(255, 230, 0, 0.15);
}

/* Active Hover effects inside the fanned deck */
.nova-deck-viewport:hover .nova-deck-card:hover .deck-card-img {
  filter: brightness(0.95) saturate(1.2);
}

.nova-deck-viewport:hover .nova-deck-card[data-index="0"]:hover {
  transform: translate3d(-110px, -40px, 150px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.1);
  z-index: 12;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.25), 0 0 35px rgba(0, 198, 255, 0.45);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease, box-shadow 0.4s ease, z-index 0s;
}

.nova-deck-viewport:hover .nova-deck-card[data-index="1"]:hover {
  transform: translate3d(0px, 10px, 150px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.1);
  z-index: 12;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.25), 0 0 35px rgba(244, 92, 116, 0.45);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease, box-shadow 0.4s ease, z-index 0s;
}

.nova-deck-viewport:hover .nova-deck-card[data-index="2"]:hover {
  transform: translate3d(110px, 60px, 150px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.1);
  z-index: 12;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.25), 0 0 35px rgba(255, 230, 0, 0.35);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease, box-shadow 0.4s ease, z-index 0s;
}

/* Focus Effect: Dim, blur and scale down other cards when one card is hovered */
.nova-deck-viewport:hover:has(.nova-deck-card:hover) .nova-deck-card:not(:hover) {
  opacity: 0.35;
  filter: blur(3px) brightness(0.6);
}

/* Card 0 pushed back when Card 1 or 2 is hovered */
.nova-deck-viewport:hover:has(.nova-deck-card[data-index="1"]:hover) .nova-deck-card[data-index="0"],
.nova-deck-viewport:hover:has(.nova-deck-card[data-index="2"]:hover) .nova-deck-card[data-index="0"] {
  transform: translate3d(-110px, -40px, -20px) rotateX(15deg) rotateY(-18deg) rotateZ(-26deg) scale(0.92);
}

/* Card 1 pushed back when Card 0 or 2 is hovered */
.nova-deck-viewport:hover:has(.nova-deck-card[data-index="0"]:hover) .nova-deck-card[data-index="1"],
.nova-deck-viewport:hover:has(.nova-deck-card[data-index="2"]:hover) .nova-deck-card[data-index="1"] {
  transform: translate3d(0px, 10px, -50px) rotateX(15deg) rotateY(-18deg) rotateZ(-16deg) scale(0.92);
}

/* Card 2 pushed back when Card 0 or 1 is hovered */
.nova-deck-viewport:hover:has(.nova-deck-card[data-index="0"]:hover) .nova-deck-card[data-index="2"],
.nova-deck-viewport:hover:has(.nova-deck-card[data-index="1"]:hover) .nova-deck-card[data-index="2"] {
  transform: translate3d(110px, 60px, -85px) rotateX(15deg) rotateY(-18deg) rotateZ(-6deg) scale(0.92);
}

/* =============================================
   PRELOADER INTRO
   ============================================= */
.preloader {
  position: fixed;
  inset: 0;
  background: #0A0A0A;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.2s cubic-bezier(0.85, 0, 0.15, 1),
    transform 1.2s cubic-bezier(0.85, 0, 0.15, 1),
    visibility 1.2s;
  overflow: hidden;
  will-change: transform, opacity;
}

.preloader::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.08) 0%, rgba(244, 92, 116, 0.04) 50%, transparent 70%);
  z-index: 1;
  pointer-events: none;
  animation: portalPulse 4s ease-in-out infinite alternate;
}

@keyframes portalPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.8;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
}

#preloaderCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
}

.preloader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  transform: scale(1);
  opacity: 1;
  transition: transform 1.4s cubic-bezier(0.85, 0, 0.15, 1),
    opacity 1s cubic-bezier(0.85, 0, 0.15, 1);
  will-change: transform, opacity;
}

.preloader.fade-out .preloader-content {
  transform: scale(25);
  opacity: 0;
}

.preloader-logo {
  max-width: 320px;
  width: 75%;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.preloader-logo-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(244, 92, 116, 0.5));
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.02);
}

.preloader-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--coral));
  transition: width 0.15s ease-out;
  box-shadow: 0 0 12px rgba(0, 198, 255, 0.8);
}

.servicos {
  background: var(--dark);
  padding: 100px 80px;
  position: relative;
  overflow: hidden;
}

.servicos::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(244, 92, 116, .06) 0%, transparent 70%);
  pointer-events: none;
}

.servicos-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Background Ambient Orb Lights */
.servicos-orb-light {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.12;
}

.servicos-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--coral), transparent 70%);
  top: 10%;
  left: -150px;
  animation: orbFloat 12s ease-in-out infinite alternate;
}

.servicos-orb-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--blue), transparent 70%);
  bottom: 5%;
  right: -150px;
  animation: orbFloat 14s ease-in-out infinite alternate-reverse;
}

.servicos-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  text-align: center;
}

.servicos-title-wrapper {
  position: relative;
  display: inline-block;
  padding: 20px 40px;
  transform-style: preserve-3d;
  perspective: 1000px;
  --orbit-size: clamp(340px, 45vw, 440px);
  /* Responsive circle size (smaller to match title tightly) */
}

.servicos-title-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 120px;
  background: radial-gradient(circle, rgba(244, 92, 116, 0.22) 0%, rgba(58, 123, 213, 0.08) 60%, transparent 80%);
  transform: translate(-50%, -50%) translateZ(-10px);
  filter: blur(25px);
  pointer-events: none;
}

.servicos-title {
  font-family: var(--bebas);
  font-size: clamp(3.5rem, 7.5vw, 7.5rem);
  letter-spacing: 4px;
  color: var(--white);
  line-height: 1;
  text-transform: uppercase;
  font-style: italic;
  position: relative;
  z-index: 2;
  transform: translateZ(5px);
  transform-style: preserve-3d;
}

.servicos-title-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--orbit-size);
  height: var(--orbit-size);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(76deg) rotateY(-18deg) translateZ(0);
  pointer-events: none;
  z-index: 1;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.orbit-dot-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--orbit-size);
  height: var(--orbit-size);
  transform-style: preserve-3d;
  pointer-events: none;
  z-index: 3;
  animation: orbitSpin 8s linear infinite;
}

.orbit-dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px #ffffff, 0 0 20px var(--coral), 0 0 30px #ffffff;
}

@keyframes orbitSpin {
  0% {
    transform: translate(-50%, -50%) rotateX(76deg) rotateY(-18deg) rotateZ(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotateX(76deg) rotateY(-18deg) rotateZ(360deg);
  }
}

.servicos-subtitle {
  font-size: 0.95rem;
  color: var(--white70);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
  line-height: 1.6;
  font-weight: 400;
}

/* â”€â”€ CAROUSEL DE SERVIÃ‡OS â”€â”€ */
.servicos-carousel-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.servicos-carousel-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  user-select: none;
  -webkit-user-select: none;
}

.servicos-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sc-card {
  position: absolute;
  width: 220px;
  height: 300px;
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

/* Glassmorphism Shine Sweep Overlay */
.sc-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
  pointer-events: none;
}

.sc-card:hover::after,
.sc-card.active::after {
  left: 150%;
}

.sc-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--white);
  transition: all 0.3s ease;
}

.sc-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  transition: transform 0.3s ease;
}

.sc-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--white70);
  transition: color 0.3s ease;
}

.sc-card-desc {
  display: none;
  /* Hidden on design */
}

/* 3D Coverflow states */
.sc-card {
  opacity: 0;
  pointer-events: none;
  transform: translateX(0) translateZ(-300px) rotateY(0deg);
}

.sc-card.prev-2 {
  opacity: 0.25;
  transform: translateX(-320px) translateZ(-150px) rotateY(45deg) scale(0.85);
  pointer-events: auto;
  z-index: 2;
}

.sc-card.prev-1 {
  opacity: 0.6;
  transform: translateX(-170px) translateZ(-70px) rotateY(25deg) scale(0.95);
  pointer-events: auto;
  z-index: 5;
}

.sc-card.active {
  opacity: 1;
  transform: translateX(0) translateZ(50px) rotateY(0deg) scale(1.08);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
  pointer-events: auto;
  z-index: 10;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.04);
}

.sc-card.active .sc-card-icon {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.sc-card.active .sc-card-title {
  color: var(--white);
  font-weight: 700;
}

.sc-card.next-1 {
  opacity: 0.6;
  transform: translateX(170px) translateZ(-70px) rotateY(-25deg) scale(0.95);
  pointer-events: auto;
  z-index: 5;
}

.sc-card.next-2 {
  opacity: 0.25;
  transform: translateX(320px) translateZ(-150px) rotateY(-45deg) scale(0.85);
  pointer-events: auto;
  z-index: 2;
}

/* Carousel Navigation Hint */
.carousel-navigation-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
  margin-bottom: 24px;
  color: var(--white30);
}

.hint-line {
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.hint-text {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* CTA Action button */
.servicos-action {
  display: flex;
  justify-content: center;
  margin-bottom: 100px;
}

.btn-contatar-servicos {
  display: inline-block;
  padding: 14px 36px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  border-radius: 50px;
  position: relative;
  background: #0A0A0A;
  z-index: 1;
  transition: all 0.3s ease;
}

.btn-contatar-servicos::before {
  content: '';
  position: absolute;
  top: -1.5px;
  left: -1.5px;
  right: -1.5px;
  bottom: -1.5px;
  background: linear-gradient(90deg, #3A7BD5, #F45C74);
  border-radius: 50px;
  z-index: -1;
  transition: all 0.3s ease;
}

.btn-contatar-servicos:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(58, 123, 213, 0.3), 0 0 15px rgba(244, 92, 116, 0.3);
}

/* â”€â”€ SEÃ‡ÃƒO SOBRE & DETALHES DE SERVIÃ‡OS â”€â”€ */
.servicos-detalhes-section {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 40px;
}

.detalhes-sobre-card {
  background: #EAEAEA;
  padding: 48px 40px;
  border-radius: var(--radius);
  color: #0A0A0A;
}

.sobre-label {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  opacity: 0.8;
}

.sobre-title {
  font-family: var(--bebas);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #000;
}

.detalhes-conteudo-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.detalhes-visual-container {
  width: 100%;
  min-height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
}

.detalhes-visual-box {
  position: relative;
  width: 100%;
  height: 100%;
  background: #111;
  border-radius: var(--radius);
  overflow: hidden;
}

/* Preview Screen Panes */
.preview-pane {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.preview-pane.active {
  opacity: 1;
  animation: previewZoom 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Crossfade image layer on top when switching photos */
.preview-pane::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--after-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.preview-pane.img-switching::after {
  opacity: 1;
}

@keyframes previewZoom {
  from {
    transform: scale(1.06);
  }

  to {
    transform: scale(1.0);
  }
}

.default-pane {
  background-image: url('../assets/images/case-led.png');
  background-size: cover;
  background-position: center;
}

.webinars-pane {
  background-image: url('../assets/SE%C3%87%C3%83O%20SERVI%C3%87OS/webinar%20e%20eventos%20h%C3%ADbridos/rs%3Dw_1280%2Ch_720.webp');
}

.estandes-pane {
  background-image: url('../assets/SE%C3%87%C3%83O%20SERVI%C3%87OS/Confec%C3%A7%C3%A3o%20de%20Estande/rs%3Dw_1280%2Ch_853.webp');
}

.realidade-pane {
  background-image: url('../assets/SE%C3%87%C3%83O%20SERVI%C3%87OS/Realidade%20Aumentada/download%20(2).webp');
}

.mapping-pane {
  background-image: url('../assets/SE%C3%87%C3%83O%20SERVI%C3%87OS/Mapping/cr%3Dw_1240%2Ch_620.webp');
}

.led-pane {
  background-image: url('../assets/SE%C3%87%C3%83O%20SERVI%C3%87OS/Telas%20de%20led/rs%3Dw_1240%2Ch_620%2Ccg_true.webp');
}

/* High tech CRT scanline and grid overlay */
.visual-effects-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
    linear-gradient(90deg, rgba(255, 0, 0, 0.05), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.05));
  background-size: 100% 4px, 6px 100%;
  opacity: 0.45;
}

.detalhes-lista-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detalhe-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.3s ease;
  cursor: pointer;
}

.detalhe-item:last-child {
  border-bottom: none;
}

.detalhe-item-info {
  flex: 1;
  padding-right: 20px;
}

.detalhe-item-title {
  font-family: var(--bebas);
  font-size: 1.15rem;
  font-weight: 800;
  font-style: italic;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.detalhe-item-desc {
  font-size: 0.85rem;
  color: var(--white70);
  line-height: 1.5;
}

.detalhe-item-action {
  color: var(--white);
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detalhe-item:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.detalhe-item:hover .detalhe-item-title {
  color: var(--coral-light);
}

.detalhe-item:hover .detalhe-item-action {
  transform: translateX(4px);
  opacity: 1;
  color: var(--coral-light);
}

/* =============================================
   SECTION 5 â€” CASES 2
   ============================================= */
.cases {
  background: var(--dark2);
  padding: 100px 80px 0;
  overflow: hidden;
}

.cases-container {
  max-width: 1400px;
  margin: 0 auto;
}

.cases-header {
  text-align: center;
  margin-bottom: 48px;
}

.cases-pre {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white70);
  font-style: italic;
  margin-bottom: 8px;
}

.cases-title {
  font-family: var(--bebas);
  font-size: clamp(3.5rem, 7vw, 7rem);
  letter-spacing: 3px;
  color: var(--white);
  line-height: 1;
}

.cases-highlight {
  background: var(--yellow);
  color: var(--dark);
  padding: 0 12px;
  border-radius: 6px;
  display: inline-block;
}

/* Filter buttons */
.cases-filter {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1.5px solid rgba(255, 255, 255, .2);
  font-size: .85rem;
  font-weight: 600;
  color: var(--white70);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

/* Cases Grid */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  grid-auto-flow: dense;
  gap: 16px;
  margin-bottom: 0;
}

.case-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition);
}

.case-item--large {
  grid-column: span 2;
}

.case-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08); /* slight zoom by default to crop black borders/edges */
  transition: transform .5s cubic-bezier(0.25, 1, 0.22, 1);
}

.case-item:hover .case-item-img {
  transform: scale(1.15);
}

.case-item-img-bauny {
  transform: scale(1.28) !important;
}

.case-item:hover .case-item-img-bauny {
  transform: scale(1.38) !important;
}

.case-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .75) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.case-item-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 6px;
}

.case-item-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.case-item.hidden {
  display: none;
}

/* CTA dentro de Cases */
.cases-cta-section {
  margin-top: 80px;
}

.cases-cta-bg {
  background: linear-gradient(135deg,
      #0d0d2b 0%,
      #2d0050 30%,
      #0a0a0a 60%,
      #1a0a00 100%);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  padding: 80px;
  margin-bottom: 0;
}

.cases-cta-bg::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(244, 92, 116, .15) 0%, transparent 70%);
}

.cases-cta-bg::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(107, 63, 160, .2) 0%, transparent 70%);
}

.cases-cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cases-cta-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  max-width: 700px;
}

.cases-cta-sub {
  font-size: .95rem;
  color: var(--white70);
  max-width: 500px;
  margin-bottom: 48px;
}

.cases-cta-cards {
  position: relative;
  width: 100%;
  height: 360px;
  margin-bottom: 48px;
  perspective: 1200px;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: grab;
}

.cases-cta-cards:active {
  cursor: grabbing;
}

.cta-3d-card {
  position: absolute;
  width: 220px;
  height: 300px;
  top: 50%;
  left: 50%;
  margin-top: -150px;
  margin-left: -110px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .4);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.cta-3d-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.cta-3d-card:hover .cta-3d-img {
  transform: scale(1.08);
}

.cases-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 8px 32px rgba(244, 92, 116, .35);
}

.cases-cta-btn:hover {
  opacity: .9;
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(244, 92, 116, .5);
}

/* =============================================
   SECTION 6 â€” CONTATE-NOS
   ============================================= */
.contato {
  position: relative;
  padding: 120px 80px;
  overflow: hidden;
  background: linear-gradient(135deg,
      #1a4a8a 0%,
      #3A7BD5 25%,
      #7B4FAD 50%,
      #D45FA0 75%,
      #F47C8A 100%);
}

.contato-bg-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 1100px);
  pointer-events: none;
  user-select: none;
  opacity: 0.18;
}

.contato-bg-svg img {
  width: 100%;
  height: auto;
  display: block;
}

.contato-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contato-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 16px;
}

.contato-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 48px;
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contato-info-item {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  transition: background var(--transition);
  text-decoration: none;
  color: inherit;
}

.contato-info-item:hover {
  background: rgba(255, 255, 255, .18);
}

.contato-info-item {
  transition: background var(--transition), transform var(--transition);
}

.contato-info-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, .15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background var(--transition), transform var(--transition);
}

.contato-info-item:hover .contato-info-icon {
  background: rgba(255, 255, 255, .28);
  transform: scale(1.08);
}

.contato-info-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  display: block;
}

.contato-info-label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 4px;
}

.contato-info-value {
  font-size: .9rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--transition);
}

.contato-info-value:hover {
  color: rgba(255, 255, 255, .8);
}

/* Form */
.contato-form {
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, .15);
  border: 1.5px solid rgba(255, 255, 255, .25);
  border-radius: 12px;
  font-family: var(--font);
  font-size: .9rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  appearance: none;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, .5);
}

.form-input:focus {
  border-color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .2);
}

.form-select option {
  background: #333;
  color: var(--white);
}

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

.form-submit {
  width: 100%;
  padding: 18px;
  background: var(--white);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  transition: var(--transition);
  margin-top: 8px;
}

.form-submit:hover {
  background: rgba(255, 255, 255, .9);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

.form-success {
  display: none;
  text-align: center;
  font-size: .9rem;
  font-weight: 600;
  color: var(--white);
  padding: 12px;
  background: rgba(255, 255, 255, .15);
  border-radius: 8px;
}

.form-success.show {
  display: block;
  animation: fadeIn .4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #050505;
  padding: 80px 80px 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-logo {
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: -1px;
  display: block;
  margin-bottom: 16px;
}

.footer-rst {
  color: var(--white);
}

.footer-com {
  color: rgba(255, 255, 255, .4);
}

.footer-desc {
  font-size: .875rem;
  color: rgba(255, 255, 255, .4);
  line-height: 1.65;
  max-width: 280px;
}

.footer-col-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: .875rem;
  color: rgba(255, 255, 255, .4);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .5);
  transition: var(--transition);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 24px 0;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: .8rem;
  color: rgba(255, 255, 255, .25);
  text-align: center;
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.22, 1), transform 0.8s cubic-bezier(0.25, 1, 0.22, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   ANIMAÃ‡ÃƒO 1 â€” CURSOR MAGNÃ‰TICO
   ============================================= */
.magnetic-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease;
}

.magnetic-cursor.cursor-dark-wrapper {
  mix-blend-mode: normal !important;
}

.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .15s ease, height .15s ease, background .2s ease;
  z-index: 99999999;
  pointer-events: none;
}

.cursor-dot.cursor-dark {
  background: #000000 !important;
}

.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .22s ease, height .22s ease, border-color .2s ease, background .2s ease;
  z-index: 99999999;
  pointer-events: none;
}

.cursor-ring.cursor-dark {
  border-color: #000000 !important;
  background: rgba(0, 0, 0, 0.05) !important;
}

.cursor-ring.hover {
  width: 68px;
  height: 68px;
  border-color: var(--coral);
  background: rgba(244, 92, 116, .07);
}

.cursor-ring.click {
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, .2);
}

@media (hover: hover) and (pointer: fine) {
  html,
  body,
  body * {
    cursor: none !important;
  }
}

/* =============================================
   ANIMAÃ‡ÃƒO 2 â€” PARTÃCULAS NO HERO
   ============================================= */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  will-change: transform;
}

/* Esconder botao CTA no menu desktop (aparece apenas no mobile via hamburguer) */
.nav-cta-mobile-item {
  display: none;
}

@media (max-width: 900px) {
  .nav-links.open .nav-cta-mobile-item {
    display: block;
  }
  .nav-links.open .nav-cta-mobile {
    display: inline-flex;
    margin-top: 4px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--coral), var(--orange));
    border-radius: 100px;
    font-size: .9rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    width: 100%;
    justify-content: center;
  }
}

/* =============================================
   ANIMAÃ‡ÃƒO 3 â€” COUNTER + BARRA PROGRESSO
   ============================================= */
.stat-bar {
  height: 3px;
  background: rgba(255, 255, 255, .08);
  border-radius: 3px;
  margin-top: 10px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--coral), var(--orange));
  border-radius: 3px;
  transition: width 1.5s cubic-bezier(.25, .46, .45, .94);
}

/* =============================================
   ANIMAÃ‡ÃƒO 4 â€” GLITCH no TÃTULO SERVIÃ‡OS
   ============================================= */
@keyframes glitch1 {
  0% {
    transform: translateX(0);
    opacity: .8;
  }

  25% {
    transform: translateX(-5px);
  }

  50% {
    transform: translateX(5px);
  }

  75% {
    transform: translateX(-2px);
  }

  100% {
    transform: translateX(0);
    opacity: 0;
  }
}

@keyframes glitch2 {
  0% {
    transform: translateX(0);
    opacity: .8;
  }

  25% {
    transform: translateX(5px);
  }

  50% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(2px);
  }

  100% {
    transform: translateX(0);
    opacity: 0;
  }
}

.servicos-title {
  position: relative;
  display: inline-block;
}

.servicos-title::before,
.servicos-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, var(--white), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  pointer-events: none;
}

.servicos-title.glitch-active::before {
  animation: glitch1 .35s ease forwards;
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%);
  left: -3px;
}

.servicos-title.glitch-active::after {
  animation: glitch2 .35s ease .06s forwards;
  clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
  left: 3px;
}

/* =============================================
   ANIMAÃ‡ÃƒO 5 â€” ORB LIGHTS (CTA Cases)
   ============================================= */
.orb-light {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-light-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(244, 92, 116, .28), transparent 70%);
  top: -100px;
  left: -100px;
}

.orb-light-2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(107, 63, 160, .28), transparent 70%);
  bottom: -80px;
  right: -80px;
  animation-delay: -4s;
}

.orb-light-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 198, 255, .2), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -2s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(25px, -25px) scale(1.12);
  }

  66% {
    transform: translate(-18px, 18px) scale(.93);
  }
}

/* =============================================
   ANIMAÃ‡ÃƒO 6 â€” WORD REVEAL HERO
   ============================================= */
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: wordReveal .7s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes wordReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================================
   SCROLL ANIMATIONS (Melhorado)
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.22, 1), transform 0.8s cubic-bezier(0.25, 1, 0.22, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(.93);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.22, 1), transform 0.8s cubic-bezier(0.25, 1, 0.22, 1);
  will-change: opacity, transform;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}


/* =============================================
   SECTION 5.5 â€” RST NEWS (NEWSLETTER)
   ============================================= */
.rst-news {
  position: relative;
  background: var(--dark);
  padding: 120px 80px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.news-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(244, 92, 116, 0.08) 0%, rgba(0, 198, 255, 0.05) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
  filter: blur(80px);
}

.news-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.news-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.news-tagline {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.news-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--white);
  letter-spacing: 1px;
}

.news-highlight {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.news-description {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--white70);
  margin-bottom: 36px;
  max-width: 580px;
}

.news-form {
  width: 100%;
  max-width: 500px;
  margin-bottom: 32px;
}

.news-input-wrapper {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 6px;
  transition: border-color var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(10px);
}

.news-input-wrapper:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.15);
}

.news-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 24px;
  color: var(--white);
  font-size: .9rem;
  font-family: var(--font);
  width: 100%;
}

.news-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.news-submit-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--dark);
  border-radius: 100px;
  padding: 12px 28px;
  font-size: .875rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.news-submit-btn:hover {
  background: var(--cyan);
  color: var(--dark);
  transform: translateY(-1px);
}

.news-submit-btn .arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.news-submit-btn:hover .arrow-icon {
  transform: translateX(4px);
}

.news-status-msg {
  font-size: .85rem;
  margin-top: 12px;
  padding-left: 16px;
  display: none;
  opacity: 0;
  transition: opacity .35s ease;
}

.news-status-msg.show {
  display: block;
  opacity: 1;
}

.news-status-msg.success {
  color: #00E676;
}

.news-status-msg.error {
  color: var(--coral);
}

.news-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.news-topic-badge {
  font-size: .75rem;
  font-weight: 600;
  color: var(--white70);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.news-topic-badge:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.news-topic-badge.active {
  color: var(--cyan);
  border-color: rgba(0, 198, 255, 0.3);
  background: rgba(0, 198, 255, 0.08);
}

.topic-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white30);
  transition: background var(--transition);
}

.news-topic-badge:hover .topic-dot {
  background: var(--white70);
}

.news-topic-badge.active .topic-dot {
  background: var(--cyan);
}

/* Newsletter deck */
.news-deck-wrapper {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  perspective: 1000px;
}

.news-deck {
  position: relative;
  height: 320px;
  transform-style: preserve-3d;
}

.news-card-edition {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(25, 25, 25, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  transition: transform .6s cubic-bezier(.25, 1, .3, 1), opacity .6s ease, border-color .35s ease;
  cursor: pointer;
  will-change: transform, opacity;
  opacity: 0;
  pointer-events: none;
}

.news-card-edition.active {
  opacity: 1;
  pointer-events: auto;
  border-color: rgba(255, 255, 255, 0.15);
}

.news-card-edition.active:hover {
  border-color: rgba(0, 198, 255, 0.3);
  box-shadow: 0 30px 60px rgba(0, 198, 255, 0.05);
}

.card-tag {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cyan);
}

.card-edition-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 16px 0 10px 0;
  color: var(--white);
}

.card-edition-excerpt {
  font-size: .88rem;
  color: var(--white70);
  line-height: 1.6;
  margin-bottom: auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-edition-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
  margin-top: 16px;
  font-size: .75rem;
  color: rgba(255, 255, 255, 0.4);
}

.news-deck-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding: 0 10px;
}

.news-control-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.news-control-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.news-control-btn svg {
  width: 18px;
  height: 18px;
}

.news-deck-dots {
  display: flex;
  gap: 8px;
}

.deck-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.deck-dot.active {
  background: var(--cyan);
  transform: scale(1.2);
}

/* =============================================
   GALLERY LIGHTBOX MODAL
   ============================================= */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: opacity;
}

.gallery-lightbox.active {
  display: flex;
  opacity: 1;
}

.gallery-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1;
}

.gallery-lightbox-container {
  position: relative;
  width: 100%;
  max-width: 90vw;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.gallery-lightbox-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox-img,
.gallery-lightbox-video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  display: none;
}

.gallery-lightbox-img.active,
.gallery-lightbox-video.active {
  display: block;
}

.gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.gallery-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.08) rotate(90deg);
}

.gallery-lightbox-close svg {
  width: 18px;
  height: 18px;
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  opacity: 0.7;
}

.gallery-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
}

.gallery-lightbox-nav svg {
  width: 20px;
  height: 20px;
}

.gallery-lightbox-nav--prev {
  left: 20px;
}

.gallery-lightbox-nav--next {
  right: 20px;
}

.gallery-lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 24px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.gallery-lightbox-thumbnails {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  max-width: 80%;
  overflow-x: auto;
  padding: 0 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.gallery-lightbox-thumbnails::-webkit-scrollbar {
  height: 4px;
}

.gallery-lightbox-thumbnails::-webkit-scrollbar-track {
  background: transparent;
}

.gallery-lightbox-thumbnails::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.gallery-lightbox-thumbnails::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

.gallery-lightbox-thumb {
  min-width: 60px;
  width: 60px;
  height: 60px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
  opacity: 0.6;
}

.gallery-lightbox-thumb:hover {
  opacity: 0.8;
  border-color: rgba(255, 255, 255, 0.3);
}

.gallery-lightbox-thumb.active {
  border-color: var(--coral);
  opacity: 1;
}

.gallery-lightbox-thumb img,
.gallery-lightbox-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsiva */
@media (max-width: 768px) {
  .gallery-lightbox-container {
    max-width: 95vw;
    height: 85vh;
  }

  .gallery-lightbox-nav {
    width: 44px;
    height: 44px;
  }

  .gallery-lightbox-nav--prev {
    left: 10px;
  }

  .gallery-lightbox-nav--next {
    right: 10px;
  }

  .gallery-lightbox-counter {
    bottom: 70px;
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .gallery-lightbox-thumbnails {
    bottom: 55px;
    max-width: 90%;
  }
}

/* =============================================
   CASE DETAILS MODAL OVERLAY
   ============================================= */
body.modal-open {
  overflow: hidden;
  height: 100vh;
}

.case-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity;
}

.case-modal.active {
  display: flex;
  opacity: 1;
}

.case-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 4, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1;
}

.case-modal-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  background: rgba(13, 13, 13, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  z-index: 2;
  overflow: hidden;
  transform: translateY(60px) scale(0.95);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.3, 1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  will-change: transform;
}

.case-modal.active .case-modal-container {
  transform: translateY(0) scale(1);
}

.case-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.case-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05) rotate(90deg);
}

.case-modal-close svg {
  width: 20px;
  height: 20px;
}

.case-modal-content {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.case-modal-content::-webkit-scrollbar {
  width: 8px;
}

.case-modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.case-modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.case-modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Modal Hero */
.case-modal-hero {
  position: relative;
  height: 400px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  padding: 48px;
  overflow: hidden;
}

.case-modal-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 8s ease;
  z-index: 1;
}

.case-modal.active .case-modal-hero-bg {
  transform: scale(1);
}

.case-modal-hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  display: none;
}

.case-modal-hero-video-wrapper.active {
  display: block;
}

.case-modal-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-modal-hero-video-wrapper iframe.vimeo-embed {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.35);
  min-width: 102%;
  min-height: 102%;
  width: auto;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

.case-modal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 13, 13, 1) 0%, rgba(13, 13, 13, 0.4) 50%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 3;
}

.case-modal-hero-text {
  position: relative;
  z-index: 4;
  max-width: 800px;
}

.case-modal-tag {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coral);
  display: inline-block;
  margin-bottom: 12px;
  background: rgba(244, 92, 116, 0.1);
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid rgba(244, 92, 116, 0.2);
}

.case-modal-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
}

/* Modal Body */
.case-modal-body-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  padding: 48px;
}

.case-modal-story {
  display: flex;
  flex-direction: column;
}

.case-modal-sec-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
  position: relative;
  padding-left: 12px;
}

.case-modal-sec-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  background: var(--coral);
  border-radius: 2px;
}

.case-modal-desc {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--white70);
  margin-bottom: 32px;
}

.case-modal-challenge {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--white70);
}

.case-modal-meta {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.case-meta-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 28px;
}

.case-meta-title {
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white70);
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 12px;
}

.case-meta-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-meta-list li {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
}

.meta-label {
  color: rgba(255, 255, 255, 0.45);
}

.meta-value {
  color: var(--white);
  font-weight: 600;
  text-align: right;
  max-width: 60%;
}

.case-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-tech-pill {
  font-size: .8rem;
  font-weight: 600;
  color: var(--white70);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 6px;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.case-tech-pill:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

/* Gallery Section */
.case-modal-gallery-section {
  padding: 0 48px 48px;
}

.case-modal-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.case-gallery-item {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transform: translateZ(0);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.case-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.case-gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.case-gallery-item:hover img {
  transform: scale(1.05);
}

/* Modal CTA */
.case-modal-cta {
  background: linear-gradient(to right, rgba(244, 92, 116, 0.06) 0%, rgba(255, 140, 66, 0.03) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.case-modal-cta-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 600px;
}

.case-modal-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  background: var(--white);
  border: 1.5px solid var(--white);
  border-radius: 100px;
  color: var(--dark);
  font-size: .9rem;
  font-weight: 700;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.case-modal-cta-btn:hover {
  background: transparent;
  color: var(--white);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .case-modal-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   VIDEO CASE HOVER STYLES
   ============================================= */
.case-item--video {
  position: relative;
  overflow: hidden;
}

.case-video-container {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
  background: var(--dark);
  border-radius: inherit;
  overflow: hidden;
  will-change: opacity;
}

.case-item-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) scale(2.8);
  transform-origin: center;
  border: 0;
  border-radius: inherit;
}

.case-item--large .case-item-video {
  transform: translate(-50%, -50%) scale(3.5);
}

.case-item.video-playing .case-video-container {
  opacity: 1;
}

/* Ensure case card content is layered on top of video cover */
.case-item--video .case-item-img {
  position: relative;
}

.case-item--video .case-item-overlay {
  z-index: 2;
}

.case-item--video .case-item-img {
  z-index: 0;
}

/* Nova Era Deck Card Video Hover Styles */
.nova-deck-card--video {
  position: absolute;
  overflow: hidden;
}

.deck-card-video-container {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
  background: var(--dark);
  border-radius: inherit;
  overflow: hidden;
  will-change: opacity;
}

.deck-card-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) scale(1.1);
  transform-origin: center;
  border: 0;
  border-radius: inherit;
}

.nova-deck-card.video-playing .deck-card-video-container {
  opacity: 1;
}

.nova-deck-card--video .deck-card-overlay,
.nova-deck-card--video .deck-card-img {
  position: relative;
}

.nova-deck-card--video .deck-card-overlay {
  z-index: 2;
}

.nova-deck-card--video .deck-card-img {
  z-index: 0;
}

/* Newsletter Consent Modal Styles */
.news-modal {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.news-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.news-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 4, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.news-modal-container {
  position: relative;
  width: 90%;
  max-width: 460px;
  background: rgba(15, 15, 15, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 36px;
  z-index: 2;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.3, 1);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  will-change: transform;
}

.news-modal.active .news-modal-container {
  transform: scale(1) translateY(0);
}

.news-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--white);
  opacity: 0.5;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: opacity 0.3s ease, background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-modal-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
}

.news-modal-close svg {
  width: 18px;
  height: 18px;
}

.news-modal-content {
  display: flex;
  flex-direction: column;
}

.news-modal-title {
  font-family: var(--bebas);
  font-size: 2rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--white);
}

.news-modal-text {
  font-size: 0.92rem;
  color: var(--white70);
  line-height: 1.5;
  margin-bottom: 24px;
}

.news-modal-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 28px;
  user-select: none;
}

.news-modal-checkbox {
  display: none;
}

.checkbox-custom {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  position: relative;
  transition: border-color 0.3s ease, background 0.3s ease;
  margin-top: 2px;
}

.news-modal-checkbox:checked + .checkbox-custom {
  border-color: var(--cyan);
  background: var(--cyan);
}

.checkbox-custom::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s ease;
}

.news-modal-checkbox:checked + .checkbox-custom::after {
  transform: rotate(45deg) scale(1);
}

.checkbox-text {
  font-size: 0.9rem;
  color: var(--white70);
  line-height: 1.4;
  transition: color 0.3s ease;
}

.news-modal-checkbox-label:hover .checkbox-text {
  color: var(--white);
}

.news-modal-checkbox-label:hover .checkbox-custom {
  border-color: rgba(255, 255, 255, 0.6);
}

.news-modal-confirm-btn {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  border: none;
  color: var(--white);
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--bebas);
  font-size: 1.2rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.2s ease;
  width: 100%;
}

.news-modal-confirm-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.news-modal-confirm-btn:not(:disabled):hover {
  transform: translateY(-2px);
}

.news-modal-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.success-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 198, 255, 0.1);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.success-icon-wrapper svg {
  width: 28px;
  height: 28px;
}


