/* ==========================================================================
   TRADER SNIPER | LUCAS ORBANEÇA — LO SOLUÇÕES DIGITAIS
   Estética Fiel à Referência Behance: Warm Copper & Dark Espresso
   Header Flutuante Liquid Glass / Frosted Glassmorphism
   ========================================================================== */

/* Self-hosted Google Fonts using the same families, weights, and Latin glyph subset. */

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/newsreader-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/newsreader-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/newsreader-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/plus-jakarta-sans-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/plus-jakarta-sans-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/plus-jakarta-sans-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --copper-primary: #D97724;
  --copper-light: #E08736;
  --copper-dark: #B45309;
  
  --bg-cream: #F7F3E8;
  --bg-dark: #0D0907;
  --bg-darker: #070504;
  --bg-card-dark: #140F0C;
  --border-dark: #261D17;
  --border-light: #E8E0D5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1A1A1A;
  background-color: var(--bg-cream);
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

/* Floating Liquid Glass Navbar */
.liquid-glass-nav {
  background: rgba(13, 9, 7, 0.84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.liquid-glass-btn {
  background: rgba(13, 9, 7, 0.84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
}

.liquid-glass-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 119, 36, 0.6);
  box-shadow: 0 16px 45px -6px rgba(217, 119, 36, 0.4);
}

/* Serif Accent font for italic punchlines */
.font-italic-serif {
  font-family: 'Newsreader', serif;
  font-style: italic;
}

/* Copper / Amber Buttons */
.btn-copper {
  background: linear-gradient(135deg, #E08736 0%, #C86A1D 100%);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(217, 119, 36, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-copper:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 119, 36, 0.5);
  background: linear-gradient(135deg, #E69145 0%, #D47526 100%);
}

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

/* Pill Badges */
.pill-badge-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(217, 119, 36, 0.08);
  border: 1px solid rgba(217, 119, 36, 0.2);
  color: #B45309;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
}

.pill-badge-dark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(217, 119, 36, 0.12);
  border: 1px solid rgba(217, 119, 36, 0.3);
  color: #F59E0B;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 9999px;
}

/* Tilted Infinite Ribbon Banners */
.ribbon-wrapper {
  position: relative;
  width: 100%;
  left: 0;
  overflow: hidden;
  padding: 8px 0 12px 0;
  z-index: 20;
}

@media (min-width: 1024px) {
  .ribbon-wrapper {
    width: 112%;
    left: -6%;
  }
}

.ribbon-banner-1 {
  background: #D97724;
  color: #070504;
  transform: rotate(-1.5deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.ribbon-banner-2 {
  background: #C86A1D;
  color: #070504;
  transform: rotate(1deg);
  margin-top: -10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

/* Infinite Marquee Animations */
@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

.marquee-content-left {
  display: flex;
  width: max-content;
  animation: marqueeLeft 32s linear infinite;
  user-select: none;
}

.marquee-content-right {
  display: flex;
  width: max-content;
  animation: marqueeRight 32s linear infinite;
  user-select: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0D0907;
}
::-webkit-scrollbar-thumb {
  background: #2D221A;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #D97724;
}

/* Financial Chart Background Effects (As seen in Behance reference) */
.bg-chart-grid {
  background-image: 
    linear-gradient(to right, rgba(217, 119, 36, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(217, 119, 36, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.bg-chart-grid-light {
  background-image: 
    linear-gradient(to right, rgba(217, 119, 36, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(217, 119, 36, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
}

.chart-line-glow {
  filter: drop-shadow(0 0 12px rgba(217, 119, 36, 0.45));
}

/* Hero Responsive Backgrounds (Desktop x Mobile) */
.hero-bg-responsive {
  background-color: #F7F3E8;
  background-image: none;
}

@media (min-width: 1024px) {
  .hero-bg-responsive {
    background-image: url('assets/fundo-hero-desktop.webp');
    background-size: cover;
    background-position: center top;
  }
}

/* No scrollbar utility for mobile navbar */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ==========================================================================
   INTERACTIVE & SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 767px) {
  .reveal-left,
  .reveal-right {
    transform: translateY(24px);
  }
  .reveal-left.revealed,
  .reveal-right.revealed {
    transform: translateY(0);
  }
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Stagger Delays */
.delay-100 { transition-delay: 100ms; }
.delay-150 { transition-delay: 150ms; }
.delay-200 { transition-delay: 200ms; }
.delay-250 { transition-delay: 250ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Subtle Floating Robot Mascot Animation */
@keyframes floatRobot {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.animate-float-robot {
  animation: floatRobot 4s ease-in-out infinite;
}

/* Chart Line Glow Pulse */
@keyframes chartLinePulse {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(217, 119, 36, 0.35));
    opacity: 0.85;
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(217, 119, 36, 0.7));
    opacity: 1;
  }
}

.chart-line-glow {
  animation: chartLinePulse 5s ease-in-out infinite;
}

/* CTA Button Ambient Pulse */
@keyframes buttonPulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(217, 119, 36, 0.35);
  }
  50% {
    box-shadow: 0 6px 28px rgba(217, 119, 36, 0.6);
  }
}

.btn-copper {
  animation: buttonPulse 3.5s ease-in-out infinite;
}

/* Interactive Card Hover Glow */
.card-hover-glow {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.card-hover-glow:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 119, 36, 0.45);
  box-shadow: 0 12px 30px -6px rgba(217, 119, 36, 0.22);
}

/* Mobile Hero Canvas Frame Animation */
#trend-ea-hero-canvas {
  background-image: url('assets/frames-webp-512/frame_000.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
}


