/* Variáveis de Cores (Paleta Suave/Confeitaria) */
:root {
  --primary: #d86979;
  --primary-hover: #c25262;
  --secondary: #fff5f5;
  --text-dark: #4a3e3d;
  --text-light: #7a6e6d;
  --white: #ffffff;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  color: var(--text-dark);
  background-color: #faf7f7;
}

/* Header */
/* ==========================================
   HEADER COMPLETO & MENU HAMBÚRGUER
   ========================================== */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #e6f4ea;
  color: #137333;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #34a853;
  border-radius: 50%;
  animation: blink 1.8s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Links de Navegação Desktop */
.nav {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav a:hover {
  color: var(--primary);
}

.nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* Botão de Ação CTA */
.header-cta {
  background-color: var(--primary);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.header-cta:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

/* Oculta elementos mobile no Desktop */
.hamburger,
.mobile-cta,
.close-btn {
  display: none;
}

/* Regras Responsivas */
@media (max-width: 880px) {
  .status-badge {
    display: none;
  }
}

@media (max-width: 768px) {
  .desktop-cta {
    display: none;
  }

  .mobile-cta {
    display: inline-block;
    margin-top: 0.5rem;
  }

  /* Botão Hambúrguer */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
  }

  .bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
  }

  /* Menu Suspenso Mobile */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.2rem 0 1.8rem;
    gap: 1.2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 3px solid var(--primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
  }

  .nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    font-size: 1.05rem;
  }

  .nav a::after {
    display: none;
  }

  /* Botão X para fechar dentro do menu */
  .close-btn {
    display: block;
    position: absolute;
    top: 10px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--primary);
    cursor: pointer;
    font-weight: 300;
    padding: 5px;
    z-index: 1002;
  }

  .close-btn:hover {
    color: var(--primary-hover);
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1578985545062-69928b1d9587?auto=format&fit=crop&w=1200&q=80');
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 1rem;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Botões */
.btn-primary {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

/* Seções Gerais */
.section {
  padding: 4rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: var(--primary);
}

/* Cardápio */
.cardapio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Estilo para as Imagens dos Produtos */
.card-img {
  width: 100%;
  height: 200px; /* Define altura fixa para padronizar todos os cards */
  object-fit: cover; /* Recorta a imagem proporcionalmente sem distorcer */
  border-radius: 10px;
  margin-bottom: 1rem;
}

.card-img-placeholder {
  font-size: 4rem;
  background: var(--secondary);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  display: block;
}

.btn-card {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-card:hover {
  background: var(--primary);
  color: var(--white);
}

/* Diferenciais */
.diferenciais-bg {
  background-color: var(--secondary);
  border-radius: 20px;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.diferencial-item span {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* Rodapé */
.footer {
  background-color: var(--text-dark);
  color: var(--white);
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

/* Responsividade para Telas Menores */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav a {
    margin: 0 0.5rem;
  }
}

/* Subtítulo do Instagram */
.instagram-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-top: -2rem;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

/* Grade do Instagram */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

/* Card Individual da Foto */
.insta-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  aspect-ratio: 1 / 1; /* Garante fotos quadradas estilo Instagram */
  box-shadow: var(--shadow);
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Efeito Hover (passar o mouse por cima) */
.insta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(216, 105, 121, 0.85); /* Cor primária com transparência */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.insta-item:hover img {
  transform: scale(1.1); /* Zoom suave na imagem */
}

.insta-item:hover .insta-overlay {
  opacity: 1; /* Exibe o botão ao passar o mouse */
}

/* Botão Flutuante do WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25d366; /* Cor oficial do WhatsApp */
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
}

/* Efeito Hover ao passar o mouse */
.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* Animação suave de pulso para chamar atenção */
@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float {
  animation: pulse-whatsapp 2s infinite;
}

/* Ajuste para telas pequenas (smartphones) */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    width: 55px;
    height: 55px;
  }
  
  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
}

/* Seção FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--white);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.faq-item[open] {
  border-color: var(--primary);
}

.faq-question {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none; /* Remove a seta padrão do navegador */
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

/* Criando um indicador customizado (+) */
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 700;
  transition: transform 0.3s ease;
}

/* Transforma o (+) em (-) ao abrir */
.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
}