/* ===== Blog hero ===== */
.blog-hero {
  position: relative;
  color: #fff;
  padding: clamp(60px, 8vw, 100px) 0 clamp(50px, 6vw, 80px);
  overflow: hidden;
}
.blog-hero .hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(205, 173, 118, 0.28), transparent 50%),
    linear-gradient(160deg, #3d0a1c 0%, #7a1832 60%, #97244a 100%);
}
.blog-hero .container { position: relative; z-index: 1; }
.blog-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  margin: 12px 0 12px;
}
.blog-hero .lede { color: rgba(255,255,255,.85); max-width: 62ch; }
.blog-hero .eyebrow {
  display: inline-block;
  font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-300);
  border: 1px solid var(--gold-400);
  padding: 6px 14px; border-radius: 999px;
}

.site-nav a.active { color: var(--wine-700); }
.site-nav a.active::after {
  content: ""; display: block;
  margin-top: 4px; height: 1px; width: 100%;
  background: var(--gold-500);
}

/* ===== Grid de artigos ===== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.loading, .empty {
  color: var(--ink-500);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  text-align: center;
  padding: 40px 0;
  grid-column: 1 / -1;
}

.article-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s;
  position: relative;
}
.article-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
  z-index: 2;
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.article-card:hover::before { transform: scaleX(1); }

.ac-cover {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--wine-900);
}
.ac-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.article-card:hover .ac-cover img { transform: scale(1.06); }
.ac-cover--decor {
  display: grid; place-items: center;
  background: linear-gradient(155deg, var(--wine-700), var(--wine-900));
  position: relative;
}
.ac-cover--decor::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .5;
}
.ac-cover--decor span {
  position: relative;
  font-family: 'Playfair Display', serif;
  font-size: 4.2rem;
  color: var(--gold-300);
}

.ac-body {
  padding: 24px 22px 26px;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
}
.ac-tag {
  align-self: flex-start;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--wine-700); font-weight: 600;
  border-left: 2px solid var(--gold-400);
  padding-left: 8px;
  margin-bottom: 4px;
}
.ac-body h3 {
  color: var(--wine-800);
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  margin: 0;
  line-height: 1.3;
}
.ac-body p {
  color: var(--ink-700);
  font-size: .93rem;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ac-meta {
  margin-top: auto;
  padding-top: 8px;
  font-size: .78rem;
  color: var(--ink-500);
  letter-spacing: .04em;
}

/* ===== Artigo (single) ===== */
.article-root { background: #fff; padding-bottom: 60px; }
.article-header {
  background: linear-gradient(155deg, #3d0a1c 0%, #7a1832 100%);
  color: #fff;
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 5vw, 70px);
}
.back-link {
  display: inline-block;
  color: var(--gold-300);
  font-size: .82rem;
  letter-spacing: .1em;
  margin-bottom: 24px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.back-link:hover { color: #fff; border-color: var(--gold-400); }
.article-header h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 22ch;
  margin: 12px 0 14px;
  line-height: 1.15;
}
.article-meta {
  color: var(--gold-300);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0;
}
.tags-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.tag {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-300);
  border: 1px solid rgba(216,183,106,.4);
  padding: 4px 10px;
  border-radius: 999px;
}

.article-cover {
  max-width: 1000px;
  margin: -40px auto 40px;
  padding: 0 24px;
}
.article-cover img {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover; border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(74,13,33,.2);
}

.article-body {
  max-width: 720px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink-900);
}
.article-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--wine-800);
  margin: 44px 0 14px;
  line-height: 1.25;
}
.article-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--wine-800);
  margin: 30px 0 10px;
}
.article-body p { margin: 0 0 1.2em; color: var(--ink-700); }
.article-body strong { color: var(--wine-800); }
.article-body a {
  color: var(--wine-700);
  border-bottom: 1px solid var(--gold-400);
  transition: color .2s, border-color .2s;
}
.article-body a:hover { color: var(--wine-800); border-color: var(--wine-700); }
.article-body ul {
  margin: 0 0 1.4em; padding: 0 0 0 20px;
}
.article-body li { margin: 4px 0; color: var(--ink-700); }
.article-body blockquote {
  margin: 30px 0;
  padding: 16px 22px;
  border-left: 3px solid var(--gold-500);
  background: var(--cream-50);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--wine-800);
  border-radius: 0 8px 8px 0;
}
.article-body img {
  max-width: 100%; border-radius: 8px;
  margin: 20px auto; display: block;
}
.article-body code {
  background: var(--cream-50);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .92em;
}

/* ===== Preview de artigos na home ===== */
.section-artigos { background: #fff; }
.articles-preview-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 36px; flex-wrap: wrap;
}
.articles-preview-head h2 { margin: 0; }
.see-all-link {
  color: var(--wine-700);
  font-size: .88rem;
  letter-spacing: .1em;
  border-bottom: 1px solid var(--gold-400);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.see-all-link:hover { color: var(--wine-800); border-color: var(--wine-700); }
