/* ===== Variáveis e base ===== */
:root {
  --bg-dark: #0f0e0c;
  --bg-charcoal: #1a1916;
  --bg-card: #242220;
  --accent: #d4a853;
  --accent-hover: #e4b963;
  --text: #f5f2ed;
  --text-muted: #a8a39e;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-dark);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--accent-hover);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  background: linear-gradient(to bottom, rgba(15, 14, 12, 0.95), transparent);
  transition: background var(--transition);
}
.header.scrolled {
  background: rgba(15, 14, 12, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
}
.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-charcoal);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.4);
  }
  .nav-links.open {
    transform: translateX(0);
  }
}

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}
.btn-icon svg {
  width: 100%;
  height: 100%;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg-dark);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 168, 83, 0.35);
}

/* ===== Seções genéricas ===== */
.section {
  padding: 5rem 0;
  transition: opacity 0.5s ease;
}
.section-dark {
  background: var(--bg-dark);
}
.section-charcoal {
  background: var(--bg-charcoal);
}

.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 6rem 0 4rem;
  padding-left: max(1.5rem, calc((100vw - 1140px) / 2 + 1.5rem));
  padding-right: max(1.5rem, calc((100vw - 1140px) / 2 + 1.5rem));
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15, 14, 12, 0.92) 0%, rgba(15, 14, 12, 0.6) 45%, rgba(15, 14, 12, 0.4) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  width: 100%;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text);
}
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 420px;
}
.hero-content .btn {
  margin-top: 0.5rem;
}

/* Animações de entrada */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

.hero-content .animate-in {
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 900px) {
  .hero {
    text-align: center;
    padding-top: 5rem;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-content .btn {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-bg::after {
    background: linear-gradient(180deg, rgba(15, 14, 12, 0.88) 0%, rgba(15, 14, 12, 0.7) 100%);
  }
}

/* ===== Cardápio ===== */
.filtros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.filtro {
  padding: 0.6rem 1.25rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-charcoal);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
}
.filtro:hover {
  color: var(--text);
  border-color: var(--accent);
}
.filtro.active {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
}

.cardapio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

.card-item {
  background: var(--bg-charcoal);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
  opacity: 1;
  transform: scale(1);
}
.card-item.hidden {
  display: none;
}
.card-item:hover {
  border-color: rgba(212, 168, 83, 0.3);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.card-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.card-item:hover .card-image {
  transform: scale(1.08);
}
.card-1 {
  background: linear-gradient(135deg, #5c4033 0%, #3d2a22 100%);
  background-image: url('assets/house-classic.png');
  background-size: cover;
  background-position: center;
}
.card-2 {
  background: linear-gradient(135deg, #6b4423 0%, #4a3018 100%);
  background-image: url('assets/bacon bliss.jpg');
  background-size: cover;
  background-position: center;
}
.card-3 {
  background: linear-gradient(135deg, #4a3c2a 0%, #2d2518 100%);
  background-image: url('assets/traufa queijo.jpg');
  background-size: cover;
  background-position: center;
}
.card-4 {
  background: linear-gradient(135deg, #3d3528 0%, #2a241a 100%);
  background-image: url('assets/blue cheese.jpg');
  background-size: cover;
  background-position: center;
}
.card-5 {
  background: linear-gradient(135deg, #3d4a2d 0%, #2a3520 100%);
  background-image: url('assets/green house.jpg');
  background-size: cover;
  background-position: center;
}
.card-6 { background: linear-gradient(135deg, #4a3d2d 0%, #352a1f 100%); }
.card-7 { background: linear-gradient(135deg, #4a4035 0%, #2d2620 100%); }
.card-8 { background: linear-gradient(135deg, #3d3530 0%, #2a2522 100%); }

.badge-mais-pedido {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--accent);
  color: var(--bg-dark);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(212, 168, 83, 0.4);
}

.card-body {
  padding: 1.25rem;
}
.card-body h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.card-body .preco {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent);
}

/* ===== História ===== */
.historia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.historia-imagem {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.historia-img {
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #2a2520 0%, #1a1916 100%);
  background-image: url('assets/nossa historia.jpg');
  background-size: cover;
  background-position: center;
}
.historia-texto .section-title {
  text-align: left;
  margin-bottom: 1.5rem;
}
.historia-texto p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .historia-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .historia-texto .section-title {
    text-align: center;
  }
}

/* ===== Ingredientes ===== */
.ingredientes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.ingrediente-card {
  background: var(--bg-charcoal);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  transition: all var(--transition);
}
.ingrediente-card:hover {
  border-color: rgba(212, 168, 83, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.ingrediente-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.ingrediente-card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.ingrediente-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== Depoimentos ===== */
.depoimentos-carrossel {
  position: relative;
  max-width: 560px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.carrossel-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--bg-charcoal);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.carrossel-btn:hover {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
}

.depoimentos-track {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.depoimento {
  display: none;
  text-align: center;
  padding: 1rem 0;
}
.depoimento.active {
  display: block;
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

.depoimento-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--bg-card);
  border: 3px solid var(--accent);
}
.depoimento-avatar.a1 { background: linear-gradient(135deg, #6b5b4f, #4a4035); }
.depoimento-avatar.a2 { background: linear-gradient(135deg, #5a4a3d, #3d3328); }
.depoimento-avatar.a3 { background: linear-gradient(135deg, #5c4a3d, #3d3228); }
.depoimento-avatar.a4 { background: linear-gradient(135deg, #4a4038, #2d2822); }

.depoimento h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.estrelas {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}
.depoimento p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
}

.carrossel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.carrossel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.carrossel-dots .dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* ===== Contato ===== */
.contato-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contato-info .section-title {
  text-align: left;
  margin-bottom: 0.5rem;
}
.contato-intro {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
}
.contato-detalhes {
  font-style: normal;
  margin-bottom: 1.75rem;
}
.contato-detalhes p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.contato-detalhes strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.contato-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn-contato {
  background: var(--bg-charcoal);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-contato:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-outline {
  background: transparent;
}
.btn-outline:hover {
  background: rgba(212, 168, 83, 0.1);
}

/* ---- Bloco do mapa: hover exagerado ---- */
.mapa-decorativo {
  display: block;
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: var(--text-muted);
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.35s ease,
    box-shadow 0.5s ease,
    color 0.35s ease;
}
.mapa-decorativo:hover {
  transform: scale(1.04) rotate(1deg);
  border-color: rgba(212, 168, 83, 0.6);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(212, 168, 83, 0.15),
    0 0 40px rgba(212, 168, 83, 0.2);
  color: var(--text);
}
.mapa-ilustracao {
  aspect-ratio: 400/220;
  max-height: 280px;
  background: var(--bg-charcoal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mapa-decorativo:hover .mapa-ilustracao {
  transform: scale(1.03);
}
.mapa-svg {
  width: 100%;
  max-width: 360px;
  height: auto;
  flex: 1;
  min-height: 140px;
  transition: filter 0.4s ease;
}
.mapa-decorativo:hover .mapa-svg {
  filter: drop-shadow(0 0 12px rgba(212, 168, 83, 0.25));
}
/* Ruas: linhas finas e longas (vista de cima) */
.mapa-rua {
  stroke: rgba(255, 255, 255, 0.09);
  stroke-width: 0.8;
  transition: stroke 0.4s ease, stroke-width 0.4s ease;
}
.mapa-decorativo:hover .mapa-rua {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1;
}
/* Círculo de destaque + pulso */
.mapa-pulse {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  opacity: 0;
  transform-origin: 200px 110px;
  transition: opacity 0.3s ease;
}
.mapa-destaque {
  fill: rgba(255, 255, 255, 0.04);
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1.5;
  transition: fill 0.35s ease, stroke 0.35s ease, transform 0.35s ease;
  transform-origin: 200px 110px;
}
.mapa-decorativo:hover .mapa-pulse {
  opacity: 0.5;
  animation: mapa-pulse-ring 1.2s ease-out infinite;
}
.mapa-decorativo:hover .mapa-destaque {
  fill: rgba(212, 168, 83, 0.15);
  stroke: rgba(212, 168, 83, 0.5);
  animation: mapa-destaque-pulse 0.8s ease-in-out infinite alternate;
}
@keyframes mapa-pulse-ring {
  0% { transform: scale(0.8); opacity: 0.6; stroke-width: 2; }
  100% { transform: scale(1.8); opacity: 0; stroke-width: 0.5; }
}
@keyframes mapa-destaque-pulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); }
}
/* Pin pequeno com bounce exagerado */
.mapa-pin-wrap {
  transform-origin: 0 0;
  transition: transform 0.3s ease;
}
.mapa-decorativo:hover .mapa-pin-wrap {
  animation: mapa-pin-bounce 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}
@keyframes mapa-pin-bounce {
  0%, 100% { transform: translate(200px, 110px) scale(1) translateY(0); }
  45% { transform: translate(200px, 110px) scale(1.25) translateY(-10px); }
  70% { transform: translate(200px, 110px) scale(1.05) translateY(-2px); }
}
.mapa-pin {
  fill: var(--accent);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: fill 0.3s ease, filter 0.3s ease;
}
.mapa-decorativo:hover .mapa-pin {
  fill: var(--accent-hover);
  filter: drop-shadow(0 0 10px rgba(212, 168, 83, 0.6));
}
/* Texto com motion */
.mapa-texto {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.35s ease, letter-spacing 0.35s ease;
}
.mapa-decorativo:hover .mapa-texto {
  color: var(--accent);
  transform: scale(1.08);
  letter-spacing: 0.03em;
}

@media (max-width: 768px) {
  .contato-layout {
    grid-template-columns: 1fr;
  }
  .contato-info .section-title {
    text-align: center;
  }
  .contato-intro {
    text-align: center;
  }
  .contato-ctas {
    justify-content: center;
  }
}

/* ===== Footer ===== */
.footer {
  padding: 2rem 1.5rem;
  background: var(--bg-charcoal);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}
.footer p {
  font-size: 0.9rem;
  color: var(--text-muted);
}
