/* =========================================
   VALENTE FIT - UX/UI PREMIUM E-COMMERCE
   ========================================= */

:root {
  --color-primary: #111111;
  --color-surface: #FFFFFF;
  --color-bg: #F9FAFB;
  --color-text-main: #1A1A1A;
  --color-text-muted: #6B7280;
  --color-border: #E5E7EB;
  --color-discount: #E02424;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px; /* Impede que a Navbar cubra os títulos ao rolar */
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- NAVBAR --- */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.874);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  height: 100px;
  display: flex;
  align-items: center;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  font-size: 0.775rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-primary);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-primary);
}

/* --- HERO SECTION --- */
.hero {
  background-color: var(--color-surface);
  padding: 120px 0;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.hero p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-btn {
  display: inline-flex;
  padding: 16px 32px;
  font-size: 1rem;
}

/* --- SECTIONS GLOBALS --- */
section {
  padding: 90px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-title p {
  color: var(--color-text-muted);
}

/* --- FILTERS --- */
.filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

/* --- PRODUCTS GRID & CARDS --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-image-wrapper {
  position: relative;
  height: 380px;
  background: #F3F4F6;
}

.discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-discount);
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  z-index: 10;
  letter-spacing: 0.05em;
}

.carousel {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-images {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
  z-index: 5;
}

.card:hover .carousel-btn {
  opacity: 1;
}

.carousel-btn:hover {
  background: var(--color-primary);
  color: #FFF;
}

.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.card-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  font-weight: 600;
}

.product-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-main);
  margin-bottom: 16px;
}

.pricing-ui {
  margin-top: auto;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.old-price {
  font-size: 0.875rem;
  color: #9CA3AF;
  text-decoration: line-through;
  margin-bottom: 2px;
}

.current-price-row {
  display: flex;
  align-items: flex-start;
  color: var(--color-primary);
}

.currency {
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 2px;
  margin-right: 2px;
}

.amount {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.installments {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* --- SEÇÃO BENEFÍCIOS --- */
.benefits-section {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.benefit-card {
  text-align: center;
  padding: 30px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.benefit-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* --- CONTATO & FOOTER --- */
.contact-section {
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.contact-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-card h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.contact-card p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.contact-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.site-footer {
  background-color: var(--color-primary);
  color: #FFF;
  padding: 60px 0 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.footer-brand p {
  color: #9CA3AF;
  font-size: 0.875rem;
}

.footer-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* --- BOTÕES --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-align: center;
}

.btn.primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.btn.primary:hover {
  background-color: #333333;
}

.btn.secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn.secondary:hover {
  background-color: rgba(0,0,0,0.05);
}

.product-btn {
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px;
}

  .mobile-menu {
    display: none;
}

/* --- MOBILE: mostrar apenas a logo --- */
@media (max-width: 768px) {
  .logo span {
    display: none;
  }

  .logo {
    gap: 0;
  }

  .logo-img {
    width: 60px;
    height: 60px;
  }
}