/* ==========================================================================
   COLOMBO DIGITAL — BRAND IDENTITY KIT V2.0 DESIGN SYSTEM
   - Arquétipos: O Criador & O Soberano
   - Tipografia: Syne (Display/Títulos), Plus Jakarta Sans (Texto Geral), JetBrains Mono (Métricas)
   - Cores WCAG AAA: Emerald Principal (#0F5132), Emerald Profundo (#0A3622),
     Emerald Glow (#20C997), Gold Champagne Foil (#C9A227), Dark Obsidian (#0D1117),
     Cream Canvas (#F9FAF9), Pure Surface Card (#FFFFFF)
   - Curva de animação física: cubic-bezier(0.32, 0.72, 0, 1)
   ========================================================================== */

/* 1. RESET E VARIÁVEIS DE DESIGN TOKENS */
:root {
  /* Colombo Digital Cores Oficiais v2.0 */
  --cd-emerald-main: #0F5132;
  --cd-emerald-dark: #0A3622;
  --cd-emerald-glow: #20C997;
  --cd-gold-accent: #C9A227;
  --cd-gold-light: #E5C158;
  --cd-dark-obsidian: #0D1117;
  --cd-cream-bg: #F9FAF9;
  --cd-surface-card: #FFFFFF;
  --cd-text-main: #1A202C;
  --cd-text-muted: #64748B;
  --cd-border-subtle: #E2E8F0;
  --cd-border-gold: rgba(201, 162, 39, 0.28);

  /* Aliases Base */
  --bg-white: var(--cd-surface-card);
  --bg-light: var(--cd-cream-bg);
  --bg-muted: #F1F5F9;
  --bg-dark: var(--cd-dark-obsidian);
  --bg-dark-surface: #161F2E;

  /* Texto */
  --text-main: var(--cd-text-main);
  --text-muted: var(--cd-text-muted);
  --text-subtle: #94A3B8;
  --text-inverse: #FFFFFF;

  /* Cores de Ação e Conversão */
  --color-positive: var(--cd-emerald-main);
  --color-positive-hover: var(--cd-emerald-dark);
  --color-positive-light: #ECFDF5;
  --color-positive-border: #A7F3D0;
  --color-positive-dark: var(--cd-emerald-dark);
  --color-glow: var(--cd-emerald-glow);
  --color-gold: var(--cd-gold-accent);

  /* Botões & Ações Primárias (Brand Kit v2.0) */
  --cta-gradient: linear-gradient(135deg, #0F5132 0%, #0A3622 100%);
  --cta-shadow: 0 10px 25px -5px rgba(15, 81, 50, 0.35);
  --cta-gold-gradient: linear-gradient(135deg, #C9A227 0%, #9A7714 100%);
  --cta-gold-shadow: 0 10px 25px -5px rgba(201, 162, 39, 0.35);

  /* Tipografia */
  --font-display: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Bordas Discretas (B4: Sempre em todos os lados) */
  --border-subtle: #E2E8F0;
  --border-strong: #CBD5E1;

  /* B2 Spacing Tokens */
  --space-0: 0px;
  --space-25: 2px;
  --space-50: 4px;
  --space-75: 8px;
  --space-100: 12px;
  --space-200: 16px;
  --space-300: 24px;
  --space-400: 32px;
  --space-500: 40px;
  --space-600: 48px;
  --space-700: 64px;
  --space-800: 80px;
  --space-900: 96px;

  /* B3 Radius Tokens (Brand Kit v2.0) */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 14px;
  --radius-2xl: 20px;
  --radius-3xl: 28px;
  --radius-pill: 9999px;
  --radius-full: 9999px;

  /* B7 Fluid Physics Motion */
  --ease-fluid: cubic-bezier(0.32, 0.72, 0, 1);
  --duration-fluid: 700ms;
}

/* 2. TIPOGRAFIA BASE (B1) */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  color: #E2E8F0;
  background-color: #070709;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #070709;
  color: #CBD5E1;
}

/* B1: Nunca usar fontes itálicas em lugar nenhum */
em, i, cite, address {
  font-style: normal;
}

/* B1: Prevenção de palavras órfãs e Headings com Syne Display */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  text-wrap: balance;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

p, li, span, label {
  text-wrap: pretty;
}

.font-display {
  font-family: var(--font-display);
}

.font-mono {
  font-family: var(--font-mono);
}

/* Escala de tipos Tailwind (B1) */
.text-xs { font-size: 12px; line-height: 16px; }
.text-sm { font-size: 14px; line-height: 20px; }
.text-base { font-size: 16px; line-height: 24px; }
.text-lg { font-size: 18px; line-height: 28px; }
.text-xl { font-size: 20px; line-height: 28px; }
.text-2xl { font-size: 24px; line-height: 32px; }
.text-3xl { font-size: 30px; line-height: 36px; }
.text-4xl { font-size: 36px; line-height: 40px; }
.text-5xl { font-size: 48px; line-height: 1; }

/* Badges e Acentos Nobres do Brand Kit v2.0 */
.badge-gold {
  background-color: rgba(201, 162, 39, 0.08);
  color: var(--cd-gold-accent);
  border: 1px solid var(--cd-border-gold);
}

.badge-emerald {
  background-color: rgba(15, 81, 50, 0.06);
  color: var(--cd-emerald-main);
  border: 1px solid rgba(15, 81, 50, 0.16);
}

.badge-glow {
  background-color: rgba(32, 201, 151, 0.1);
  color: #0b7354;
  border: 1px solid rgba(32, 201, 151, 0.3);
}

.text-gold {
  color: var(--cd-gold-accent);
}

.border-gold {
  border-color: var(--cd-border-gold);
}
.text-3xl { font-size: 30px; line-height: 36px; }
.text-4xl { font-size: 36px; line-height: 40px; }
.text-5xl { font-size: 48px; line-height: 1; }

/* B10 Acessibilidade: Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--color-positive-dark);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 14px;
  z-index: 9999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* B9 Estados e Acessibilidade: Focus Ring */
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #FF5520;
  outline-offset: 2px;
}

/* 3. NAVEGAÇÃO FLUID ISLAND (B7) */
.island-nav {
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform var(--duration-fluid) var(--ease-fluid), background-color 0.3s ease;
}

.logo-badge {
  width: 24px;
  height: 24px;
}

/* Hamburger morph animado */
.hamburger-line {
  display: block;
  width: 18px;
  height: 2px;
  background-color: #111827;
  border-radius: 2px;
  transition: all 0.3s var(--ease-fluid);
}

.hamburger-line.line-1 {
  margin-bottom: 4px;
}

#menu-toggle[aria-expanded="true"] .hamburger-line.line-1 {
  transform: translateY(3px) rotate(45deg);
}

#menu-toggle[aria-expanded="true"] .hamburger-line.line-2 {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-overlay {
  transition: opacity 0.3s var(--ease-fluid), transform 0.3s var(--ease-fluid);
}

/* 4. HERO SECTION (B5) */
.hero-title {
  max-width: 680px; /* B5 Layout rule */
  /* B5: Gradiente left-to-right de texto no tema claro (#000000 -> #555555) */
  background: linear-gradient(90deg, #000000 0%, #4B5563 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  max-width: 580px; /* B5 Layout rule */
}

/* Botões Principais (Brand Kit v2.0: CTA Gradient + Shadow) */
.btn-hero-cta,
.btn-primary {
  padding: 10px 26px;
  background: var(--cta-gradient) !important;
  color: var(--text-inverse) !important;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--cta-shadow) !important;
  transition: all var(--duration-fluid) var(--ease-fluid);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-hero-cta:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, #0A3622 0%, #062316 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(15, 81, 50, 0.45) !important;
}

.btn-hero-cta:active,
.btn-primary:active {
  transform: scale(0.98);
}

.btn-header-cta {
  background: var(--cta-gradient) !important;
  color: var(--text-inverse) !important;
  box-shadow: 0 4px 14px rgba(15, 81, 50, 0.28) !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--duration-fluid) var(--ease-fluid);
}

.btn-header-cta:hover {
  background: linear-gradient(135deg, #0A3622 0%, #062316 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 81, 50, 0.38) !important;
}

.btn-gold {
  background: var(--cta-gold-gradient);
  color: #0D1117;
  font-weight: 700;
  box-shadow: var(--cta-gold-shadow);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all var(--duration-fluid) var(--ease-fluid);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #E5C158 0%, #B38E22 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(201, 162, 39, 0.45);
}

.btn-hero-secondary {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background-color: var(--cd-surface-card);
  color: var(--text-main);
  transition: all var(--duration-fluid) var(--ease-fluid);
}

.btn-hero-secondary:hover {
  border-color: var(--color-positive);
  color: var(--color-positive);
  background-color: #FFFFFF;
}

/* 5. MOCKUP DE ALTA RESOLUÇÃO (DESKTOP + MOBILE) */
.browser-frame {
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: transform var(--duration-fluid) var(--ease-fluid);
}

.browser-frame:hover {
  transform: translateY(-4px);
}

.phone-frame {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: floatSubtle 6s ease-in-out infinite alternate;
}

@keyframes floatSubtle {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

/* 6. TAGLINE REVEAL SECTION (B11 MANDATÓRIO) */
.tagline-container {
  max-width: 680px;
}

.tagline-word {
  display: inline-block;
  margin-right: 0.3em; /* Espaço explícito entre palavras */
  color: rgba(17, 24, 39, 0.30); /* 30% de opacidade inicial B11 */
  transition: color 0.6s var(--ease-fluid);
}

.tagline-word.revealed {
  color: rgba(17, 24, 39, 1); /* Revelação suave palavra a palavra */
}

/* 7. CARDS E BORDAS DISCRETAS (B4 e B3 Nested Radii) */
.rounded-3xl {
  border-radius: var(--radius-3xl);
}

.rounded-2xl {
  border-radius: var(--radius-2xl);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

/* B3 Regra de Nested Radius: card outer (24px) com padding (24px) -> botões/itens internos (12px ou 8px) */

/* 8. FAQ ACCORDION (B9 States) */
.faq-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-toggle:hover {
  color: #FF5520;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background-color: rgba(255, 85, 32, 0.2);
  color: #FF5520;
}

.faq-item.active .faq-content {
  display: block;
  animation: fadeInDown 0.4s var(--ease-fluid);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 9. ANIMAÇÕES DE SCROLL REVEAL (B7) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-fluid), transform 0.7s var(--ease-fluid);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 10. MODAL DIALOGS (B9/B10) */
.custom-modal {
  margin: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
}

.custom-modal::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.input-field {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* 11. SHOWCASE CAROUSEL & BROWSER MOCKUP */
.showcase-tab.active {
  background-color: #111827;
  color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.showcase-tab.active span:first-child {
  background-color: #10B981;
}

.showcase-slide {
  transition: opacity 0.5s var(--ease-fluid), transform 0.5s var(--ease-fluid);
}

.showcase-slide.active {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: scale(1);
}

.showcase-slide:not(.active) {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: scale(0.98);
}

.slide-scroll-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide-scroll-wrapper .slide-img {
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 6.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Efeito moderno: no hover do mouse, rola a página suavemente para mostrar o site completo */
.slide-scroll-wrapper:hover .slide-img {
  transform: translateY(calc(-100% + 380px));
}

.dot-indicator.active {
  width: 24px !important;
  background-color: var(--color-positive) !important;
}

/* ==========================================================================
   12. DARK TECH HEADER & HERO (REMODELAGEM FIEL)
   ========================================================================== */

/* Pinned Scroll Track Dinâmico (Scroll ágil e cinematográfico, sem prender a página) */
.hero-scroll-track {
  position: relative;
  height: 135vh; /* Altura compacta ideal: animação rápida e deslize suave para a próxima seção */
  background-color: #070709;
}

.hero-dark-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  background-color: #070709;
  overflow: hidden;
}

/* Camada Independente de Background (Separada, renderizada via Canvas 60fps) */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  will-change: transform;
}

.hero-bg-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  display: block;
}

.hero-bg-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    linear-gradient(to right, rgba(7, 7, 9, 0.85) 0%, rgba(7, 7, 9, 0.35) 40%, transparent 80%),
    linear-gradient(to bottom, rgba(7, 7, 9, 0.4) 0%, transparent 20%, rgba(7, 7, 9, 0.85) 100%);
  pointer-events: none;
}

/* Neon Portal Halo - Alinhamento Geométrico Centralizado */
.hero-halo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.hero-portal-ring,
.hero-portal-outer-ring {
  display: none; /* Desativado pois a sequência de frames do portal já é hiper-realista */
}

/* Subject image container - Perfeitamente centrado no anel e com respiro vertical (headroom) */
.hero-subject-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* Alinhamento milimétrico concêntrico e rebaixado para nunca cortar a cabeça no header */
  transform: translateX(-42px) translateY(24px);
  will-change: transform, filter;
  transition: transform 0.08s ease-out;
}

.hero-subject-img {
  width: 100%;
  max-height: 520px; /* Reduzido de 620px para 520px garantindo 60px de respiro abaixo da barra de navegação */
  object-fit: contain;
  object-position: bottom center;
  /* Estado inicial (repouso): sombra profunda com leve contorno âmbar */
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 30px rgba(255, 77, 38, 0.25));
  mask-image: linear-gradient(to bottom, black 86%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 86%, transparent 100%);
  will-change: filter, transform;
  transition: filter 0.08s ease-out;
}

/* Floating Glassmorphism Feature Cards com Física Holográfica 3D */
.hero-glass-card {
  position: absolute;
  z-index: 10;
  background: rgba(14, 15, 20, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.65), 0 0 20px rgba(255, 77, 38, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  will-change: transform, border-color, box-shadow;
  transform-style: preserve-3d;
  transition: 
    border-color 0.15s ease-out, 
    box-shadow 0.15s ease-out,
    transform 0.12s ease-out;
}

/* Reflexo de Luz Especular (Glass Sheen) que cruza o card no hover */
.hero-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 120, 40, 0.18) 75%,
    transparent
  );
  transform: skewX(-22deg);
  transition: left 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.hero-glass-card:hover::before {
  left: 140%;
}

.hero-glass-card:hover {
  border-color: rgba(255, 85, 32, 0.75) !important;
  box-shadow: 0 24px 48px -4px rgba(0, 0, 0, 0.85), 0 0 35px rgba(255, 77, 38, 0.45) !important;
}

.hero-glass-card:hover .card-arrow {
  transform: translate(3px, -3px);
  color: #FFA040;
}

.hero-glass-card:hover .card-icon-box {
  transform: scale(1.12);
  filter: drop-shadow(0 0 12px rgba(255, 85, 32, 0.8));
}

.card-icon-box {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #FF5520;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.card-arrow {
  color: #FF5520;
  font-size: 13px;
  margin-left: auto;
  opacity: 0.85;
  transition: transform 0.25s ease, color 0.25s ease;
}

/* Card Positions & Levitação Orgânica Sincronizada (Idle Floating) */
.card-pos-ai {
  left: -48px;
  top: 46%;
  animation: cardFloatA 5.4s ease-in-out infinite alternate;
}

.card-pos-code {
  right: 6px;
  top: 24%;
  animation: cardFloatB 6.2s ease-in-out infinite alternate 0.8s;
}

.card-pos-problem {
  right: -6px;
  bottom: 18%;
  animation: cardFloatC 5.8s ease-in-out infinite alternate 1.6s;
}

@keyframes cardFloatA {
  0% { margin-top: 0px; margin-left: 0px; }
  100% { margin-top: -8px; margin-left: 2px; }
}

@keyframes cardFloatB {
  0% { margin-top: 0px; margin-left: 0px; }
  100% { margin-top: -9px; margin-left: -3px; }
}

@keyframes cardFloatC {
  0% { margin-top: 0px; margin-left: 0px; }
  100% { margin-top: -7px; margin-left: 3px; }
}

@media (max-width: 1024px) {
  /* Hero flexível e fluido sem prender o scroll no tablet e celular */
  .hero-scroll-track {
    height: auto !important;
    min-height: 100vh;
  }

  .hero-dark-wrapper {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: 100vh;
    overflow: visible !important;
    padding-top: 90px !important;
    padding-bottom: 0px !important; /* Colado exatamente no fim da seção */
  }

  /* Centralização perfeita do Lucas e colado na base sem espaço desnecessário */
  .hero-subject-wrapper {
    transform: translateX(0) translateY(0) !important;
    margin: 0 auto !important;
    margin-bottom: 0 !important;
    max-width: 440px;
    align-items: flex-end !important;
    justify-content: center !important;
    will-change: auto;
  }

  /* Foto encostada na linha divisória inferior sem corte no ar */
  .hero-subject-img {
    -webkit-mask-image: none !important;
    mask-image: none !important;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.92)) !important;
    max-height: 440px;
    object-position: bottom center;
    display: block !important;
    margin-bottom: 0 !important;
    vertical-align: bottom !important;
  }

  /* Anel de fogo centralizado atrás do Lucas no mobile/tablet */
  .hero-bg-fallback {
    object-position: 67.5% center !important;
  }

  /* Posicionamento dos cards flutuantes sem colidir com o rosto */
  .hero-glass-card {
    padding: 10px 14px;
    border-radius: 14px;
  }

  .card-pos-ai {
    left: 0px;
    top: auto;
    bottom: 20px;
  }

  .card-pos-code {
    right: 0px;
    top: 14%;
  }

  .card-pos-problem {
    right: 0px;
    bottom: 20px;
  }
}

@media (max-width: 640px) {
  .hero-dark-wrapper {
    padding-top: 76px !important;
    padding-bottom: 0px !important; /* Totalmente colado com a borda inferior */
  }

  .hero-impact-title {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem) !important;
    line-height: 1.15 !important;
  }

  .hero-subject-wrapper {
    max-width: 320px;
    margin-bottom: 0 !important;
  }

  .hero-subject-img {
    max-height: 340px;
    margin-bottom: 0 !important;
  }

  .hero-glass-card {
    padding: 7px 11px;
    border-radius: 11px;
    gap: 8px;
  }

  .card-icon-box {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }

  .hero-glass-card span.text-xs {
    font-size: 11px;
    line-height: 1.1;
  }

  .hero-glass-card span.text-\[11px\] {
    font-size: 9px;
    line-height: 1.1;
  }

  .card-arrow {
    display: none; /* Mais limpo e sem poluição visual no smartphone */
  }

  .card-pos-ai {
    left: -4px;
    bottom: 10px;
  }

  .card-pos-code {
    right: -4px;
    top: 10%;
  }

  .card-pos-problem {
    right: -4px;
    bottom: 10px;
  }
}

/* Coluna de Texto com Equilíbrio Óptico Vertical */
.hero-text-column {
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Fiery Headline Typography (Syne Extra Bold) com Shimmer Incandescente - Proporções Balanceadas 2 Linhas */
.hero-impact-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  line-height: 1.12;
  color: #FFFFFF;
  text-transform: uppercase;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.text-fiery-gradient {
  background: linear-gradient(135deg, #FF7B54 0%, #FF451A 50%, #D82600 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(255, 69, 26, 0.45));
}

/* Glowing Ember Sparks */
.ember-spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: #FF6622;
  box-shadow: 0 0 8px #FF4500, 0 0 14px #FF2200;
  pointer-events: none;
  animation: emberFloat 5s ease-in-out infinite alternate;
}

@keyframes emberFloat {
  0% { transform: translateY(0) scale(0.9); opacity: 0.4; }
  50% { opacity: 0.9; }
  100% { transform: translateY(-18px) scale(1.2); opacity: 0.3; }
}

/* Botões com Efeito de Onda Térmica e Energia Líquida */
.btn-work-fiery {
  position: relative;
  background: linear-gradient(135deg, #FF5520 0%, #E62A00 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 13px;
  text-transform: uppercase;
  border-radius: 12px;
  padding: 15px 30px;
  box-shadow: 0 12px 28px -4px rgba(255, 69, 0, 0.5), 0 0 20px rgba(255, 77, 38, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-work-fiery::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-work-fiery:hover::before {
  left: 130%;
}

.btn-work-fiery:hover {
  background: linear-gradient(135deg, #FF6B38 0%, #F53406 100%) !important;
  box-shadow: 0 18px 36px -4px rgba(255, 69, 0, 0.75), 0 0 35px rgba(255, 77, 38, 0.55) !important;
  transform: translateY(-3px) scale(1.02);
}

.btn-arrow-icon {
  transition: transform 0.25s ease;
}

.btn-work-fiery:hover .btn-arrow-icon {
  transform: translate(3px, -3px);
}

.btn-resume-glass {
  position: relative;
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #E2E8F0 !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 13px;
  text-transform: uppercase;
  border-radius: 12px;
  padding: 15px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-resume-glass:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 85, 32, 0.55);
  color: #FFFFFF !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 85, 32, 0.25);
  transform: translateY(-3px);
}

/* Header Dark Nav */
.header-dark-bar {
  background: rgba(7, 7, 9, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-connect-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 11px;
  text-transform: uppercase;
  border-radius: 9999px;
  padding: 8px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
}

.btn-connect-pill:hover {
  background: rgba(255, 85, 32, 0.12);
  border-color: rgba(255, 85, 32, 0.7);
  color: #FF5520;
  box-shadow: 0 0 20px rgba(255, 85, 32, 0.35);
  transform: translateY(-1px);
}

.btn-circle-menu {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-circle-menu:hover {
  background: rgba(255, 85, 32, 0.15);
  border-color: rgba(255, 85, 32, 0.7);
  color: #FF5520;
  box-shadow: 0 0 15px rgba(255, 85, 32, 0.3);
  transform: rotate(90deg);
}

/* Submenu Drawer Lateral (Hambúrguer) */
.drawer-overlay.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.drawer-panel.active {
  transform: translateX(0) !important;
}

.drawer-nav-link:hover {
  padding-left: 6px;
}

/* ==========================================================================
   13. MENU ACTIVE STATE & DOT INDICATOR (SOLICITAÇÃO DO USUÁRIO)
   ========================================================================== */
.nav-menu-link {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #9CA3AF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s cubic-bezier(0.32, 0.72, 0, 1);
  padding: 4px 6px;
  text-decoration: none;
}

.nav-menu-link:hover {
  color: #FFFFFF;
}

.nav-menu-link.active,
.nav-menu-link:active {
  color: #FF5520 !important;
}

.nav-active-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background-color: transparent;
  box-shadow: none;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

.nav-menu-link.active .nav-active-dot,
.nav-menu-link:active .nav-active-dot {
  background-color: #FF4D26;
  box-shadow: 0 0 8px #FF4D26, 0 0 16px rgba(255, 77, 38, 0.8);
  opacity: 1;
  transform: scale(1);
  animation: navDotPulse 2s ease-in-out infinite alternate;
}

@keyframes navDotPulse {
  0% { transform: scale(0.9); box-shadow: 0 0 6px #FF4D26, 0 0 12px rgba(255, 77, 38, 0.5); }
  100% { transform: scale(1.25); box-shadow: 0 0 10px #FF4D26, 0 0 22px rgba(255, 77, 38, 0.9); }
}

/* ==========================================================================
   14. HERO CARDS INTERACTION & GLASS MODALS
   ========================================================================== */
.hero-glass-card {
  cursor: pointer;
}

.hero-glass-card:active {
  transform: scale(0.96) !important;
}

.hero-card-modal {
  border: 1px solid rgba(255, 85, 32, 0.28);
  border-radius: 24px;
  background: rgba(11, 13, 19, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  color: #FFFFFF;
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.95), 0 0 45px rgba(255, 85, 32, 0.18);
  max-width: 620px;
  width: 92%;
  max-height: min(90vh, 760px);
  margin: auto;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
  scrollbar-width: none; /* Firefox: rolagem vertical invisível */
  -ms-overflow-style: none; /* IE e Edge: rolagem vertical invisível */
  -webkit-overflow-scrolling: touch;
}

.hero-card-modal::-webkit-scrollbar {
  display: none; /* Chrome, Safari e Edge: barra invisível */
  width: 0;
  height: 0;
}

@media (max-height: 720px) {
  .hero-card-modal-banner {
    height: 160px;
  }
}

.hero-card-modal::backdrop {
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-card-modal-banner {
  position: relative;
  width: 100%;
  height: 210px;
  background-color: #070709;
  overflow: hidden;
}

.hero-card-modal-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.32, 0.72, 0, 1);
}

.hero-card-modal:hover .hero-card-modal-banner img {
  transform: scale(1.04);
}

.hero-card-modal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 13, 19, 1) 0%, rgba(11, 13, 19, 0.45) 50%, transparent 100%);
  pointer-events: none;
}

/* ==========================================================================
   15. SEÇÃO DE PORTFÓLIO ESCALÁVEL (+100 PROJETOS)
   ========================================================================== */
/* Container de Filtros com Slider Inteligente e Drag-to-Scroll */
#portfolio-filter-wrapper {
  position: relative;
  width: 100%;
}

#portfolio-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

#portfolio-filters::-webkit-scrollbar {
  display: none;
}

#portfolio-filters.is-overflowing {
  justify-content: flex-start;
  padding-left: 12px;
  padding-right: 12px;
}

/* Setas de navegação: SOMENTE APARECEM SE HOUVER NECESSIDADE/OVERFLOW */
.filter-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(14, 16, 23, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  display: none; /* Oculto por padrão: só aparece com .is-visible quando faltar espaço */
  align-items: center;
  justify-content: center;
  z-index: 20;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  transition: opacity 0.25s ease, background 0.2s ease, transform 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

.filter-nav-arrow.is-visible {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.filter-nav-arrow:hover {
  background: #FF5520;
  border-color: #FF5520;
  box-shadow: 0 0 16px rgba(255, 85, 32, 0.45);
  transform: translateY(-50%) scale(1.08);
}

.filter-nav-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

#portfolio-filter-wrapper.has-overflow::before,
#portfolio-filter-wrapper.has-overflow::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 36px;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.25s ease;
}

#portfolio-filter-wrapper.has-overflow::before {
  left: 0;
  background: linear-gradient(to right, rgba(11, 13, 19, 0.95), transparent);
}

#portfolio-filter-wrapper.has-overflow::after {
  right: 0;
  background: linear-gradient(to left, rgba(11, 13, 19, 0.95), transparent);
}

#portfolio-filter-wrapper.has-overflow.show-left-fade::before {
  opacity: 1;
}

#portfolio-filter-wrapper.has-overflow.show-right-fade::after {
  opacity: 1;
}

.portfolio-filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #9CA3AF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 9999px;
  transition: all 0.25s cubic-bezier(0.32, 0.72, 0, 1);
  cursor: pointer;
  white-space: nowrap;
}

.portfolio-filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}

.portfolio-filter-btn.active {
  background: rgba(255, 85, 32, 0.15);
  color: #FF5520;
  border-color: rgba(255, 85, 32, 0.6);
  box-shadow: 0 0 16px rgba(255, 85, 32, 0.25);
}

.project-card {
  background: rgba(14, 16, 23, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.project-card:hover {
  border-color: rgba(255, 85, 32, 0.5);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.85), 0 0 30px rgba(255, 85, 32, 0.2);
  transform: translateY(-4px);
}

.project-preview-frame {
  position: relative;
  width: 100%;
  height: 260px;
  background: #0A0C11;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.project-preview-frame img {
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.project-card:hover .project-preview-frame img {
  transform: translateY(calc(-100% + 260px));
}

/* Botão Carregar Mais Projetos no Mobile */
#portfolio-load-more-wrapper {
  transition: all 0.3s ease;
}

.btn-load-more-mobile {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 85, 32, 0.45);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 9999px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 85, 32, 0.2);
  transition: all 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  cursor: pointer;
  user-select: none;
}

.btn-load-more-mobile:hover {
  background: rgba(255, 85, 32, 0.2);
  border-color: #FF5520;
  box-shadow: 0 8px 30px -2px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 85, 32, 0.35);
  transform: translateY(-2px);
}

.btn-load-more-mobile:active {
  transform: scale(0.97);
}

.btn-load-more-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FF5520;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 0 10px rgba(255, 85, 32, 0.5);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.btn-load-more-mobile:hover .btn-load-more-icon {
  transform: rotate(90deg) scale(1.1);
}

/* ==========================================================================
   16. COMPONENTES DARK TECH (CARDS, PLANOS, ACCORDIONS, MODAIS)
   ========================================================================== */
.card-dark-glass {
  background: rgba(14, 16, 24, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  transition: all 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

.card-dark-glass:hover {
  border-color: rgba(255, 85, 32, 0.35);
  box-shadow: 0 16px 36px -5px rgba(0, 0, 0, 0.75), 0 0 20px rgba(255, 85, 32, 0.1);
}

.card-plan-highlight {
  background: rgba(18, 20, 30, 0.92);
  border: 2px solid rgba(255, 85, 32, 0.75);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.85), 0 0 35px rgba(255, 85, 32, 0.25);
  border-radius: 24px;
}

.card-plan-custom {
  background: linear-gradient(145deg, rgba(20, 23, 34, 0.9) 0%, rgba(12, 14, 21, 0.95) 100%);
  border: 1px solid rgba(255, 133, 51, 0.45);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 133, 51, 0.15);
}

.card-maintenance-banner {
  background: linear-gradient(90deg, rgba(255, 85, 32, 0.08) 0%, rgba(20, 23, 35, 0.85) 50%, rgba(255, 85, 32, 0.08) 100%);
  border: 1px solid rgba(255, 85, 32, 0.35);
  border-radius: 20px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 85, 32, 0.12);
}

/* Modais Nativos Dark Glass */
.custom-modal {
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(12, 14, 20, 0.96) !important;
  color: #E2E8F0 !important;
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.95), 0 0 40px rgba(255, 85, 32, 0.18);
  max-height: min(90vh, 760px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.custom-modal::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.custom-modal::backdrop {
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Input Fields & Select Dark Tech */
.input-dark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  transition: all 0.2s ease;
  width: 100%;
}

select.input-dark {
  background-color: #12141A;
  color: #FFFFFF;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

select.input-dark option {
  background-color: #12141A;
  color: #FFFFFF;
  padding: 12px;
}

.input-dark:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #FF5520;
  box-shadow: 0 0 0 3px rgba(255, 85, 32, 0.25);
  outline: none;
}

select.input-dark:focus {
  background-color: #161922;
}

.input-dark::placeholder {
  color: #64748B;
}

/* Accordion FAQ Dark Tech */
.faq-item-dark {
  background: rgba(14, 16, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

.faq-item-dark:hover {
  border-color: rgba(255, 85, 32, 0.35);
}

.faq-item-dark.active {
  border-color: rgba(255, 85, 32, 0.65);
  background: rgba(18, 20, 30, 0.92);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 85, 32, 0.15);
}

.faq-item-dark.active .faq-icon {
  transform: rotate(45deg);
  background-color: rgba(255, 85, 32, 0.2);
  color: #FF5520;
}

/* Tagline Reveal Words */
.tagline-word {
  display: inline-block;
  color: rgba(255, 255, 255, 0.22);
  transition: color 0.6s cubic-bezier(0.32, 0.72, 0, 1), text-shadow 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}

.tagline-word.revealed {
  color: #FFFFFF;
}

.tagline-word.highlight {
  color: #FF5520 !important;
  text-shadow: 0 0 20px rgba(255, 85, 32, 0.55);
}

/* ==========================================================================
   17. BIBLIOTECA DE TEMPLATES & SLIDE INFINITO MARQUEE (DARK TECH)
   ========================================================================== */
.marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 12px 0;
  mask-image: linear-gradient(to right, transparent, black 7%, black 93%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 7%, black 93%, transparent);
}

.marquee-row {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}

.marquee-row-right {
  animation: marqueeRight 48s linear infinite;
}

.marquee-row-left {
  animation: marqueeLeft 48s linear infinite;
}

.marquee-row:hover {
  animation-play-state: paused;
}

@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

@keyframes marqueeLeft {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.template-card {
  width: 320px;
  flex-shrink: 0;
  border-radius: 20px;
  background: rgba(14, 17, 24, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 12px 30px -6px rgba(0, 0, 0, 0.75);
}

.template-card:hover {
  border-color: rgba(255, 85, 32, 0.6);
  box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 85, 32, 0.22);
  transform: translateY(-5px);
}

.template-browser-bar {
  padding: 9px 14px;
  background: rgba(9, 11, 16, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.template-dots {
  display: flex;
  gap: 5px;
}

.template-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.template-thumb {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #06070A;
}

.template-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}

.template-card:hover .template-thumb img {
  transform: scale(1.05);
}

.template-info {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 17, 24, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   18. REDES SOCIAIS (DRAWER E FOOTER)
   ========================================================================== */
.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
  font-size: 18px;
  transition: all 0.25s cubic-bezier(0.32, 0.72, 0, 1);
  text-decoration: none;
}

.social-icon-btn:hover {
  background: rgba(255, 85, 32, 0.16);
  border-color: #FF5520;
  color: #FF5520;
  box-shadow: 0 0 16px rgba(255, 85, 32, 0.4);
  transform: translateY(-2px);
}

/* Utilitário de scroll horizontal sem scrollbar visível */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Suavização dos blocos e cards ao scroll */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}


