/* Estilos Personalizados - AQUISITIVOS OG */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Syne:wght@700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --bg-primary: #0a0c10;
  --bg-secondary: #12151d;
  --bg-card: rgba(23, 27, 38, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(0, 240, 255, 0.35);
  --accent-cyan: #00f0ff;
  --accent-blue: #3b82f6;
  --accent-emerald: #10b981;
  --accent-gold: #f59e0b;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-primary);
  color: #f3f4f6;
  overflow-x: hidden;
}

h1, h2, h3, .font-heading {
  font-family: 'Syne', sans-serif;
  letter-spacing: -0.02em;
}

.font-mono-numeric {
  font-family: 'Space Grotesk', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0c10;
}
::-webkit-scrollbar-thumb {
  background: #232838;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00f0ff;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(18, 22, 32, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-nav {
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.glass-card {
  background: linear-gradient(135deg, rgba(24, 29, 41, 0.85) 0%, rgba(14, 18, 26, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.45);
  box-shadow: 0 20px 40px -15px rgba(0, 240, 255, 0.15), 0 0 20px rgba(0, 240, 255, 0.05);
}

/* Glow effects */
.glow-cyan {
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.3);
}

.glow-text-cyan {
  text-shadow: 0 0 16px rgba(0, 240, 255, 0.5);
}

.glow-btn {
  background: linear-gradient(135deg, #00f0ff 0%, #0077ff 100%);
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.35);
  transition: all 0.3s ease;
}

.glow-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.55);
}

.glow-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.glow-whatsapp:hover {
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
}

/* Hero Radial Gradients */
.hero-glow-1 {
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

.hero-glow-2 {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
}

/* Main campaign banner: preserve each source image's intrinsic proportions. */
.welcome-banner,
.banner-carousel {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.banner-carousel {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #05070b;
  line-height: 0;
}

@media (min-width: 769px) {
  .banner-carousel { max-width: 1440px; margin-inline: auto; }
}

.banner-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.banner-track::-webkit-scrollbar { display: none; }
.banner-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.banner-slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
  aspect-ratio: 16 / 9;
  scroll-snap-align: start;
}
.banner-slide picture { display: block; width: 100%; height: 100%; }

.banner-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.banner-indicators {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: .85rem;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .6rem;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 9999px;
  background: rgba(0, 0, 0, .55);
  pointer-events: none;
}

.banner-indicator {
  display: block;
  width: .5rem;
  height: .5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .65);
  transition: width .25s ease, background-color .25s ease, transform .25s ease;
}

.banner-indicator.is-active {
  width: 1.25rem;
  background: #37a7ff;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .banner-carousel { aspect-ratio: auto; }
  .banner-slide { aspect-ratio: auto; }
}

/* Remove the hero's top padding so no blank band follows the fixed-height carousel. */
.welcome-banner + section { padding-top: 0; }


/* Marquee Animation */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

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

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

/* Badge Pulse */
@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.04); }
}

.pulse-badge {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

/* Modal and Drawer transitions */
.drawer-backdrop {
  transition: opacity 0.3s ease;
}
.drawer-content {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Range Slider */
input[type=range] {
  accent-color: #00f0ff;
}

/* Identidade visual clara: branco, azul-marinho e azul elétrico */
:root {
  color-scheme: light;
  --bg-primary: #f5f8fc;
  --bg-secondary: #eaf1fa;
  --bg-card: #ffffff;
  --border-subtle: #dce6f2;
  --border-accent: #8bb8ff;
  --accent-cyan: #1769e0;
  --accent-blue: #155eef;
  --accent-emerald: #10b981;
  --accent-gold: #d97706;
}

body,
body.bg-\[\#0a0c10\] {
  background-color: #f5f8fc !important;
  color: #172b4d !important;
}

::selection { background: #cfe0ff; color: #123b7a; }
::-webkit-scrollbar-track { background: #edf2f8; }
::-webkit-scrollbar-thumb { background: #b8c9df; }
::-webkit-scrollbar-thumb:hover { background: #1769e0; }

.glass-nav {
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid #dce6f2;
  box-shadow: 0 6px 24px rgba(26, 55, 96, .06);
}
.glass-panel {
  background: rgba(255, 255, 255, .96);
  border-color: #dce6f2;
  box-shadow: 0 24px 70px rgba(31, 61, 104, .14);
}
.glass-card {
  background: linear-gradient(145deg, #fff 0%, #f6f9fe 100%);
  border-color: #e0e9f4;
  box-shadow: 0 8px 24px rgba(31, 61, 104, .055);
}
.glass-card:hover {
  border-color: #9bbdf4;
  box-shadow: 0 18px 38px rgba(31, 82, 158, .13);
}
.glow-cyan { box-shadow: 0 18px 48px rgba(32, 100, 208, .14); }
.glow-text-cyan { text-shadow: none; }
.glow-btn {
  color: #fff !important;
  background: linear-gradient(135deg, #2478f2 0%, #1253c5 100%);
  box-shadow: 0 9px 22px rgba(24, 94, 210, .24);
}
.glow-btn:hover { box-shadow: 0 12px 28px rgba(24, 94, 210, .32); }
.hero-glow-1 { background: radial-gradient(circle, rgba(77, 145, 255, .16), transparent 70%); }
.hero-glow-2 { background: radial-gradient(circle, rgba(121, 181, 255, .17), transparent 70%); }

/* Remapeia as utilidades escuras do layout para superfícies claras. */
.bg-\[\#0a0c10\], .bg-\[\#0d1017\], .bg-\[\#0f131c\], .bg-\[\#0f131d\], .bg-\[\#07080b\] {
  background-color: #f5f8fc !important;
}
.bg-black\/60, .bg-black\/50, .bg-black\/40 { background-color: rgba(232, 239, 248, .9) !important; }
.bg-black\/70, .bg-black\/80, .bg-black\/85 { background-color: rgba(20, 36, 61, .55) !important; }
.bg-white\/5 { background-color: #f0f5fb !important; }
.bg-white\/10 { background-color: #eaf1fa !important; }
.hover\:bg-white\/5:hover, .hover\:bg-white\/10:hover { background-color: #e5eef9 !important; }
.border-white\/5, .border-white\/10, .border-white\/15 { border-color: #dce6f2 !important; }
.border-cyan-400\/30, .border-cyan-400\/40, .border-cyan-400\/50 { border-color: #b7d0fa !important; }

.text-white { color: #172b4d !important; }
.text-gray-100, .text-gray-200, .text-gray-300 { color: #344b6b !important; }
.text-gray-400, .text-gray-500 { color: #687d99 !important; }
.text-cyan-300, .text-cyan-400, .text-sky-300, .text-blue-400 { color: #1769e0 !important; }
.text-transparent.bg-clip-text {
  background-image: linear-gradient(110deg, #155eef 0%, #3988f5 58%, #78aefb 100%) !important;
}
.hover\:text-white:hover { color: #1253c5 !important; }

/* Deixa as fotos do produto legíveis e mantém o contraste das sobreposições. */
#catalogo img, #autenticidade img { border-radius: 1rem; }
#mobile-menu { background-color: #fff !important; border-color: #dce6f2 !important; }
#cart-drawer { background-color: #fff !important; border-color: #dce6f2 !important; color: #172b4d; }
#cart-drawer input { background-color: #f7f9fc !important; border-color: #dce6f2 !important; color: #172b4d !important; }
#cart-drawer input::placeholder { color: #8494aa !important; }

/* Em telas pequenas, permita rolar o drawer inteiro para alcançar o checkout. */
@media (max-width: 640px) {
  #cart-drawer {
    display: block !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh;
    max-height: 100dvh;
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
  }

  #cart-drawer > div:first-child {
    margin-bottom: 1rem;
  }
}

#product-modal-backdrop { background-color: rgba(20, 36, 61, .52) !important; }
#quick-checkout-backdrop { background-color: rgba(20, 36, 61, .58) !important; }
#product-modal .glass-panel, #quick-checkout-modal .glass-panel { background: #fff; }
footer { background: #edf3fa !important; border-color: #dce6f2 !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
