:root {
  --color-primary: #C99B53;
  --color-primary-hover: #DFB269;
  --color-dark-bg: #0C0D0E;
  --color-card-bg: #141618;
  --color-border: #26292D;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

/* Scrollbar Personalizada Premium (Dark & Gold) */
::-webkit-scrollbar {
  width: 8px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #0C0D0E;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb {
  background: #26292D;
  border-radius: 9999px;
  border: 1px solid rgba(201, 155, 83, 0.25);
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #C99B53;
}

/* Scrollbar fina específica para containers horizontais */
.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #C99B53 #141619;
  -webkit-overflow-scrolling: touch;
}

.custom-scrollbar::-webkit-scrollbar {
  height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #141619;
  border-radius: 9999px;
  margin: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #C99B53;
  border-radius: 9999px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #E2B973;
  box-shadow: 0 0 10px rgba(201, 155, 83, 0.7);
}

/* Esconder scrollbar padrão mantendo drag e rolagem funcional */
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Suporte a Drag-to-Scroll */
.drag-scroll-container {
  cursor: grab;
  user-select: none;
}
.drag-scroll-container.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto !important;
}
.drag-scroll-container.is-dragging * {
  pointer-events: none;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--color-dark-bg);
  color: #E2E8F0;
  overflow-x: hidden;
}

/* Títulos com Clamp Responsivo Fluido */
.title-hero {
  font-size: clamp(1.45rem, 4vw + 0.5rem, 3.15rem);
  line-height: 1.18;
}

@media (max-width: 640px) {
  .title-hero {
    font-size: clamp(1.3rem, 5.2vw, 1.65rem);
    line-height: 1.22;
  }
}

.title-section {
  font-size: clamp(1.75rem, 3.5vw + 0.5rem, 2.75rem);
  line-height: 1.2;
}

.title-card {
  font-size: clamp(1.15rem, 1.5vw + 0.5rem, 1.35rem);
  line-height: 1.3;
}

/* Animações Sutis */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float-slow {
  animation: floatSlow 5s ease-in-out infinite;
}

/* Mancha Dourada Fluida Lenta com Transparência */
@keyframes goldenBlobFloat {
  0% {
    transform: translate(0px, 0px) scale(1) rotate(0deg);
    opacity: 0.38;
    border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  }
  25% {
    transform: translate(70px, -45px) scale(1.22) rotate(20deg);
    opacity: 0.52;
    border-radius: 40% 60% 50% 50% / 60% 30% 70% 40%;
  }
  50% {
    transform: translate(110px, 60px) scale(0.92) rotate(-15deg);
    opacity: 0.35;
    border-radius: 70% 30% 60% 40% / 40% 70% 30% 60%;
  }
  75% {
    transform: translate(-45px, 80px) scale(1.18) rotate(25deg);
    opacity: 0.48;
    border-radius: 50% 50% 40% 60% / 50% 40% 60% 50%;
  }
  100% {
    transform: translate(0px, 0px) scale(1) rotate(0deg);
    opacity: 0.38;
    border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  }
}

.golden-blob-hero {
  animation: goldenBlobFloat 18s ease-in-out infinite alternate;
  will-change: transform, opacity, border-radius;
  pointer-events: none;
  filter: blur(55px);
}

/* Glassmorphism Suave */
.glass-panel {
  background: rgba(20, 22, 24, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-nav {
  background: rgba(12, 13, 14, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Banner Hero Design Premium Theme */
#hero-section {
  background-color: #0C0D0E;
}

@media (min-width: 768px) {
  #hero-section {
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
    /* Hero preenche exatamente 100vh descontando o topo (90px) e a barra de destaques (76px) */
    min-height: calc(100vh - 90px - 76px);
    height: auto;
  }
}

/* Botões com Linha Única e Sem Tremedeira */
.btn-gold {
  background: linear-gradient(135deg, #C99B53 0%, #E2B973 100%);
  color: #0B0C0E;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px -8px rgba(201, 155, 83, 0.45);
}

.btn-gold:hover {
  transform: scale(1.04);
  box-shadow: 0 14px 30px -6px rgba(201, 155, 83, 0.65);
}

.btn-outline-gold {
  border: 2px solid #C99B53;
  color: #E2B973;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-gold:hover {
  background: rgba(201, 155, 83, 0.12);
  transform: scale(1.04);
}

/* Cards com Borda Dourada Suave */
.gold-card {
  position: relative;
  background: #141619;
  border: 1px solid #282C32;
  border-radius: 1.25rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.gold-card:hover {
  border-color: #C99B53;
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.65), 0 0 25px -8px rgba(201, 155, 83, 0.2);
}

/* Scroll reveal helper */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Textura Abstrata de Fibra de Carbono em SVG */
.bg-carbon {
  background-color: #0b0c0e;
  background-image: 
    radial-gradient(ellipse at 85% 30%, rgba(201, 155, 83, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 75%, rgba(201, 155, 83, 0.06) 0%, transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23181a1d' fill-opacity='0.65' d='M0 0h8v8H0zm8 8h8v8H8z'/%3E%3Cpath fill='%23131518' fill-opacity='0.65' d='M8 0h8v8H8zm-8 8h8v8H0z'/%3E%3Cpath fill='none' stroke='%2322252a' stroke-width='0.5' stroke-opacity='0.4' d='M0 0l16 16M16 0L0 16'/%3E%3C/svg%3E");
}

/* Botão Play Moderno com Ondas de Pulso e Brilho Dourado */
.btn-play-pulse {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #C99B53 0%, #F3D08C 50%, #C99B53 100%);
  color: #0c0d0e;
  box-shadow: 0 0 25px rgba(201, 155, 83, 0.55);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-play-pulse::before,
.btn-play-pulse::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 9999px;
  border: 2px solid rgba(201, 155, 83, 0.7);
  animation: playPulse 2.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
  pointer-events: none;
}

.btn-play-pulse::after {
  inset: -14px;
  border: 1.5px solid rgba(201, 155, 83, 0.4);
  animation: playPulse 2.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s infinite;
}

@keyframes playPulse {
  0% {
    transform: scale(0.92);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.btn-play-pulse:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(226, 185, 115, 0.9);
}

/* Marquee / Carrossel Infinito da Esquerda para a Direita */
.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: marqueeLeftToRight 65s linear infinite;
  will-change: transform;
}

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

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

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    overflow-x: auto;
  }
}

/* Scroll Animate (Reveal suave ao rolar a página) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

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

.reveal-left {
  transform: translateX(-35px);
}
.reveal-left.revealed {
  transform: translateX(0);
}

.reveal-right {
  transform: translateX(35px);
}
.reveal-right.revealed {
  transform: translateX(0);
}

.reveal-scale {
  transform: scale(0.94);
}
.reveal-scale.revealed {
  transform: scale(1);
}

/* Delays escalonados para listas e grids */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Mobile Drawer Menu */
#mobile-menu {
  background-color: #0C0D0E !important;
  background: #0C0D0E !important;
  z-index: 99999 !important;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.9);
}


