/* ===================================================
   PANELA DA JÔ — Estilos principais
   =================================================== */

:root {
  --amarelo:        #F5C018;
  --amarelo-escuro: #D9A800;
  --amarelo-claro:  #FDE88A;
  --marrom:         #2D1A0E;
  --marrom-medio:   #7B4F1E;
  --marrom-accent:  #C17A2E;
  --creme:          #FFF8EE;
  --creme-escuro:   #F0E4CC;
  --branco:         #FFFFFF;
  --texto:          #3D2B1F;
  --texto-leve:     #7A6255;
  --verde-wp:       #25D366;
  --sombra:         0 4px 20px rgba(45, 26, 14, 0.10);
  --sombra-hover:   0 10px 36px rgba(45, 26, 14, 0.18);
  --radius:         16px;
  --radius-sm:      10px;
  --tr:             0.3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--texto);
  background: var(--branco);
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

/* ===== LAYOUT ===== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===== TIPOGRAFIA COMUM ===== */
.section-pre {
  font-family: 'Dancing Script', cursive;
  font-size: 1.3rem; font-weight: 600;
  color: var(--marrom-accent);
  display: block; margin-bottom: 8px;
}
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; color: var(--marrom); line-height: 1.2;
}
.heart       { color: #E53935; }
.heart-small { color: var(--marrom-accent); font-size: 1rem; }

/* ===== BOTÕES ===== */
.btn-dark {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--marrom); color: var(--branco);
  font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 0.88rem; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 15px 30px; border-radius: 50px; border: none;
  transition: var(--tr); cursor: pointer;
}
.btn-dark:hover { background: #1a0d06; transform: translateY(-2px); box-shadow: var(--sombra-hover); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: var(--marrom);
  font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 0.88rem; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 15px 30px; border-radius: 50px;
  border: 2.5px solid var(--amarelo-escuro); transition: var(--tr);
}
.btn-outline:hover { background: var(--amarelo); border-color: var(--amarelo); transform: translateY(-2px); }

.btn-yellow-lg {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--amarelo); color: var(--marrom);
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 17px 44px; border-radius: 50px; border: none; transition: var(--tr);
}
.btn-yellow-lg:hover { background: var(--amarelo-escuro); transform: translateY(-2px); box-shadow: var(--sombra-hover); }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  background: var(--marrom); color: var(--branco);
  font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 11px 20px; border-radius: 50px; white-space: nowrap; transition: var(--tr);
}
.btn-whatsapp:hover { background: #1a0d06; transform: translateY(-1px); }

.btn-whatsapp-lg {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--verde-wp); color: var(--branco);
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 1.05rem; padding: 18px 46px; border-radius: 50px;
  border: none; transition: var(--tr);
}
.btn-whatsapp-lg:hover {
  background: #1ebe5d; transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
}

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--branco); transition: box-shadow var(--tr);
}
.header.scrolled { box-shadow: var(--sombra); }

.header-inner {
  display: flex; align-items: center; gap: 20px; height: 76px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-svg { flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-panela { font-family: 'Dancing Script', cursive; font-size: 1.25rem; font-weight: 600; color: var(--marrom); }
.logo-dajo   { font-family: 'Dancing Script', cursive; font-size: 1.65rem; font-weight: 700; color: var(--marrom); }

/* Navegação */
.nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.nav-link {
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--texto); padding: 6px 11px; border-radius: 6px;
  transition: color var(--tr); position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 1px; left: 11px; right: 11px;
  height: 2px; background: var(--amarelo);
  transform: scaleX(0); transition: transform var(--tr); transform-origin: center;
}
.nav-link:hover, .nav-link.active { color: var(--marrom-accent); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* Hambúrguer */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--marrom); border-radius: 2px; transition: var(--tr);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  background: var(--amarelo);
  padding-top: 76px; position: relative;
  overflow: hidden; min-height: 100vh;
  display: flex; align-items: center;
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 48px;
  padding-top: 40px; padding-bottom: 100px;
}

.hero-pre {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 600; color: var(--marrom);
  display: block; margin-bottom: 4px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800; color: var(--marrom);
  line-height: 1.1; margin-bottom: 20px;
  text-transform: uppercase; letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: 0.96rem; color: var(--marrom);
  opacity: 0.8; max-width: 400px;
  line-height: 1.75; margin-bottom: 32px;
}

.hero-dots { display: flex; gap: 8px; margin-top: 32px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(45,26,14,.25); transition: var(--tr); }
.dot.active { background: var(--marrom); width: 28px; border-radius: 5px; }

.hero-image {
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(45,26,14,.22);
  aspect-ratio: 4/3; position: relative;
}
.hero-image img { border-radius: 24px; }

.hero-wave { position: absolute; bottom: -2px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 80px; }

/* ===== DIFERENCIAIS ===== */
.features { background: var(--creme); padding: 64px 0 56px; }

.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}

.feature-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 8px 20px 8px 8px;
  border-right: 1px solid rgba(45,26,14,.12);
}
.feature-item:last-child { border-right: none; }

.feature-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--amarelo); display: flex;
  align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--marrom);
}

.feature-item h3 { font-size: 0.9rem; font-weight: 700; color: var(--marrom); margin-bottom: 5px; }
.feature-item p  { font-size: 0.8rem; color: var(--texto-leve); line-height: 1.6; }

/* ===== SOBRE ===== */
.sobre { background: var(--branco); padding: 88px 0; }

.sobre-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}

.sobre-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800; color: var(--marrom);
  text-transform: uppercase; margin-bottom: 18px; line-height: 1.15;
}

.sobre-text {
  font-size: 0.94rem; color: var(--texto-leve);
  line-height: 1.85; margin-bottom: 32px; max-width: 420px;
}

.sobre-fotos {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.sobre-fotos img {
  height: 220px; border-radius: var(--radius-sm);
  transition: transform 0.4s ease;
}
.sobre-fotos img:hover { transform: scale(1.04); }

/* ===== CARDÁPIO PREVIEW ===== */
.menu-preview { background: var(--creme); padding: 88px 0; }

.menu-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-bottom: 44px;
}

.menu-card {
  background: var(--branco); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--sombra);
  transition: transform var(--tr), box-shadow var(--tr);
}
.menu-card:hover { transform: translateY(-6px); box-shadow: var(--sombra-hover); }

.menu-card > img { height: 200px; }

.menu-card-body { padding: 18px 20px 20px; }
.menu-card-body h3 { font-size: 0.95rem; font-weight: 700; color: var(--marrom); margin-bottom: 6px; }
.menu-card-body p  { font-size: 0.82rem; color: var(--texto-leve); line-height: 1.65; margin-bottom: 16px; }

.menu-card-footer { display: flex; align-items: center; justify-content: space-between; }

.price { font-size: 1.08rem; font-weight: 700; color: var(--marrom-accent); }

.btn-pedido {
  background: var(--amarelo); color: var(--marrom);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 8px 18px; border-radius: 50px; transition: var(--tr);
}
.btn-pedido:hover { background: var(--amarelo-escuro); transform: scale(1.05); }

.menu-cta { text-align: center; }

/* ===== GALERIA ===== */
.galeria { background: var(--branco); padding: 88px 0; }

.galeria-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.galeria-item {
  position: relative; border-radius: var(--radius-sm);
  overflow: hidden; aspect-ratio: 4/3; cursor: pointer;
}
.galeria-item img { transition: transform 0.45s ease; }
.galeria-overlay {
  position: absolute; inset: 0;
  background: rgba(45,26,14,.42); opacity: 0;
  transition: opacity var(--tr);
}
.galeria-item:hover img { transform: scale(1.08); }
.galeria-item:hover .galeria-overlay { opacity: 1; }

/* ===== DEPOIMENTOS ===== */
.depoimentos { background: var(--creme); padding: 88px 0; }

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

.depo-card {
  background: var(--branco); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--sombra);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform var(--tr);
}
.depo-card:hover { transform: translateY(-4px); }

.depo-stars { color: var(--amarelo-escuro); font-size: 1.05rem; letter-spacing: 2px; }
.depo-card > p { font-size: 0.88rem; color: var(--texto-leve); line-height: 1.8; font-style: italic; flex: 1; }

.depo-author { display: flex; align-items: center; gap: 12px; }
.depo-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--amarelo); color: var(--marrom);
  font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.depo-author strong { display: block; font-size: 0.86rem; color: var(--marrom); }
.depo-author span   { font-size: 0.76rem; color: var(--texto-leve); }

/* ===== CONTATO ===== */
.contato { background: var(--branco); padding: 88px 0; }

.contato-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-bottom: 52px;
}

.contato-card {
  text-align: center; padding: 40px 24px;
  border-radius: var(--radius); background: var(--creme);
  transition: var(--tr);
}
.contato-card:hover { background: var(--amarelo-claro); transform: translateY(-4px); }

.contato-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--amarelo); color: var(--marrom);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.contato-card h3 { font-size: 1rem; font-weight: 700; color: var(--marrom); margin-bottom: 10px; }
.contato-card p  { font-size: 0.87rem; color: var(--texto-leve); line-height: 1.7; }

.contato-whatsapp { text-align: center; }

/* ===== FOOTER ===== */
.footer { background: var(--marrom); color: rgba(255,255,255,.8); padding: 40px 0; }

.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}

.footer-logo .logo-panela,
.footer-logo .logo-dajo { color: var(--amarelo); }

.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.82rem; color: rgba(255,255,255,.6); transition: color var(--tr); }
.footer-nav a:hover { color: var(--amarelo); }

.footer-copy { font-size: 0.79rem; color: rgba(255,255,255,.45); }

/* ===== ANIMAÇÃO REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.reveal-right { transform: translateX(28px); }
.reveal.visible { opacity: 1; transform: none; }

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .feature-item { border-right: none; padding: 12px; }
  .feature-item:nth-child(1), .feature-item:nth-child(2) {
    border-bottom: 1px solid rgba(45,26,14,.12);
    padding-bottom: 20px;
  }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .hero-image { max-width: 480px; margin: 0 auto; }
  .hero-subtitle, .hero-dots { margin-left: auto; margin-right: auto; }
  .hero-dots { justify-content: center; }
  .sobre-inner { grid-template-columns: 1fr; gap: 40px; }
  .sobre-text { max-width: 100%; }
  .galeria-grid { grid-template-columns: repeat(2, 1fr); }
  .depo-grid { grid-template-columns: repeat(2, 1fr); }
  .contato-cards { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .btn-whatsapp { display: none; }

  .nav {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    background: var(--branco); flex-direction: column;
    align-items: flex-start; gap: 0; padding: 12px 24px;
    transform: translateX(-100%); transition: transform var(--tr);
    box-shadow: 4px 0 20px rgba(0,0,0,.1);
    overflow-y: auto; z-index: 999; margin: 0;
  }
  .nav.open { transform: none; }
  .nav-link {
    width: 100%; padding: 15px 0; font-size: 0.9rem;
    border-bottom: 1px solid var(--creme-escuro);
  }
  .nav-link::after { display: none; }

  .menu-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .depo-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}

@media (max-width: 480px) {
  .sobre-fotos { grid-template-columns: 1fr; }
  .sobre-fotos img { height: 200px; }
  .galeria-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .btn-whatsapp-lg { font-size: 0.9rem; padding: 16px 28px; }
}
