/* Importação de fontes para um look Premium */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
  --bg: #ffffff;
  --paper: #fdfaf7; /* Off-white mais limpo */
  --paper2: #f7ede2;
  --text: #2d2621; /* Texto levemente mais suave que o preto puro */
  --muted: #8c7e74;
  --line: #efdfcf;
  --accent: #bda18a; /* Bege café com leite premium */
  --accent2: #967a61;
  --shadow: 0 20px 40px rgba(45, 38, 33, 0.06);
  --radius: 12px; /* Bordas levemente mais retas para um look moderno */
  --radius2: 16px;
  --container: 1140px;
}

/* Transições suaves em tudo */
* { 
  box-sizing: border-box; 
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); 
}

html, body { margin: 0; padding: 0; overflow-x: hidden; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* Topbar refinada */
.topbar {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.topbar .row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }

.badge {
  border: 1px solid var(--line);
  background: #fff;
  padding: 4px 12px;
  border-radius: 20px;
}

/* Header com Glassmorphism */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(239, 223, 207, 0.5);
  backdrop-filter: blur(15px);
  padding: 10px 0;
}

.brand .logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--text);
}

.nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 8px;
}
.nav a:hover, .nav a.active {
  color: var(--accent2);
  background: var(--paper);
}

/* Busca Moderna */
.search {
  border: 1.5px solid var(--line);
  background: var(--white);
  padding: 8px 16px;
  border-radius: 50px;
  min-width: 280px;
}
.search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(189, 161, 138, 0.1);
}

/* Hero Section "Magazine Style" */
.hero-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  margin-top: 20px;
}

.hero-left { padding: 60px; display: flex; flex-direction: column; justify-content: center; }

.h1 {
  font-family: 'Playfair Display', serif;
  font-size: 58px; 
  line-height: 1.1; 
  margin-bottom: 20px;
}

.btn {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  padding: 14px 28px;
  border-radius: 50px;
}

.btn.primary {
  background: var(--text);
  color: #fff;
  border: none;
}
.btn.primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
}

/* Grid de Produtos com Efeito Zoom */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(45, 38, 33, 0.12);
}

.product-img {
  aspect-ratio: 1/1;
  background: #f9f9f9;
  overflow: hidden; /* Importante para o zoom */
}
.product-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover .product-img img {
  transform: scale(1.1); /* Zoom elegante ao passar o mouse */
}

.product-body { padding: 20px; }
.product-title { font-weight: 700; font-size: 16px; color: var(--text); }

.price .por { font-size: 18px; font-weight: 800; color: var(--accent2); }
.price .de { font-size: 13px; color: var(--muted); text-decoration: line-through; }

/* Footer Elegante */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 60px 0 20px;
  margin-top: 80px;
}

/* Responsividade */
@media (max-width: 980px) {
  .hero-card { grid-template-columns: 1fr; }
  .h1 { font-size: 42px; }
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .grid.cols-4 { grid-template-columns: 1fr; }
  .search { min-width: 100%; }
}