/* ============================================
   COUTINHO IMPORTADOS - IDENTIDADE VISUAL
   Preto Premium + Prata e Dourado Metálico
   ============================================ */

/* Reset e Variáveis */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Scroll suave */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

:root {
  /* Paleta de Cores Premium */
  --preto-principal: #0a0a0a;
  --preto-secundario: #1c1c1c;
  --prata: #8b8e94;
  --prata-clara: #dcdee0;
  --prata-escura: #55585d;
  --branco: #ffffff;
  --off-white: #fafafa;
  --cinza-claro: #f5f5f5;
  --cinza-medio: #e0e0e0;
  --preto-suave: #2c2c2c;

  /* Gradientes */
  --gradient-primary: linear-gradient(
    135deg,
    var(--preto-principal) 0%,
    var(--preto-secundario) 100%
  );
  --gradient-prata: linear-gradient(
    135deg,
    var(--prata) 0%,
    var(--prata-clara) 100%
  );

  /* Sombras Elegantes */
  --shadow-soft: 0 2px 8px rgba(10, 10, 10, 0.08);
  --shadow-medium: 0 4px 16px rgba(10, 10, 10, 0.12);
  --shadow-strong: 0 8px 24px rgba(10, 10, 10, 0.16);
  --shadow-prata: 0 4px 16px rgba(139, 142, 148, 0.25);

  /* Transições Suaves */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tipografia */
body {
  font-family: "Playfair Display", serif;
  line-height: 1.7;
  color: var(--preto-suave);
  background: var(--branco);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--preto-principal);
}

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

/* ============================================
   HEADER ELEGANTE & NAVEGAÇÃO
   ============================================ */
.header {
  background: linear-gradient(135deg,
    rgba(10, 10, 10, 0.92) 0%,
    rgba(20, 20, 20, 0.94) 50%,
    rgba(10, 10, 10, 0.96) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(139, 142, 148, 0.25);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.header.scrolled .header-content {
  padding: 0.8rem 0;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 0;
  position: relative;
  transition: padding 0.3s ease;
}

/* Logo Elegante */
.logo {
  flex-shrink: 0;
}

.logo h1 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  background: linear-gradient(
    135deg,
    var(--branco) 0%,
    var(--prata-clara) 45%,
    var(--prata) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.logo-highlight {
  font-weight: 800;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--branco) 0%, var(--prata-clara) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 6px rgba(220, 222, 224, 0.55));
}

/* Navegação Desktop */
.nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.4rem;
  list-style: none;
  align-items: center;
}

.nav-list li {
  position: relative;
  opacity: 1;
  transform: none;
}

.nav-list a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--prata-clara);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  white-space: nowrap;
  letter-spacing: 0.3px;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav-icon {
  flex-shrink: 0;
  color: var(--prata-clara);
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-prata);
  transition: width 0.3s ease;
}

.nav-list a:hover {
  color: var(--prata);
}

.nav-list a:hover::after {
  width: 100%;
}

.nav-divider {
  width: 1px;
  height: 20px;
  background: var(--cinza-medio);
  margin: 0 0.5rem;
}

/* Menu Hambúrguer */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  z-index: 1003;
  transition: var(--transition);
  border-radius: 8px;
  position: relative;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--prata-clara);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 3px;
}

.hamburger.active span {
  background: var(--prata);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Overlay do menu (escondido em desktop) */
.nav-overlay {
  display: none;
}

/* Cabeçalho do menu mobile (escondido em desktop) */
.nav-header {
  display: none;
}

.nav-close {
  display: none;
}

/* Ícone do Carrinho Elegante */
.cart-icon {
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  color: var(--prata-clara);
  padding: 0.6rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
}

.cart-icon:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(139, 142, 148, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.cart-icon svg {
  width: 28px;
  height: 28px;
  transition: var(--transition);
}

.cart-icon:hover svg {
  color: var(--prata);
}

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gradient-prata);
  color: var(--branco);
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0 5px;
  box-shadow: var(--shadow-prata);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* ============================================
   HERO SECTION - LUXO & ELEGÂNCIA
   ============================================ */
.hero {
  background: linear-gradient(
    160deg,
    var(--preto-principal) 0%,
    var(--preto-secundario) 55%,
    var(--preto-principal) 100%
  );
  color: var(--branco);
  padding: 3.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--preto-principal);
  background-image:
    radial-gradient(
      ellipse at center,
      rgba(10, 10, 10, 0.15) 0%,
      rgba(10, 10, 10, 0.65) 60%,
      rgba(10, 10, 10, 0.97) 100%
    ),
    linear-gradient(160deg, rgba(10, 10, 10, 0.35) 0%, rgba(10, 10, 10, 0.5) 100%),
    url("../img/logo_feito_por_mim.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  line-height: 1.2;
  color: transparent;
  background: linear-gradient(
    100deg,
    var(--prata) 20%,
    var(--branco) 50%,
    var(--prata) 80%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerSweep 5s ease-in-out infinite;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.85));
}

@keyframes shimmerSweep {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title {
    animation: none;
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

/* ============================================
   BOTÕES ELEGANTES
   ============================================ */
.btn {
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: "Playfair Display", serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-prata);
  color: var(--preto-principal);
  box-shadow: var(--shadow-prata);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 142, 148, 0.3);
}

.btn-clear {
  background: transparent;
  color: #dc3545;
  border: 2px solid #dc3545;
}

.btn-clear:hover {
  background: #dc3545;
  color: var(--branco);
}

/* ============================================
   SEÇÕES DE PRODUTOS
   ============================================ */
.section {
  padding: 5rem 0;
  background: var(--cinza-claro);
}

.section:nth-child(odd) {
  background: var(--branco);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--preto-principal);
  font-weight: 700;
  letter-spacing: 1px;
}

.title-icon {
  flex-shrink: 0;
  color: var(--prata);
}

.cart-header-icon {
  flex-shrink: 0;
}

.section-description {
  text-align: center;
  color: var(--preto-suave);
  font-size: 1.1rem;
  margin-bottom: 4rem;
  font-weight: 300;
  opacity: 0.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

/* ============================================
   GRID DE PRODUTOS ELEGANTE - v2.0
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ============================================
   CARDS DE CATEGORIAS
   ============================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 2.2rem 1.25rem;
  background: linear-gradient(
    160deg,
    var(--preto-principal) 0%,
    var(--preto-secundario) 100%
  );
  border: 1px solid rgba(139, 142, 148, 0.25);
  border-radius: 12px;
  text-decoration: none;
  color: var(--branco);
  transition: var(--transition-slow);
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--prata);
  box-shadow: var(--shadow-prata);
}

.category-icon {
  color: var(--prata-clara);
  transition: var(--transition);
}

.category-card:hover .category-icon {
  color: var(--branco);
}

.category-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--branco);
  margin: 0;
}

.category-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  line-height: 1.4;
}

.loading {
  text-align: center;
  padding: 3rem;
  color: var(--preto-principal);
  font-style: italic;
  grid-column: 1 / -1;
}

/* ============================================
   CARDS DE PRODUTOS PREMIUM
   ============================================ */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--branco);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-slow);
  position: relative;
  border: 1px solid var(--cinza-claro);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
  border-color: var(--prata);
}

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

.product-image-container {
  position: relative;
  overflow: hidden;
  background: var(--cinza-claro);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem;
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gradient-prata);
  color: var(--branco);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: var(--shadow-prata);
  z-index: 2;
}

.product-image-container[role="button"] {
  cursor: pointer;
}

.product-photo-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(10, 10, 10, 0.75);
  color: var(--branco);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem;
}

.product-category {
  font-size: 0.7rem;
  color: var(--prata);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

.product-name {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--preto-principal);
  line-height: 1.3;
  min-height: 2.4rem;
}

.product-description {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.3rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-description.expanded {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.ver-mais-btn {
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 0.8rem;
  color: var(--prata-escura);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  align-self: flex-start;
}

.ver-mais-btn:hover {
  color: var(--preto-principal);
}

.product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--prata);
  margin-top: auto;
  margin-bottom: 0.75rem;
  font-family: "Playfair Display", serif;
}

.product-actions {
  display: flex;
  gap: 0.8rem;
}

.btn-add-cart {
  flex: 1;
  background: var(--gradient-primary);
  color: var(--branco);
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-add-cart:hover {
  background: var(--gradient-prata);
  color: var(--preto-principal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-prata);
}

.btn-add-cart:active {
  transform: translateY(0);
}

.btn-add-cart:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Galeria de fotos do produto (lightbox) */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2500;
}

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

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.9);
  animation: fadeIn 0.3s ease;
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 700px);
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  background: var(--branco);
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: var(--branco);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: var(--branco);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: var(--gradient-prata);
  color: var(--preto-principal);
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

.lightbox-counter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--branco);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

@media (max-width: 700px) {
  .lightbox-prev {
    left: 6px;
  }
  .lightbox-next {
    right: 6px;
  }
  .lightbox-close {
    top: -40px;
    right: 6px;
  }
}

/* Modal do Carrinho */
.cart-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.cart-modal.active {
  display: block;
}

.cart-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.cart-content {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  max-width: 450px;
  background: white;
  display: flex;
  flex-direction: column;
  animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.cart-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(10, 10, 10, 0.2);
}

.cart-header h3 {
  color: white;
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.close-cart {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  transition: var(--transition);
  padding: 0.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
}

.close-cart:hover {
  transform: rotate(90deg);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.close-cart svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.empty-cart {
  text-align: center;
  padding: 3rem;
  color: #999;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cart-item-price {
  color: #b06fff;
  font-weight: bold;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.quantity-btn {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: var(--transition);
}

.quantity-btn:hover {
  background: var(--gray);
}

.quantity {
  font-weight: bold;
  min-width: 30px;
  text-align: center;
}

.remove-item {
  margin-left: auto;
  background: #ff4444;
  color: white;
  border: none;
  padding: 0.3rem 0.8rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
}

.remove-item:hover {
  background: #cc0000;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--gray);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.cart-footer .btn {
  width: 100%;
  margin-bottom: 0.5rem;
}

/* ============================================
   FOOTER ELEGANTE
   ============================================ */
.footer {
  background: var(--preto-principal);
  color: var(--branco);
  padding: 1.5rem 0 1rem;
  margin-top: 3rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  flex: 1;
  min-width: 250px;
}

.footer-brand h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--prata);
  font-weight: 600;
}

.footer-brand p {
  line-height: 1.6;
  opacity: 0.85;
  font-size: 0.9rem;
}

.footer-contact,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-link,
.social-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--branco);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
}

.contact-link svg,
.social-link svg {
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-link:hover,
.social-link:hover {
  color: var(--prata);
  transform: translateX(3px);
}

.contact-link:hover svg,
.social-link:hover svg {
  transform: scale(1.1);
}

.footer-hours {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-left: 1.6rem;
}

.footer-admin {
  margin-left: auto;
}

.admin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(139, 142, 148, 0.3);
  border-radius: 8px;
  color: var(--prata);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.admin-link:hover {
  background: rgba(139, 142, 148, 0.1);
  border-color: var(--prata);
  transform: translateY(-2px);
}

.admin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--branco);
  text-decoration: none;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(139, 142, 148, 0.3);
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(139, 142, 148, 0.05);
}

.admin-link svg {
  width: 16px;
  height: 16px;
  stroke: var(--prata);
  transition: all 0.3s ease;
}

.admin-link:hover {
  background: rgba(139, 142, 148, 0.15);
  border-color: var(--prata);
  transform: translateY(-2px);
}

.admin-link:hover svg {
  transform: rotate(90deg);
}

.footer-bottom {
  text-align: center;
  padding-top: 0.25rem;
  opacity: 0.8;
  font-size: 0.85rem;
}

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

/* Tablets e menores */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
  }
}

/* Menu Hambúrguer em Tablets */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
    position: relative;
    z-index: 1010;
    margin-left: auto;
  }

  /* Some quando o menu abre - o botão de fechar do próprio painel assume */
  .hamburger.active {
    opacity: 0;
    pointer-events: none;
  }
  
  /* Overlay escuro separado */
  .nav-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 10, 0.85);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1001;
    cursor: pointer;
    backdrop-filter: blur(4px);
  }
  
  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(180deg, var(--branco) 0%, var(--off-white) 100%);
    box-shadow: -8px 0 32px rgba(10, 10, 10, 0.2);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.4s;
    z-index: 1002;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    border-left: 3px solid var(--prata);
    transform: translateX(0);
    visibility: hidden;
  }
  
  .nav.active {
    right: 0;
    visibility: visible;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0s;
  }
  
  .nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--gradient-primary);
    color: var(--branco);
    border-bottom: 2px solid var(--prata);
    box-shadow: 0 2px 8px rgba(10, 10, 10, 0.2);
  }
  
  .nav-header h2 {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    margin: 0;
    color: var(--branco);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .nav-header h2::before {
    content: "✦";
    color: var(--prata);
    font-size: 1.2rem;
  }
  
  .nav-close {
    background: none;
    border: none;
    color: var(--branco);
    cursor: pointer;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-radius: 8px;
    border: 2px solid transparent;
  }
  
  .nav-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .nav-close svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
  }
  
  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }
  
  .nav-list li {
    width: 100%;
    border-bottom: 1px solid var(--cinza-claro);
  }
  
  /* Itens começam escondidos */
  .nav:not(.active) .nav-list li {
    opacity: 0;
    transform: translateX(30px);
  }
  
  /* Quando menu ativo, itens aparecem com animação */
  .nav.active .nav-list li {
    opacity: 1;
    transform: translateX(0);
    animation: slideInMenu 0.4s ease forwards;
  }
  
  .nav.active .nav-list li:nth-child(1) { animation-delay: 0.1s; }
  .nav.active .nav-list li:nth-child(2) { animation-delay: 0.15s; }
  .nav.active .nav-list li:nth-child(3) { animation-delay: 0.2s; }
  .nav.active .nav-list li:nth-child(4) { animation-delay: 0.25s; }
  .nav.active .nav-list li:nth-child(5) { animation-delay: 0.3s; }
  .nav.active .nav-list li:nth-child(6) { animation-delay: 0.35s; }
  
  @keyframes slideInMenu {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .nav-list a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1.4rem 2rem;
    width: 100%;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--preto-principal);
    position: relative;
    transition: all 0.3s ease;
  }
  
  .nav-list a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--gradient-prata);
    transition: height 0.3s ease;
  }
  
  .nav-list a:hover {
    background: linear-gradient(90deg, var(--off-white) 0%, transparent 100%);
    color: var(--prata);
    padding-left: 2.5rem;
  }
  
  .nav-list a:hover::before {
    height: 60%;
  }
  
  .nav-list a::after {
    display: none;
  }
  
  .nav-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
  
  .hero {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-description {
    font-size: 1rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.2rem;
    padding: 0 0.5rem;
  }

  .cart-content {
    max-width: 100%;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 2rem;
  }
  
  .footer-admin {
    margin-left: 0;
    width: 100%;
  }
  
  .footer-admin .admin-link {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }

  /* Em telas estreitas, mostra só "Coutinho" para não brigar com o menu/carrinho */
  .logo-secondary {
    display: none;
  }
  
  .hero {
    padding: 2.5rem 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .btn {
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
  }
  
  .product-card {
    max-width: 100%;
  }
  
  .product-image-container {
    height: 200px;
  }
  
  .product-info {
    padding: 0.8rem;
  }
  
  .footer-content {
    gap: 1.5rem;
  }
  
  .footer-brand {
    min-width: 100%;
    max-width: 100%;
  }
  
  .footer-contact,
  .footer-social {
    width: 100%;
  }
  
  .footer-admin {
    width: 100%;
  }
  
  .footer-admin .admin-link {
    width: 100%;
    justify-content: center;
  }

  
  .product-name {
    font-size: 0.9rem;
    min-height: auto;
  }
  
  .product-price {
    font-size: 1rem;
  }
  
  .btn-add-cart {
    padding: 0.7rem 0.8rem;
    font-size: 0.75rem;
  }
}

/* Telas muito pequenas - smartphones pequenos */
@media (max-width: 375px) {
  .logo h1 {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
  }

  .hero {
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
}

/* Animações */
@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
