/* ============================================================
   VINUMLEX — Premium Design System
   Version 2.0 · 2026
   Paleta: Vinho profundo + Bege nobre + Dourado sutil
   Tipografia: Playfair Display (headings) + Inter (corpo)
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=Cinzel:wght@400;600&display=swap');

/* ── Design Tokens ── */
:root {
  /* Paleta principal */
  --wine-950:  #1a0509;
  --wine-900:  #2d0a12;
  --wine-800:  #4A0F1C;
  --wine-700:  #5C1A2B;
  --wine-600:  #7a2438;
  --wine-500:  #9c3049;
  --wine-400:  #c4566a;
  --wine-300:  #d98494;
  --wine-200:  #ebb4bd;
  --wine-100:  #f5dde1;
  --wine-50:   #fdf4f5;

  /* Dourado */
  --gold-700:  #8B6914;
  --gold-600:  #A67C1A;
  --gold-500:  #C49A22;
  --gold-400:  #D4AA3A;
  --gold-300:  #E8CC6E;
  --gold-200:  #F2DFA0;
  --gold-100:  #FAF3D8;
  --gold-50:   #FDFBF0;

  /* Neutros */
  --stone-950: #0c0a09;
  --stone-900: #1c1917;
  --stone-800: #292524;
  --stone-700: #44403c;
  --stone-600: #57534e;
  --stone-500: #78716c;
  --stone-400: #a8a29e;
  --stone-300: #d6d3d1;
  --stone-200: #e7e5e4;
  --stone-100: #f5f5f4;
  --stone-50:  #fafaf9;

  /* Bege nobre */
  --cream-dark: #f0ebe2;
  --cream:      #f7f3ec;
  --cream-light:#faf8f4;
  --cream-white:#fdfcfa;

  /* Tipografia */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-accent:  'Cinzel', serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Espaçamentos */
  --section-gap: clamp(4rem, 8vw, 7rem);
  --content-max: 1280px;
  --content-md:  768px;

  /* Sombras */
  --shadow-sm:   0 1px 3px rgba(74,15,28,0.06), 0 1px 2px rgba(74,15,28,0.04);
  --shadow-md:   0 4px 16px rgba(74,15,28,0.10), 0 2px 4px rgba(74,15,28,0.06);
  --shadow-lg:   0 16px 40px rgba(74,15,28,0.14), 0 4px 8px rgba(74,15,28,0.06);
  --shadow-gold: 0 0 0 1px rgba(196,154,34,0.3), 0 4px 16px rgba(196,154,34,0.12);
  --shadow-wine: 0 8px 32px rgba(74,15,28,0.25), 0 2px 8px rgba(74,15,28,0.12);

  /* Raios */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  /* Transições */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.4, 0, 1, 1);
  --duration:   240ms;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--stone-800);
  background-color: var(--cream-white);
  min-height: 100dvh;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

/* ── Acessibilidade ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: .75rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--wine-800);
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Layout Utilities ── */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}
.container--narrow { max-width: 860px; }
.container--wide   { max-width: 1440px; }

/* ── Separador dourado ── */
.gold-line {
  display: block;
  width: 3rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  border-radius: 2px;
  margin-block: 1.5rem;
}
.gold-line--center { margin-inline: auto; }

/* ============================================================
   HEADER / NAVEGAÇÃO
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 252, 250, 0.96);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid rgba(74, 15, 28, 0.08);
  transition: box-shadow var(--duration) var(--ease-out),
              background var(--duration) var(--ease-out);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(74,15,28,0.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4.5rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.site-logo__text { line-height: 1.15; }
.site-logo__name {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--wine-800);
  display: block;
}
.site-logo__tagline {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-600);
  display: block;
}

/* Nav principal */
.main-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.main-nav__link {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--stone-600);
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  transition: color var(--duration) var(--ease-out),
              background var(--duration) var(--ease-out);
  white-space: nowrap;
  position: relative;
}
.main-nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: .75rem;
  right: .75rem;
  height: 1.5px;
  background: var(--wine-700);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--duration) var(--ease-out);
  border-radius: 2px;
}
.main-nav__link:hover {
  color: var(--wine-800);
  background: var(--wine-50);
}
.main-nav__link:hover::after,
.main-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}
.main-nav__link[aria-current="page"] {
  color: var(--wine-800);
  font-weight: 600;
}

/* Header CTA */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--wine-800);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .55rem 1.1rem;
  border-radius: 9999px;
  transition: background var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
  white-space: nowrap;
}
.header-cta:hover {
  background: var(--wine-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-wine);
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding-left: 1rem;
  border-left: 1px solid var(--stone-200);
  margin-left: .5rem;
}
.lang-btn {
  font-size: .75rem;
  font-weight: 600;
  color: var(--stone-500);
  padding: .25rem .5rem;
  border-radius: var(--radius-sm);
  transition: color var(--duration), background var(--duration);
  letter-spacing: .03em;
}
.lang-btn:hover,
.lang-btn[aria-current="true"] {
  color: var(--wine-800);
  background: var(--wine-50);
}
.lang-btn[aria-current="true"] {
  font-weight: 700;
}

/* Header right cluster */
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--stone-200);
  color: var(--stone-700);
  flex-shrink: 0;
  transition: border-color var(--duration), background var(--duration);
}
.menu-toggle:hover {
  border-color: var(--wine-300);
  background: var(--wine-50);
  color: var(--wine-800);
}
.menu-toggle svg { width: 20px; height: 20px; }

/* Hamburger lines */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--duration) var(--ease-out), opacity var(--duration);
}
.menu-open .hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .hamburger span:nth-child(2) { opacity: 0; }
.menu-open .hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 4.5rem 0 0;
  background: var(--cream-white);
  padding: 1.5rem;
  overflow-y: auto;
  z-index: 99;
  border-top: 1px solid var(--stone-100);
}
.mobile-nav.open { display: block; }
.mobile-nav__link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: .95rem;
  font-weight: 500;
  color: var(--stone-700);
  transition: background var(--duration), color var(--duration);
  border-bottom: 1px solid var(--stone-100);
}
.mobile-nav__link:last-child { border-bottom: none; }
.mobile-nav__link:hover,
.mobile-nav__link[aria-current="page"] {
  background: var(--wine-50);
  color: var(--wine-800);
}
.mobile-nav__cta {
  display: block;
  margin-top: 1.5rem;
  text-align: center;
  background: var(--wine-800);
  color: #fff;
  padding: 1rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
}

@media (max-width: 1023px) {
  .main-nav, .header-cta, .lang-switcher { display: none; }
  .menu-toggle { display: flex; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  min-height: clamp(560px, 80vh, 800px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

/* Hero lado esquerdo — conteúdo */
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 4vw, 4rem) clamp(3rem, 8vw, 6rem) clamp(1.5rem, 6vw, 5rem);
  background: linear-gradient(135deg, var(--wine-950) 0%, var(--wine-800) 60%, var(--wine-700) 100%);
  color: #fff;
}

/* Textura de fundo sutil */
.hero__content::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.5rem;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold-400);
  border-radius: 2px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-300);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  max-width: 42ch;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--gold-500);
  color: var(--wine-950);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: .9rem 1.8rem;
  border-radius: 9999px;
  transition: background var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,154,34,.35);
}
.btn-primary svg { width: 16px; height: 16px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-weight: 500;
  padding: .9rem 1.5rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(255,255,255,.22);
  transition: border-color var(--duration), color var(--duration), background var(--duration);
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.5);
  color: #fff;
  background: rgba(255,255,255,.06);
}

/* Hero stats */
.hero__stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero__stat {}
.hero__stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-300);
  line-height: 1;
}
.hero__stat-label {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-top: .35rem;
}

/* Hero lado direito — imagem */
.hero__visual {
  position: relative;
  overflow: hidden;
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--wine-800) 0%, transparent 30%);
  pointer-events: none;
}

/* Overlay badge no canto da foto */
.hero__badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 2;
  background: rgba(253,252,250,.95);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 120px;
}
.hero__badge-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: .4rem;
}
.hero__badge-text {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wine-800);
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__content {
    padding: 3.5rem 1.5rem;
  }
  .hero__visual {
    height: 280px;
    order: -1;
  }
  .hero__visual::after {
    background: linear-gradient(0deg, var(--wine-800) 0%, transparent 50%);
  }
  .hero__badge { display: none; }
  .hero__stats { gap: 1.5rem; margin-top: 2rem; padding-top: 1.5rem; }
}

/* ============================================================
   SECÇÃO DE NOVIDADES (Bandeau)
   ============================================================ */

.news-band {
  background: var(--cream-dark);
  border-top: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
  padding: 2.5rem 0;
}
.news-band__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.news-band__label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wine-800);
  padding: .4rem .9rem;
  background: var(--wine-100);
  border-radius: 9999px;
  border: 1px solid var(--wine-200);
}
.news-band__label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wine-600);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.3); }
}

.news-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  flex: 1;
}

.news-card {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  text-decoration: none;
  transition: border-color var(--duration), box-shadow var(--duration), transform var(--duration);
}
.news-card:hover {
  border-color: var(--wine-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.news-card--highlight {
  border-color: var(--wine-200);
  background: var(--wine-50);
}
.news-card__type {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wine-600);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.news-badge {
  background: var(--wine-800);
  color: #fff;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 2px 6px;
  border-radius: 9999px;
}
.news-card__title {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--stone-900);
}
.news-card__meta {
  font-size: .7rem;
  color: var(--stone-500);
}
.news-card--press {
  background: var(--stone-50);
  border-color: var(--stone-200);
}
.news-card--press .news-card__type { color: var(--stone-500); }
.news-card--press .news-card__title { color: var(--stone-700); }

@media (max-width: 900px) {
  .news-band__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .news-band__inner { flex-direction: column; align-items: flex-start; }
  .news-band__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SECÇÕES GERAIS
   ============================================================ */

.section {
  padding-block: var(--section-gap);
}
.section--alt {
  background: var(--cream);
}
.section--dark {
  background: var(--wine-950);
  color: #fff;
}

.section__header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section__header--center { text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--wine-600);
  margin-bottom: 1rem;
}
.eyebrow--gold { color: var(--gold-600); }
.eyebrow--light { color: var(--gold-300); }
.eyebrow-line {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--stone-900);
}
.section-title--light { color: #fff; }
.section-title em {
  font-style: italic;
  color: var(--wine-600);
}

.section-lead {
  margin-top: 1rem;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.75;
  color: var(--stone-600);
  max-width: 60ch;
}
.section-lead--light { color: rgba(255,255,255,.72); }

/* ============================================================
   CARDS DE ARTIGOS
   ============================================================ */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 1.5rem;
}
.articles-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.articles-grid--2-1 {
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
}

.article-card {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: border-color var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out);
}
.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--wine-700), var(--wine-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease-out);
}
.article-card:hover {
  border-color: var(--wine-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.article-card:hover::before {
  transform: scaleX(1);
}

.article-card--featured {
  background: linear-gradient(145deg, var(--wine-950), var(--wine-800));
  border-color: var(--wine-700);
  color: #fff;
}
.article-card--featured .article-card__type { color: var(--gold-300); }
.article-card--featured .article-card__title { color: #fff; }
.article-card--featured .article-card__excerpt { color: rgba(255,255,255,.7); }
.article-card--featured .article-card__readmore { color: var(--gold-300); }

.article-card__type {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wine-600);
  margin-bottom: 1rem;
}

.article-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--stone-900);
  margin-bottom: .9rem;
}

.article-card__excerpt {
  font-size: .88rem;
  line-height: 1.7;
  color: var(--stone-600);
  flex: 1;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--stone-100);
}
.article-card--featured .article-card__footer {
  border-top-color: rgba(255,255,255,.12);
}

.article-card__readmore {
  font-size: .8rem;
  font-weight: 600;
  color: var(--wine-600);
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: gap var(--duration) var(--ease-out);
}
.article-card:hover .article-card__readmore { gap: .7rem; }

.article-card__readtime {
  font-size: .72rem;
  color: var(--stone-400);
}

@media (max-width: 1023px) {
  .articles-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .articles-grid--2-1 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .articles-grid--3 { grid-template-columns: 1fr; }
}

/* ============================================================
   SIDEBAR (destaques e consulta rápida)
   ============================================================ */

.sidebar-card {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-card + .sidebar-card { margin-top: 1.5rem; }

.sidebar-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--stone-900);
  margin-bottom: 1.25rem;
}

.sidebar-portrait {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 0 auto 1.25rem;
}

.sidebar-nav-list { display: flex; flex-direction: column; gap: .6rem; }
.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .88rem;
  color: var(--stone-600);
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  transition: color var(--duration), background var(--duration);
  text-decoration: none;
}
.sidebar-nav-link::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--wine-400);
  flex-shrink: 0;
}
.sidebar-nav-link:hover {
  color: var(--wine-800);
  background: var(--wine-50);
}

/* ============================================================
   SEÇÃO NÚMEROS / TRUST SIGNALS
   ============================================================ */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.trust-item {
  text-align: center;
  padding: 2rem 1rem;
}
.trust-item__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--wine-600);
  line-height: 1;
  margin-bottom: .5rem;
}
.trust-item__label {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--stone-500);
  line-height: 1.4;
}
.section--dark .trust-item__num { color: var(--gold-300); }
.section--dark .trust-item__label { color: rgba(255,255,255,.55); }

@media (max-width: 768px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
  background: linear-gradient(135deg, var(--wine-950) 0%, var(--wine-800) 100%);
  padding: clamp(4rem, 8vw, 6rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='40' cy='40' r='1.5' fill='rgba(196,154,34,0.08)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.cta-section__title em { font-style: italic; color: var(--gold-300); }
.cta-section__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  max-width: 50ch;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ============================================================
   LEAD CAPTURE / NEWSLETTER
   ============================================================ */

.lead-box {
  background: linear-gradient(135deg, var(--gold-50), var(--cream));
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
}
.lead-box__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.lead-box__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--wine-900);
  margin-bottom: .6rem;
}
.lead-box__text {
  font-size: .9rem;
  color: var(--stone-600);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 38ch;
  margin-inline: auto;
}
.lead-form {
  display: flex;
  gap: .6rem;
  max-width: 400px;
  margin-inline: auto;
}
.lead-form input[type="email"] {
  flex: 1;
  padding: .75rem 1rem;
  border-radius: 9999px;
  border: 1.5px solid var(--stone-200);
  background: #fff;
  font-size: .88rem;
  font-family: var(--font-body);
  color: var(--stone-900);
  outline: none;
  transition: border-color var(--duration);
  min-width: 0;
}
.lead-form input[type="email"]:focus {
  border-color: var(--wine-500);
}
.lead-form button {
  padding: .75rem 1.4rem;
  border-radius: 9999px;
  background: var(--wine-800);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--duration), transform var(--duration);
  flex-shrink: 0;
}
.lead-form button:hover {
  background: var(--wine-700);
  transform: translateY(-1px);
}
.lead-form__note {
  font-size: .72rem;
  color: var(--stone-500);
  margin-top: .75rem;
}

@media (max-width: 480px) {
  .lead-form { flex-direction: column; }
}

/* ============================================================
   ARQUIVO / LISTAGEM DE ARTIGOS
   ============================================================ */

.archive-hero {
  background: linear-gradient(160deg, var(--wine-950), var(--wine-800));
  padding: clamp(3rem, 7vw, 5rem) 0;
  color: #fff;
}
.archive-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: .75rem;
}
.archive-hero__count {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
}

.archive-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 1.75rem 0;
  align-items: center;
  border-bottom: 1px solid var(--stone-200);
  margin-bottom: 2rem;
}
.archive-filter-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-right: .5rem;
}
.filter-btn {
  font-size: .78rem;
  font-weight: 600;
  padding: .4rem .9rem;
  border-radius: 9999px;
  border: 1.5px solid var(--stone-200);
  color: var(--stone-600);
  background: #fff;
  transition: all var(--duration);
  letter-spacing: .02em;
}
.filter-btn:hover {
  border-color: var(--wine-300);
  color: var(--wine-700);
  background: var(--wine-50);
}
.filter-btn.active {
  background: var(--wine-800);
  border-color: var(--wine-800);
  color: #fff;
}

.archive-search {
  margin-left: auto;
  position: relative;
}
.archive-search input {
  padding: .5rem 1rem .5rem 2.5rem;
  border-radius: 9999px;
  border: 1.5px solid var(--stone-200);
  background: #fff;
  font-size: .82rem;
  font-family: var(--font-body);
  width: 220px;
  transition: border-color var(--duration), width var(--duration);
  outline: none;
  color: var(--stone-900);
}
.archive-search input:focus { border-color: var(--wine-400); width: 260px; }
.archive-search__icon {
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--stone-400);
  width: 14px;
  height: 14px;
}

/* Archive card (list variant) */
.archive-card-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.archive-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  text-decoration: none;
  transition: border-color var(--duration), box-shadow var(--duration), transform var(--duration);
}
.archive-item:hover {
  border-color: var(--wine-200);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.archive-item__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--stone-200);
  line-height: 1;
  min-width: 2.5rem;
  text-align: right;
}
.archive-item__content {}
.archive-item__type {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wine-600);
  margin-bottom: .4rem;
}
.archive-item__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--stone-900);
  line-height: 1.35;
  margin-bottom: .5rem;
}
.archive-item__excerpt {
  font-size: .85rem;
  color: var(--stone-500);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.archive-item__arrow {
  color: var(--wine-300);
  font-size: 1.4rem;
  align-self: center;
  transition: transform var(--duration), color var(--duration);
}
.archive-item:hover .archive-item__arrow {
  transform: translateX(4px);
  color: var(--wine-600);
}

/* ============================================================
   JURISPRUDÊNCIA
   ============================================================ */

.juris-section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wine-800);
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--wine-100);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.juris-section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 1.5rem;
  background: var(--wine-600);
  border-radius: 2px;
  flex-shrink: 0;
}

.juris-card {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-left: 4px solid var(--wine-200);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1rem;
  transition: border-left-color var(--duration), box-shadow var(--duration);
}
.juris-card:hover {
  border-left-color: var(--wine-600);
  box-shadow: var(--shadow-md);
}
.juris-card__ref {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--wine-600);
  margin-bottom: .4rem;
}
.juris-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--stone-900);
  margin-bottom: .6rem;
  line-height: 1.4;
}
.juris-card__body {
  font-size: .88rem;
  color: var(--stone-600);
  line-height: 1.7;
}
.juris-card__body strong { color: var(--stone-800); font-weight: 600; }
.juris-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .9rem;
}
.juris-tag {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--wine-700);
  background: var(--wine-50);
  border: 1px solid var(--wine-100);
  padding: .25rem .65rem;
  border-radius: 9999px;
}

/* ============================================================
   ARTIGO (PAGE DE LEITURA)
   ============================================================ */

.article-hero {
  background: linear-gradient(160deg, var(--wine-950), var(--wine-800));
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  color: #fff;
}
.article-hero__type {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-400);
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.25rem;
}
.article-hero__type::before {
  content: '';
  width: 20px;
  height: 1.5px;
  background: var(--gold-400);
  border-radius: 2px;
}

.article-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  max-width: 900px;
  margin-bottom: 1.25rem;
}
.article-hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 60ch;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.article-hero__meta-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
}
.article-hero__meta-item strong { color: rgba(255,255,255,.9); font-weight: 600; }

/* Prose — corpo do artigo */
.prose {
  font-size: clamp(.95rem, 1.5vw, 1.05rem);
  line-height: 1.85;
  color: var(--stone-700);
  max-width: 75ch;
}
.prose p { margin-top: 1.25rem; }
.prose p:first-child { margin-top: 0; }

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--wine-800);
  line-height: 1.25;
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  padding-left: 1rem;
  border-left: 3px solid var(--wine-400);
}
.prose h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--stone-900);
  margin-top: 1.75rem;
  margin-bottom: .6rem;
}
.prose ul {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.prose ul li {
  padding-left: 1.5rem;
  position: relative;
  font-size: inherit;
  color: var(--stone-600);
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wine-400);
}
.prose strong { color: var(--stone-900); font-weight: 700; }
.prose em { font-style: italic; }
.prose a {
  color: var(--wine-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--wine-200);
  transition: text-decoration-color var(--duration), color var(--duration);
}
.prose a:hover {
  color: var(--wine-900);
  text-decoration-color: var(--wine-600);
}

/* Callout box */
.callout {
  background: var(--wine-50);
  border: 1px solid var(--wine-100);
  border-left: 4px solid var(--wine-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin-block: 1.75rem;
}
.callout--gold {
  background: var(--gold-50);
  border-color: var(--gold-200);
  border-left-color: var(--gold-500);
}
.callout__label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wine-600);
  margin-bottom: .5rem;
}
.callout--gold .callout__label { color: var(--gold-700); }
.callout p {
  font-size: .9rem;
  color: var(--stone-700);
  line-height: 1.7;
  margin: 0;
}

/* Share buttons no artigo */
.article-share {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--stone-200);
}
.share-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--stone-400);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border-radius: 9999px;
  border: 1.5px solid var(--stone-200);
  font-size: .78rem;
  font-weight: 600;
  color: var(--stone-600);
  background: #fff;
  transition: all var(--duration);
}
.share-btn:hover {
  border-color: var(--wine-300);
  color: var(--wine-700);
  background: var(--wine-50);
}
.share-btn svg { width: 14px; height: 14px; }

/* CTA inline no artigo */
.article-cta {
  background: linear-gradient(135deg, var(--wine-950), var(--wine-800));
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  margin-block: 3rem;
  color: #fff;
}
.article-cta__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .75rem;
}
.article-cta__text {
  font-size: .9rem;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 45ch;
  margin-inline: auto;
}
.article-cta .btn-primary { margin: 0 auto; }

/* Disclaimer box */
.disclaimer-box {
  background: var(--cream-dark);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-top: 2.5rem;
}
.disclaimer-box p {
  font-size: .82rem;
  color: var(--stone-500);
  line-height: 1.65;
  margin: 0;
}
.disclaimer-box a {
  color: var(--wine-600);
  text-underline-offset: 2px;
}

/* TOC */
.toc {
  background: var(--cream);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.toc__title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: .75rem;
}
.toc__list { display: flex; flex-direction: column; gap: .3rem; }
.toc__link {
  font-size: .84rem;
  color: var(--stone-600);
  padding: .25rem .5rem;
  border-radius: var(--radius-sm);
  display: block;
  transition: color var(--duration), background var(--duration);
  border-left: 2px solid transparent;
  padding-left: .75rem;
}
.toc__link:hover,
.toc__link.active {
  color: var(--wine-800);
  background: var(--wine-50);
  border-left-color: var(--wine-500);
  text-decoration: none;
}

/* ============================================================
   SOBRE (AUTOR)
   ============================================================ */

.about-hero {
  padding: clamp(3rem, 8vw, 6rem) 0;
  background: linear-gradient(160deg, var(--wine-950), var(--wine-800));
  color: #fff;
  overflow: hidden;
  position: relative;
}
.about-hero::after {
  content: '"';
  position: absolute;
  right: 5%;
  top: 10%;
  font-family: var(--font-display);
  font-size: 20rem;
  font-weight: 700;
  color: rgba(255,255,255,.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-portrait-wrap {
  position: relative;
}
.about-portrait {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-wine);
}
.about-portrait-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--gold-500);
  color: var(--wine-950);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about-portrait-badge__num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.about-portrait-badge__label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: block;
  margin-top: .25rem;
}
.about-content__name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: .25rem;
}
.about-content__credential {
  font-size: .85rem;
  color: var(--gold-300);
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: .03em;
}
.about-content__bio {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,.78);
  margin-bottom: 2rem;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}
.about-tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  padding: .35rem .85rem;
  border-radius: 9999px;
}
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { aspect-ratio: 3/2; }
}

/* ============================================================
   CONTACT FLOATING BUTTON
   ============================================================ */

.contact-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: .65rem;
  background: var(--wine-800);
  color: #fff;
  padding: .85rem 1.4rem;
  border-radius: 9999px;
  box-shadow: 0 8px 32px rgba(74,15,28,.35), 0 2px 8px rgba(74,15,28,.2);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  transition: background var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out),
              padding var(--duration) var(--ease-out);
  max-width: 200px;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
}
.contact-fab::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-400);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
.contact-fab:hover {
  background: var(--wine-700);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(74,15,28,.4);
}
.contact-fab__text { transition: opacity var(--duration); }

@media (max-width: 480px) {
  .contact-fab { padding: .85rem 1.1rem; }
  .contact-fab__text { display: none; }
}

/* ============================================================
   SCROLL-TO-TOP
   ============================================================ */

#scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 9rem;
  z-index: 190;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  border: 1.5px solid var(--stone-200);
  color: var(--wine-700);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--duration), transform var(--duration), background var(--duration);
}
#scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#scroll-top:hover {
  background: var(--wine-50);
  border-color: var(--wine-300);
}

@media (max-width: 480px) {
  #scroll-top { right: 1rem; bottom: 6rem; }
}

/* ============================================================
   PROGRESS BAR
   ============================================================ */

#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--wine-700), var(--gold-500));
  z-index: 1000;
  width: 0%;
  transition: width .12s linear;
  pointer-events: none;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--wine-950);
  color: rgba(255,255,255,.72);
  padding-top: clamp(4rem, 8vw, 6rem);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand__logo {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: #fff;
  margin-bottom: .5rem;
}
.footer-brand__tagline {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 1.25rem;
}
.footer-brand__desc {
  font-size: .88rem;
  line-height: 1.75;
  max-width: 36ch;
  margin-bottom: 1.5rem;
}
.footer-brand__disclaimer {
  font-size: .78rem;
  line-height: 1.6;
  color: rgba(255,255,255,.38);
  max-width: 38ch;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-col__title {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 1.25rem;
}
.footer-nav { display: flex; flex-direction: column; gap: .6rem; }
.footer-nav__link {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: color var(--duration);
  text-decoration: none;
}
.footer-nav__link:hover { color: rgba(255,255,255,.9); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom a {
  color: rgba(255,255,255,.5);
  transition: color var(--duration);
  text-decoration: none;
}
.footer-bottom a:hover { color: rgba(255,255,255,.8); }

@media (max-width: 1023px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================================
   UTILITÁRIOS DE LAYOUT
   ============================================================ */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.grid-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
.grid-sidebar--left {
  grid-template-columns: 300px 1fr;
}

@media (max-width: 1023px) {
  .grid-sidebar,
  .grid-sidebar--left { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: inherit; transition: color var(--duration); text-decoration: none; }
.breadcrumb a:hover { color: rgba(255,255,255,.9); }
.breadcrumb__sep { opacity: .5; }

.text-center { text-align: center; }
.mt-xs  { margin-top: .5rem; }
.mt-sm  { margin-top: 1rem; }
.mt-md  { margin-top: 1.5rem; }
.mt-lg  { margin-top: 2.5rem; }
.mt-xl  { margin-top: 4rem; }
.mb-xl  { margin-bottom: 4rem; }

/* ============================================================
   PRINT
   ============================================================ */

@media print {
  .site-header, .contact-fab, #scroll-top, #reading-progress,
  .site-footer, .article-cta, .article-share, .lead-box,
  .news-band, .cta-section, .mobile-nav { display: none !important; }
  body { font: 11pt/1.6 Georgia, serif; color: #000; background: #fff; }
  .prose h2 { border-left: none; padding-left: 0; color: #000; }
  .article-hero { background: #fff; color: #000; padding: 0; }
  .article-hero__title, .article-hero__type { color: #000; }
  a::after { content: " (" attr(href) ")"; font-size: 8pt; color: #555; }
  a[href^="#"]::after { content: ""; }
  @page { margin: 2cm; size: A4; }
}

/* ============================================================
   ANIMAÇÕES / MOTION
   ============================================================ */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-up {
  animation: fadeInUp 0.6s var(--ease-out) both;
}
.animate-fade-up--delay-1 { animation-delay: 0.1s; }
.animate-fade-up--delay-2 { animation-delay: 0.2s; }
.animate-fade-up--delay-3 { animation-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── Header overflow fix for 1280px viewports ── */
@media (max-width: 1280px) {
  .main-nav .main-nav__link {
    padding-left: .5rem;
    padding-right: .5rem;
    font-size: .78rem;
  }
  .lang-switcher {
    padding-left: .5rem;
    margin-left: .25rem;
  }
  .lang-btn {
    padding: .2rem .35rem;
    font-size: .7rem;
  }
  .header-cta {
    padding: .5rem .85rem;
    font-size: .75rem;
  }
}

@media (max-width: 1150px) {
  .main-nav, .header-cta, .lang-switcher { display: none; }
  .menu-toggle { display: flex; }
}
