/* =====================================================
   CAFFÈ ARTISTA — Stylesheet Principal
   Design: Luxury Artisan Editorial
   Versão: 1.0
   ===================================================== */

/* --- Import de Fontes (Google Fonts) --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Jost:wght@300;400;500;600&display=swap');

/* =====================================================
   DESIGN TOKENS — Variáveis CSS
   ===================================================== */
:root {
  /* === Cores (Modo Claro) === */
  --bg-primary:    #FAF6F0;
  --bg-secondary:  #F0E8DA;
  --bg-card:       #FFFFFF;
  --text-primary:  #2C1810;
  --text-secondary:#6B5744;
  --text-muted:    #9B8578;
  --accent:        #C8860A;
  --accent-hover:  #A06B08;
  --accent-light:  rgba(200, 134, 10, 0.12);
  --accent-gold:   #D4A853;
  --border:        rgba(44, 24, 16, 0.10);
  --border-hover:  rgba(44, 24, 16, 0.25);
  --shadow-sm:     rgba(44, 24, 16, 0.06);
  --shadow-md:     rgba(44, 24, 16, 0.14);
  --shadow-lg:     rgba(44, 24, 16, 0.25);
  --header-bg:     rgba(250, 246, 240, 0.94);
  --success:       #166534;
  --success-bg:    #DCFCE7;
  --error:         #EF4444;

  /* === Tipografia === */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  /* === Layout === */
  --container-max:   1280px;
  --section-padding: 100px 0;
  --nav-height:      72px;

  /* === Animações === */
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:  cubic-bezier(0, 0, 0.2, 1);
  --tr:        0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-slow:   0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* === Bordas === */
  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-full: 9999px;
}

/* === Modo Escuro === */
[data-theme="dark"] {
  --bg-primary:    #0E0905;
  --bg-secondary:  #180C07;
  --bg-card:       #1F1109;
  --text-primary:  #F0E6D3;
  --text-secondary:#C0A485;
  --text-muted:    #7A6050;
  --accent:        #D4A853;
  --accent-hover:  #F0C870;
  --accent-light:  rgba(212, 168, 83, 0.15);
  --border:        rgba(240, 230, 211, 0.08);
  --border-hover:  rgba(240, 230, 211, 0.20);
  --shadow-sm:     rgba(0, 0, 0, 0.25);
  --shadow-md:     rgba(0, 0, 0, 0.40);
  --shadow-lg:     rgba(0, 0, 0, 0.60);
  --header-bg:     rgba(14, 9, 5, 0.96);
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  transition: background var(--tr), color var(--tr);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, textarea { font-family: var(--font-body); }
button { cursor: pointer; border: none; background: none; }

/* =====================================================
   UTILITÁRIOS
   ===================================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.section-padding { padding: var(--section-padding); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header.left { text-align: left; }

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.8;
}
.section-header.left .section-subtitle { margin: 0; }

/* =====================================================
   BOTÕES
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all var(--tr);
  position: relative;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #1A0F08;
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(200,134,10,0.32);
}
.btn-outline {
  border: 1.5px solid rgba(240,230,211,0.6);
  color: #F0E6D3;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-outline-dark {
  border: 1.5px solid var(--border-hover);
  color: var(--text-primary);
}
.btn-outline-dark:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-sm {
  padding: 9px 20px;
  font-size: 0.8rem;
}

/* =====================================================
   LOADER — Tela de carregamento
   ===================================================== */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-coffee {
  font-size: 3rem;
  animation: coffeeFloat 1.6s ease-in-out infinite alternate;
}
@keyframes coffeeFloat {
  from { transform: translateY(0px) rotate(-5deg); }
  to   { transform: translateY(-12px) rotate(5deg); }
}
.loader-logo {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.06em;
}
.loader-bar {
  width: 200px;
  height: 2px;
  background: var(--border);
  border-radius: var(--r-full);
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: var(--accent);
  border-radius: var(--r-full);
  animation: fill 2s var(--ease) forwards;
}
@keyframes fill { from { width: 0 } to { width: 100% } }

/* =====================================================
   HEADER / NAVBAR
   ===================================================== */
#header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--header-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: background var(--tr), border-color var(--tr);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.logo-cup img{
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  border-radius: var(--r-sm);
  transition: color var(--tr);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--tr);
  border-radius: var(--r-full);
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { transform: scaleX(1); }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: all var(--tr);
}
.theme-btn:hover {
  background: var(--accent-light);
  color: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--bg-secondary);
  border-radius: var(--r-sm);
}
.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--tr);
}
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu overlay */
#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: calc(var(--nav-height) + 1px);
  background: var(--bg-primary);
  z-index: 490;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity var(--tr);
}
#mobile-menu.open {
  display: flex;
  opacity: 1;
}
#mobile-menu .nav-link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  padding: 16px 40px;
  color: var(--text-primary);
}
#mobile-menu .nav-link::after {
  left: 40px;
  right: 40px;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
#home {
  position: relative;
  min-height: 98vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?w=1920&q=85&fit=crop&auto=format');
  background-size: cover;
  background-position: center 40%;
  background-attachment: fixed;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(10,6,3,0.88) 0%,
    rgba(30,15,8,0.65) 55%,
    rgba(10,6,3,0.30) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 0 24px;
  margin-left: max(24px, calc((100vw - var(--container-max)) / 2 + 24px));
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border: 1px solid rgba(212,168,83,0.4);
  background: rgba(212,168,83,0.1);
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 4rem);
  font-weight: 600;
  line-height: 1.04;
  color: #F5EDD8;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--accent-gold);
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(245,237,216,0.70);
  margin-bottom: 40px;
  max-width: 460px;
  font-weight: 300;
  line-height: 1.85;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Stats flutuantes */
.hero-stats {
  position: absolute;
  bottom: 52px;
  right: max(24px, calc((100vw - var(--container-max)) / 2 + 24px));
  z-index: 2;
  display: flex;
  gap: 36px;
}
.hero-stat { text-align: right; }
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--accent-gold);
  line-height: 1;
}
.hero-stat .lbl {
  font-size: 0.72rem;
  color: rgba(245,237,216,0.55);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 5px;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(245,237,216,0.4);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* =====================================================
   SOBRE SECTION
   ===================================================== */
#sobre { background: var(--bg-secondary); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-img-wrap { position: relative; }
.about-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--r-lg);
}
.about-accent-block {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  background: var(--accent);
  border-radius: var(--r-lg);
  opacity: 0.25;
  z-index: -1;
}
.about-badge-float {
  position: absolute;
  bottom: 28px;
  right: -28px;
  width: 90px;
  background: var(--bg-card);
  border-radius: var(--r-md);
  box-shadow: 0 12px 40px var(--shadow-md);
  text-align: center;
  border: 1px solid var(--border);
}
.about-badge-float img{border-radius: var(--r-md);}
.about-badge-float .big-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.about-badge-float .small-txt {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 5px;
}
.about-content p {
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.95;
  margin-bottom: 18px;
  font-size: 0.97rem;
}
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.value-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px var(--shadow-sm);
}
.value-icon { font-size: 1.5rem; margin-bottom: 8px; }
.value-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.value-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* =====================================================
   CARDÁPIO SECTION
   ===================================================== */
#cardapio { background: var(--bg-primary); }

/* Produto do dia */
.produto-dia {
  background: linear-gradient(135deg, var(--accent) 0%, #8C5A05 100%);
  border-radius: var(--r-xl);
  padding: 40px 48px;
  margin-bottom: 52px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.produto-dia::before {
  content: '☕';
  position: absolute;
  right: -10px;
  bottom: -20px;
  font-size: 9rem;
  opacity: 0.12;
  line-height: 1;
}
.pd-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(26,15,8,0.6);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pd-name {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  color: #1A0F08;
  margin-bottom: 8px;
}
.pd-desc {
  color: rgba(26,15,8,0.7);
  font-size: 0.94rem;
  font-weight: 300;
}
.pd-price-wrap { text-align: right; flex-shrink: 0; }
.pd-old {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: rgba(26,15,8,0.45);
  text-decoration: line-through;
  line-height: 1;
}
.pd-price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: #1A0F08;
  line-height: 1;
  margin-bottom: 12px;
}

/* Filtros */
.menu-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 10px 24px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all var(--tr);
  font-family: var(--font-body);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #1A0F08;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(200,134,10,0.25);
}

/* Grade de cards */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(256px, 1fr));
  gap: 22px;
}
.menu-card {
  background: var(--bg-card);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--tr);
  position: relative;
  display:flex;
  flex-direction:column;
  animation: fadeCard 0.4s var(--ease) both;
}
@keyframes fadeCard {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px var(--shadow-md);
  border-color: transparent;
}
.menu-card.hidden { display: none !important; }
.menu-loading,
.menu-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
}
.card-img-wrap {
  position: relative;
  height: 195px;
  overflow: hidden;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.menu-card:hover .card-img-wrap img { transform: scale(1.08); }

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #1A0F08;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-full);
}

.card-body { 
  padding: 18px 20px 0px; 
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-cat {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}
.card-name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
  line-height: 1.2;
}
.card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.card-footer {
    padding:16px 20px 20px;
    text-align:right;
}
.card-footer span {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* =====================================================
   DELIVERY SECTION
   ===================================================== */
#delivery { background: var(--bg-secondary); }

.delivery-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.delivery-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  text-align: center;
  width: 300px;
  flex-shrink: 0;
  transition: all var(--tr);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.delivery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px var(--shadow-md);
  border-color: var(--accent);
}
.delivery-logo-wrap {
  width: 72px;
  height: 72px;
  border-radius: var(--r-md);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.delivery-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}
.delivery-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.delivery-card a{
  margin-top: auto;
}
/* =====================================================
   AVALIAÇÕES / REVIEWS SECTION
   ===================================================== */
#avaliacoes { background: var(--bg-primary); }

.reviews-outer { overflow: hidden; }
.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s var(--ease-out);
  will-change: transform;
}
.review-card {
  min-width: calc(33% - 16px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px;
  flex-shrink: 0;
}
.stars {
  display: flex;
  gap: 3px;
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.review-text {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.75;
  margin-bottom: 24px;
}
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.review-name { font-weight: 600; font-size: 0.88rem; }
.review-role { font-size: 0.78rem; color: var(--text-muted); }

/* Slider controles */
.slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}
.slider-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--tr);
  font-size: 0.9rem;
}
.slider-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}
.slider-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border-hover);
  cursor: pointer;
  transition: all var(--tr);
}
.dot.active {
  background: var(--accent);
  width: 22px;
  border-radius: var(--r-full);
}

/* =====================================================
   GALERIA SECTION
   ===================================================== */
#galeria { background: var(--bg-secondary); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 215px;
  gap: 14px;
}
.gal-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  cursor: zoom-in;
}
.gal-item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gal-item:nth-child(4) { grid-column: span 2; aspect-ratio: auto; }
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,15,8,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--tr);
}
.gal-overlay i { color: #F5EDD8; font-size: 2rem; }
.gal-item:hover img { transform: scale(1.08); }
.gal-item:hover .gal-overlay { opacity: 1; }

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,3,1,0.92);
  z-index: 900;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-height: 85vh;
  max-width: 90vw;
  border-radius: var(--r-md);
  object-fit: contain;
}
#lightbox .lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: rgba(245,237,216,0.7);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--tr);
}
#lightbox .lb-close:hover { color: var(--accent-gold); }

/* =====================================================
   LOCALIZAÇÃO SECTION
   ===================================================== */
#localizacao { background: var(--bg-primary); }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 52px;
  align-items: start;
}
.location-info { display: flex; flex-direction: column; gap: 26px; }
.loc-item { display: flex; gap: 16px; align-items: flex-start; }
.loc-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}
.loc-item h4 { font-weight: 600; font-size: 0.92rem; margin-bottom: 4px; }
.loc-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
  margin-top: 4px;
}
.hours-grid span { font-size: 0.82rem; color: var(--text-muted); }
.hours-grid span:nth-child(odd) { font-weight: 500; color: var(--text-secondary); }

.map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 400px;
  border: 1px solid var(--border);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* =====================================================
   CONTATO SECTION
   ===================================================== */
#contato { background: var(--bg-secondary); }

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.contact-info { padding-top: 10px; display: flex; flex-direction: column; gap: 22px; }
.contact-info p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 8px;
}
.cinfo-item { display: flex; gap: 14px; align-items: flex-start; }
.cinfo-item .ci-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.cinfo-item h5 { font-weight: 600; font-size: 0.88rem; margin-bottom: 2px; }
.cinfo-item p { font-size: 0.84rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* Formulário */
.contact-form {
  background: var(--bg-card);
  border-radius: var(--r-xl);
  padding: 44px;
  border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-input, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 0.93rem;
  transition: all var(--tr);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,134,10,0.12);
}
.form-textarea { min-height: 130px; resize: none; }
.form-group.has-error .form-input,
.form-group.has-error .form-textarea { border-color: var(--error); }
.form-err {
  font-size: 0.76rem;
  color: var(--error);
  margin-top: 5px;
  display: none;
}
.form-group.has-error .form-err { display: block; }
.form-ok {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  background: var(--success-bg);
  color: var(--success);
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 16px;
}
.form-ok.show { display: flex; }

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background: #150C06;
  color: rgba(240,230,211,0.65);
  padding: 64px 0 28px;
}
[data-theme="dark"] footer { background: #080402; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 900;
  margin: 0 1px;
  color: #f59e0b !important;
  letter-spacing: -0.5px;
}
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: #F0E6D3;
  margin-bottom: 14px;
}
.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.85;
  margin-bottom: 24px;
  max-width: 280px;
}
.socials { display: flex; gap: 10px; }
.social-a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(240,230,211,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(240,230,211,0.55);
  font-size: 0.85rem;
  transition: all var(--tr);
}
.social-a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #1A0F08;
  transform: translateY(-3px);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #F0E6D3;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(240,230,211,0.55);
  transition: color var(--tr);
}
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(240,230,211,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--accent); }

/* =====================================================
   BACK TO TOP
   ===================================================== */
#back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #1A0F08;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(200,134,10,0.4);
  cursor: pointer;
  z-index: 300;
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--tr);
  border: none;
}
#back-top.show { opacity: 1; transform: translateY(0); }
#back-top:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(200,134,10,0.5); }

/* =====================================================
   SCROLL REVEAL ANIMATIONS
   ===================================================== */
.sr { opacity: 0; transform: translateY(28px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.sr.from-left { transform: translateX(-36px); }
.sr.from-right { transform: translateX(36px); }
.sr.scale { transform: scale(0.94); }
.sr.visible { opacity: 1 !important; transform: none !important; }

/* Stagger delays for children */
.stagger > * { transition-delay: calc(var(--i, 0) * 0.08s); }

/* =====================================================
   TOAST NOTIFICATION
   ===================================================== */
.toast {
  position: fixed;
  bottom: 90px;
  right: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px var(--shadow-md);
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 800;
  transform: translateX(120%);
  transition: transform var(--tr);
  pointer-events: none;
  min-width: 240px;
}
.toast.show { transform: translateX(0); }
.toast-icon { font-size: 1.1rem; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img { height: 400px; }
  .about-badge-float { right: 16px; bottom: 16px; }
}

@media (max-width: 900px) {
  :root { --section-padding: 72px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gal-item:nth-child(5) { grid-column: span 1; }
  .location-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .review-card { min-width: calc(50% - 12px); }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn { display: none; }
  .hamburger { display: flex; }
  .hero-stats { display: none; }
  .hero-content { margin-left: 0; max-width: 100%; padding: 0 24px 0 10px; }
  .produto-dia { grid-template-columns: 1fr; text-align: center; padding: 30px 24px; }
  .pd-price-wrap { text-align: center; }
  .about-values { grid-template-columns: 1fr; }
  .delivery-card { width: 100%; max-width: 400px; }
  .delivery-cards { flex-direction: column; align-items: center; }
  .review-card { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 540px) {
  .menu-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.6rem; }
  .hero-actions { flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .gal-item:nth-child(1) { grid-column: span 2; }
  .gal-item:nth-child(5) { grid-column: span 1; }
}