/* ============================================================
   ESTILOS DA LOJA - TEMA ROSA ELEGANTE
   (Você normalmente não precisa mexer aqui)
   ============================================================ */

:root {
  --rosa: #d6336c;
  --rosa-claro: #fce4ec;
  --rosa-suave: #fff5f8;
  --escuro: #2b2b2b;
  --cinza: #6b6b6b;
  --cinza-claro: #efefef;
  --branco: #ffffff;
  --dourado: #c9a96a;
  --sombra: 0 6px 24px rgba(214, 51, 108, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  color: var(--escuro);
  background: var(--branco);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

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

/* ---------- CABEÇALHO ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--branco);
  border-bottom: 1px solid var(--cinza-claro);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--rosa);
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--escuro);
  transition: color 0.2s;
}

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

.btn-whats-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rosa);
  color: var(--branco);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s, transform 0.2s;
}

.btn-whats-header:hover {
  background: #b62a5b;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 26px;
  color: var(--rosa);
}

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(135deg, var(--rosa-suave), var(--rosa-claro));
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 44px;
  line-height: 1.2;
  color: var(--escuro);
  max-width: 700px;
  margin: 0 auto 16px;
}

.hero p {
  font-size: 18px;
  color: var(--cinza);
  max-width: 560px;
  margin: 0 auto 28px;
}

.hero .btn-principal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rosa);
  color: var(--branco);
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.2s, transform 0.2s;
}

.hero .btn-principal:hover {
  background: #b62a5b;
  transform: translateY(-2px);
}

/* ---------- SEÇÃO PRODUTOS ---------- */
.secao {
  padding: 64px 0;
}

.secao-titulo {
  text-align: center;
  margin-bottom: 40px;
}

.secao-titulo h2 {
  font-family: "Playfair Display", serif;
  font-size: 34px;
  color: var(--escuro);
  margin-bottom: 8px;
}

.secao-titulo p {
  color: var(--cinza);
  font-size: 16px;
}

/* Filtros de categoria */
.filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.filtro-btn {
  background: var(--branco);
  border: 1px solid var(--cinza-claro);
  color: var(--escuro);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.filtro-btn:hover {
  border-color: var(--rosa);
  color: var(--rosa);
}

.filtro-btn.ativo {
  background: var(--rosa);
  color: var(--branco);
  border-color: var(--rosa);
}

/* Grade de produtos */
.grade-produtos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--branco);
  border: 1px solid var(--cinza-claro);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra);
}

.card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--rosa-suave);
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--rosa);
  color: var(--branco);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}

.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-categoria {
  font-size: 12px;
  color: var(--dourado);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.card-nome {
  font-size: 16px;
  font-weight: 600;
  color: var(--escuro);
  margin-bottom: 12px;
  flex: 1;
}

.card-precos {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}

.card-preco {
  font-size: 20px;
  font-weight: 700;
  color: var(--rosa);
}

.card-preco-antigo {
  font-size: 14px;
  color: var(--cinza);
  text-decoration: line-through;
}

.card-btn {
  width: 100%;
  background: var(--rosa-claro);
  color: var(--rosa);
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.card-btn:hover {
  background: var(--rosa);
  color: var(--branco);
}

/* ---------- FAIXA DE BENEFÍCIOS ---------- */
.beneficios {
  background: var(--rosa-suave);
  padding: 48px 0;
}

.beneficios-grade {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.beneficio {
  text-align: center;
}

.beneficio-icone {
  font-size: 32px;
  margin-bottom: 10px;
}

.beneficio h3 {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--escuro);
}

.beneficio p {
  font-size: 14px;
  color: var(--cinza);
}

/* ---------- MAPA ---------- */
.mapa-secao {
  padding: 64px 0;
}

.mapa-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--sombra);
  border: 1px solid var(--cinza-claro);
}

.mapa-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* ---------- RODAPÉ ---------- */
.footer {
  background: var(--escuro);
  color: var(--branco);
  padding: 48px 0 24px;
}

.footer-grade {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer h4 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--rosa-claro);
}

.footer p,
.footer a {
  color: #cccccc;
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
}

.footer a:hover {
  color: var(--rosa-claro);
}

.footer-titulo {
  font-size: 15px !important;
  font-family: "Poppins", sans-serif !important;
  color: var(--branco) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #999999;
}

/* ---------- BOTÃO FLUTUANTE WHATSAPP ---------- */
.whats-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 200;
  transition: transform 0.2s;
}

.whats-float:hover {
  transform: scale(1.1);
}

.whats-float svg {
  width: 34px;
  height: 34px;
  fill: var(--branco);
}

/* ---------- MODAL DO PRODUTO ---------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 300;
  padding: 20px;
  overflow-y: auto;
}

.modal.aberto {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.modal-conteudo {
  background: var(--branco);
  border-radius: 16px;
  max-width: 900px;
  width: 100%;
  margin: auto;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.modal-fechar {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--branco);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  color: var(--escuro);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.modal-galeria {
  background: var(--rosa-suave);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-img-principal {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--branco);
}

.modal-img-principal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-miniaturas {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.modal-miniatura {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
}

.modal-miniatura.ativa {
  border-color: var(--rosa);
}

.modal-miniatura img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
}

.modal-categoria {
  font-size: 12px;
  color: var(--dourado);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.modal-nome {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  color: var(--escuro);
  margin-bottom: 16px;
}

.modal-precos {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.modal-preco {
  font-size: 30px;
  font-weight: 700;
  color: var(--rosa);
}

.modal-preco-antigo {
  font-size: 18px;
  color: var(--cinza);
  text-decoration: line-through;
}

.modal-descricao {
  color: var(--cinza);
  font-size: 15px;
  margin-bottom: 28px;
  flex: 1;
}

.btn-whats-modal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: var(--branco);
  padding: 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  width: 100%;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-whats-modal:hover {
  background: #1ebe57;
}

.btn-whats-modal svg {
  width: 22px;
  height: 22px;
  fill: var(--branco);
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 980px) {
  .grade-produtos {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--branco);
    flex-direction: column;
    gap: 0;
    padding: 12px 20px;
    border-bottom: 1px solid var(--cinza-claro);
    box-shadow: var(--sombra);
  }

  .nav.aberto {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--cinza-claro);
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 32px;
  }

  .grade-produtos {
    grid-template-columns: repeat(2, 1fr);
  }

  .beneficios-grade {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-grade {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .modal-conteudo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .grade-produtos {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 28px;
  }
}
