/* ============================================
   SEU ESTILO - LOJA VIRTUAL
   Estilos Principais
============================================ */

/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #d4a533;
  --gold-light: #e4b543;
  --gold-dark: #b48a23;
  --black: #000000;
  --black-light: #0d0d0d;
  --gray-dark: #1a1a1a;
  --gray: #2a2a2a;
  --gray-light: #3a3a3a;
  --white: #ffffff;
  --white-muted: #a0a0a0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ============================================
   HEADER
============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-dark);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-gold {
  color: var(--gold);
}

.logo-white {
  color: var(--white);
}

.logo img {
  height: 70px;
  width: auto;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: 2rem;
}

.nav-desktop a,
.nav-desktop button {
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s;
  font-size: 0.95rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-desktop a:hover,
.nav-desktop button:hover {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-whatsapp-header {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.btn-whatsapp-header:hover {
  background: #20bd5a;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 90px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--black);
  z-index: 999;
  padding: 2rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu a,
.mobile-menu button {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
  transition: color 0.3s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.mobile-menu a:hover,
.mobile-menu button:hover {
  color: var(--gold);
}

@media (min-width: 768px) {
  .nav-desktop {
    display: block;
  }
  
  .btn-whatsapp-header {
    display: flex;
  }
  
  .menu-toggle {
    display: none;
  }
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--black);
  background-image: url('../images/banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 90px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

.hero-content {
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  color: var(--white-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--black);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--gray-light);
  transition: all 0.3s;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4rem;
  }
}

/* ============================================
   FEATURES SECTION
============================================ */
.features {
  background: var(--gray-dark);
  padding: 3rem 0;
  border-top: 1px solid var(--gray);
  border-bottom: 1px solid var(--gray);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.feature-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--white-muted);
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   COLLECTIONS SECTION
============================================ */
.collections {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--white-muted);
}

.collections-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.collection-card {
  position: relative;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--gray);
  display: block;
  background: var(--gray-dark);
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.collection-card:hover img {
  transform: scale(1.1);
}

.collection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.collection-overlay h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.collection-overlay p {
  color: var(--white-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.collection-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.3s;
}

.collection-card:hover .collection-link {
  gap: 1rem;
}

@media (min-width: 768px) {
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .collection-card {
    height: 400px;
  }
}

/* ============================================
   PRODUCTS SECTION
============================================ */
.products-section {
  padding: 5rem 0;
  background: var(--black-light);
}

.products-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.products-header h2 {
  font-size: 2rem;
  font-weight: 700;
}

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  border: 1px solid var(--gray-light);
  background: transparent;
  color: var(--white);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

@media (min-width: 768px) {
  .products-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Product Card */
.product-card {
  background: var(--gray-dark);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  border: 1px solid var(--gray);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(212, 165, 51, 0.08);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray);
}

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

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

.product-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-new {
  background: var(--gold);
  color: var(--black);
}

.badge-bestseller {
  background: #ef4444;
  color: white;
}

.badge-discount {
  background: #22c55e;
  color: white;
}

.product-info {
  padding: 1rem;
}

.product-category {
  font-size: 0.65rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.product-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-prices {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-current {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}

.price-original {
  font-size: 0.8rem;
  color: var(--white-muted);
  text-decoration: line-through;
}

/* ============================================
   LOCATION SECTION
============================================ */
.location-section {
  padding: 5rem 0;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.location-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray);
  min-height: 350px;
  height: 350px;
}

.location-map iframe {
  display: block;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.location-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.location-card {
  background: var(--gray-dark);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--gray);
  flex: 1;
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.location-item:last-child {
  margin-bottom: 0;
}

.location-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(212, 165, 51, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-icon svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.location-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.location-item p {
  font-size: 0.9rem;
  color: var(--white-muted);
  line-height: 1.6;
}

.btn-maps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--black);
  padding: 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s;
}

.btn-maps:hover {
  background: var(--gold-light);
}

.btn-maps svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.location-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .location-grid {
    grid-template-columns: 2fr 1fr;
  }

  .location-map {
    height: 450px;
  }
}

/* ============================================
   PRODUCT MODAL
============================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  overflow-y: auto;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.modal-content {
  background: var(--gray-dark);
  border-radius: 16px;
  max-width: 1000px;
  width: 100%;
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray);
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.modal-close:hover {
  background: var(--gold);
  color: var(--black);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .modal-body {
    grid-template-columns: 1fr 1fr;
  }
}

/* Modal Gallery */
.modal-gallery {
  background: var(--black);
  padding: 1rem;
}

.gallery-main {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--gray);
}

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

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.gallery-thumb {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: border-color 0.3s;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--gold);
}

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

/* Modal Info */
.modal-info {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .modal-info {
    padding: 2rem;
  }
}

.modal-category {
  color: var(--gold);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.modal-prices {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.modal-price-current {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
}

.modal-price-original {
  font-size: 1.1rem;
  color: var(--white-muted);
  text-decoration: line-through;
}

.modal-description {
  color: var(--white-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
  font-size: 0.9rem;
}

/* Size Selector */
.size-selector {
  margin-bottom: 1.5rem;
}

.selector-label {
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
  font-size: 0.9rem;
}

.selector-label strong {
  color: var(--gold);
}

.size-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.size-btn {
  width: 48px;
  height: 48px;
  border: 2px solid var(--gray-light);
  background: transparent;
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
  font-family: inherit;
}

.size-btn:hover,
.size-btn.active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--black);
}

/* Quantity Selector */
.quantity-selector {
  margin-bottom: 2rem;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.qty-btn {
  width: 44px;
  height: 44px;
  border: 2px solid var(--gray-light);
  background: transparent;
  color: var(--white);
  border-radius: 8px;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.qty-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.qty-value {
  font-size: 1.25rem;
  font-weight: 600;
  min-width: 40px;
  text-align: center;
}

/* Total */
.modal-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--gray);
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.total-label {
  font-weight: 600;
}

.total-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

/* Buy Button */
.btn-buy {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #25d366;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  font-family: inherit;
}

.btn-buy:hover {
  background: #20bd5a;
}

.btn-buy svg {
  width: 24px;
  height: 24px;
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--gray-dark);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--gray);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--white-muted);
  font-size: 0.9rem;
  max-width: 300px;
  line-height: 1.6;
}

.footer-section h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gold);
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-section a,
.footer-section button {
  color: var(--white-muted);
  transition: color 0.3s;
  font-size: 0.9rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  padding: 0;
}

.footer-section a:hover,
.footer-section button:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
  color: var(--white);
}

.social-link:hover {
  background: var(--gold);
  color: var(--black);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--gray);
  text-align: center;
  color: var(--white-muted);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* ============================================
   WHATSAPP FLOAT BUTTON
============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

/* ============================================
   UTILITIES
============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
