/* ==========================================================================
   HAJA CREATIVE COMPANY — STYLE SYSTEM (CSS VANILLA)
   ========================================================================== */

/* 1. VARIÁVEIS DO DESIGN SYSTEM */
:root {
  /* Cores Oficiais - Manual de Uso */
  --haja-navy: #090835;       /* Marinha Profunda - Fundo Escuro Principal */
  --haja-indigo: #1C188C;     /* Realeza Elétrica - Elementos de Identidade */
  --haja-blue: #2B24DB;       /* Azul Ultrassônico - Hovers, Links Ativos */
  --haja-gold: #D5B23E;       /* Dourado Metálico - Destaque Máximo, CTAs */
  --haja-linen: #F4F6F7;      /* Branco Linho - Texto no Escuro, Fundo Claro */
  --haja-black: #090B12;      /* Preto Índigo - Texto no Claro, Fundo Elite */

  /* Tipografia */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Transições Padrão */
  --transition-bezier: 500ms cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-fast: 200ms ease-out;
}

/* 2. RESET E REGRAS GLOBAIS */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--haja-black);
  color: var(--haja-linen);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--haja-black);
  overflow-x: hidden;
}

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

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

input, textarea, button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* Utilitário de Grid Centrado */
.container-1440 {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 640px) {
  .container-1440 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .container-1440 {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* Glassmorphism Utilities */
.liquid-glass {
  background: rgba(244, 246, 247, 0.02);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(28, 24, 140, 0.15);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.liquid-glass-strong {
  background: rgba(9, 11, 18, 0.9);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(28, 24, 140, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
}

/* Text Roll Animation Helper Classes */
.text-roll-container {
  display: flex;
  flex-direction: column;
  height: 20px;
  overflow: hidden;
  position: relative;
}

.text-roll-item {
  display: block;
  height: 20px;
  line-height: 20px;
  transition: transform var(--transition-bezier);
}

/* Trigger do Text Roll no hover */
.group:hover .text-roll-item {
  transform: translateY(-100%);
}

/* Rotacionar setas no hover */
.group:hover .arrow-icon {
  transform: rotate(-45deg);
}

.btn-arrow-circle, .btn-arrow-circle-dark, .btn-arrow-circle-gold {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform var(--transition-bezier), background-color var(--transition-fast);
}

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


/* ==========================================================================
   LOGOS & ADAPTAÇÕES DE IMAGENS LOCAIS
   ========================================================================== */
.nav-logo {
  height: 1.5rem;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 2rem;
  width: auto;
  margin-bottom: 0.5rem;
}

.starburst-icon-accent {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
  vertical-align: middle;
}


/* ==========================================================================
   MENU MOBILE OVERLAY
   ========================================================================== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
}

.mobile-menu-overlay.active {
  pointer-events: auto;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(9, 11, 18, 0.7);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity var(--transition-bezier);
  pointer-events: none;
}

.mobile-menu-overlay.active .mobile-menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-sheet {
  position: relative;
  background-color: var(--haja-linen);
  color: var(--haja-black);
  border-radius: 1.5rem 1.5rem 0 0;
  margin: 0.75rem 0.75rem 0.75rem 0.75rem;
  padding: 1.5rem 1.25rem 2rem 1.25rem;
  transform: translateY(100%);
  transition: transform var(--transition-bezier);
  box-shadow: 0 -10px 40px rgba(0,0,0,0.4);
  z-index: 1001;
}

.mobile-menu-overlay.active .mobile-menu-sheet {
  transform: translateY(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.time-badge {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(9, 11, 18, 0.6);
  border: 1px solid rgba(9, 11, 18, 0.15);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.close-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: rgba(9, 11, 18, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--haja-black);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.mobile-link {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--haja-black);
}

.mobile-menu-cta-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--haja-black);
  color: var(--haja-linen);
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.9375rem;
}

.mobile-menu-cta-btn .btn-arrow-circle {
  width: 2rem;
  height: 2rem;
  background-color: var(--haja-linen);
  color: var(--haja-black);
}


/* ==========================================================================
   SEÇÕES DA PÁGINA
   ========================================================================== */

/* SECTION 1: HERO */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--haja-black);
  overflow: hidden;
}

/* Ambient Glow Overlay (Puro CSS - Identidade HAJA) */
.ambient-glow-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.ambient-glow-1 {
  position: absolute;
  width: 130%;
  height: 180%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 36, 219, 0.35) 0%, rgba(28, 24, 140, 0.15) 45%, transparent 70%);
  top: -35%;
  left: -15%;
  pointer-events: none;
  filter: blur(50px);
}

.ambient-glow-2 {
  position: absolute;
  width: 110%;
  height: 160%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 24, 140, 0.4) 0%, rgba(9, 8, 53, 0.2) 50%, transparent 75%);
  bottom: -30%;
  right: -10%;
  pointer-events: none;
  filter: blur(60px);
}

/* Classe Utilitária para Botão Magnético */
.magnetic-btn {
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ==========================================================================
   CURSOR CUSTOMIZADO DA HERO
   - Fica visível por padrão (opacity: 1) e não deve nunca ser escondido.
   - O estado ".cursor-hover" é adicionado via JS (script.js) quando o mouse
     passa sobre um elemento clicável (link, botão, input, etc.) e apenas
     aumenta/realça o ponto — nunca o esconde.
   - Se o cursor "desaparecer" ao passar sobre texto/letras, o problema está
     no script.js: verifique se algum listener está setando opacity 0 ou
     display:none no #cursor-dot. Ajuste só a classe ".cursor-hover" abaixo.
   ========================================================================== */
#cursor-dot {
  position: fixed;             /* fixed em vez de absolute: acompanha o mouse em toda a viewport, mesmo com scroll */
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: #F4F6F7;
  border-radius: 50%;
  pointer-events: none;        /* nunca bloqueia cliques */
  z-index: 9999;                /* garante que fique sempre acima de qualquer elemento da hero */
  box-shadow: 0 0 8px 2px rgba(244, 246, 247, 0.8);
  transform: translate(-50%, -50%);
  opacity: 1;                   /* SEMPRE visível por padrão */
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

/* Estado ao passar sobre elementos clicáveis (adicionado via JS no script.js) */
#cursor-dot.cursor-hover {
  transform: translate(-50%, -50%) scale(2.2);   /* aumenta em vez de sumir */
  background: var(--haja-gold);
  box-shadow: 0 0 14px 4px rgba(213, 178, 62, 0.6);
}

.hero-section {
  cursor: none;
}

/* Navigation Header */
.navbar-container {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding: 0.5rem;
}

@media (min-width: 640px) {
  .navbar-container {
    padding: 0.75rem;
  }
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(9, 11, 18, 0.38);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(244, 246, 247, 0.14);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border-radius: 9999px;
  padding: 0.3125rem 0.5rem;
  width: 100%;
  height: 3.5rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo-wrapper-nav {
  padding-left: 0.5rem;
  display: flex;
  align-items: center;
}

.nav-links {
  display: none;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    align-items: center;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--haja-linen);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.nav-link:hover {
  opacity: 1;
  color: var(--haja-gold);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.status-indicator {
  display: none;
  font-size: 0.8125rem;
  color: rgba(244, 246, 247, 0.6);
}

@media (min-width: 1024px) {
  .status-indicator {
    display: inline;
  }
}

.clock-container {
  display: none;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: rgba(244, 246, 247, 0.7);
}

@media (min-width: 768px) {
  .clock-container {
    display: flex;
  }
}

.clock-icon {
  opacity: 0.7;
}

.nav-cta-btn {
  display: none;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--haja-linen);
  color: var(--haja-black);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  border-radius: 9999px;
  height: 2.375rem;
}

@media (min-width: 768px) {
  .nav-cta-btn {
    display: flex;
  }
}

.nav-cta-btn .btn-arrow-circle {
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--haja-black);
  color: var(--haja-linen);
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background-color: rgba(244, 246, 247, 0.08);
  border: 1px solid rgba(244, 246, 247, 0.1);
  border-radius: 50%;
  color: var(--haja-linen);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 1440px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .hero-content {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 4rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding-left: 3rem;
    padding-right: 3rem;
    padding-bottom: 5rem;
  }
}

.hero-label-wrapper {
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .hero-label-wrapper {
    margin-bottom: 2rem;
  }
}

.hero-label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--haja-gold);
  border-left: 2px solid var(--haja-gold);
  padding-left: 0.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 7vw, 4.2rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--haja-linen);
  max-width: 54rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    margin-bottom: 3rem;
  }
}

.hero-title-highlight {
  color: var(--haja-gold);
  text-shadow: 0 0 40px rgba(213, 178, 98, 0.15);
}

.hero-cta-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-cta-row {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }
}

/* CTA Dourado */
.hero-primary-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background-color: var(--haja-gold);
  color: var(--haja-black);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  border-radius: 9999px;
  height: 2.75rem;
  width: fit-content;
  box-shadow: 0 4px 20px rgba(213, 178, 62, 0.3);
  transition: box-shadow var(--transition-fast), background-color var(--transition-fast);
}

@media (min-width: 640px) {
  .hero-primary-btn {
    font-size: 0.875rem;
    height: 3rem;
  }
}

.hero-primary-btn:hover {
  background-color: #e5c24e;
  box-shadow: 0 6px 24px rgba(213, 178, 62, 0.45);
}

.hero-primary-btn .btn-arrow-circle-dark {
  width: 1.75rem;
  height: 1.75rem;
  background-color: var(--haja-black);
  color: var(--haja-gold);
}

@media (min-width: 640px) {
  .hero-primary-btn .btn-arrow-circle-dark {
    width: 2rem;
    height: 2rem;
  }
}

/* Partner Badge */
.partner-badge {
  display: flex;
  align-items: center;
  background: rgba(244, 246, 247, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 246, 247, 0.1);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  width: fit-content;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .partner-badge {
    padding: 0.5rem 1rem;
    gap: 0.75rem;
  }
}

.starburst-icon {
  width: 1.25rem;
  height: 1.25rem;
}

@media (min-width: 640px) {
  .starburst-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}

.partner-text {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--haja-linen);
}

@media (min-width: 640px) {
  .partner-text {
    font-size: 0.875rem;
  }
}

.partner-badge-tag {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--haja-indigo);
  color: var(--haja-linen);
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
}


/* SECTION 2: ABOUT */
.about-section {
  background-color: var(--haja-linen);
  color: var(--haja-black);
  padding-top: 4rem;
  padding-bottom: 3rem;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

@media (min-width: 640px) {
  .about-section {
    padding-top: 5rem;
    padding-bottom: 4rem;
  }
}

@media (min-width: 1024px) {
  .about-section {
    padding-top: 8rem;
    padding-bottom: 6rem;
  }
}

.badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .badge-row {
    margin-bottom: 2rem;
  }
}

.badge-number {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: var(--haja-black);
  color: var(--haja-linen);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 600;
}

@media (min-width: 640px) {
  .badge-number {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.75rem;
  }
}

.badge-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(9, 11, 18, 0.15);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--haja-black);
  max-width: 60rem;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .about-title {
    margin-bottom: 7rem;
  }
}

/* About Grid Layout */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.about-col-center {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-paragraph {
  font-size: 0.9375rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--haja-black);
}

@media (min-width: 640px) {
  .about-paragraph {
    font-size: 1.0625rem;
  }
}

/* Storytelling Phases (3 Blocks) */
.about-phases-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.phase-card {
  display: flex;
  gap: 1.5rem;
  background: rgba(9, 8, 53, 0.02);
  border: 1px solid rgba(9, 8, 53, 0.04);
  border-radius: 1rem;
  padding: 1.75rem 2rem;
  transition: transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),
              background-color 300ms ease,
              border-color 300ms ease,
              box-shadow 300ms ease;
  position: relative;
  overflow: hidden;
}

/* Scroll reveal overrides for storytelling blocks */
.phase-card.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
}

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

/* Hover style (Leve ampliação e elevação) */
.phase-card.visible:hover {
  transform: translateY(-5px) scale(1.015);
  background-color: rgba(255, 255, 255, 0.7);
  border-color: rgba(44, 36, 218, 0.12); /* Brilho sutil azul elétrico */
  box-shadow: 0 15px 35px rgba(9, 8, 53, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  /* Acelerar transição de hover para resposta rápida */
  transition: transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),
              background-color 300ms ease,
              border-color 300ms ease,
              box-shadow 300ms ease;
}

.phase-num {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--haja-indigo);
  line-height: 1.25;
  min-width: 1.5rem;
}

.phase-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.phase-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--haja-black);
  letter-spacing: -0.01em;
}

.phase-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(9, 8, 53, 0.8);
  font-weight: 450;
}

@media (max-width: 640px) {
  .phase-card {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
  }
}

.about-cta-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background-color: var(--haja-indigo);
  color: var(--haja-linen);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  border-radius: 9999px;
  height: 2.75rem;
  width: fit-content;
  box-shadow: 0 4px 15px rgba(28, 24, 140, 0.25);
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.about-cta-btn:hover {
  background-color: var(--haja-blue);
  box-shadow: 0 6px 20px rgba(43, 36, 219, 0.35);
}

.about-cta-btn .btn-arrow-circle {
  width: 1.75rem;
  height: 1.75rem;
  background-color: var(--haja-linen);
  color: var(--haja-black);
}

/* Parallax Image Classes */
.image-wrapper {
  overflow: hidden;
  border-radius: 0.75rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(9, 8, 53, 0.12);
}

@media (min-width: 640px) {
  .image-wrapper {
    border-radius: 1rem;
  }
}

.image-wrapper img {
  width: 100%;
  height: 120%; /* Altura maior para acomodar deslocamento parallax */
  object-fit: cover;
  object-position: center 35%;
  transition: transform 150ms ease-out; /* Parallax suave */
}

.small-image {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}

.large-image {
  max-width: 420px;
  margin: 0 auto;
}

/* Mobile & Tablet explicit layout for Section 1 image (< 1024px) */
@media (max-width: 1023px) {
  .about-col-left {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
  }

  .about-col-left .small-image {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 240px !important;
    aspect-ratio: 16 / 10 !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .about-col-left .small-image img {
    width: 100% !important;
    height: 110% !important;
    object-fit: cover !important;
    object-position: center 25% !important;
  }
}

/* Desktop Columns Setup Grid */
@media (min-width: 1024px) {
  .about-grid {
    display: grid;
    grid-template-cols: 32% 1fr; /* 2 colunas: imagem (32%), parágrafo de texto (restante) */
    align-items: center;
    gap: 4rem;
  }

  .about-col-left {
    align-self: center;
  }

  .small-image {
    aspect-ratio: 250 / 100;
    width: 100%;
    max-width: 1280px;
    margin: 0;
  }

  .about-paragraph {
    font-size: 1.125rem;
    line-height: 1.65;
    max-width: 42rem;
  }

  .about-col-right {
    align-self: center;
  }
}


/* SECTION 3: CONTACT & DIAGNOSTIC (REPOSICIONADO MAIS ACIMA) */
.contact-section {
  background-color: var(--haja-navy);
  padding-top: 4rem;
  padding-bottom: 4rem;
  border-top: 1px solid rgba(244, 246, 247, 0.05);
  position: relative;
  z-index: 5;
}

@media (min-width: 640px) {
  .contact-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .contact-section {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.contact-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-cols: 45% 1fr;
    gap: 4rem;
  }
}

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

.contact-badge-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.contact-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--haja-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--haja-linen);
  margin-bottom: 1.5rem;
}

.contact-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(244, 246, 247, 0.7);
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .contact-desc {
    font-size: 1.0625rem;
  }
}

.contact-instagram {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.instagram-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(244, 246, 247, 0.5);
}

.instagram-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--haja-gold);
  font-weight: 500;
  font-size: 0.9375rem;
}

.instagram-link:hover {
  text-decoration: underline;
}

/* Contact Form Styling */
.contact-form-wrapper {
  background: rgba(9, 11, 18, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(28, 24, 140, 0.2);
  border-radius: 1.25rem;
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .contact-form-wrapper {
    padding: 2.5rem;
  }
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(244, 246, 247, 0.8);
}

.form-input {
  background-color: rgba(244, 246, 247, 0.03);
  border: 1px solid rgba(244, 246, 247, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--haja-linen);
  font-size: 0.9375rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input::placeholder {
  color: rgba(244, 246, 247, 0.35);
}

.form-input:focus {
  border-color: var(--haja-indigo);
  box-shadow: 0 0 12px rgba(28, 24, 140, 0.3);
}

.form-input.textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-submit-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--haja-gold);
  color: var(--haja-black);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  border-radius: 9999px;
  height: 3rem;
  box-shadow: 0 4px 20px rgba(213, 178, 62, 0.3);
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
  margin-top: 0.5rem;
}

.form-submit-btn:hover {
  background-color: #e5c24e;
  box-shadow: 0 6px 24px rgba(213, 178, 62, 0.45);
}

.form-submit-btn .btn-arrow-circle-dark {
  width: 2rem;
  height: 2rem;
  background-color: var(--haja-black);
  color: var(--haja-gold);
}

.form-feedback {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem;
  border-radius: 0.375rem;
}

.form-feedback.success {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.2);
}

.form-feedback.error {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.2);
}


/* ==========================================================================
   LETREIRO EM MOVIMENTO INFINITO (MARQUEE TICKER)
   ========================================================================== */
.marquee-ticker {
  background-color: var(--haja-indigo);
  border-top: 1px solid rgba(244, 246, 247, 0.1);
  border-bottom: 1px solid rgba(244, 246, 247, 0.1);
  padding: 1.25rem 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  z-index: 10;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.marquee-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--haja-linen);
  letter-spacing: 0.05em;
  padding: 0 1rem;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.3333%);
  }
}


/* SECTION: MANIFESTO */
.manifesto-section {
  background-color: var(--haja-black);
  padding-top: 5rem;
  padding-bottom: 5rem;
  border-top: 1px solid rgba(244, 246, 247, 0.05);
  border-bottom: 1px solid rgba(244, 246, 247, 0.05);
  position: relative;
  z-index: 5;
}

@media (min-width: 1024px) {
  .manifesto-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.manifesto-content {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.manifesto-subtitle {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--haja-gold);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.manifesto-text {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.6;
  font-weight: 400;
  color: rgba(244, 246, 247, 0.85);
  letter-spacing: -0.01em;
}

@media (min-width: 640px) {
  .manifesto-text {
    font-size: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .manifesto-text {
    font-size: 2.125rem;
    line-height: 1.55;
  }
}

.manifesto-text .highlight-gold {
  color: var(--haja-gold);
  font-weight: 500;
  text-shadow: 0 0 20px rgba(213, 178, 62, 0.15);
}


/* SECTION 5: PORTFÓLIO RETRÁTIL (Modo Elite / Fundo Preto Índigo) */
.portfolio-section {
  background-color: var(--haja-black);
  padding-top: 4rem;
  padding-bottom: 4rem;
  position: relative;
  z-index: 5;
}

@media (min-width: 640px) {
  .portfolio-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .portfolio-section {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.portfolio-section .badge-row .badge-label {
  border-color: rgba(244, 246, 247, 0.15);
}

.portfolio-section .badge-row .badge-number {
  background-color: var(--haja-linen);
  color: var(--haja-black);
}

.portfolio-header-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .portfolio-header-block {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.portfolio-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--haja-linen);
  margin-bottom: 0.5rem;
}

.portfolio-subtitle-text {
  font-size: 0.9375rem;
  color: rgba(244, 246, 247, 0.6);
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .portfolio-subtitle-text {
    margin-bottom: 0;
  }
}

/* Botão de Expandir / Retrair */
.portfolio-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background-color: var(--haja-gold);
  color: var(--haja-black);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  border-radius: 9999px;
  height: 2.75rem;
  box-shadow: 0 4px 15px rgba(213, 178, 62, 0.2);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.portfolio-toggle-btn:hover {
  box-shadow: 0 6px 20px rgba(213, 178, 62, 0.35);
  transform: translateY(-2px);
}

.portfolio-toggle-btn .btn-arrow-circle-gold {
  width: 1.75rem;
  height: 1.75rem;
  background-color: var(--haja-black);
  color: var(--haja-gold);
}

.arrow-icon-toggle {
  transition: transform 300ms ease;
}

/* Container de Portfólio Fixo */
.portfolio-fixed-grid {
  margin-top: 3rem;
  opacity: 1;
}

/* Grid de Cards (Centralizado e Otimizado para Resolução Premium) */
.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 440px; /* Reduzido de ~700px para otimizar espaço e nitidez */
}

.video-container {
  position: relative;
  aspect-ratio: 1 / 1; /* Padronizado em 1:1 para alinhamento simétrico e exibição perfeita de posts e mockups */
  border-radius: 1rem;
  overflow: hidden;
  background-color: rgba(9, 8, 53, 0.4);
  border: 1px solid rgba(28, 24, 140, 0.15);
  cursor: pointer;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Clientes Mídias Locais Especiais */
.client-project-visual {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-bezier);
}

.client-project-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.client-project-visual .client-project-badge,
.client-project-visual .client-project-title-visual {
  position: relative;
  z-index: 2;
}

.video-container:hover .client-project-visual {
  transform: scale(1.02);
}

.bg-patricia {
  background: linear-gradient(135deg, #090835 0%, #1C188C 100%);
  border-bottom: 4px solid var(--haja-gold);
}

.bg-smartfe {
  background: linear-gradient(135deg, #090835 0%, #152c6f 100%);
  border-bottom: 4px solid var(--haja-gold);
}

.bg-flow {
  background: linear-gradient(135deg, #090B12 0%, #1F1135 100%);
  border-bottom: 4px solid var(--haja-linen);
}

.bg-nextlevel {
  background: linear-gradient(135deg, #170524 0%, #4a0e4e 100%);
  border-bottom: 4px solid var(--haja-gold);
}

.visual-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 8, 53, 0.8) 0%, rgba(9, 8, 53, 0.1) 60%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.client-project-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: rgba(244, 246, 247, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(244, 246, 247, 0.15);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  width: fit-content;
  color: var(--haja-linen);
}

.client-project-title-visual {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--haja-linen);
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

@media (min-width: 640px) {
  .client-project-title-visual {
    font-size: 2.5rem;
  }
}

/* Hover Button Expander */
.hover-btn-expander {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: width 350ms cubic-bezier(0.25, 0.1, 0.25, 1);
  z-index: 5;
  white-space: nowrap;
}

.text-haja-black {
  color: var(--haja-black) !important;
}

.bg-white {
  background-color: var(--haja-linen);
  color: var(--haja-black);
}

.bg-haja-gold {
  background-color: var(--haja-gold);
  color: var(--haja-black);
}

.hover-btn-text {
  font-size: 0.8125rem;
  font-weight: 600;
  opacity: 0;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  transition: opacity 250ms ease-out;
  transition-delay: 50ms;
}

.hover-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  position: absolute;
  right: 0.5rem;
}

.hover-btn-icon svg {
  transition: transform 350ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Hover expand behaviors */
.group:hover .hover-btn-expander {
  width: 7.5rem;
}

.group:hover .hover-btn-text {
  opacity: 1;
}

.group:hover .hover-btn-icon svg {
  transform: rotate(-45deg);
}

/* Card details underneath image */
.card-details {
  margin-top: 1.25rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--haja-linen);
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .card-title {
    font-size: 1.0625rem;
  }
}

.card-description {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(244, 246, 247, 0.6);
  max-width: 90%;
}

@media (min-width: 640px) {
  .card-description {
    font-size: 0.875rem;
  }
}


/* ==========================================================================
   PORTFOLIO GALLERY MODAL (GLASSMORPHISM)
   ========================================================================== */
.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(9, 11, 18, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.modal-container {
  position: relative;
  z-index: 2001;
  width: 90%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(30px);
  transition: transform 400ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

.portfolio-modal.active .modal-container {
  transform: translateY(0);
}

.modal-content {
  border-radius: 1.5rem;
  padding: 1.5rem;
  position: relative;
}

@media (min-width: 640px) {
  .modal-content {
    padding: 2.5rem;
  }
}

.close-modal-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(244, 246, 247, 0.05);
  border: 1px solid rgba(244, 246, 247, 0.1);
  color: var(--haja-linen);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
  z-index: 10;
}

.close-modal-btn:hover {
  background: rgba(244, 246, 247, 0.15);
  transform: scale(1.05);
}

.modal-project-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 600;
  color: var(--haja-linen);
  margin-bottom: 0.25rem;
}

.modal-project-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--haja-gold);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 1.5rem;
}

/* Carousel Styles */
.modal-carousel-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: rgba(9, 11, 18, 0.5);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(244, 246, 247, 0.05);
}

.modal-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 400ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

.modal-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.modal-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Garante que os posts caibam perfeitamente sem cortes */
}

/* Controles do Carrossel */
.modal-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(9, 11, 18, 0.7);
  border: 1px solid rgba(244, 246, 247, 0.15);
  color: var(--haja-linen);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--transition-fast);
  z-index: 5;
}

.modal-carousel-btn:hover {
  background: rgba(43, 36, 219, 0.8);
}

.modal-carousel-btn.prev-btn {
  left: 0.75rem;
}

.modal-carousel-btn.next-btn {
  right: 0.75rem;
}

.modal-carousel-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.375rem;
  z-index: 5;
}

.modal-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: rgba(244, 246, 247, 0.3);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.modal-dot.active {
  background: var(--haja-gold);
  transform: scale(1.2);
}

/* Modal text and link */
.modal-project-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .modal-project-info {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.modal-project-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(244, 246, 247, 0.8);
  max-width: 32rem;
}

@media (min-width: 640px) {
  .modal-project-desc {
    font-size: 0.9375rem;
  }
}

.modal-project-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background-color: var(--haja-linen);
  color: var(--haja-black);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  border-radius: 9999px;
  height: 2.5rem;
  width: fit-content;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-project-link-btn .btn-arrow-circle-dark {
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--haja-black);
  color: var(--haja-linen);
}


/* SECTION: MISSION & VALUES (Modo Elite) */
.values-section {
  background-color: var(--haja-black);
  padding-top: 4rem;
  padding-bottom: 4rem;
  border-top: 1px solid rgba(244, 246, 247, 0.05);
  position: relative;
  z-index: 5;
}

@media (min-width: 640px) {
  .values-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .values-section {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.values-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--haja-linen);
  margin-bottom: 3rem;
}

.values-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-cols: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-cols: 1fr 1fr 1fr 1fr;
  }
}

.value-card {
  background: rgba(244, 246, 247, 0.02);
  border: 1px solid rgba(244, 246, 247, 0.05);
  border-radius: 0.75rem;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(213, 178, 62, 0.2);
}

.value-num {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--haja-gold);
}

.value-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--haja-linen);
}

.value-desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(244, 246, 247, 0.6);
}

/* Reforço de Conversão */
.conversion-card {
  margin-top: 5rem;
  padding: 3.5rem 2rem;
  text-align: center;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(44, 36, 218, 0.08) 0%, rgba(9, 8, 53, 0.6) 100%);
  border: 1px solid rgba(213, 178, 62, 0.15);
  box-shadow: 0 10px 40px rgba(9, 8, 53, 0.5), inset 0 1px 1px rgba(244, 246, 247, 0.05);
}

@media (min-width: 768px) {
  .conversion-card {
    padding: 5rem 4rem;
  }
}

.conversion-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--haja-linen);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.conversion-desc {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.6;
  color: rgba(244, 246, 247, 0.7);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.conversion-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .conversion-actions {
    flex-direction: row;
  }
}

.conversion-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 3.25rem;
  padding: 0.5rem 0.5rem 0.5rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  width: 100%;
  max-width: 280px;
}

.primary-conversion-btn {
  background-color: var(--haja-linen);
  color: var(--haja-black);
}

.primary-conversion-btn:hover {
  background-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 246, 247, 0.15);
}

.secondary-conversion-btn {
  background-color: transparent;
  color: var(--haja-linen);
  border: 1px solid rgba(244, 246, 247, 0.2);
}

.secondary-conversion-btn:hover {
  background-color: rgba(244, 246, 247, 0.05);
  border-color: rgba(244, 246, 247, 0.4);
  transform: translateY(-2px);
}



/* FOOTER */
.footer-section {
  background-color: var(--haja-black);
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-top: 1px solid rgba(244, 246, 247, 0.05);
  font-size: 0.8125rem;
  color: rgba(244, 246, 247, 0.5);
  position: relative;
  z-index: 5;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
}

.footer-slogan {
  font-weight: 500;
}

.footer-right {
  text-align: left;
}

@media (min-width: 640px) {
  .footer-right {
    text-align: right;
    max-width: 60%;
  }
}


/* ==========================================================================
   ANIMAÇÃO DE REVELAÇÃO DO SCROLL (INTERSECTION OBSERVER)
   ========================================================================== */
.scroll-reveal {
  opacity: 10;
  transform: translateY(20px);
  transition: opacity 800ms cubic-bezier(0.25, 0.1, 0.25, 1), transform 800ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

/* Utilitário para Acessibilidade (Texto oculto visualmente, acessível por leitores de tela) */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border-width: 0 !important;
}

/* ==========================================================================
   SEÇÃO FANTASMA: CONTATO DIRETO ESTRATEGISTA (WHATSAPP / E-MAIL)
   ========================================================================== */
.ghost-contact-section {
  background-color: var(--haja-black);
  padding: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  position: relative;
  z-index: 5;
  transition: max-height 600ms cubic-bezier(0.16, 1, 0.3, 1), opacity 500ms ease, padding 500ms ease;
}

.ghost-contact-section.active {
  max-height: 650px;
  opacity: 1;
  padding-top: 5rem;
  padding-bottom: 5rem;
  border-top: 1px solid rgba(28, 24, 140, 0.2);
}

.ghost-contact-section.hidden {
  display: none;
}

.ghost-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  position: relative;
  text-align: center;
  border: 1px solid rgba(28, 24, 140, 0.3);
}

@media (min-width: 640px) {
  .ghost-card {
    padding: 4rem 3rem;
  }
}

.close-ghost-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(244, 246, 247, 0.03);
  border: 1px solid rgba(244, 246, 247, 0.08);
  color: var(--haja-linen);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.close-ghost-btn:hover {
  background-color: rgba(244, 246, 247, 0.08);
  border-color: rgba(244, 246, 247, 0.2);
  transform: rotate(90deg);
}

.ghost-badge-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.ghost-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--haja-gold);
}

.ghost-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--haja-linen);
  margin-bottom: 1rem;
}

.ghost-desc {
  font-size: clamp(0.9375rem, 2vw, 1.125rem);
  line-height: 1.6;
  color: rgba(244, 246, 247, 0.7);
  max-width: 32rem;
  margin: 0 auto 2.5rem auto;
}

.ghost-buttons-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .ghost-buttons-row {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.ghost-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  width: 100%;
  max-width: 20rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

@media (min-width: 640px) {
  .ghost-btn {
    width: auto;
    max-width: none;
  }
}

.whatsapp-btn {
  background-color: var(--haja-gold);
  color: var(--haja-black);
  box-shadow: 0 4px 15px rgba(213, 178, 62, 0.25);
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(213, 178, 62, 0.4);
}

.email-btn {
  background-color: transparent;
  border: 1px solid rgba(244, 246, 247, 0.15);
  color: var(--haja-linen);
}

.email-btn:hover {
  border-color: var(--haja-linen);
  transform: translateY(-2px);
  background-color: rgba(244, 246, 247, 0.02);
}

.ghost-btn .btn-icon {
  transition: transform var(--transition-fast);
}

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

/* Helper utilities */
.hidden {
  display: none !important;
}

.galaxy-container {
  width: 100%;
  height: 100%;
  position: relative;
}

/* ==========================================================================
   AJUSTES RESPONSIVOS MOBILE (REDUÇÃO REAL DA ALTURA DA HERO E MODAL TELA CHEIA)
   ========================================================================== */
@media (max-width: 768px), (pointer: coarse) {
  /* Ocultar o cursor customizado no mobile/touch e restaurar o ponteiro padrão */
  #cursor-dot {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .hero-section {
    cursor: auto !important;
  }

  /* Mover os elementos da hero bem mais para baixo, aproximando do final da Seção 1 */
  .hero-section {
    min-height: auto !important;
    height: auto !important;
    padding-bottom: 1.25rem !important;
  }
  
  .hero-content {
    flex: 0 0 auto !important;
    justify-content: flex-start !important;
    margin-top: 5.5rem !important;
    padding-top: 0.25rem !important;
    padding-bottom: 0.5rem !important;
  }

  .hero-label-wrapper {
    margin-bottom: 1rem !important;
  }

  .hero-title {
    margin-bottom: 1.5rem !important;
  }

  /* Modal de Casos de Sucesso em Tela Cheia no Mobile */
  .modal-container {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    margin: 0;
  }

  .modal-content {
    border-radius: 0;
    min-height: 100vh;
    height: 100%;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .modal-carousel-wrapper {
    flex: 1;
    max-height: 55vh;
  }
}