/* ============================================
   SABOR SELETO — Design System
   Vibrante, quente, apetitoso
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Nunito:wght@300;400;600;700;800&family=Dancing+Script:wght@700&display=swap');

:root {
  --laranja:     #F26522;
  --laranja-esc: #D94F10;
  --amarelo:     #F7C948;
  --vermelho:    #C1292E;
  --verde:       #3A7D44;
  --creme:       #FFF8F0;
  --marrom:      #3E1F00;
  --marrom-med:  #7A3B00;
  --cinza-claro: #F5F0EB;
  --cinza-texto: #5A4A3A;
  --branco:      #FFFFFF;
  --sombra:      0 4px 24px rgba(62,31,0,0.10);
  --sombra-lg:   0 8px 40px rgba(62,31,0,0.16);
  --radius:      16px;
  --radius-sm:   8px;
  --transition:  all 0.3s cubic-bezier(0.4,0,0.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--creme);
  color: var(--marrom);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- TIPOGRAFIA ---- */
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }
.script { font-family: 'Dancing Script', cursive; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(255,248,240,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--amarelo);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
  box-shadow: 0 2px 20px rgba(62,31,0,0.08);
}
.navbar-brand {
  display: flex; align-items: center; gap: 0.5rem;
  text-decoration: none;
}
.navbar-brand .logo-text {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  color: var(--laranja);
  line-height: 1;
}
.navbar-brand .logo-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--marrom-med);
  font-weight: 700;
}
.nav-links {
  display: flex; gap: 0.5rem; list-style: none; align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--marrom);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--laranja);
  color: var(--branco);
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--marrom); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--marrom) 0%, #6B2D00 50%, var(--laranja-esc) 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F7C948' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-shapes {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}
.hero-shape-1 { width: 500px; height: 500px; background: var(--amarelo); top: -150px; right: -100px; }
.hero-shape-2 { width: 300px; height: 300px; background: var(--laranja); bottom: -80px; left: -60px; }
.hero-shape-3 { width: 200px; height: 200px; background: var(--vermelho); top: 30%; left: 10%; }

.hero-content { position: relative; z-index: 1; max-width: 800px; padding: 2rem; }
.hero-badge {
  display: inline-block;
  background: var(--amarelo);
  color: var(--marrom);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  color: var(--branco);
  margin-bottom: 0.5rem;
}
.hero h1 span { color: var(--amarelo); font-style: italic; }
.hero-sub {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
}
.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- BOTÕES ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-primary { background: var(--laranja); color: var(--branco); }
.btn-primary:hover { background: var(--laranja-esc); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(242,101,34,0.4); }
.btn-secondary { background: transparent; color: var(--branco); border: 2px solid rgba(255,255,255,0.5); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--branco); }
.btn-outline { background: transparent; color: var(--laranja); border: 2px solid var(--laranja); }
.btn-outline:hover { background: var(--laranja); color: var(--branco); }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.82rem; }
.btn-danger { background: var(--vermelho); color: var(--branco); }
.btn-danger:hover { background: #9e1f24; }
.btn-success { background: var(--verde); color: var(--branco); }
.btn-success:hover { background: #2d6035; }

/* ---- SEÇÕES ---- */
section { padding: 5rem 2rem; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block;
  background: var(--amarelo);
  color: var(--marrom);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--marrom); }
.section-header p { color: var(--cinza-texto); max-width: 560px; margin: 0.75rem auto 0; }

/* ---- CARDS DE RECEITA ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.recipe-card {
  background: var(--branco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
.recipe-card:hover { transform: translateY(-6px); box-shadow: var(--sombra-lg); }
.card-img {
  width: 100%; height: 220px; object-fit: cover;
  transition: transform 0.4s ease;
}
.recipe-card:hover .card-img { transform: scale(1.05); }
.card-img-wrap { overflow: hidden; position: relative; }
.card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--laranja);
  color: var(--branco);
  font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}
.card-body { padding: 1.4rem; }
.card-category {
  font-size: 0.75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--laranja);
  margin-bottom: 0.4rem;
}
.card-title { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--marrom); margin-bottom: 0.5rem; }
.card-desc { font-size: 0.9rem; color: var(--cinza-texto); line-height: 1.6; margin-bottom: 1rem; }
.card-meta {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.8rem; color: var(--cinza-texto);
}
.card-stars { color: var(--amarelo); font-size: 0.85rem; }

/* ---- FILTROS ---- */
.filters-wrap { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.filter-btn {
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  border: 2px solid transparent;
  background: var(--branco);
  color: var(--marrom);
  font-family: 'Nunito', sans-serif;
  font-weight: 700; font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--sombra);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--laranja); color: var(--branco); border-color: var(--laranja);
}

/* ---- SEÇÃO SOBRE ---- */
.sobre-section {
  background: linear-gradient(135deg, var(--marrom) 0%, #5A2800 100%);
  color: var(--branco);
}
.sobre-inner {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: center;
}
.sobre-img-wrap {
  position: relative;
}
.sobre-img-placeholder {
  width: 100%; aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--laranja) 0%, var(--amarelo) 100%);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}
.sobre-deco {
  position: absolute; bottom: -20px; right: -20px;
  width: 120px; height: 120px;
  background: var(--amarelo);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Dancing Script', cursive;
  font-size: 1rem;
  color: var(--marrom);
  text-align: center;
  line-height: 1.3;
  padding: 1rem;
  font-weight: 700;
}
.sobre-tag { color: var(--amarelo); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 1rem; }
.sobre-section h2 { color: var(--branco); font-size: 2.5rem; margin-bottom: 1.5rem; }
.sobre-section h2 span { color: var(--amarelo); font-style: italic; }
.sobre-section p { color: rgba(255,255,255,0.85); margin-bottom: 1rem; font-size: 1.05rem; }

/* ---- INGREDIENTES ---- */
.ingredientes-section { background: var(--cinza-claro); }
.ingrediente-card {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--sombra);
  transition: var(--transition);
  cursor: pointer;
  border-left: 4px solid var(--laranja);
  display: block; text-decoration: none; color: inherit;
}
.ingrediente-card:hover { transform: translateX(6px); box-shadow: var(--sombra-lg); }
.ingrediente-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.ingrediente-card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--marrom); }
.ingrediente-card p { font-size: 0.9rem; color: var(--cinza-texto); }
.ingredientes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }

/* ---- ONDE COMER ---- */
.onde-section { background: var(--creme); }
.onde-card {
  background: var(--branco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: var(--transition);
}
.onde-card:hover { transform: translateY(-4px); box-shadow: var(--sombra-lg); }
.onde-card-img { width: 100%; height: 180px; object-fit: cover; }
.onde-card-body { padding: 1.25rem; }
.onde-card-city { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--verde); margin-bottom: 0.3rem; }
.onde-card-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 0.4rem; }
.onde-card-desc { font-size: 0.85rem; color: var(--cinza-texto); }
.onde-coming { text-align: center; padding: 4rem 2rem; }
.onde-coming .big-emoji { font-size: 4rem; margin-bottom: 1rem; }
.onde-coming h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin-bottom: 0.75rem; color: var(--marrom); }
.onde-coming p { color: var(--cinza-texto); max-width: 400px; margin: 0 auto; }

/* ---- NEWSLETTER ---- */
.newsletter-section {
  background: linear-gradient(135deg, var(--laranja) 0%, var(--vermelho) 100%);
  text-align: center;
  padding: 4rem 2rem;
}
.newsletter-section h2 { color: var(--branco); font-size: 2rem; margin-bottom: 0.5rem; }
.newsletter-section p { color: rgba(255,255,255,0.9); margin-bottom: 2rem; }
.newsletter-form { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; max-width: 500px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; min-width: 220px;
  padding: 0.85rem 1.5rem;
  border-radius: 50px; border: none;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  outline: none;
}
.newsletter-form button { white-space: nowrap; }

/* ---- FOOTER ---- */
footer {
  background: var(--marrom);
  color: rgba(255,255,255,0.7);
  padding: 3rem 2rem 2rem;
  text-align: center;
}
.footer-logo {
  font-family: 'Dancing Script', cursive;
  font-size: 2.2rem;
  color: var(--amarelo);
  margin-bottom: 0.5rem;
}
.footer-tagline { font-size: 0.85rem; margin-bottom: 2rem; }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--amarelo); }
.footer-copy { font-size: 0.8rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; margin-top: 1rem; }

/* ---- PÁGINA DE RECEITA ---- */
.receita-hero {
  height: 60vh; min-height: 400px;
  position: relative;
  margin-top: 70px;
  overflow: hidden;
}
.receita-hero img { width: 100%; height: 100%; object-fit: cover; }
.receita-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(62,31,0,0.9) 0%, transparent 60%);
  display: flex; align-items: flex-end;
  padding: 3rem;
}
.receita-hero-content { max-width: 900px; color: var(--branco); }
.receita-hero-cat { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; color: var(--amarelo); margin-bottom: 0.5rem; }
.receita-hero-title { font-size: clamp(1.8rem, 5vw, 3.5rem); color: var(--branco); }

.receita-body { max-width: 900px; margin: 0 auto; padding: 3rem 2rem; }
.receita-meta-bar {
  display: flex; gap: 2rem; flex-wrap: wrap;
  background: var(--branco); border-radius: var(--radius);
  padding: 1.5rem 2rem;
  box-shadow: var(--sombra);
  margin-bottom: 2.5rem;
}
.meta-item { text-align: center; }
.meta-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 2px; color: var(--cinza-texto); font-weight: 800; }
.meta-value { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--marrom); }

.ingredientes-lista { margin-bottom: 2rem; }
.ingredientes-lista h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin-bottom: 1rem; color: var(--marrom); }
.ingrediente-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--cinza-claro);
  font-size: 0.95rem;
}
.ingrediente-item::before { content: '•'; color: var(--laranja); font-size: 1.2rem; }

.modo-preparo h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--marrom); }
.passo {
  display: flex; gap: 1.25rem; margin-bottom: 1.5rem; align-items: flex-start;
}
.passo-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--laranja); color: var(--branco);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem; flex-shrink: 0;
}
.passo-text { font-size: 0.95rem; color: var(--cinza-texto); padding-top: 0.4rem; line-height: 1.7; }

/* ---- AVALIAÇÃO (ESTRELAS) ---- */
.avaliacao-section {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2.5rem 0;
  box-shadow: var(--sombra);
}
.avaliacao-section h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 1.5rem; color: var(--marrom); }
.star-rating { display: flex; gap: 0.35rem; margin-bottom: 1rem; }
.star {
  font-size: 2rem; cursor: pointer;
  color: #ddd; transition: color 0.2s;
}
.star.active, .star:hover { color: var(--amarelo); }
.avg-display { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.avg-num { font-family: 'Playfair Display', serif; font-size: 3rem; color: var(--marrom); line-height: 1; }
.avg-stars { color: var(--amarelo); font-size: 1.2rem; }
.avg-count { font-size: 0.85rem; color: var(--cinza-texto); }

/* ---- COMENTÁRIOS ---- */
.comentarios-section { margin: 2rem 0; }
.comentarios-section h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 1.5rem; color: var(--marrom); }
.comentario-form { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.comentario-form input,
.comentario-form textarea {
  padding: 0.85rem 1.25rem;
  border: 2px solid var(--cinza-claro);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--marrom);
  background: var(--creme);
  outline: none;
  transition: border-color 0.2s;
}
.comentario-form input:focus,
.comentario-form textarea:focus { border-color: var(--laranja); }
.comentario-form textarea { resize: vertical; min-height: 100px; }

.comentario-item {
  background: var(--creme);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--laranja);
}
.comentario-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.comentario-autor { font-weight: 800; color: var(--marrom); font-size: 0.95rem; }
.comentario-data { font-size: 0.75rem; color: var(--cinza-texto); }
.comentario-texto { font-size: 0.9rem; color: var(--cinza-texto); line-height: 1.6; }

/* ---- ADMIN ---- */
.admin-body { background: #1a0a00; min-height: 100vh; }
.admin-login {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1a0a00 0%, #3E1F00 100%);
}
.admin-login-box {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 3rem;
  width: 100%; max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  text-align: center;
}
.admin-login-box .logo { font-family: 'Dancing Script', cursive; font-size: 2.5rem; color: var(--laranja); margin-bottom: 0.25rem; }
.admin-login-box h2 { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 2rem; color: var(--marrom); }
.admin-input {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border: 2px solid var(--cinza-claro);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.admin-input:focus { border-color: var(--laranja); }

.admin-dashboard { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--marrom);
  padding: 2rem 1.5rem;
  position: fixed; top: 0; left: 0; height: 100vh;
  overflow-y: auto;
  z-index: 100;
}
.admin-sidebar .logo { font-family: 'Dancing Script', cursive; font-size: 1.8rem; color: var(--amarelo); margin-bottom: 0.25rem; }
.admin-sidebar .logo-sub { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.5); margin-bottom: 2rem; display: block; }
.sidebar-menu { list-style: none; }
.sidebar-menu li { margin-bottom: 0.4rem; }
.sidebar-menu a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem; font-weight: 700;
  transition: var(--transition);
}
.sidebar-menu a:hover, .sidebar-menu a.active { background: var(--laranja); color: var(--branco); }
.sidebar-menu .menu-icon { font-size: 1.1rem; }
.sidebar-section { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.3); margin: 1.5rem 0 0.5rem 1rem; }

.admin-main {
  margin-left: 260px;
  flex: 1;
  background: #f5f0eb;
  min-height: 100vh;
}
.admin-topbar {
  background: var(--branco);
  padding: 1.25rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky; top: 0; z-index: 50;
}
.admin-topbar h1 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--marrom); }
.admin-content { padding: 2rem; }

.admin-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.stat-card {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--sombra);
  border-top: 4px solid var(--laranja);
}
.stat-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--marrom); }
.stat-label { font-size: 0.8rem; color: var(--cinza-texto); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }

.admin-card {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--sombra);
  margin-bottom: 1.5rem;
}
.admin-card h2 { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 1.5rem; color: var(--marrom); padding-bottom: 0.75rem; border-bottom: 2px solid var(--cinza-claro); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--cinza-texto); }
.form-control {
  padding: 0.75rem 1rem;
  border: 2px solid var(--cinza-claro);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--marrom);
  background: var(--creme);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-control:focus { border-color: var(--laranja); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { cursor: pointer; }

.ingredientes-editor, .passos-editor { display: flex; flex-direction: column; gap: 0.5rem; }
.ingrediente-row, .passo-row {
  display: flex; gap: 0.5rem; align-items: center;
}
.ingrediente-row input, .passo-row textarea {
  flex: 1;
  padding: 0.6rem 0.85rem;
  border: 2px solid var(--cinza-claro);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  color: var(--marrom);
  background: var(--creme);
  outline: none;
  transition: border-color 0.2s;
}
.passo-row textarea { min-height: 60px; resize: vertical; }
.ingrediente-row input:focus, .passo-row textarea:focus { border-color: var(--laranja); }
.btn-remove { background: none; border: 2px solid #ddd; border-radius: 50%; width: 32px; height: 32px; cursor: pointer; font-size: 1rem; color: var(--cinza-texto); display: flex; align-items: center; justify-content: center; transition: var(--transition); flex-shrink: 0; }
.btn-remove:hover { border-color: var(--vermelho); color: var(--vermelho); background: #fff0f0; }
.btn-add-row { background: none; border: 2px dashed var(--laranja); color: var(--laranja); padding: 0.5rem 1rem; border-radius: var(--radius-sm); cursor: pointer; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 0.85rem; transition: var(--transition); margin-top: 0.25rem; }
.btn-add-row:hover { background: rgba(242,101,34,0.05); }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; padding: 0.75rem 1rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--cinza-texto); border-bottom: 2px solid var(--cinza-claro); }
.admin-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--cinza-claro); font-size: 0.9rem; vertical-align: middle; }
.admin-table tr:hover td { background: var(--creme); }
.table-img { width: 50px; height: 40px; object-fit: cover; border-radius: var(--radius-sm); }
.badge { display: inline-block; padding: 0.2rem 0.65rem; border-radius: 50px; font-size: 0.72rem; font-weight: 800; }
.badge-receita { background: rgba(242,101,34,0.15); color: var(--laranja-esc); }
.badge-ingrediente { background: rgba(58,125,68,0.15); color: var(--verde); }
.badge-lugar { background: rgba(247,201,72,0.2); color: #8a6a00; }

.toast {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--verde); color: var(--branco);
  padding: 1rem 1.5rem; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.9rem;
  box-shadow: var(--sombra-lg);
  z-index: 9999;
  transform: translateY(100px); opacity: 0;
  transition: var(--transition);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { background: var(--vermelho); }

/* ---- UTILITÁRIOS ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.hidden { display: none !important; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-1 { gap: 1rem; }
.justify-between { justify-content: space-between; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .sobre-inner { grid-template-columns: 1fr; }
  .sobre-img-wrap { max-width: 280px; margin: 0 auto; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; width: 100%; background: var(--creme); padding: 1rem; box-shadow: var(--sombra); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .admin-sidebar { width: 100%; height: auto; position: relative; }
  .admin-main { margin-left: 0; }
  .admin-dashboard { flex-direction: column; }
  .receita-hero-overlay { padding: 1.5rem; }
  .receita-meta-bar { gap: 1rem; }
}

/* ---- ANIMAÇÕES ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease forwards; }
.fade-in-2 { animation: fadeInUp 0.6s 0.15s ease both; }
.fade-in-3 { animation: fadeInUp 0.6s 0.3s ease both; }
.fade-in-4 { animation: fadeInUp 0.6s 0.45s ease both; }

/* ---- LOADING ---- */
.loading { text-align: center; padding: 3rem; color: var(--cinza-texto); }
.spinner {
  width: 40px; height: 40px;
  border: 4px solid var(--cinza-claro);
  border-top-color: var(--laranja);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- EMPTY STATE ---- */
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--cinza-texto); }
.empty-state .emoji { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 0.5rem; color: var(--marrom); }
