/* ==========================================================================
   1. CONFIGURAÇÕES GERAIS E VARIÁVEIS DE DESIGN
   ========================================================================== */
:root {
  --bg-primary: #FAF7F2;
  --bg-secondary: #FFFFFF;
  --dark-accent: #1C1917;
  --tuscan-red: #C84B31;
  --tuscan-red-hover: #A83B23;
  --olive-green: #3A5A40;
  --border-color: #E6E1DA;
  --text-primary: #2B2825;
  --text-secondary: #7A7570;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --container-max: 1320px;
  --transition-smooth: cubic-bezier(0.25, 1, 0.5, 1);
  --shadow-card: 0 4px 20px rgba(28, 25, 23, 0.03);
  --shadow-hover: 0 12px 32px rgba(28, 25, 23, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

.text-center {
  text-center: center;
  text-align: center;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn-primary {
  background-color: var(--tuscan-red);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 6px;
  padding: 14px 28px;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.2s ease;
  display: inline-block;
}

.btn-primary:hover {
  background-color: var(--tuscan-red-hover);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: #FAF7F2;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid #FAF7F2;
  border-radius: 6px;
  padding: 14px 28px;
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-light:hover {
  background-color: #FAF7F2;
  color: var(--dark-accent);
}

.editorial-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--tuscan-red);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 2;
}

.category-tag {
  color: var(--olive-green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 80px;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dark-accent);
  line-height: 1.1;
}

.brand-name.light {
  color: #FAF7F2;
}

.brand-subline {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--tuscan-red);
  margin-top: 2px;
}

.brand-subline.light {
  color: var(--border-color);
}

.main-nav {
  display: flex;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--tuscan-red);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--tuscan-red);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-btn {
  background: none;
  border: none;
  color: var(--dark-accent);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease;
}

.search-btn:hover {
  color: var(--tuscan-red);
}

.lang-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--dark-accent);
  border: 1px solid var(--border-color);
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--bg-secondary);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background-color: var(--dark-accent);
  transition: all 0.3s ease;
}

/* ==========================================================================
   SECTIONS HOVER EFFECT CLASS
   ========================================================================== */
.card-hover {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
}

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

/* ==========================================================================
   SECTION 1: HERO
   ========================================================================== */
.hero-section {
  padding: 40px 0 60px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 32px;
  align-items: start;
}

.hero-featured {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.featured-image-wrapper {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth);
}

.hero-featured:hover .featured-img {
  transform: scale(1.04);
}

.featured-content {
  padding: 28px 32px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark-accent);
  margin-bottom: 14px;
  transition: color 0.3s ease;
}

.hero-featured:hover .hero-title {
  color: var(--tuscan-red);
}

.hero-excerpt {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--tuscan-red);
  transition: letter-spacing 0.25s ease;
}

.hero-featured:hover .read-more-link {
  letter-spacing: 0.03em;
}

/* Hero Sidebar / Trending */
.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sidebar-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--dark-accent);
  white-space: nowrap;
}

.sidebar-line {
  height: 1px;
  background-color: var(--border-color);
  width: 100%;
}

.trending-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trending-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  align-items: center;
}

.trending-thumb {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.5s var(--transition-smooth);
}

.trending-card:hover .trending-thumb {
  transform: scale(1.05);
}

.trending-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trending-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

.trending-card-title a {
  transition: color 0.3s ease;
}

.trending-card:hover .trending-card-title a {
  color: var(--tuscan-red);
}

.trending-time {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   SECTION 2: CATEGORIES
   ========================================================================== */
.categories-section {
  padding: 60px 0;
}

.section-subtitle {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--tuscan-red);
  display: block;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark-accent);
  margin-bottom: 40px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.category-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  transition: all 0.3s var(--transition-smooth);
}

.category-card:hover {
  border-color: var(--tuscan-red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.category-icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.category-card:hover .category-icon-box {
  background-color: rgba(200, 75, 49, 0.1);
}

.cat-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.category-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-accent);
}

/* ==========================================================================
   SECTION 3: CULTURA & TRADIÇÃO (DARK)
   ========================================================================== */
.culture-section {
  background-color: var(--dark-accent);
  color: #FAF7F2;
  padding: 90px 0;
  margin: 40px 0;
}

.culture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.culture-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--tuscan-red);
  margin-bottom: 12px;
  display: block;
}

.culture-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.25;
  color: #FAF7F2;
  margin-bottom: 24px;
}

.culture-paragraph {
  font-size: 1rem;
  color: #E6E1DA;
  line-height: 1.7;
  margin-bottom: 20px;
}

.culture-media-col {
  position: relative;
}

.collage-container {
  position: relative;
  height: 420px;
  width: 100%;
}

.collage-img {
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.img-main {
  width: 75%;
  height: 340px;
  position: absolute;
  top: 0;
  left: 0;
}

.img-overlay {
  width: 55%;
  height: 260px;
  position: absolute;
  bottom: 0;
  right: 0;
  border: 4px solid var(--dark-accent);
}

/* ==========================================================================
   SECTION 4: HIGHLIGHTS & RECIPES
   ========================================================================== */
.recipes-section {
  padding: 60px 0;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 10px 22px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--tuscan-red);
  color: #FFFFFF;
  border-color: var(--tuscan-red);
}

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

.recipe-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.recipe-img-box {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.recipe-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition-smooth);
}

.recipe-card:hover .recipe-img {
  transform: scale(1.05);
}

.recipe-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(28, 25, 23, 0.82);
  color: #FAF7F2;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 4px;
}

.recipe-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.recipe-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.recipe-card:hover .recipe-title {
  color: var(--tuscan-red);
}

.recipe-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recipe-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   SECTION 5: BOAS-VINDAS
   ========================================================================== */
.welcome-section {
  padding: 80px 20px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.divider-icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.welcome-sep-img {
  width: 36px;
  height: 36px;
  opacity: 0.85;
}

.welcome-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-accent);
  margin-bottom: 20px;
}

.welcome-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
}

/* ==========================================================================
   SECTION 6: FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--dark-accent);
  color: #FAF7F2;
  padding: 80px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-about-text {
  color: #7A7570;
  font-size: 0.9rem;
  margin: 16px 0 20px 0;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(230, 225, 218, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #FAF7F2;
  transition: all 0.25s ease;
}

.social-icon:hover {
  background-color: var(--tuscan-red);
  border-color: var(--tuscan-red);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #FAF7F2;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #7A7570;
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #FAF7F2;
}

.newsletter-desc {
  color: #7A7570;
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-input {
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid rgba(230, 225, 218, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #FAF7F2;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.newsletter-input:focus {
  border-color: var(--tuscan-red);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(230, 225, 218, 0.1);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.disclaimer-text {
  font-size: 0.78rem;
  color: #7A7570;
  line-height: 1.6;
}

.copyright-text {
  font-size: 0.8rem;
  color: #7A7570;
  font-weight: 500;
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 380px;
  width: calc(100% - 48px);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  padding: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-icon-img {
  width: 20px;
  height: 20px;
}

.cookie-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-accent);
}

.cookie-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
}

.btn-cookie-accept {
  background-color: var(--tuscan-red);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.btn-cookie-accept:hover {
  background-color: var(--tuscan-red-hover);
}

.cookie-link {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-decoration: underline;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 100ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 300ms; }

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .featured-image-wrapper {
    height: 380px;
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .culture-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }

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

  .mobile-menu-btn {
    display: flex;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

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

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }
}
/* Inner page styles */
/* ==========================================================================
   ESTILOS ESPECÍFICOS DA PÁGINA INTERNA DE ARTIGO E FORMULÁRIOS
   ========================================================================== */

/* Estrutura do Artigo */
.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px 60px 24px;
}

.article-header {
  text-align: center;
  margin-bottom: 32px;
}

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

.meta-divider {
  color: var(--border-color);
}

.article-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-accent);
  margin-bottom: 20px;
}

.article-lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  max-width: 760px;
  margin: 0 auto;
}

.article-hero-img-box {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-card);
}

.article-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* Table of Contents (Oglavlenie) */
.table-of-contents {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--tuscan-red);
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 40px;
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.toc-icon {
  width: 24px;
  height: 24px;
}

.toc-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-accent);
}

.toc-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toc-list li {
  font-size: 0.98rem;
  font-weight: 500;
}

.toc-list a {
  color: var(--text-primary);
  transition: color 0.25s ease;
}

.toc-list a:hover {
  color: var(--tuscan-red);
  text-decoration: underline;
}

/* Estilização de Conteúdo Textual (h1-h6, p, span, a) */
.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
  font-family: var(--font-display);
  color: var(--dark-accent);
  line-height: 1.3;
  margin-top: 38px;
  margin-bottom: 16px;
}

.article-body h2 {
  font-size: 1.85rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.article-body h3 {
  font-size: 1.45rem;
}

.article-body h4 {
  font-size: 1.2rem;
}

.article-body h5 {
  font-size: 1.05rem;
}

.article-body h6 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tuscan-red);
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 22px;
}

.article-body span.highlight {
  background-color: rgba(200, 75, 49, 0.1);
  color: var(--dark-accent);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
}

.article-body a {
  color: var(--tuscan-red);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.article-body a:hover {
  color: var(--tuscan-red-hover);
  text-decoration: none;
}

/* Imagens Adaptativas no Artigo */
.article-body figure {
  margin: 36px 0;
  text-align: center;
}

.article-body figure img,
.article-body .article-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  display: block;
}

.article-body figcaption {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 10px;
  font-style: italic;
}

/* Listas (ul, ol) */
.article-body ul,
.article-body ol {
  margin: 20px 0 28px 24px;
}

.article-body ul li,
.article-body ol li {
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.article-body ul {
  list-style-type: square;
}

.article-body ul li::marker {
  color: var(--tuscan-red);
}

.article-body ol {
  list-style-type: decimal;
}

.article-body ol li::marker {
  font-weight: 700;
  color: var(--tuscan-red);
}

/* Tabela de Dados (table) */
.article-table-wrapper {
  overflow-x: auto;
  margin: 36px 0;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-secondary);
  text-align: left;
  font-size: 0.95rem;
}

.article-table th,
.article-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
}

.article-table th {
  background-color: #F3EEE7;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--dark-accent);
  font-size: 1rem;
}

.article-table tr:last-child td {
  border-bottom: none;
}

.article-table tr:hover {
  background-color: rgba(250, 247, 242, 0.7);
}

/* Bloco de Perfil/Relacionados e Seções */
.crosslinking-section {
  background-color: #F3EEE7;
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-top: 60px;
}

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

/* Seção de Comentários e Formulários */
.comments-section {
  margin-top: 60px;
}

.comments-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.comment-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  gap: 16px;
}

.comment-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.comment-content {
  flex-grow: 1;
}

.comment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.comment-author {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark-accent);
}

.comment-date {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.comment-text {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.6;
}

/* Formulários Estilizados (Comentários e Contato) */
.form-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--dark-accent);
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark-accent);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: var(--bg-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus {
  border-color: var(--tuscan-red);
  box-shadow: 0 0 0 3px rgba(200, 75, 49, 0.12);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.contact-section {
  margin-top: 60px;
  margin-bottom: 60px;
}

.contact-box {
  background: #FAF7F2;
  border: 1px solid var(--border-color);
}

.contact-header {
  margin-bottom: 28px;
}

.contact-header-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
}

.margin-top-sm {
  margin-top: 20px;
}

/* Responsividade Interna */
@media (max-width: 768px) {
  .article-title {
    font-size: 2rem;
  }

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

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

  .form-group.full-width {
    grid-column: span 1;
  }

  .form-box {
    padding: 24px;
  }

  .comment-card {
    flex-direction: column;
  }
}