/* ==========================================================================
   DUELI EXPERIENCE — DESIGN SYSTEM & ESTILOS CANÔNICOS
   Padrão: O COPY & Kyon Shell | Cor Primária: Laranja Premium (#FF6B00)
   ========================================================================== */

/* 1. Fontes Auto-Hospedadas */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}

/* 2. Variáveis de Design */
:root {
  --color-dark: #07080a;
  --color-dark-deep: #030405;
  --color-dark-card: #0c0d12;
  --color-light: #ffffff;
  --color-light-bg: #f8f6f2;
  --color-light-card: #ffffff;
  
  --orange-primary: #ff6b00;
  --orange-bright: #ff7d1a;
  --orange-deep: #e05800;
  --orange-glow: rgba(255, 107, 0, 0.45);
  --orange-subtle: rgba(255, 107, 0, 0.12);
  --orange-border: rgba(255, 107, 0, 0.32);
  --orange-border-subtle: rgba(255, 107, 0, 0.18);
  
  --text-primary: #ffffff;
  --text-muted: #c4c6cc;
  --text-dark: #121316;
  --text-dark-muted: #5c5f66;
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 9999px;
  
  --container-max: 1280px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3. Reset & Estrutura Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  background-color: var(--color-dark);
  color: var(--text-primary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto; /* Controlado via Lenis */
}

body {
  overflow-x: hidden !important;
  width: 100%;
  min-height: 100vh;
  position: relative;
  line-height: 1.5;
}

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

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

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 640px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* 4. Tipografia Monumental */
h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.headline-hero {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.text-orange {
  color: var(--orange-primary);
}

.text-gradient-orange {
  background: linear-gradient(135deg, #ffffff 40%, var(--orange-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.headline-section {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  font-weight: 400;
  max-width: 680px;
  line-height: 1.6;
}

/* 5. Botões Canônicos com Shiny Sweep Glow */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--orange-bright) 0%, var(--orange-deep) 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px var(--orange-glow), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transition: var(--transition-smooth);
  min-height: 48px;
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .btn-primary, .btn-secondary {
    white-space: normal;
    text-align: center;
    padding: 14px 20px;
    font-size: 0.92rem;
    width: 100%;
  }
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(255, 107, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -120%;
  width: 60%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: rotate(25deg);
  animation: shinySweep 3.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes shinySweep {
  0%, 25% { left: -120%; }
  65%, 100% { left: 220%; }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid var(--orange-border);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
  min-height: 48px;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: var(--orange-subtle);
  border-color: var(--orange-primary);
  transform: translateY(-2px);
}

/* 6. Navbar Minimalista & Responsiva */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 8, 10, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 107, 0, 0.15);
  transition: var(--transition-smooth);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

@media (max-width: 768px) {
  .header-inner {
    height: 56px;
  }
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid var(--orange-border);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.1;
  color: #ffffff;
}

.brand-tag {
  font-size: 0.7rem;
  color: var(--orange-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--orange-primary);
}

.nav-cta-desktop {
  display: inline-flex;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

@media (max-width: 768px) {
  .nav-links, .nav-cta-desktop {
    display: none !important;
  }
  .menu-toggle {
    display: flex;
  }
}

/* Painel de Menu Mobile Fullscreen */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #07080a;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.mobile-menu-link {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff;
  display: inline-block;
  transition: var(--transition-smooth);
}

.mobile-menu-link:hover {
  color: var(--orange-primary);
}

.mobile-menu-meta {
  padding-top: 24px;
  border-top: 1px solid var(--orange-border-subtle);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* 7. Hero Section */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
  background: radial-gradient(circle at 50% 20%, rgba(255, 107, 0, 0.12) 0%, transparent 65%),
              linear-gradient(180deg, #07080a 0%, #0c0e14 100%);
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: auto;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange-subtle);
  border: 1px solid var(--orange-border);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange-primary);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--orange-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--orange-primary);
  animation: pulseNeon 2s infinite;
}

@keyframes pulseNeon {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
  align-items: center;
}

/* Card Visual do Hero */
.hero-visual-card {
  position: relative;
  background: #000000;
  border: 1px solid var(--orange-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 107, 0, 0.15);
  max-width: 440px;
  margin: 0 auto;
}

.hero-preview-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 9/14;
  background: #000000;
}

.hero-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.preview-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange-primary);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--orange-border);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.preview-title {
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 600;
}

/* 8. Faixa Contínua de Segmentos de Eventos */
.marquee-bar {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  position: relative;
  background: #000000;
  border-top: 1px solid var(--orange-border-subtle);
  border-bottom: 1px solid var(--orange-border-subtle);
  padding: 20px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 48px;
  animation: marqueeRoll 28s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
  white-space: nowrap;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  background: var(--orange-primary);
  border-radius: 50%;
}

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

/* 9. Portfólio de Vídeos Interativo */
.portfolio-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #0c0e14 0%, #151820 50%, #07080a 100%);
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 992px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
    gap: 40px;
  }
}

.portfolio-card {
  background: #000000;
  border: 1px solid var(--orange-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange-primary);
  box-shadow: 0 28px 55px rgba(255, 107, 0, 0.2);
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  background: #000000;
  overflow: hidden;
}

.portfolio-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.video-cover-img.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.video-control-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--orange-border);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.video-control-btn:hover {
  background: var(--orange-primary);
}

.portfolio-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.portfolio-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.portfolio-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

.card-cta-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange-primary);
  transition: var(--transition-smooth);
}

.card-cta-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* 10. Jornada de Experiência (Luz Progressiva Neon) */
.journey-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #07080a 0%, #0d0f15 100%);
  position: relative;
}

.journey-wrapper {
  position: relative;
  max-width: 880px;
  margin: 60px auto 0;
}

.journey-rail {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 36px;
  width: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
}

@media (max-width: 640px) {
  .journey-rail {
    left: 20px;
  }
}

.journey-rail-progress {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--orange-bright), var(--orange-deep));
  box-shadow: 0 0 14px var(--orange-glow);
  border-radius: 99px;
  transition: height 0.15s linear;
}

.journey-steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.journey-step-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: flex-start;
  gap: 24px;
}

@media (max-width: 640px) {
  .journey-step-item {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }
}

.journey-node {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #07080a;
  border: 2px solid var(--orange-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.journey-step-item.is-active .journey-node {
  border-color: var(--orange-primary);
  color: #ffffff;
  background: var(--orange-primary);
  box-shadow: 0 0 20px var(--orange-glow);
}

.journey-step-card {
  background: #000000;
  border: 1px solid var(--orange-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.step-card-num {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.step-card-title {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.step-card-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 11. Seção Clara de Diferenciais (Mescla de Tema Claro e Escuro) */
.light-blend-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8f6f2 0%, #ffffff 50%, #f4f0e8 100%);
  color: var(--text-dark);
  position: relative;
}

.light-blend-section .headline-section {
  color: var(--text-dark);
}

.light-blend-section .subtitle {
  color: var(--text-dark-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 50px;
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.feature-card {
  background: #ffffff;
  border: 1px solid rgba(255, 107, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: 0 15px 35px rgba(255, 107, 0, 0.08);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange-primary);
  box-shadow: 0 20px 45px rgba(255, 107, 0, 0.16);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--orange-subtle);
  border: 1px solid var(--orange-border);
  color: var(--orange-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-title {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-dark-muted);
  line-height: 1.6;
}

/* 12. FAQ — Acordeão Elegante sem Emoji */
.faq-section {
  padding: 100px 0;
  background: #07080a;
}

.faq-list {
  max-width: 780px;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #000000;
  border: 1px solid var(--orange-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.is-open {
  border-color: var(--orange-primary);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
}

.faq-icon-chevron {
  width: 20px;
  height: 20px;
  color: var(--orange-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.is-open .faq-icon-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 28px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.faq-item.is-open .faq-answer {
  padding-bottom: 24px;
}

/* 13. CTA Final Monumental */
.cta-final-section {
  padding: 110px 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 107, 0, 0.18) 0%, transparent 65%),
              linear-gradient(180deg, #07080a 0%, #000000 100%);
  text-align: center;
  position: relative;
}

.cta-final-box {
  background: #000000;
  border: 1px solid var(--orange-border);
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 50px rgba(255, 107, 0, 0.18);
}

@media (max-width: 640px) {
  .cta-final-box {
    padding: 40px 20px;
  }
}

.cta-final-title {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.cta-final-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* 14. Rodapé Oficial */
.footer-main {
  background: #000000;
  border-top: 1px solid var(--orange-border-subtle);
  padding: 60px 0 32px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

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

.footer-link-item a {
  transition: var(--transition-smooth);
}

.footer-link-item a:hover {
  color: var(--orange-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* 15. Regras de Motion & Acessibilidade */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .btn-primary::after,
  .pulse-dot,
  .marquee-track {
    animation: none !important;
  }
}
