/* ============================================================
   CONFIGURAÇÕES GLOBAIS & DESIGN TOKENS
   ============================================================ */
:root {
  --primaria: #fdfaf5;
  --texto: #3c2a2a;
  --detalhe: #3c2a2a;
  --whatsapp: #25d366;
  --whatsapp-hover: #1eb954;
  --fundo-card: rgba(255, 255, 255, 0.7);
  --borda-card: rgba(255, 255, 255, 0.4);
}

/* RESET PADRÃO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--texto);
  background: url("imagens/background_atelier4.png") no-repeat center center
    fixed;
  background-size: cover; /* Ajustado para preencher melhor a tela */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ============================= 
   NAVBAR (FIXA COM BLUR)
   ============================= */
.navbar {
  position: fixed;
  width: 100%;
  padding: 15px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(245, 222, 179, 0.9); /* Wheat com transparência */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.logo {
  font-family: "Pinyon Script", cursive !important; /* Força a fonte cursiva */
  font-size: 2.8rem !important;
  color: var(--texto) !important;
  text-decoration: none !important; /* Remove o sublinhado azul */
  display: inline-block;
  cursor: pointer;
}

/* Garante que o link não mude de cor em nenhum estado */
.navbar a.logo,
.navbar a.logo:hover,
.navbar a.logo:visited {
  color: var(--texto) !important;
  text-decoration: none !important;
}

.nav-links a {
  text-decoration: none;
  margin-left: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--texto);
  transition: 0.3s;
}

.nav-links a:hover {
  opacity: 0.7;
}

/* ============================= 
   CONTEÚDO PRINCIPAL (MAIN)
   ============================= */
main {
  padding-top: 140px;
  padding-bottom: 100px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* HERO SECTION */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.content-box {
  padding: 40px;
  max-width: 800px;
}

.subtitle {
  display: block;
  letter-spacing: 5px;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3.5rem); /* Fonte fluida */
  margin: 15px 0;
  color: var(--detalhe);
  line-height: 1.2;
}

h2 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 35px;
  opacity: 0.9;
}

/* ============================= 
   GRID DE PRODUTOS (VITRINE)
   ============================= */
.grid-produtos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  width: 90%;
  max-width: 1200px;
  margin: 50px auto;
}

.produto {
  background: var(--fundo-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  border: 1px solid var(--borda-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Alinhamento vertical dos itens */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.produto:hover {
  transform: translateY(-12px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Moldura para padronizar fotos de tamanhos diferentes */
.produto-img-container {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.3);
}

.produto img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Preenche o espaço sem distorcer fotos de modelos */
  transition: transform 0.5s ease;
}

/* Se a foto for uma bolsa isolada (PNG), usamos contain para não cortar as alças */
.produto img[src*="png"] {
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.15));
}

.produto:hover img {
  transform: scale(1.08);
}

.produto h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* ============================= 
   BOTÕES & CTA
   ============================= */
.btn-whatsapp {
  display: inline-block;
  background: var(--whatsapp);
  color: white;
  padding: 14px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: 0.3s;
  border: none;
  cursor: pointer;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* Botão dentro do card ocupa largura total */
.produto .btn-whatsapp {
  width: 100%;
  margin-top: auto;
}

/* ============================= 
   FOOTER
   ============================= */
.footer-site {
  background: rgba(245, 222, 179, 0.95);
  padding: 20px;
  text-align: center;
  font-size: 0.8rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  width: 100%;
}

/* ============================= 
   RESPONSIVIDADE (MOBILE)
   ============================= */
@media (max-width: 768px) {
  .navbar {
    padding: 10px 5%;
  }

  .logo {
    font-size: 2rem;
  }

  main {
    padding-top: 100px;
  }

  .grid-produtos {
    grid-template-columns: 1fr; /* Um produto por linha no celular para destaque */
    gap: 25px;
  }

  .produto-img-container {
    height: 350px;
  }

  h1 {
    font-size: 2.2rem;
  }
}
