/* ============================================================
   ARTIGO DE GRIFE — PREMIUM UPGRADE CSS
   Paste this at the END of your style.css file
   ============================================================ */

/* ── FONTS ──────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,600;0,9..40,800;1,9..40,400&display=swap');

/* Override root fonts to use premium pairing */
:root {
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'DM Sans', 'Inter', sans-serif;
  --gold-gradient: linear-gradient(135deg, #FFD700 0%, #FFF8DC 45%, #D4A017 100%);
  --gold-shimmer: linear-gradient(90deg, transparent 0%, rgba(255,215,0,0.4) 50%, transparent 100%);
  --shadow-gold: 0 0 40px rgba(255,215,0,0.15), 0 20px 60px rgba(0,0,0,0.6);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);
}

body { font-family: var(--font-body); }

/* ── PREMIUM LOADER ────────────────────────────────────── */
#premium-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.77,0,0.175,1), visibility 0.8s;
}

#premium-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, #1a1200 0%, #000 70%);
}

.loader-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 32px;
}

.loader-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.loader-ring-outer {
  animation: spin-slow 3s linear infinite;
  transform-origin: 60px 60px;
}

.loader-ring-inner {
  animation: spin-slow 2s linear infinite reverse;
  transform-origin: 60px 60px;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

.loader-logo-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo-wrap img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  animation: loader-pulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 16px rgba(255,215,0,0.6));
}

@keyframes loader-pulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.loader-wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: transparent;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 24px;
  opacity: 0;
  animation: loader-fade-up 0.8s 0.4s forwards;
}

@keyframes loader-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.loader-progress-bar {
  width: 200px;
  height: 2px;
  background: rgba(255,215,0,0.15);
  border-radius: 1px;
  overflow: hidden;
  opacity: 0;
  animation: loader-fade-up 0.5s 0.7s forwards;
}

.loader-progress-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 1px;
  animation: loader-progress 2.2s cubic-bezier(0.25,0.46,0.45,0.94) 0.9s forwards;
  width: 0;
}

@keyframes loader-progress {
  0%   { width: 0; }
  60%  { width: 80%; }
  100% { width: 100%; }
}

.loader-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,215,0,0.4);
  margin-top: 20px;
  opacity: 0;
  animation: loader-fade-up 0.5s 1s forwards;
}

/* Curtain reveal */
.loader-curtain {
  position: absolute;
  inset: 0;
  background: #000;
  transform-origin: bottom;
  transform: scaleY(0);
  animation: curtain-close 0.6s 2.8s cubic-bezier(0.77,0,0.175,1) forwards;
}

@keyframes curtain-close {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

/* ── CUSTOM CURSOR ─────────────────────────────────────── */
.custom-cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}

.custom-cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255,215,0,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99997;
  transform: translate(-50%, -50%);
  transition: transform 0.1s linear, width 0.3s, height 0.3s, opacity 0.3s;
}

body:hover .custom-cursor { opacity: 1; }

/* ── HEADER UPGRADES ───────────────────────────────────── */
.header {
  background: rgba(0,0,0,0.6) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255,215,0,0.08) !important;
  transition: background 0.4s ease, box-shadow 0.4s ease !important;
}

.header.scrolled {
  background: rgba(5,5,5,0.92) !important;
  box-shadow: 0 4px 30px rgba(0,0,0,0.6) !important;
  border-bottom-color: rgba(255,215,0,0.12) !important;
}

/* Animated logo */
.logo-container .ag-logo {
  transition: filter 0.3s ease, transform 0.4s cubic-bezier(0.34,1.56,0.64,1) !important;
  filter: drop-shadow(0 0 0 transparent);
}
.logo-container:hover .ag-logo {
  transform: scale(1.08) !important;
  filter: drop-shadow(0 0 12px rgba(255,215,0,0.4)) !important;
}

/* Nav link active indicator */
.bottom-nav-links li a {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.78rem !important;
  letter-spacing: 1.5px !important;
}

/* Glow search box */
.search-box {
  border-radius: 6px !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  transition: border-color 0.3s, box-shadow 0.3s !important;
}
.search-box:focus-within {
  border-color: rgba(255,215,0,0.5) !important;
  box-shadow: 0 0 0 3px rgba(255,215,0,0.08), 0 0 20px rgba(255,215,0,0.12) !important;
}

/* ── HERO SECTION UPGRADES ─────────────────────────────── */
.hero-logo-container img {
  animation: hero-float 8s ease-in-out infinite !important;
  filter: drop-shadow(0 0 40px rgba(255,215,0,0.3)) !important;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-18px) rotate(1deg); }
}

.scroll-down-indicator {
  animation: scroll-bounce 2s ease-in-out infinite !important;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50%       { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

/* ── SECTION TITLE UPGRADES ────────────────────────────── */
.section-title {
  font-family: var(--font-display) !important;
  font-size: 3.2rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
}

/* ── PRODUCT CARD UPGRADES ─────────────────────────────── */
.product-card {
  background: linear-gradient(145deg, #141414 0%, #0d0d0d 100%) !important;
  border: 1px solid rgba(255,215,0,0.1) !important;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), 
              box-shadow 0.4s ease, 
              border-color 0.3s ease !important;
  overflow: hidden;
  position: relative;
}

/* Gold shimmer on hover */
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.05), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
  z-index: 3;
}

.product-card:hover::before {
  left: 160%;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.01) !important;
  border-color: rgba(255,215,0,0.4) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.7), 0 0 30px rgba(255,215,0,0.1) !important;
}

.product-image {
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94) !important;
}

.product-card:hover .product-image {
  transform: scale(1.1) !important;
}

/* Premium product title font */
.product-title {
  font-family: var(--font-body);
  font-size: 0.95rem !important;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.product-category {
  font-size: 0.7rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase;
  font-weight: 600;
}

/* Badge improvements */
.product-badge {
  font-family: var(--font-body);
  font-size: 0.65rem !important;
  letter-spacing: 0.1em !important;
  padding: 4px 10px !important;
  border-radius: 3px !important;
  backdrop-filter: blur(8px);
}

.badge-lancamento {
  background: linear-gradient(135deg, #0055ff, #0033cc) !important;
  box-shadow: 0 2px 12px rgba(0,85,255,0.4) !important;
}

.badge-oferta {
  background: linear-gradient(135deg, #e60000, #cc0000) !important;
  box-shadow: 0 2px 12px rgba(230,0,0,0.4) !important;
}

.badge-mais-vendido {
  background: linear-gradient(135deg, #FFD700, #D4A017) !important;
  color: #000 !important;
  box-shadow: 0 2px 12px rgba(255,215,0,0.4) !important;
}

/* Add to cart button micro-animation */
.add-to-cart {
  transition: background 0.25s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1) !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255,255,255,0.06);
}

.add-to-cart:hover {
  transform: rotate(12deg) scale(1.2) !important;
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 4px 16px rgba(255,215,0,0.4) !important;
}

.add-to-cart:active {
  transform: scale(0.9) !important;
}

/* ── ABOUT SECTION UPGRADES ────────────────────────────── */
.feature-box {
  background: linear-gradient(145deg, #111 0%, #0a0a0a 100%) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 12px !important;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), 
              border-color 0.3s, 
              box-shadow 0.3s !important;
  position: relative;
  overflow: hidden;
}

.feature-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,215,0,0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-box:hover::after { opacity: 1; }

.feature-box:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(255,215,0,0.35) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6), 0 0 20px rgba(255,215,0,0.08) !important;
}

.feature-box i {
  font-size: 2.2rem !important;
  filter: drop-shadow(0 0 8px rgba(255,215,0,0.4));
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.feature-box:hover i { transform: scale(1.2) rotate(-5deg); }

.stat {
  background: linear-gradient(145deg, #111 0%, #0a0a0a 100%) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 10px !important;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s !important;
}

.stat:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(255,215,0,0.3) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6), 0 0 20px rgba(255,215,0,0.08) !important;
}

/* ── FILTER SIDEBAR UPGRADES ───────────────────────────── */
.filters-sidebar {
  background: linear-gradient(160deg, #111 0%, #0d0d0d 100%) !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
  border-radius: 12px !important;
}

.sidebar-categories a.active {
  color: var(--primary-color) !important;
  padding-left: 10px !important;
  border-left: 2px solid var(--primary-color);
}

.size-grid input:checked + span.size-box {
  background: linear-gradient(135deg, #FFD700, #D4A017) !important;
  box-shadow: 0 2px 12px rgba(255,215,0,0.3) !important;
}

/* ── CONTACT SECTION ───────────────────────────────────── */
.contact-channel-item:hover {
  background: rgba(255, 215, 0, 0.04) !important;
  border-color: rgba(255, 215, 0, 0.25) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.contact-social-link:hover {
  background: rgba(255, 215, 0, 0.1) !important;
  border-color: rgba(255, 215, 0, 0.4) !important;
  color: var(--primary-color) !important;
  transform: scale(1.1);
}

.form-group-custom input:focus,
.form-group-custom textarea:focus {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 215, 0, 0.5) !important;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.08) !important;
}

.form-group-custom input:focus ~ span,
.form-group-custom textarea:focus ~ span {
  color: var(--primary-color) !important;
}

#btnSubmitContact:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4) !important;
  background: linear-gradient(135deg, #FFE033, #E6B819) !important;
}

#btnSubmitContact:active {
  transform: translateY(-1px);
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

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

@media (max-width: 480px) {
  .form-row-mobile {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .contact-sidebar-card, .contact-form-card {
    padding: 25px !important;
  }
}

/* ── MODAL UPGRADES ────────────────────────────────────── */
.modal-content {
  background: linear-gradient(160deg, #141414 0%, #0f0f0f 100%) !important;
  border: 1px solid rgba(255,215,0,0.12) !important;
  box-shadow: 0 30px 100px rgba(0,0,0,0.8), 0 0 40px rgba(255,215,0,0.05) !important;
}

.modal-overlay.active .modal-content {
  animation: modal-enter 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards !important;
}

@keyframes modal-enter {
  from { opacity: 0; transform: scale(0.85) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.btn-comprar {
  background: linear-gradient(135deg, #FFD700 0%, #D4A017 100%) !important;
  border-radius: 6px !important;
  letter-spacing: 0.1em !important;
  font-size: 0.9rem !important;
  transition: filter 0.3s, transform 0.3s, box-shadow 0.3s !important;
}
.btn-comprar:hover {
  filter: brightness(1.1) !important;
  box-shadow: 0 8px 24px rgba(255,215,0,0.35) !important;
  transform: translateY(-2px) !important;
}

/* ── CART SIDEBAR UPGRADES ─────────────────────────────── */
.cart-sidebar {
  background: linear-gradient(160deg, #131313 0%, #0e0e0e 100%) !important;
  border-left: 1px solid rgba(255,215,0,0.08) !important;
}

.cart-header h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
}

.cart-item {
  border: 1px solid rgba(255,255,255,0.05) !important;
  border-radius: 10px !important;
  transition: border-color 0.3s, transform 0.3s !important;
}
.cart-item:hover {
  border-color: rgba(255,215,0,0.2) !important;
  transform: translateX(-3px);
}

/* ── FOOTER UPGRADES ───────────────────────────────────── */
.site-footer {
  background: radial-gradient(circle at top, #0f0f0f 0%, #020202 100%) !important;
  border-top: 1px solid rgba(255, 215, 0, 0.1) !important;
  position: relative;
  overflow: hidden;
  padding-top: 5rem !important;
  padding-bottom: 2rem !important;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 215, 0, 0.35) 50%, transparent 100%) !important;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
  transform: none !important;
  width: 100% !important;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: 1.8fr 1fr 1.8fr !important;
  gap: 4rem !important;
  padding: 0 8% 4rem !important;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand .footer-logo {
  height: 55px !important;
  width: auto !important;
  margin-bottom: 1.5rem !important;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.25)) !important;
  transition: transform 0.4s ease !important;
}

.footer-brand .footer-logo:hover {
  transform: scale(1.05) !important;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  margin-bottom: 2rem !important;
  font-weight: 300 !important;
  letter-spacing: 0.02em !important;
}

.footer-brand p i {
  color: #FFD700 !important;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

/* Luxury Social Icons */
.social-icons {
  display: flex !important;
  gap: 1.2rem !important;
}

.social-icons a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 215, 0, 0.15) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
  font-size: 1.1rem !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.05) !important;
  transform: none !important;
}

.social-icons a:hover {
  background: var(--gold-gradient) !important;
  border-color: transparent !important;
  color: #000 !important;
  transform: translateY(-5px) rotate(8deg) !important;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.25), 0 0 0 4px rgba(255, 215, 0, 0.05) !important;
}

/* Footer Links & Navigation */
.footer-links-col h3,
.footer-newsletter h3 {
  color: #fff !important;
  font-family: var(--font-display) !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  margin-bottom: 2rem !important;
  text-transform: uppercase !important;
  position: relative !important;
  padding-bottom: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.footer-links-col h3::after,
.footer-newsletter h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.footer-links-col ul li {
  margin-bottom: 1rem !important;
}

.footer-links-col ul a {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  align-items: center !important;
}

.footer-links-col ul a i {
  color: rgba(255, 255, 255, 0.3) !important;
  transition: all 0.3s ease !important;
}

.footer-links-col ul a:hover {
  color: #fff !important;
  transform: translateX(8px) !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2) !important;
}

.footer-links-col ul a:hover i {
  color: #FFD700 !important;
  transform: scale(1.2) !important;
}

/* Premium Newsletter Box */
.footer-newsletter p {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  margin-bottom: 1.5rem !important;
  font-weight: 300 !important;
}

.newsletter-form {
  display: flex !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 215, 0, 0.12) !important;
  border-radius: 12px !important;
  padding: 4px !important;
  transition: all 0.3s ease !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.newsletter-form:focus-within {
  border-color: rgba(255, 215, 0, 0.6) !important;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.08), inset 0 1px 2px rgba(0, 0, 0, 0.5) !important;
  background: rgba(255, 255, 255, 0.03) !important;
}

.newsletter-form input {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  padding: 14px 18px !important;
  color: #fff !important;
  font-size: 0.95rem !important;
  outline: none !important;
  font-family: var(--font-body) !important;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.3) !important;
}

.newsletter-form button {
  background: var(--gold-gradient) !important;
  color: #000 !important;
  border: none !important;
  border-radius: 8px !important;
  width: 48px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
  padding: 0 !important;
}

.newsletter-form button:hover {
  transform: scale(1.03) !important;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4) !important;
}

.newsletter-form button i {
  font-size: 1.1rem !important;
  transition: transform 0.3s ease !important;
}

.newsletter-form button:hover i {
  transform: translateX(3px) scale(1.05) !important;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  background: #020202 !important;
  padding: 1.8rem 8% !important;
  border-top: 1px solid rgba(255, 255, 255, 0.02) !important;
}

.footer-bottom-bar p {
  color: rgba(255, 255, 255, 0.35) !important;
  font-size: 0.85rem !important;
  font-weight: 350 !important;
  letter-spacing: 0.01em !important;
}

.secure-badge span {
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
}

.secure-badge span i {
  color: #22c55e !important;
  text-shadow: 0 0 10px rgba(34, 197, 94, 0.4) !important;
}

/* Responsive Footer overrides */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 3rem !important;
    padding: 0 4% 3rem !important;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    padding: 0 5% 2.5rem !important;
  }
  .footer-brand {
    align-items: center !important;
    text-align: center !important;
  }
  .footer-links-col {
    text-align: center !important;
  }
  .footer-links-col h3 {
    justify-content: center !important;
  }
  .footer-links-col h3::after,
  .footer-newsletter h3::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  .footer-links-col ul a {
    justify-content: center !important;
  }
  .footer-links-col ul a:hover {
    transform: translateY(-2px) !important;
  }
  .footer-newsletter {
    text-align: center !important;
  }
  .footer-newsletter h3 {
    justify-content: center !important;
  }
}

/* ── FLOATING WHATSAPP UPGRADE ─────────────────────────── */
.floating-whatsapp {
  background: linear-gradient(135deg, #25d366, #128C7E) !important;
  box-shadow: 0 6px 20px rgba(37,211,102,0.35), 0 0 40px rgba(37,211,102,0.1) !important;
  animation: whatsapp-pulse 3s ease-in-out infinite !important;
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.35), 0 0 0 0 rgba(37,211,102,0.3); }
  50%       { box-shadow: 0 6px 20px rgba(37,211,102,0.35), 0 0 0 12px rgba(37,211,102,0); }
}

/* ── SECTION DIVIDER UPGRADE ───────────────────────────── */
.section-divider {
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.5), rgba(255,215,0,0.8), rgba(255,215,0,0.5), transparent) !important;
  box-shadow: 0 0 20px rgba(255,215,0,0.2), 0 0 60px rgba(255,215,0,0.05) !important;
  height: 1px !important;
  margin: 3rem auto 4rem !important;
}

/* ── PARTICLES LAYER FIX ───────────────────────────────── */
#particles-js { opacity: 0.6; }

/* ── SCROLL REVEAL BASE ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger children */
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.5s; }
.stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.15s; }
.stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.25s; }
.stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.35s; }

/* ── MARQUEE TRUST BAR (new component) ─────────────────── */
.trust-bar {
  overflow: hidden;
  padding: 14px 0;
  background: rgba(255,215,0,0.03);
  border-top: 1px solid rgba(255,215,0,0.06);
  border-bottom: 1px solid rgba(255,215,0,0.06);
  position: relative;
}

.trust-bar::before,
.trust-bar::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.trust-bar::before { left: 0; background: linear-gradient(90deg, var(--bg-color), transparent); }
.trust-bar::after  { right: 0; background: linear-gradient(-90deg, var(--bg-color), transparent); }

.trust-bar-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.trust-bar-track:hover { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,215,0,0.7);
}
.trust-item i { font-size: 1rem; color: var(--primary-color); }

/* ── TESTIMONIALS SECTION (new) ─────────────────────────── */
.testimonials-section {
  padding: 6rem 5%;
  position: relative;
}

.testimonials-grid {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 25px; /* Space for scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #222;
}

.testimonials-grid::-webkit-scrollbar {
  height: 6px;
}
.testimonials-grid::-webkit-scrollbar-track {
  background: #111;
  border-radius: 8px;
}
.testimonials-grid::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 8px;
}

.testimonials-grid > .testimonial-card {
  min-width: 320px;
  max-width: 380px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.testimonial-card {
  background: linear-gradient(145deg, #111, #0d0d0d);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s, box-shadow 0.3s;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px; right: 20px;
  font-family: var(--font-display);
  font-size: 8rem;
  color: rgba(255,215,0,0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,215,0,0.25);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 20px rgba(255,215,0,0.06);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}
.testimonial-stars i { color: var(--primary-color); font-size: 0.9rem; }

.testimonial-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,215,0,0.2), rgba(255,215,0,0.05));
  border: 1px solid rgba(255,215,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-display);
}

.testimonial-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.testimonial-role {
  font-size: 0.75rem;
  color: #666;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 2rem !important; }
}
@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

/* ── SCROLL PROGRESS BAR ───────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, #FFD700, #D4A017);
  width: 0%;
  z-index: 99999;
  box-shadow: 0 0 8px rgba(255,215,0,0.6);
  transition: width 0.1s linear;
}

/* ── BACK TO TOP BUTTON ────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, background 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(8px);
  text-decoration: none;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--primary-color);
  color: #000;
  box-shadow: 0 4px 20px rgba(255,215,0,0.3);
  transform: translateY(-4px);
}

/* ── PRICE TAG ANIMATION ───────────────────────────────── */
.product-price {
  background: linear-gradient(135deg, #FFD700, #D4A017);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-body);
  font-weight: 800;
}

/* ── SMOOTH PAGE TRANSITIONS ───────────────────────────── */
@keyframes page-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

body { animation: page-in 0.5s ease forwards; }

/* ── MOBILE IMPROVEMENTS ───────────────────────────────── */
@media (max-width: 768px) {
  .header-top { padding: 12px 4% !important; }
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  
  .product-card:hover {
    transform: translateY(-4px) scale(1.01) !important;
  }

  #back-to-top { bottom: 90px; right: 16px; }
  .floating-whatsapp { bottom: 20px; right: 16px; width: 52px; height: 52px; font-size: 1.6rem; }

  .trust-bar-track { animation-duration: 18s; }
}

/* ── LENIS SMOOTH SCROLL SUPPORT ───────────────────────── */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

/* ── PREMIUM DRAWER UPGRADE ────────────────────────────── */
.mobile-drawer {
  background: linear-gradient(160deg, #0d0d0d 0%, #080808 100%) !important;
  border-right: 1px solid rgba(255,215,0,0.06) !important;
}
.drawer-header { background: #070707 !important; border-bottom: 1px solid rgba(255,215,0,0.06) !important; }

/* ── TESTIMONIAL ENTRY ANIMATION ──────────────────────── */
@keyframes slideInUpPremium {
  0% {
    opacity: 0;
    transform: translateY(35px) scale(0.96);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.new-review-card-anim {
  animation: slideInUpPremium 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

/* ── INTERACTIVE STAR GLOW ANIMATION ──────────────────── */
@keyframes starPulseGlow {
  0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255, 215, 0, 0)); }
  50% { transform: scale(1.3); filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.2)); }
}

.star-pulse-glow {
  animation: starPulseGlow 0.4s ease-out;
}

/* ── MODAL SIZE/COLOR BTNS ── */
.size-btn, .color-btn {
  background: #111;
  border: 1px solid #333;
  color: #888;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}
.size-btn {
  width: 48px;
  height: 48px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.color-btn {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
}
.size-btn:hover, .color-btn:hover {
  border-color: rgba(255,215,0,0.4);
  background: rgba(255,215,0,0.05);
  color: #ccc;
  transform: translateY(-2px);
}
.size-btn.active, .color-btn.active {
  border-color: #FFD700;
  background: rgba(255,215,0,0.1);
  color: #FFD700;
  box-shadow: 0 4px 12px rgba(255,215,0,0.15);
  transform: translateY(-2px);
}

/* Sidebar Filters Visual Upgrade */
.filter-list li {
  margin-bottom: 12px !important;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.filter-list li:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 215, 0, 0.2);
  transform: translateX(4px);
}

.filter-label {
  gap: 12px !important;
  font-size: 0.95rem !important;
  font-weight: 500;
  width: 100%;
}

.filter-label input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  cursor: pointer;
  border-radius: 4px;
  accent-color: #FFD700;
}

.modal-color-section {
  margin-bottom: 25px !important;
}

/* ──────────────────────────────────────────
   MOBILE FIXES
   ────────────────────────────────────────── */
@media (max-width: 992px) {
  /* Botão "Avaliar Loja" — grade da seção de avaliações vira coluna única */
  .summary-grid-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  /* Remove separadores verticais que ficam soltos em mobile */
  .summary-left-col {
    border-right: none !important;
    padding-right: 0 !important;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .summary-bars-col {
    border-right: none !important;
    padding-right: 0 !important;
  }

  /* Botão "Avaliar Loja" centralizado e visível */
  .summary-right-col {
    display: block !important;
    text-align: center !important;
    padding-left: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #btnOpenReviewModal {
    display: inline-flex !important;
    width: 100% !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Caixas do "Sobre Nós" — exibir em grid, não scroll lateral */
  .visual-features.mobile-horizontal-scroll {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    flex-direction: unset !important;
    overflow-x: visible !important;
    overflow: visible !important;
    padding-right: 0 !important;
    gap: 12px !important;
  }

  .about-stats.mobile-horizontal-scroll {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    flex-direction: unset !important;
    overflow-x: visible !important;
    overflow: visible !important;
    padding-right: 0 !important;
    gap: 10px !important;
  }

  /* Ajustar texto das caixas para caber no grid mobile */
  .visual-features.mobile-horizontal-scroll .feature-box {
    min-width: unset !important;
    max-width: unset !important;
    padding: 16px 10px !important;
  }

  .about-stats.mobile-horizontal-scroll .stat {
    min-width: unset !important;
    max-width: unset !important;
    padding: 12px 6px !important;
  }

  .about-stats.mobile-horizontal-scroll .stat h3 {
    font-size: 1.4rem !important;
  }

  .about-stats.mobile-horizontal-scroll .stat span {
    font-size: 0.7rem !important;
  }

  /* Centralizar o título da seção Sobre Nós no mobile para evitar alinhamento assimétrico ao quebrar linha */
  #sobre .section-title {
    text-align: center !important;
    margin: 0 auto 2.5rem auto !important;
  }

  /* Painel dashboard de avaliações */
  .reviews-summary-dashboard {
    padding: 20px 16px !important;
  }
}

/* --- MOBILE HOTFIXES (5 BUGS) --- */
@media (max-width: 1024px) {
  /* Bug 1: Remove stuck custom cursor on mobile */
  .custom-cursor, .custom-cursor-ring {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
}

@media (max-width: 768px) {

  /* Bug 3: Fix modal items overlapping image */
  .modal-main-content {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    overflow-y: auto !important;
  }
  .modal-image-container {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    background: #111 !important;
    border-radius: 8px 8px 0 0 !important;
  }
  .modal-gallery-layout {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
  }
  .modal-info {
    position: relative !important;
    background: linear-gradient(160deg, #141414 0%, #0f0f0f 100%) !important;
    padding: 20px !important;
    z-index: 10 !important;
    border-radius: 0 0 8px 8px !important;
  }
  
  /* Bug 4: Fix Contact Section Layout */
  .contact-section {
    padding: 3rem 5% !important;
  }
  .contact-grid-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
  }
  .contact-sidebar-card, .contact-form-card {
    width: 100% !important;
  }

  /* Bug 5: Fix Footer Layout */
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
    text-align: center !important;
    padding: 0 5% 3rem !important;
  }
  .footer-brand {
    align-items: center !important;
  }
  .social-icons {
    justify-content: center !important;
    margin-bottom: 20px !important;
  }
  .footer-links-col h3::after, .footer-newsletter h3::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}
