/* ============================================
   HOME CONCEPT MOBILIADOS - ESTILOS GLOBAIS
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1B4D3E;
  --secondary-color: #D4AF37;
  --dark-color: #1a1a1a;
  --light-color: #f8f8f8;
  --accent-color: #2d6a5c;
  --text-dark: #333333;
  --text-light: #666666;
  --border-color: #e0e0e0;
  --success-color: #27ae60;
  --warning-color: #e74c3c;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff;
}

/* ============================================
   TIPOGRAFIA
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* ============================================
   CONTAINER E LAYOUT
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.row {
  display: grid;
  gap: 2rem;
}

.row.two-col {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.row.three-col {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.row.four-col {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ============================================
   HEADER
   ============================================ */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

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

.logo-text h1 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--primary-color);
}

.logo-text p {
  font-size: 0.75rem;
  color: var(--text-light);
  margin: 0;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.btn-cart {
  background-color: var(--secondary-color);
  color: var(--dark-color);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-cart:hover {
  background-color: #c99e2e;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: #ffffff;
  padding: 5rem 1.5rem;
  text-align: center;
}

.hero h2 {
  color: #ffffff;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--dark-color);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #c99e2e;
}

/* ============================================
   FILTRO DE CATEGORIAS
   ============================================ */

.filter-section {
  background-color: var(--light-color);
  padding: 2rem 1.5rem;
}

.filter-section h3 {
  margin-bottom: 1.5rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-filter {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border-color);
  background-color: #ffffff;
  color: var(--text-dark);
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-filter:hover,
.btn-filter.active {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

/* ============================================
   PRODUTOS
   ============================================ */

.products-section {
  padding: 3rem 1.5rem;
}

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

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.product-image {
  position: relative;
  width: 100%;
  height: 200px;
  background-color: #e0e0e0;
  overflow: hidden;
}

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

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

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: #e74c3c;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.product-info {
  padding: 1.5rem;
}

.product-category {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-description {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
}

.star {
  color: #ffc107;
  font-size: 1rem;
}

.star.empty {
  color: #e0e0e0;
}

.product-price {
  margin-bottom: 1rem;
}

.price-original {
  font-size: 0.875rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-bottom: 0.25rem;
}

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

.btn-add-cart {
  width: 100%;
  background-color: var(--secondary-color);
  color: var(--dark-color);
  padding: 0.75rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-add-cart:hover {
  background-color: #c99e2e;
}

/* ============================================
   BENEFÍCIOS
   ============================================ */

.benefits-section {
  background-color: var(--light-color);
  padding: 3rem 1.5rem;
}

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

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-card {
  text-align: center;
  padding: 2rem;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.benefit-card p {
  color: var(--text-light);
}

/* ============================================
   CONTATO
   ============================================ */

.contact-section {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 3rem 1.5rem;
}

.contact-section h2 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.contact-item {
  text-align: center;
}

.contact-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.contact-item h3 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: #ffffff;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--secondary-color);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: #1a1a1a;
  color: #999999;
  padding: 3rem 1.5rem 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-section p {
  font-size: 0.875rem;
  color: #999999;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #999999;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid #333333;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
  color: #999999;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--secondary-color);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

/* ============================================
   PÁGINA DE POLÍTICAS
   ============================================ */

.policies-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: #ffffff;
  padding: 3rem 1.5rem;
  text-align: center;
}

.policies-header h1 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.policies-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.policies-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.policy-item {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.policy-header {
  background-color: #f5f5f5;
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.policy-header:hover {
  background-color: #e8e8e8;
}

.policy-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.policy-toggle {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.policy-toggle.open {
  transform: rotate(180deg);
}

.policy-body {
  padding: 1.5rem;
  background-color: #fafafa;
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.policy-body.open {
  display: block;
  max-height: 2000px;
}

.policy-body h4 {
  font-size: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.policy-body p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.policy-body ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.policy-body li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.policy-contact {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  margin-top: 3rem;
}

.policy-contact h3 {
  color: #ffffff;
}

.policy-contact p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.policy-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--dark-color);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  background-color: #c99e2e;
}

.btn-outline {
  background-color: transparent;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border: 2px solid #ffffff;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: #ffffff;
  color: var(--primary-color);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    padding: 1rem;
    gap: 0;
    border-bottom: 1px solid var(--border-color);
  }

  nav.active a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
  }

  .hero h2 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }

  .product-image {
    height: 150px;
  }

  .product-info {
    padding: 1rem;
  }

  .product-name {
    font-size: 0.95rem;
  }

  .price-current {
    font-size: 1.3rem;
  }

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

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

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

  .footer-bottom {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .policy-buttons {
    flex-direction: column;
  }

  .btn-secondary,
  .btn-outline {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1rem;
  }

  .header-content {
    padding: 0.75rem 0;
  }

  .logo img {
    height: 40px;
  }

  .logo-text h1 {
    font-size: 1.1rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero h2 {
    font-size: 1.3rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .product-image {
    height: 120px;
  }

  .product-info {
    padding: 0.75rem;
  }

  .product-name {
    font-size: 0.85rem;
  }

  .price-current {
    font-size: 1.1rem;
  }

  .btn-add-cart {
    padding: 0.5rem;
    font-size: 0.85rem;
  }

  .benefit-card {
    padding: 1rem;
  }

  .policy-header {
    padding: 1rem;
  }

  .policy-body {
    padding: 1rem;
  }
}

/* ============================================
   ANIMAÇÕES
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  animation: fadeIn 0.5s ease-out;
}

/* ============================================
   UTILITÁRIOS
   ============================================ */

.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
