/* ============================================
   FAMÍLIA OLIVEIRA — CARDÁPIO PREMIUM
   Tema: Escuro & Elegante
   ============================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0e0e0e;
  --bg-section: #141414;
  --bg-card: #1a1a1a;
  --gold: #c9a84c;
  --gold-light: #e4cc80;
  --gold-dim: #8a6d2b;
  --white: #f5f0e8;
  --white-soft: #c9c2b4;
  --red-accent: #8b2020;
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Lato', 'Helvetica Neue', sans-serif;
  --font-script: 'Great Vibes', cursive;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background-color: var(--bg-dark);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(139, 32, 32, 0.06) 0%, transparent 60%),
    var(--bg-dark);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(201, 168, 76, 0.015) 2px,
      rgba(201, 168, 76, 0.015) 4px
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}

.hero-title {
  font-family: var(--font-script);
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  opacity: 0;
  animation: fadeUp 1s ease 0.6s forwards;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
}

.divider::before,
.divider::after {
  content: '';
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.divider-leaf {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 6px rgba(201, 168, 76, 0.3));
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white-soft);
  opacity: 0;
  animation: fadeUp 1s ease 1.2s forwards;
}

/* ---------- Navigation ---------- */
.menu-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 14, 14, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.menu-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
}

.menu-nav a {
  display: block;
  padding: 0.5rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white-soft);
  border: 1px solid transparent;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.menu-nav a:hover {
  color: var(--gold);
  border-color: rgba(201, 168, 76, 0.3);
  background: rgba(201, 168, 76, 0.05);
}

/* ---------- Menu Container ---------- */
.menu-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* ---------- Section ---------- */
.menu-section {
  margin-bottom: 4rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.section-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1rem auto 0;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
}

.section-size {
  display: inline-block;
  margin-top: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

/* ---------- Menu Grid ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

/* ---------- Menu Item ---------- */
.menu-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  transition: background 0.3s ease;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:hover {
  background: rgba(201, 168, 76, 0.03);
}

.item-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.item-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
}

.item-dots {
  flex: 1;
  min-width: 20px;
  border-bottom: 1px dotted rgba(201, 168, 76, 0.25);
  position: relative;
  top: -4px;
}

.item-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.item-desc {
  margin-top: 0.3rem;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--white-soft);
  line-height: 1.5;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: 3rem 1.5rem;
  text-align: center;
  background: var(--bg-dark);
}

.footer-brand {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--white-soft);
  opacity: 0.5;
  letter-spacing: 0.1em;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Responsive ---------- */
@media (min-width: 700px) {
  .menu-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 3rem;
  }

  .menu-item {
    padding: 1.1rem 0;
  }
}

@media (max-width: 600px) {
  .menu-nav ul {
    justify-content: center;
    padding: 0.6rem 0.5rem;
    gap: 0.3rem;
  }

  .menu-nav a {
    font-size: 0.72rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 20px;
  }

  .menu-container {
    padding: 1.5rem 1rem 3rem;
  }

  .item-name {
    font-size: 1.02rem;
  }

  .item-price {
    font-size: 0.98rem;
  }

  .item-desc {
    font-size: 0.82rem;
  }

  .section-header {
    margin-bottom: 1.8rem;
  }

  .menu-section {
    margin-bottom: 3rem;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 2.6rem;
  }

  .menu-nav a {
    font-size: 0.65rem;
    padding: 0.35rem 0.6rem;
  }
}
