@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

/* --- Design System Variables (EDITÁVEL / CUSTOMIZÁVEL) --- */
/* Modifique as variáveis abaixo para personalizar as cores, backgrounds, transparências e fontes do seu site! */
:root {
  /* ==========================================================================
     CORES PRINCIPAIS & NEON
     ========================================================================== */
  --accent-color: #a3e635;
  /* Verde Neon Principal (Destaques, Botões Ativos, Ícones) */
  --accent-hover: #bef264;
  /* Verde Neon no Efeito Hover (Passar o Mouse) */
  --accent-gold: #fbbf24;
  /* Ouro Quente (Títulos em Destaque, Preços, Estrelas) */
  --accent-gold-hover: #fcd34d;
  /* Ouro Quente no Efeito Hover */

  /* ==========================================================================
     FUNDOS (BACKGROUNDS) & GRADIENTES
     ========================================================================== */
  --bg-color: #010603;
  /* Cor de fundo sólida (para navegadores antigos) */
  --bg-gradient: linear-gradient(180deg, #010603 0%, #031208 50%, #010402 100%);
  /* Gradiente de fundo geral */
  --surface-color: rgba(240, 248, 244, 0.25);
  /* Cor dos Cards e Menus (Efeito Vidro Translúcido Claro) */
  --surface-hover: rgba(240, 248, 244, 0.38);
  /* Cor dos Cards no Efeito Hover (Mais claro e visível) */
  --section-light-bg: rgba(255, 255, 255, 0.05);
  /* Fundo sutilmente claro para destacar seções específicas */
  --section-dark-bg: rgba(3, 18, 8, 0.50);
  /* Fundo escuro sutil para seções de destaque como depoimentos */

  --hero-overlay-start: rgba(1, 6, 3, 0.5);
  /* Transparência no topo dos Banners Hero (Padrão 50% = 0.5) */
  --hero-overlay-end: rgba(1, 6, 3, 0.);
  /* Transparência na base dos Banners Hero (Padrão 88% = 0.88) */

  /* ==========================================================================
     TRANSPARÊNCIAS, BORDAS & SOMBRAS
     ========================================================================== */
  --glass-blur: blur(45px);
  /* Intensidade do desfoque de vidro (backdrop-filter) */
  --border-glass: 1px solid rgba(255, 255, 255, 0.20);
  /* Linha fina de vidro em torno de cards */
  --border-glass-hover: 1px solid rgba(163, 230, 53, 0.35);
  /* Linha fina de vidro ao passar o mouse */
  --shadow-premium: 0 20px 45px rgba(0, 0, 0, 0.7);
  /* Sombra pesada 3D para destacar elementos */

  /* ==========================================================================
     TEXTOS & FONTES
     ========================================================================== */
  --text-primary: #ffffff;
  /* Cor do texto principal (Branco puro) */
  --text-secondary: #b5c7bc;
  /* Cor do texto secundário (Cinza esverdeado claro) */
  --text-muted: #5d6f64;
  /* Cor do texto discreto / marcas d'água */

  --font-heading: 'Playfair Display', serif;
  /* Fonte para títulos chamativos */
  --font-body: 'Outfit', sans-serif;
  /* Fonte para textos comuns e menus */

  /* ==========================================================================
     TAMANHOS E LAYOUT (SIZES)
     ========================================================================== */
  --max-width: 1200px;
  /* Largura máxima centralizada do site */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  /* Tempo e curva de animação de transições */
}

/* --- View Transitions API Native Config --- */
@view-transition {
  navigation: auto;
}

/* --- Reset & Global --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  scrollbar-gutter: stable;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-color);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- ThreeJS Background Canvas --- */
#canvas-3d {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* --- Swup Page Transitions (Slide Lateral Premium) --- */
.transition-fade {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
  /* IMPORTANT: NO transform or will-change in rest state.
     Both properties create a stacking context on #swup, which means z-index values
     on position:fixed children (drawers, overlays) become local to #swup's context
     instead of the global viewport — causing overlays to cover drawers incorrectly.
     GPU hints are applied only when Swup is actively animating the page transition. */
}

/* GPU acceleration only during active Swup page transitions */
html.is-animating .transition-fade,
html.is-rendering .transition-fade {
  will-change: transform, opacity;
}

/* Desliza para fora (esquerda) */
html.is-animating .transition-fade {
  opacity: 0;
  transform: translateX(-80px);
}

/* Desliza para dentro (a partir da direita) */
html.is-rendering .transition-fade {
  opacity: 0;
  transform: translateX(80px);
}

/* --- Lenis Scroll Config --- */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: var(--surface-hover);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* --- Container --- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header & Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(1, 6, 3, 0.8);
  backdrop-filter: blur(15px);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition-smooth);
  view-transition-name: main-header;
}

header.scrolled {
  padding: 5px 0;
  background: rgba(1, 6, 3, 0.95);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
  transition: var(--transition-smooth);
}

header.scrolled .header-container {
  height: 70px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 55px;
  width: auto;
  transition: var(--transition-smooth);
}

header .logo-img {
  view-transition-name: logo-img;
}

header.scrolled .logo-img {
  height: 45px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
  position: relative;
  padding: 5px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition-smooth);
}

nav a:hover {
  color: var(--accent-gold);
}

nav a:hover::after,
nav li.active a::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  gap: 8px;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #010603;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(163, 230, 53, 0.4);
}

.btn-secondary {
  background-color: rgba(251, 191, 36, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--accent-gold);
}

.btn-secondary:hover {
  background-color: var(--accent-gold);
  color: #010603;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

.btn-icon {
  background: var(--surface-color);
  border: var(--border-glass);
  color: var(--text-primary);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-icon:hover {
  background: var(--surface-hover);
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: scale(1.05);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--accent-gold);
  color: #010603;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* --- Hero Section & Full Screen Banner Slider --- */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.03);
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--hero-overlay-start) 0%, var(--hero-overlay-end) 100%);
  z-index: 1;
}

.hero-slide-container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 50px;
}

.hero-slide-content {
  max-width: 800px;
  padding: 50px 40px;
  border-radius: 32px;
  background: rgba(3, 18, 8, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-tagline {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  display: block;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 25px;
  color: #ffffff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.hero-title span {
  color: var(--accent-gold);
  display: inline;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-cta {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

/* --- Slider Controls --- */
.slide-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(1, 6, 3, 0.5);
  backdrop-filter: blur(10px);
  border: var(--border-glass);
  color: #ffffff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
}

.slide-control:hover {
  background: var(--accent-color);
  color: #010603;
  border-color: var(--accent-color);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 20px rgba(163, 230, 53, 0.4);
}

.slide-control.prev {
  left: 30px;
}

.slide-control.next {
  right: 30px;
}

.slide-indicators {
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.indicator.active {
  background: var(--accent-gold);
  width: 30px;
  border-radius: 10px;
}

/* --- Features Section --- */
.features {
  padding: 90px 0;
  position: relative;
  z-index: 3;
  background: var(--section-light-bg);
  border-top: var(--border-glass);
  border-bottom: var(--border-glass);
  backdrop-filter: blur(5px);
}

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

.feature-card {
  background: var(--surface-color);
  border: var(--border-glass);
  padding: 40px 30px;
  border-radius: 24px;
  transition: var(--transition-smooth);
  text-align: center;
  backdrop-filter: blur(8px);
}

.feature-card:hover {
  background: var(--surface-hover);
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
}

.feature-icon-wrapper {
  background: rgba(163, 230, 53, 0.08);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
  border: 1px solid rgba(163, 230, 53, 0.18);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--accent-color);
  color: #010603;
  transform: scale(1.05);
}

.feature-icon-wrapper i {
  font-size: 1.8rem;
  color: var(--accent-color);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper i {
  color: #010603;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- Menu / Shop Section --- */
.menu-section {
  padding: 85px 0;
  position: relative;
  z-index: 3;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  color: var(--accent-gold);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
}

/* --- Category Tabs --- */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--surface-color);
  border: var(--border-glass);
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
  backdrop-filter: blur(5px);
}

.tab-btn:hover {
  background: var(--surface-hover);
  border-color: rgba(163, 230, 53, 0.4);
}

.tab-btn.active {
  background: var(--accent-color);
  color: #010603;
  border-color: var(--accent-color);
  box-shadow: 0 4px 15px rgba(163, 230, 53, 0.35);
}

/* --- Products Grid --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--surface-color);
  border: var(--border-glass);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
}

.product-card:hover {
  background: var(--surface-hover);
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
}

.product-img-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(1, 6, 3, 0.85);
  backdrop-filter: blur(5px);
  color: var(--accent-gold);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.product-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-color);
}

.add-to-cart-btn {
  background: rgba(163, 230, 53, 0.1);
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.add-to-cart-btn:hover {
  background: var(--accent-color);
  color: #010603;
  transform: scale(1.05);
}

/* --- Slogans / Impact Section --- */
.impact-section {
  padding: 105px 0;
  background: var(--section-dark-bg);
  border-top: var(--border-glass);
  border-bottom: var(--border-glass);
  position: relative;
  z-index: 3;
  text-align: center;
  backdrop-filter: blur(8px);
}

/* --- Home Filterable Carousel Section --- */
.home-carousel-section {
  padding: 100px 0;
  position: relative;
  z-index: 3;
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.carousel-track-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
}

.carousel-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* Firefox */
  padding: 10px 5px 25px 5px;
}

.carousel-track::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

/* Make sure cards in the carousel have a fixed min-width so they align next to each other */
.carousel-track .product-card {
  min-width: 320px;
  flex: 0 0 calc(33.333% - 20px);
}

@media (max-width: 992px) {
  .carousel-track .product-card {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 600px) {
  .carousel-track {
    gap: 12px;
  }

  .carousel-track .product-card {
    min-width: calc(50% - 6px);
    flex: 0 0 calc(50% - 6px);
  }
}

.carousel-nav-btn {
  background: var(--surface-color);
  border: var(--border-glass);
  color: var(--text-primary);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}

.carousel-nav-btn:hover {
  background: var(--accent-color);
  color: #010603;
  border-color: var(--accent-color);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(163, 230, 53, 0.4);
}

.carousel-nav-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* --- How It Works Section --- */
.how-it-works {
  padding: 100px 0;
  background: var(--section-light-bg);
  border-top: var(--border-glass);
  border-bottom: var(--border-glass);
  position: relative;
  z-index: 3;
  backdrop-filter: blur(5px);
}

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

.step-card {
  background: var(--surface-color);
  border: var(--border-glass);
  border-radius: 24px;
  padding: 45px 30px;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
}

.step-card:hover {
  background: var(--surface-hover);
  border-color: var(--accent-gold);
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
}

.step-num {
  position: absolute;
  top: 20px;
  right: 25px;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(251, 191, 36, 0.08);
  transition: var(--transition-smooth);
}

.step-card:hover .step-num {
  color: rgba(251, 191, 36, 0.18);
  transform: scale(1.1);
}

.step-icon-wrapper {
  background: rgba(251, 191, 36, 0.08);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px auto;
  border: 1px solid rgba(251, 191, 36, 0.18);
  transition: var(--transition-smooth);
}

.step-card:hover .step-icon-wrapper {
  background: var(--accent-gold);
  color: #010603;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.35);
}

.step-icon-wrapper i {
  font-size: 2.2rem;
  color: var(--accent-gold);
  transition: var(--transition-smooth);
}

.step-card:hover .step-icon-wrapper i {
  color: #010603;
}

.step-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.impact-quote-container {
  max-width: 800px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

.impact-badge {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 25px;
  display: block;
}

.impact-quote {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1.35;
  margin-bottom: 25px;
  color: var(--text-primary);
  font-style: italic;
}

.impact-author {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

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

.testimonial-card {
  background: var(--surface-color);
  border: var(--border-glass);
  border-radius: 24px;
  padding: 35px 25px;
  text-align: left;
  transition: var(--transition-smooth);
  backdrop-filter: blur(5px);
}

.testimonial-card:hover {
  background: var(--surface-hover);
  border-color: var(--accent-color);
  transform: translateY(-5px);
}

.rating {
  color: var(--accent-gold);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.test-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.test-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.test-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- About Summary Section --- */
.about-summary {
  padding: 100px 0;
  position: relative;
  z-index: 3;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: var(--border-glass-hover);
  box-shadow: var(--shadow-premium);
  aspect-ratio: 4/3;
}

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

.about-content h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  margin-bottom: 25px;
}

.about-content h2 span {
  color: var(--accent-gold);
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* --- Page-specific Styles --- */
.about-section-page,
.contact-section-page {
  position: relative;
  z-index: 3;
}

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

.value-card {
  background: var(--surface-color);
  border: var(--border-glass);
  padding: 35px 25px;
  border-radius: 20px;
  transition: var(--transition-smooth);
  backdrop-filter: blur(5px);
}

.value-card:hover {
  background: var(--surface-hover);
  border-color: var(--accent-color);
  transform: translateY(-5px);
}

.value-icon {
  background: rgba(163, 230, 53, 0.08);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(163, 230, 53, 0.18);
  margin-bottom: 20px;
}

.value-icon i {
  color: var(--accent-color);
  font-size: 1.4rem;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.values-list {
  list-style: none;
  padding: 0;
  margin: 15px 0 0 0;
  text-align: left;
}

.values-list li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.values-list li:last-child {
  margin-bottom: 0;
}

.values-list li i {
  color: var(--accent-color);
  font-size: 0.85rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* --- Timeline / Nossa História --- */
.history-timeline {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 50px;
  margin-bottom: 80px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.timeline-item:nth-child(even) {
  direction: rtl;
}

.timeline-item:nth-child(even) .timeline-content {
  direction: ltr;
}

.timeline-img-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: var(--border-glass);
  box-shadow: var(--shadow-premium);
  aspect-ratio: 16/10;
  transition: var(--transition-smooth);
}

.timeline-img-wrapper:hover {
  border-color: var(--accent-color);
  transform: scale(1.02);
}

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

.timeline-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline-phase {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.timeline-content h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--text-primary);
  line-height: 1.3;
}

.timeline-content h2 span {
  color: var(--accent-color);
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.timeline-content p:last-child {
  margin-bottom: 0;
}

/* --- Slogan Banner --- */
.slogan-banner {
  background: linear-gradient(135deg, rgba(3, 18, 8, 0.7) 0%, rgba(1, 6, 3, 0.8) 100%);
  border: var(--border-glass-hover);
  border-radius: 30px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  margin-bottom: 85px;
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 15px 35px rgba(163, 230, 53, 0.05);
}

.slogan-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(163, 230, 53, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.slogan-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.slogan-tag {
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
  display: inline-block;
}

.slogan-text {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-style: italic;
  color: var(--accent-gold);
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(251, 191, 36, 0.1);
}

/* --- Contact Page Layout --- */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  margin-top: 30px;
}

.contact-form-card {
  background: var(--surface-color);
  border: var(--border-glass);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(8px);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-block {
  background: var(--surface-color);
  border: var(--border-glass);
  border-radius: 24px;
  padding: 35px;
  backdrop-filter: blur(8px);
}

.info-block h3 {
  font-size: 1.3rem;
  position: relative;
  margin-bottom: 15px;
}

/* --- Cart Drawer --- */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 450px;
  height: 100%;
  background: #010603;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  view-transition-name: cart-drawer;
}

@media (max-width: 500px) {
  .cart-drawer {
    width: 100%;
    right: -100%;
  }

  /* On mobile, the floating button (left: -55px) is off-screen.
     Make close-cart sit inline in the header row. */
  .close-cart {
    position: static;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    box-shadow: 0 0 14px rgba(163, 230, 53, 0.55);
    flex-shrink: 0;
  }

  /* Sticky bottom close bar — thumb-friendly on mobile */
  .cart-mobile-close-bar {
    display: flex !important;
  }
}


.cart-drawer.active {
  right: 0;
  visibility: visible;
}

/* --- Mobile bottom close bar (hidden on desktop) --- */
.cart-mobile-close-bar {
  display: none;
  /* shown only on mobile via media query above */
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  background: linear-gradient(0deg, rgba(1, 6, 3, 0.98) 0%, rgba(3, 18, 8, 0.92) 100%);
  border-top: 1px solid rgba(163, 230, 53, 0.15);
  flex-shrink: 0;
}

.cart-mobile-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 24px;
  border-radius: 14px;
  background: rgba(163, 230, 53, 0.08);
  border: 1.5px solid var(--accent-color);
  color: var(--accent-color);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  letter-spacing: 0.3px;
}

.cart-mobile-close-btn:hover,
.cart-mobile-close-btn:active {
  background: var(--accent-color);
  color: #010603;
  box-shadow: 0 0 20px rgba(163, 230, 53, 0.4);
}

.cart-header {
  padding: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-header h3 i {
  color: var(--accent-color);
}

.close-cart {
  position: absolute;
  left: -55px;
  /* FLOATS OUTSIDE on the left of the drawer */
  top: 20px;
  background: var(--accent-color);
  /* Vibrant Neon Green */
  border: 1px solid var(--accent-color);
  color: #010603;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 0 20px rgba(163, 230, 53, 0.6), 0 4px 15px rgba(0, 0, 0, 0.5);
  font-size: 1.2rem;
}

.close-cart:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 0 25px rgba(163, 230, 53, 0.8);
}

.cart-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 25px;
}

.empty-cart-msg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-secondary);
  text-align: center;
  gap: 15px;
}

.empty-cart-msg i {
  font-size: 3rem;
  color: var(--text-muted);
}

.cart-item {
  display: flex;
  gap: 15px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  align-items: center;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.cart-item-price {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 0.9rem;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.qty-btn {
  background: var(--surface-color);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}

.qty-btn:hover {
  background: var(--accent-color);
  color: #010603;
  border-color: var(--accent-color);
}

.qty-val {
  font-weight: 600;
  font-size: 0.9rem;
}

.remove-item {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 5px;
  transition: var(--transition-smooth);
}

.remove-item:hover {
  color: #ff6b6b;
}

/* --- Cart Form --- */
.cart-form {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(3, 18, 8, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 15px;
  color: var(--text-primary);
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-color);
  background: rgba(3, 18, 8, 0.8);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.cart-footer {
  padding: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(1, 6, 3, 0.95);
}

.cart-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.summary-row.total {
  color: var(--text-primary);
  font-size: 1.3rem;
  font-weight: 800;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 10px;
  margin-top: 5px;
}

.summary-row.total .total-price {
  color: var(--accent-gold);
}

/* --- Footer --- */
footer {
  background: #000201;
  padding: 85px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
  z-index: 3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo .logo-img {
  height: 65px;
  width: auto;
}

.footer-logo p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-col h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--text-primary);
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--accent-gold);
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-item i {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-map-container {
  border-radius: 16px;
  overflow: hidden;
  border: var(--border-glass);
  height: 180px;
  position: relative;
  box-shadow: var(--shadow-premium);
}

/* Simulated Map */
.simulated-map {
  width: 100%;
  height: 100%;
  background-color: #040d08;
  background-image: radial-gradient(circle, rgba(163, 230, 53, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-card {
  background: rgba(1, 6, 3, 0.95);
  padding: 15px;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.2);
  text-align: center;
  max-width: 90%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.map-card h5 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.map-card p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.map-card a {
  color: var(--accent-gold);
  font-size: 0.75rem;
  text-decoration: none;
  font-weight: 600;
}

.map-card a:hover {
  text-decoration: underline;
}

.map-pin {
  width: 20px;
  height: 20px;
  background: var(--accent-gold);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  position: absolute;
  top: 35%;
  left: 50%;
  margin-left: -10px;
  box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.5);
  animation: pulse-pin 2s infinite;
}

.map-pin::after {
  content: '';
  width: 8px;
  height: 8px;
  background: #010603;
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 6px;
}

@keyframes pulse-pin {
  0% {
    transform: rotate(-45deg) scale(1);
  }

  50% {
    transform: rotate(-45deg) scale(1.15);
  }

  100% {
    transform: rotate(-45deg) scale(1);
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-btn {
  background: var(--surface-color);
  border: var(--border-glass);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--accent-gold);
  color: #010603;
  border-color: var(--accent-gold);
  transform: translateY(-3px);
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Media Queries --- */
#mobile-menu-toggle {
  display: none;
  /* Oculto no desktop */
}

.filter-mobile-toolbar {
  display: none;
  /* Oculto no desktop */
}

.filter-overlay {
  position: fixed;
  /* fixed to cover full viewport regardless of parent scroll */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.filter-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.filter-drawer-header {
  display: none;
}

@media (max-width: 992px) {
  #mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #main-nav {
    position: fixed;
    top: 85px;
    /* Altura padrão do header */
    left: 0;
    width: 100%;
    height: calc(100vh - 85px);
    background: rgba(1, 6, 3, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    z-index: 99;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  header.scrolled #main-nav {
    top: 70px;
    height: calc(100vh - 70px);
  }

  #main-nav.active {
    transform: translateX(0);
    visibility: visible;
  }

  #main-nav ul {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 85%;
    max-width: 320px;
    padding: 20px 0;
  }

  #main-nav a {
    font-size: 1.3rem;
    font-weight: 600;
    display: block;
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 20px;
    border-radius: 12px !important;
    /* "mais quadrado levemente arredondado" */
    transition: var(--transition-smooth);
  }

  #main-nav a:hover,
  #main-nav li.active a {
    background: rgba(163, 230, 53, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
  }

  #main-nav a::after {
    display: none;
    /* Remove a linha de baixo para simplificar visual no mobile */
  }

  .header-cta-btn {
    display: none !important;
    /* Esconde o botão de ligar/pedir no topo para não encavalar */
  }

  .hero-title {
    font-size: 3rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-img-wrapper {
    order: -1;
    height: 300px;
    aspect-ratio: auto;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .slide-control.prev {
    left: 15px;
  }

  .slide-control.next {
    right: 15px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .timeline-item:nth-child(even) {
    direction: ltr;
  }

  .timeline-img-wrapper {
    order: -1;
    height: 280px;
    aspect-ratio: auto;
  }

  .slogan-banner {
    padding: 40px 20px;
    border-radius: 20px;
    margin-bottom: 60px;
  }

  .slogan-text {
    font-size: 1.65rem;
  }
}

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

  #main-nav {
    top: 75px;
    height: calc(100vh - 75px);
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.25;
  }

  .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .hero-slide-content {
    padding: 30px 15px;
    border-radius: 24px;
    width: 92%;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-form-card {
    padding: 25px 20px;
  }

  .slide-control {
    display: none !important;
    /* Esconde as setas laterais do banner hero no mobile */
  }

  .carousel-nav-btn {
    display: none !important;
    /* Esconde as setas laterais do carrossel no mobile */
  }

  .carousel-container {
    gap: 0;
  }

  section,
  .menu-section,
  .contact-section-page,
  .about-section-page {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  .menu-section,
  .contact-section-page,
  .about-section-page {
    padding-top: 110px !important;
    /* Margem do header fixo */
  }

  .impact-quote {
    font-size: 1.6rem;
  }

  /* Retractile Filters Side Drawer CSS */
  .filter-mobile-toolbar {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
  }

  #category-tabs-container,
  #carousel-tabs-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 310px;
    /* Largura um pouco maior para comportar duas colunas */
    height: 100%;
    z-index: 1200;
    background: #010603;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.85);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 35px 20px;
    display: grid !important;
    /* Exibe em grid de 2 colunas */
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: min-content;
    gap: 10px;
    align-content: start;
    overflow-y: auto;
    margin-bottom: 0;
  }

  #category-tabs-container.active,
  #carousel-tabs-container.active {
    transform: translateX(0);
  }

  .filter-drawer-header {
    grid-column: span 2;
    /* Ocupa as duas colunas */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 15px;
  }

  .filter-drawer-header span {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    letter-spacing: 0.5px;
  }

  #close-filters-btn,
  #close-carousel-filters-btn {
    position: absolute;
    right: -55px;
    /* FLOATS OUTSIDE on the right of the drawer */
    top: 20px;
    background: var(--accent-color);
    /* Vibrant Neon Green */
    border: 1px solid var(--accent-color);
    color: #010603;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 0 20px rgba(163, 230, 53, 0.6), 0 4px 15px rgba(0, 0, 0, 0.5);
    font-size: 1.2rem;
    z-index: 1210;
  }

  #close-filters-btn:hover,
  #close-carousel-filters-btn:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: rotate(90deg) scale(1.08);
    box-shadow: 0 0 25px rgba(163, 230, 53, 0.8);
  }

  @media (max-width: 360px) {

    #close-filters-btn,
    #close-carousel-filters-btn {
      right: 15px;
      /* Put inside drawer container if viewport is narrow */
    }
  }

  #category-tabs-container .tab-btn,
  #carousel-tabs-container .tab-btn {
    width: 100%;
    padding: 12px 10px;
    font-size: 0.85rem;
    gap: 6px;
    flex-direction: column;
    /* Ícone no topo, texto embaixo para estilo card */
    justify-content: center;
    text-align: center;
  }

  #category-tabs-container .tab-btn i,
  #carousel-tabs-container .tab-btn i {
    font-size: 1.15rem;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  /* 2 Products Per Row in Grid on Mobile */
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .product-card .product-info {
    padding: 12px;
  }

  .product-card .product-title {
    font-size: 1rem;
    margin-bottom: 4px;
    line-height: 1.2;
  }

  .product-card .product-desc {
    display: none;
    /* Hide description to avoid vertical alignment clutter in 2 columns */
  }

  .product-card .product-price {
    font-size: 1.15rem;
  }

  .product-card .add-to-cart-btn {
    width: 34px;
    height: 34px;
  }

  .product-card .product-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    top: 10px;
    right: 10px;
  }
}

/* --- Pagination Styles --- */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 45px;
  margin-bottom: 25px;
  grid-column: 1 / -1;
  /* spans full width of products-grid container */
}

.pagination-btn {
  padding: 10px 18px !important;
  font-size: 0.95rem;
  border-radius: 12px !important;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.page-num-btn {
  min-width: 42px;
}

.pagination-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
}

@media (max-width: 480px) {
  .pagination-container {
    gap: 6px;
    margin-top: 30px;
  }

  .pagination-btn {
    padding: 8px 12px !important;
    font-size: 0.85rem;
    border-radius: 8px !important;
  }

  .page-num-btn {
    min-width: 34px;
    padding: 8px 0 !important;
    text-align: center;
  }

  .pagination-ellipsis {
    padding: 0 2px !important;
    font-size: 0.85rem;
  }
}

/* --- CINEMATIC PORTAL PRELOADER --- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #010603;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.5s ease;
  overflow: hidden;
}

#preloader.preloader-hidden {
  transform: scale(1.15);
  opacity: 0;
  filter: blur(10px);
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  max-width: 450px;
  width: 90%;
  position: relative;
  z-index: 2;
}

.preloader-portal-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-top-color: var(--accent-color);
  border-bottom-color: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent-color), inset 0 0 15px var(--accent-color);
  animation: ringExpand 2s cubic-bezier(0.25, 1, 0.5, 1) forwards, ringRotate 4s linear infinite;
  opacity: 0;
}

.preloader-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
  z-index: 3;
  filter: drop-shadow(0 0 15px rgba(163, 230, 53, 0.3));
  animation: portalReveal 2s cubic-bezier(0.25, 1, 0.5, 1) forwards, logoFloat 3s ease-in-out infinite 2s;
}

.preloader-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
  text-align: center;
}

.preloader-brand-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  opacity: 0;
  animation: textTracking 2s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.3s;
}

.preloader-brand-subtitle {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 8px;
  color: var(--accent-color);
  text-transform: uppercase;
  margin-top: 5px;
  opacity: 0;
  animation: textTracking 2s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.6s;
}

.preloader-bar-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin-top: 10px;
}

.preloader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-gold) 100%);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(163, 230, 53, 0.5);
  animation: fillLoading 2s cubic-bezier(0.1, 0.8, 0.1, 1) forwards;
}

.preloader-text {
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.7;
  animation: pulseText 1.5s ease-in-out infinite;
}

/* Animations */
@keyframes ringExpand {
  0% {
    transform: scale(0.2);
    opacity: 0;
    border-width: 10px;
  }

  15% {
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
    border-width: 4px;
  }
}

@keyframes ringRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes portalReveal {
  0% {
    transform: scale(0.5);
    clip-path: circle(0% at 50% 50%);
    filter: drop-shadow(0 0 0px rgba(163, 230, 53, 0)) brightness(0);
  }

  20% {
    filter: drop-shadow(0 0 10px rgba(163, 230, 53, 0.5)) brightness(0.2);
  }

  100% {
    transform: scale(1);
    clip-path: circle(100% at 50% 50%);
    filter: drop-shadow(0 0 15px rgba(163, 230, 53, 0.5)) brightness(1);
  }
}

@keyframes logoFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes textTracking {
  0% {
    letter-spacing: -2px;
    opacity: 0;
    filter: blur(5px);
  }

  40% {
    opacity: 0.3;
  }

  100% {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes fillLoading {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

@keyframes pulseText {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
    color: var(--accent-gold);
  }
}

/* --- Product Details Modal Popup (Premium Redesign) --- */
.product-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.product-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(15px);
}

.product-modal-container {
  position: relative;
  background: linear-gradient(135deg, rgba(3, 18, 8, 0.85) 0%, rgba(1, 4, 2, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 90%;
  max-width: 820px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(163, 230, 53, 0.12);
  /* Brilho neon suave verde */
  z-index: 2;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(30px);
}

.product-modal.active .product-modal-container {
  transform: translateY(0) scale(1);
}

.product-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.product-modal-close:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #010603;
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 0 20px rgba(163, 230, 53, 0.6);
}

.product-modal-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 480px;
}

@media (max-width: 768px) {
  .product-modal-content {
    grid-template-columns: 1fr;
    min-height: auto;
    max-height: 85vh;
    overflow-y: auto;
  }
}

.product-modal-img-wrapper {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.product-modal-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  border: none;
  box-shadow: none;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-modal-img-wrapper:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .product-modal-img-wrapper {
    padding: 0;
    height: 280px;
  }

  .product-modal-img-wrapper img {
    max-height: 100%;
  }

  .product-modal-close {
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    border-radius: 50% !important;
    box-shadow: 0 0 12px rgba(163, 230, 53, 0.5);
  }
}

.product-modal-info {
  padding: 45px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .product-modal-info {
    padding: 30px 25px;
  }
}

.product-modal-category {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  color: var(--accent-gold);
  padding: 6px 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  width: fit-content;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
}

.product-modal-title {
  font-family: var(--font-body);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

@media (max-width: 500px) {
  .product-modal-title {
    font-size: 2rem;
  }
}

.product-modal-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 35px;
}

.product-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  padding-top: 25px;
  margin-top: auto;
}

@media (max-width: 500px) {
  .product-modal-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .product-modal-footer .btn {
    width: 100%;
  }
}

.product-modal-price-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.product-modal-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
}

/* Make product cards clickable cursor pointers */
.product-card {
  cursor: pointer;
}

.product-card .add-to-cart-btn {
  cursor: pointer;
}