/* ============================================
   MESA e EVENTOS - Site de Notícias
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700;800&display=swap');

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

:root {
  --green-dark: #3b0a1e;
  --green-medium: #5c1a35;
  --green-light: #7a2848;
  --gold: #d4a533;
  --gold-light: #e8c36a;
  --gold-dark: #b8912a;
  --bg: #faf8f4;
  --bg-card: #ffffff;
  --text: #2c2c2c;
  --text-light: #666666;
  --text-muted: #999999;
  --border: #e8e4dc;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.12);
  --radius: 12px;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header --- */
.header {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo-text .accent {
  color: var(--gold);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav-menu a {
  display: block;
  padding: 8px 20px;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  font-weight: 400;
  border-radius: 0;
  transition: color 0.3s;
  letter-spacing: 0.5px;
}

.nav-menu a:hover {
  color: #fff;
}

.nav-menu a.active {
  color: var(--gold);
  font-weight: 500;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  margin: 5px 0;
  transition: all 0.3s;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  background: var(--green-dark);
  padding: 100px 0 120px;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  padding: 0;
  border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 32px;
  position: relative;
  padding-bottom: 16px;
}

.hero-badge::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 28px;
  line-height: 1.05;
  letter-spacing: -2px;
  font-weight: 800;
}

.hero h1 .highlight {
  color: var(--gold);
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.55;
  margin-bottom: 40px;
  max-width: 520px;
  line-height: 1.7;
  font-weight: 400;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
}

.btn-gold {
  background: var(--gold);
  color: var(--green-dark);
}

.btn-gold:hover {
  background: #fff;
  color: var(--green-dark);
}

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

/* --- Section Titles --- */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1rem;
}

.section-title .divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* --- Category Filter --- */
.category-filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border: 2px solid var(--border);
  background: var(--bg-card);
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  color: var(--text-light);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--green-dark);
}

/* --- Articles Grid --- */
.articles-section {
  padding: 60px 0;
}

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

.article-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.article-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.article-card .card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-card .card-body {
  padding: 20px;
}

.card-category {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}

.cat-eventos {
  background: #f5e6ec;
  color: #7a2848;
}

.cat-gastronomia {
  background: #fff3e0;
  color: #e65100;
}

.cat-receitas {
  background: #fce4ec;
  color: #c62828;
}

.article-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--green-dark);
}

.article-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.read-more {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.read-more:hover {
  color: var(--gold);
}

/* --- Products Section (Hotmart) --- */
.products-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #f5f0e6 0%, var(--bg) 100%);
}

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

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  text-align: center;
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.product-card .product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #f5f0e6;
}

.product-card .product-body {
  padding: 20px;
}

.product-card h4 {
  font-size: 1rem;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.product-card .product-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 16px;
  min-height: 40px;
}

.product-card .btn-gold {
  width: 100%;
  text-align: center;
}

/* --- Article Page --- */
.article-page {
  padding: 40px 0;
}

.article-header {
  max-width: 800px;
  margin: 0 auto 32px;
  text-align: center;
}

.article-header h1 {
  font-size: 2.2rem;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.article-meta {
  display: flex;
  gap: 16px;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.article-featured-img {
  width: 100%;
  max-width: 800px;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0 auto 32px;
  display: block;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content h2 {
  font-size: 1.5rem;
  color: var(--green-dark);
  margin: 32px 0 16px;
}

.article-content h3 {
  font-size: 1.2rem;
  color: var(--green-medium);
  margin: 24px 0 12px;
}

.article-content ul,
.article-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 24px;
  margin: 24px 0;
  background: #faf6ed;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-light);
}

/* --- CTA Section (end of article) --- */
.cta-section {
  max-width: 800px;
  margin: 48px auto 0;
  padding: 40px;
  background: var(--green-dark);
  border-radius: var(--radius);
  color: white;
}

.cta-section h2 {
  text-align: center;
  margin-bottom: 8px;
  font-size: 1.6rem;
}

.cta-section > p {
  text-align: center;
  opacity: 0.85;
  margin-bottom: 28px;
}

.cta-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.cta-product-card {
  display: flex;
  gap: 16px;
  background: rgba(255,255,255,0.1);
  padding: 16px;
  border-radius: 10px;
  align-items: center;
  transition: background 0.2s;
}

.cta-product-card:hover {
  background: rgba(255,255,255,0.18);
}

.cta-product-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.cta-product-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--gold-light);
}

.cta-product-card p {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 8px;
}

.cta-product-card .btn {
  padding: 6px 16px;
  font-size: 0.8rem;
}

/* --- Category Page --- */
.category-page {
  padding: 40px 0 60px;
}

.category-header {
  text-align: center;
  margin-bottom: 40px;
}

.category-header h1 {
  font-size: 2rem;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.category-header p {
  color: var(--text-light);
}

/* --- About Page --- */
.about-section {
  padding: 60px 0;
}

.about-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-content h1 {
  font-size: 2.2rem;
  color: var(--green-dark);
  margin-bottom: 16px;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

/* --- Footer --- */
.footer {
  background: var(--green-dark);
  color: #c0bdb5;
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--green-dark);
    flex-direction: column;
    padding: 12px 16px;
    border-top: 1px solid rgba(212,165,51,0.2);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
    border-radius: 0 0 16px 16px;
    backdrop-filter: blur(12px);
    gap: 2px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 14px 20px;
    border-radius: 10px;
  }

  .hero h1 {
    font-size: 2.2rem;
    letter-spacing: -1px;
  }

  .hero {
    padding: 60px 0 80px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .cta-products {
    grid-template-columns: 1fr;
  }

  .article-header h1 {
    font-size: 1.6rem;
  }

  .article-featured-img {
    height: 240px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
    letter-spacing: -0.5px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .cta-section {
    padding: 24px;
  }

  .cta-product-card {
    flex-direction: column;
    text-align: center;
  }
}
