/* ==========================================================================
   LANDING PAGE PREMIUM — FERNANDO ARAUJO ADS
   Identidade: Dark Mode Sofisticado, Tecnológico, Minimalista e Espaçoso
   Desktop: Mantido 100% intacto
   Mobile/Celular: Enquadramento com foco no personagem + Cabeçalho equilibrado
   ========================================================================== */

/* 1. RESET E VARIÁVEIS CSS */
:root {
  /* Paleta Base Escura */
  --bg-dark-base: #05070a;
  --bg-dark-card: #0c1017;
  --bg-dark-surface: #121824;
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(255, 255, 255, 0.28);

  /* Tipografia & Contrastes */
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dark: #05070a;

  /* Acentos Tecnológicos & Lucro */
  --neon-green: #00f59b;
  --neon-green-glow: rgba(0, 245, 155, 0.35);
  --neon-green-bg: rgba(0, 245, 155, 0.12);
  
  --electric-blue: #00d2ff;
  --electric-blue-glow: rgba(0, 210, 255, 0.35);
  --electric-blue-bg: rgba(0, 210, 255, 0.12);

  /* Tipografia */
  --font-heading: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --header-height: 80px;
  --max-content-width: 1240px;
  --section-padding-x: clamp(1.25rem, 5vw, 4rem);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: auto;
  font-size: 16px;
  background-color: var(--bg-dark-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  line-height: 1.55;
  position: relative;
  background-color: var(--bg-dark-base);
}

/* ==========================================================================
   CAMADA 1 & 2: VÍDEO CONTÍNUO DE FUNDO 100% NÍTIDO
   ========================================================================== */
.video-bg-layer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 1; /* Camada 1 base */
  pointer-events: none;
  background-color: var(--bg-dark-base);
  overflow: hidden;
  will-change: transform;
}

/* Vídeo 100% nítido, sem filtros ou opacidades artificiais (Desktop) */
.video-bg-layer video.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  display: block;
  opacity: 1;
  filter: none;
}

/* Camada 2: Overlay transparente para manter o vídeo totalmente nítido */
.video-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg, 
    rgba(5, 7, 10, 0.45) 0%, 
    rgba(5, 7, 10, 0.18) 35%, 
    rgba(5, 7, 10, 0.18) 65%, 
    rgba(5, 7, 10, 0.55) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* ==========================================================================
   CAMADA 4: CABEÇALHO FIXO, TRANSPARENTE E MINIMALISTA (DESKTOP)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: none;
}

.header-container {
  width: 100%;
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  pointer-events: auto;
  flex-shrink: 0;
}

.logo-symbol {
  width: 8px;
  height: 8px;
  background-color: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--neon-green);
  flex-shrink: 0;
}

.header-action {
  pointer-events: auto;
  flex-shrink: 0;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(5, 7, 10, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-header:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
  background: rgba(5, 7, 10, 0.75);
  box-shadow: 0 0 20px var(--neon-green-glow);
  transform: translateY(-1px);
}

/* ==========================================================================
   CAMADA 3: CONTEÚDO DAS 6 SEÇÕES (TRANSPARENTE E LIMPO)
   ========================================================================== */
.page-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  background: transparent;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + 2rem) var(--section-padding-x) 3.5rem;
  background: transparent;
}

.section-inner {
  width: 100%;
  max-width: var(--max-content-width);
  margin: 0 auto;
  position: relative;
  background: transparent;
}

/* ALTERNÂNCIA DE POSICIONAMENTO EM TELAS LARGAS */
/* 1 e 6. Centro */
.align-center .section-inner {
  text-align: center;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 2 e 4. Esquerda */
.align-left .section-inner {
  text-align: left;
  max-width: 860px;
  margin-left: max(0px, calc((100% - var(--max-content-width)) / 2));
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* 3 e 5. Direita */
.align-right .section-inner {
  text-align: right;
  max-width: 860px;
  margin-right: max(0px, calc((100% - var(--max-content-width)) / 2));
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* BADGES & ELEMENTOS DE APOIO */
.badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.35rem;
}

.justify-center {
  justify-content: center;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(5, 7, 10, 0.65);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.partner-badge.tag-highlight {
  border-color: rgba(0, 245, 155, 0.4);
  background: rgba(0, 245, 155, 0.12);
  color: var(--neon-green);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.badge-dot.green {
  background-color: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
}

.badge-dot.blue {
  background-color: var(--electric-blue);
  box-shadow: 0 0 8px var(--electric-blue);
}

.display-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.2vw, 4.3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.35rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.95);
  word-break: break-word;
}

.highlight-text {
  color: transparent;
  background-image: linear-gradient(135deg, #ffffff 30%, var(--neon-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  display: inline-block;
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 2rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

/* Feature pills sutis */
.feature-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(5, 7, 10, 0.6);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.feature-pill:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.08);
}

/* BOTÕES & AÇÕES */
.actions-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--text-primary);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.95rem 1.85rem;
  min-height: 48px;
  border-radius: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background-color: var(--neon-green);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--neon-green-glow);
}

.btn-icon {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.btn-primary:hover .btn-icon {
  transform: translate(2px, -2px);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--neon-green);
  color: var(--bg-dark-base);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 1.05rem 2.2rem;
  min-height: 52px;
  border-radius: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 30px var(--neon-green-glow);
}

.btn-whatsapp:hover {
  background-color: #00ffaa;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 245, 155, 0.5);
}

.wpp-icon {
  display: block;
  flex-shrink: 0;
}

/* INDICADOR DE SCROLL MINIMALISTA */
.scroll-indicator {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-mouse {
  width: 18px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
  background: rgba(5, 7, 10, 0.5);
  backdrop-filter: blur(4px);
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background-color: var(--neon-green);
  border-radius: 2px;
  animation: scrollAnim 1.8s infinite ease-in-out;
}

@keyframes scrollAnim {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.2; }
  100% { transform: translateY(0); opacity: 1; }
}

.scroll-text {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

/* RODAPÉ MINIMALISTA */
.footer-minimal {
  position: absolute;
  bottom: 1.25rem;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  padding: 0 1rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

/* ==========================================================================
   RESPONSIVIDADE: TABLETS & NOTEBOOKS (<= 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --header-height: 72px;
  }

  .display-title {
    font-size: clamp(2.1rem, 5.5vw, 3.5rem);
  }

  .section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
  }
}

/* ==========================================================================
   RESPONSIVIDADE: FORMATO DE CELULAR (SMARTPHONES E TELAS VERTICAIS <= 860px)
   Enquadramento focal do personagem + Cabeçalho proporcional e visível
   ========================================================================== */
@media (max-width: 860px) {
  :root {
    --header-height: 64px;
  }

  /* 1. CENTRALIZAÇÃO FOCAL DO VÍDEO NO PERSONAGEM (sem cortes no mobile) */
  .video-bg-layer video.bg-video {
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    object-fit: cover !important;
    object-position: 76% center !important; /* Posiciona o foco exatamente no personagem na direita */
  }

  /* 2. CABEÇALHO EQUILIBRADO PARA CELULAR */
  .header {
    height: var(--header-height);
    background: transparent;
  }

  .header-container {
    padding: 0 1rem;
    gap: 0.5rem;
    justify-content: space-between;
  }

  .brand-logo {
    font-size: 0.92rem;
    gap: 0.45rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  }

  .logo-symbol {
    width: 7px;
    height: 7px;
  }

  .header-action {
    flex-shrink: 0;
  }

  .btn-header {
    font-size: 0.76rem;
    padding: 0.45rem 0.85rem;
    border-radius: 6px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    background: rgba(5, 7, 10, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  }

  /* 3. CONTEÚDO E SEÇÕES NO CELULAR */
  .display-title br {
    display: none;
  }

  .align-left .section-inner,
  .align-right .section-inner {
    text-align: left;
    align-items: flex-start;
    margin-left: 0;
    margin-right: 0;
  }

  .align-right .badges-row,
  .align-right .feature-pills-row,
  .align-left .actions-wrap,
  .align-right .actions-wrap {
    justify-content: flex-start;
  }

  .hero-section {
    padding: calc(var(--header-height) + 1.25rem) var(--section-padding-x) 3rem;
  }

  .display-title {
    font-size: clamp(1.85rem, 7vw, 2.75rem);
    line-height: 1.15;
    margin-bottom: 1.1rem;
  }

  .section-subtitle {
    font-size: 1.02rem;
    line-height: 1.55;
    margin-bottom: 1.75rem;
  }

  .btn-primary {
    width: 100%;
    max-width: 320px;
    font-size: 0.92rem;
    padding: 0.85rem 1.4rem;
  }

  .btn-whatsapp {
    width: 100%;
    max-width: 340px;
    font-size: 1rem;
    padding: 0.95rem 1.6rem;
  }

  .scroll-indicator {
    display: none;
  }

  .footer-minimal {
    position: relative;
    bottom: auto;
    margin-top: 2.5rem;
    padding-bottom: 1.25rem;
  }
}

/* ==========================================================================
   RESPONSIVIDADE: SMARTPHONES PEQUENOS (<= 480px)
   ========================================================================== */
@media (max-width: 480px) {
  :root {
    --header-height: 60px;
  }

  /* Foco no personagem em telas estreitas */
  .video-bg-layer video.bg-video {
    object-position: 78% center !important;
  }

  .header-container {
    padding: 0 0.85rem;
    gap: 0.4rem;
  }

  .brand-logo {
    font-size: 0.85rem;
    gap: 0.4rem;
  }

  .logo-symbol {
    width: 6px;
    height: 6px;
  }

  .btn-header {
    font-size: 0.72rem;
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
  }

  .hero-section {
    padding: calc(var(--header-height) + 1rem) 1.15rem 2.5rem;
  }

  .partner-badge {
    font-size: 0.68rem;
    padding: 0.28rem 0.65rem;
  }

  .feature-pill {
    font-size: 0.72rem;
    padding: 0.28rem 0.65rem;
  }

  .display-title {
    font-size: clamp(1.65rem, 7.8vw, 2.2rem);
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .btn-primary,
  .btn-whatsapp {
    max-width: 100%;
  }
}

/* ==========================================================================
   RESPONSIVIDADE: SMARTPHONES ULTRA ESTREITOS (<= 360px)
   ========================================================================== */
@media (max-width: 360px) {
  .video-bg-layer video.bg-video {
    object-position: 80% center !important;
  }

  .brand-logo {
    font-size: 0.78rem;
  }

  .btn-header {
    font-size: 0.68rem;
    padding: 0.35rem 0.55rem;
  }
}

/* Altura reduzida (Mobile em modo paisagem / Telas curtas) */
@media (max-height: 640px) {
  .hero-section {
    padding-top: calc(var(--header-height) + 1rem);
    padding-bottom: 2rem;
  }

  .display-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 0.8rem;
  }

  .section-subtitle {
    margin-bottom: 1.25rem;
  }

  .scroll-indicator {
    display: none;
  }
}
