/* ===========================
   YLA — Young Latin American
   Global Styles
=========================== */

:root {
  --blue-900: #0a1628;
  --blue-800: #0f2042;
  --blue-700: #1a3a6e;
  --blue-600: #1e4da0;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;

  --orange-600: #ea580c;
  --orange-500: #f97316;
  --orange-400: #fb923c;
  --orange-100: #ffedd5;
  --orange-50: #fff7ed;

  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --font-display: 'Syne', sans-serif;
  --font-serif: 'DM Serif Display', serif;
  --font-body: 'DM Sans', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1), 0 2px 6px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.08);
  --shadow-blue: 0 8px 32px rgba(37,99,235,.25);

  --transition: all .22s cubic-bezier(.4,0,.2,1);
  --container-max: 1200px;
  --container-pad: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.98);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--white);
}

.logo-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--orange-500);
  letter-spacing: -0.5px;
  background: var(--orange-500);
  color: white;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  letter-spacing: -0.2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.1px;
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

.btn-submit {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  background: var(--orange-500);
  color: white;
  padding: 9px 20px;
  border-radius: var(--radius-md);
  letter-spacing: 0.2px;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-submit:hover {
  background: var(--orange-600);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(249,115,22,.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 100vh;
  background: var(--blue-900);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px var(--container-pad) 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.1) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--blue-600), transparent 70%);
  top: -200px; left: -100px;
}

.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--orange-500), transparent 70%);
  bottom: -100px; right: 10%;
  opacity: 0.2;
}

.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #0ea5e9, transparent 70%);
  top: 30%; right: 5%;
  opacity: 0.25;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  animation: heroFadeUp .8s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-300);
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(37,99,235,.3);
  padding: 6px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--orange-500);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .7; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: normal;
  color: var(--orange-500);
  font-family: var(--font-serif);
  font-style: italic;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,.68);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.btn-primary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  background: var(--orange-500);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  letter-spacing: 0.1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--orange-500);
}

.btn-primary:hover {
  background: var(--orange-600);
  border-color: var(--orange-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,115,22,.4);
}

.btn-secondary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: rgba(255,255,255,.85);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255,255,255,.2);
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,.5);
  color: white;
  background: rgba(255,255,255,.06);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.15);
}

/* Hero visual */
.hero-visual {
  position: absolute;
  right: max(40px, 5vw);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1;
  animation: heroFadeUp .8s .3s ease both;
}

.hero-card-float {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  width: 300px;
  transition: var(--transition);
}

.hero-card-float:hover {
  background: rgba(255,255,255,.09);
  transform: translateX(-4px);
}

.card-float-1 { animation: floatY 6s ease-in-out infinite; }
.card-float-2 { animation: floatY 6s 2s ease-in-out infinite; }
.card-float-3 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  width: auto;
  animation: floatY 6s 4s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hcf-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--orange-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.hcf-title {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  line-height: 1.5;
  margin-bottom: 10px;
}

.hcf-author {
  font-size: 12px;
  color: rgba(255,255,255,.45);
}

.hcf-icon {
  font-size: 20px;
}

.hcf-small {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ───── HERO COM GLOBO ──────────────────────────────────── */
.hero-globe-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  min-height: 100vh;
  padding: 120px var(--container-pad) 80px;
}

/* hero-content: exatamente como no original */
.hero-globe-layout .hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
  animation: heroFadeUp .8s ease both;
}

/* ── Wrap do globo: deslocado ~5% para a esquerda dentro da coluna ── */
.hero-globe-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  animation: heroFadeUp .9s .2s ease both;
  /* Desloca o globo para a esquerda dentro da coluna direita */
  transform: translateX(-6%);
}

.hero-globe-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 540px; height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.24) 0%, rgba(37,99,235,0.09) 45%, transparent 70%);
  pointer-events: none;
  animation: globeGlowPulse 4s ease-in-out infinite;
}

.hero-globe-atm {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 548px; height: 548px;
  border-radius: 50%;
  border: 1px solid rgba(59,130,246,0.2);
  box-shadow:
    0 0 70px rgba(37,99,235,0.14),
    inset 0 0 70px rgba(37,99,235,0.07);
  pointer-events: none;
}

@keyframes globeGlowPulse {
  0%, 100% { opacity: 0.8; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1.05); }
}

.hero-globe-wrap #ylaGlobe {
  display: block;
  width: 520px;
  height: 520px;
  max-width: 100%;
  position: relative;
  z-index: 2;
  cursor: grab;
  filter: drop-shadow(0 0 48px rgba(37,99,235,0.38));
}

.hero-globe-wrap #ylaGlobe:active { cursor: grabbing; }

/* ── Painel de países ativos (abaixo do globo, centralizado) ── */
.hero-globe-countries {
  position: absolute;
  bottom: -44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(10,22,40,0.88);
  border: 1px solid rgba(37,99,235,0.38);
  backdrop-filter: blur(14px);
  border-radius: 100px;
  padding: 9px 18px 9px 14px;
  animation: heroFadeUp 1s .7s ease both;
  z-index: 3;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.hero-countries-label {
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-display);
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.hero-countries-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.hero-country-tag {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 3px 11px;
  white-space: nowrap;
}

/* ── Balões flutuantes ── */
.hcf {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.13);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 16px 20px;
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
}

/* Balão topo-esquerdo: pesquisa recente */
.hcf-top-left {
  top: 8%;
  left: -10%;
  width: 238px;
  animation: floatA 7s ease-in-out infinite;
}

/* Balão inferior-esquerdo: convite */
.hcf-bottom-left {
  bottom: 10%;
  left: -8%;
  width: 220px;
  animation: floatB 7s 2s ease-in-out infinite;
}

/* Balão topo-direito: badge */
.hcf-top-right {
  top: 12%;
  right: 4%;
  animation: floatC 7s 1s ease-in-out infinite;
}

.hcf-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 100px;
  width: auto;
  white-space: nowrap;
}

@keyframes floatA {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
@keyframes floatC {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.hcf-tag {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--orange-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 7px;
}

.hcf-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  line-height: 1.5;
  margin-bottom: 8px;
}

.hcf-author {
  font-size: 11.5px;
  color: rgba(255,255,255,0.42);
  font-weight: 400;
}

.hcf-cta {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-300);
}

.hcf-badge-icon { font-size: 18px; }

.hcf-badge-text {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

/* ── Globe section (texto/stats) ── */
.globe-info-full {
  padding-right: 0 !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  row-gap: 0;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.globe-info-full .globe-eyebrow   { grid-column: 1 / -1; margin-bottom: 24px; }
.globe-info-full .globe-heading   { grid-column: 1 / 2; }
.globe-info-full .globe-subtext   { grid-column: 1 / 2; }
.globe-info-full .globe-country-tags { grid-column: 1 / 2; }
.globe-info-full .globe-stats-grid {
  grid-column: 2 / 3;
  grid-row: 2 / 5;
  align-self: center;
  margin-bottom: 0;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Tag "em breve" */
.g-tag-soon {
  opacity: 0.45;
  font-style: italic;
}

/* ── Responsivo ── */
@media (max-width: 1100px) {
  .hero-globe-layout {
    grid-template-columns: 1fr;
    padding-top: 120px;
    padding-bottom: 80px;
  }
  .hero-globe-wrap {
    transform: translateX(0);
    margin-top: 48px;
  }
  .hero-globe-wrap #ylaGlobe { width: 400px; height: 400px; }
  .hero-globe-atm { width: 420px; height: 420px; }
  .hero-globe-glow { width: 420px; height: 420px; }
  .hcf-top-left  { top: 2%;  left: -2%;  width: 190px; }
  .hcf-bottom-left { bottom: 6%; left: -2%; width: 180px; }
  .hcf-top-right { top: 5%; right: -2%; }
  .globe-info-full {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .globe-info-full .globe-heading,
  .globe-info-full .globe-subtext,
  .globe-info-full .globe-country-tags,
  .globe-info-full .globe-stats-grid { grid-column: 1; }
  .globe-info-full .globe-stats-grid {
    grid-row: auto;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 28px;
  }
  .globe-info-full .globe-country-tags { justify-content: center; }
}

@media (max-width: 640px) {
  .hero-globe-wrap #ylaGlobe { width: 290px; height: 290px; }
  .hero-globe-atm { width: 308px; height: 308px; }
  .hero-globe-glow { width: 308px; height: 308px; }
  .hcf { display: none; } /* em mobile pequeno esconde os balões para não sobrepor */
  .globe-info-full .globe-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===========================
   MISSION STRIP
=========================== */
.mission-strip {
  background: var(--blue-700);
  padding: 24px 0;
}

.mission-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.mission-text {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  font-weight: 400;
}

.mission-text strong {
  color: white;
  font-weight: 600;
}

.mission-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--orange-400);
  white-space: nowrap;
  transition: var(--transition);
}

.mission-link:hover { color: var(--orange-300); }

/* ===========================
   SECTIONS COMMON
=========================== */
.section {
  padding: 96px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--orange-500);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  background: var(--orange-50);
  border-radius: 100px;
  border: 1px solid var(--orange-100);
  align-self: center;
  white-space: nowrap;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -1px;
  line-height: 1.1;
}

.section-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--blue-500);
  margin-left: auto;
  transition: var(--transition);
  white-space: nowrap;
}

.section-link:hover { color: var(--blue-600); }

/* ===========================
   ARTICLES GRID
=========================== */
.articles-section { background: var(--white); }

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

.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--gray-200);
}

.article-featured { grid-column: span 6; }
.article-card:not(.article-featured) { grid-column: span 3; }

.article-img {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}

.article-featured .article-img { aspect-ratio: 16/8; }

.article-img-overlay {
  position: absolute;
  inset: 0;
  padding: 16px;
  display: flex;
  align-items: flex-start;
}

.article-category {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: white;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.2);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.article-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.article-date, .article-read {
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 500;
}

.article-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  transition: var(--transition);
}

.article-featured .article-title { font-size: 22px; }

.article-card:hover .article-title { color: var(--blue-600); }

.article-excerpt {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.article-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
}

.author-school {
  font-size: 11.5px;
  color: var(--gray-400);
}

.article-cta {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-500);
  transition: var(--transition);
}

.article-cta:hover { color: var(--blue-700); }

/* ===========================
   CATEGORIES
=========================== */
.categories-section { background: var(--gray-50); }

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

.category-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  display: block;
}

.category-card:hover {
  border-color: var(--blue-400);
  box-shadow: var(--shadow-blue);
  transform: translateY(-3px);
}

.cat-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.cat-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.cat-count {
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 500;
}

/* ===========================
   ACOES
=========================== */
.acoes-section { background: var(--white); }

.acoes-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.acao-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.acao-card::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: var(--transition);
  background: radial-gradient(circle at top right, rgba(249,115,22,.06), transparent 60%);
}

.acao-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.acao-card:hover::after { opacity: 1; }

.acao-primary {
  background: var(--blue-900);
  border-color: var(--blue-700);
  color: white;
}

.acao-primary::after {
  background: radial-gradient(circle at top right, rgba(249,115,22,.2), transparent 60%);
  opacity: 1;
}

.acao-icon {
  font-size: 36px;
  margin-bottom: 20px;
}

.acao-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: inherit;
}

.acao-primary .acao-title { color: white; }

.acao-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.acao-primary .acao-desc { color: rgba(255,255,255,.65); }

.acao-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--orange-500);
  background: rgba(249,115,22,.12);
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-block;
  margin-bottom: 16px;
}

.acao-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-400);
  transition: var(--transition);
  display: block;
}

.acao-primary .acao-link { color: var(--orange-400); }
.acao-link:hover { opacity: .75; }

/* ===========================
   CTA SECTION
=========================== */
.cta-section {
  background: var(--blue-900);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(37,99,235,.3), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--orange-500);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: white;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 17px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-large { padding: 16px 36px !important; font-size: 16px !important; }

.btn-ghost {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: rgba(255,255,255,.7);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255,255,255,.15);
  transition: var(--transition);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,.4);
  color: white;
  background: rgba(255,255,255,.05);
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: #060d1a;
  padding: 72px 0 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

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

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand .logo-text { color: white; }

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,.4);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  transition: var(--transition);
}

.social-link:hover {
  background: rgba(255,255,255,.12);
  color: white;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}

.footer-links li + li { margin-top: 10px; }

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
}

.footer-links a:hover { color: rgba(255,255,255,.9); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,.3);
}

/* ===========================
   PUBLICAÇÕES PAGE
=========================== */
.page-header {
  background: var(--blue-900);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 100%, black, transparent);
}

.page-header-content { position: relative; }

.page-header-badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--orange-400);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  color: white;
  letter-spacing: -2px;
  margin-bottom: 16px;
  line-height: 1.05;
}

.page-header p {
  font-size: 17px;
  color: rgba(255,255,255,.6);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
}

/* Search Bar */
.search-section {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 24px 0;
  position: sticky;
  top: 68px;
  z-index: 10;
}

.search-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  position: relative;
  min-width: 240px;
}

.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 11px 16px 11px 42px;
  font-family: var(--font-body);
  font-size: 14px;
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  color: var(--gray-800);
  transition: var(--transition);
  outline: none;
}

.search-box input:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

.filter-select {
  padding: 11px 36px 11px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  color: var(--gray-700);
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

/* ===========================
   PUBLICACOES LIST
=========================== */
.publist-section { padding: 64px 0; }

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

.publist-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.publist-img {
  aspect-ratio: 16/7;
  position: relative;
  overflow: hidden;
}

.publist-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.publist-category {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--orange-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.publist-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
  transition: var(--transition);
}

.publist-card:hover .publist-title { color: var(--blue-600); }

.publist-abstract {
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.publist-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.publist-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.publist-cta {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-500);
  padding: 6px 14px;
  border: 1.5px solid var(--blue-200);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.publist-cta:hover {
  background: var(--blue-500);
  color: white;
  border-color: var(--blue-500);
}

/* Tags */
.tags-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: 0.2px;
}

/* ===========================
   ARTICLE PAGE
=========================== */
.article-page {
  background: var(--gray-50);
  min-height: 100vh;
}

.article-hero {
  background: var(--blue-900);
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,.15) 0%, transparent 60%);
}

.article-hero-inner { position: relative; max-width: 800px; }

.article-category-badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--orange-400);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-category-badge::before {
  content: '';
  width: 16px; height: 2px;
  background: var(--orange-400);
  border-radius: 2px;
}

.article-main-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: white;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}

.article-meta-item svg { flex-shrink: 0; }

.article-layout {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px var(--container-pad);
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

.article-content {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px 52px;
  border: 1px solid var(--gray-100);
}

.article-abstract {
  background: var(--blue-50);
  border-left: 3px solid var(--blue-500);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 36px;
}

.abstract-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}

.abstract-text {
  font-size: 14.5px;
  color: var(--gray-700);
  line-height: 1.7;
  font-style: italic;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.5px;
  margin: 36px 0 14px;
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-800);
  margin: 28px 0 10px;
}

.article-body p {
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 20px;
}

.article-keywords {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}

.keywords-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
}

.article-sidebar { position: sticky; top: 100px; }

.sidebar-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.sidebar-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}

.author-block {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.author-avatar-lg {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.author-info-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
}

.author-info-school {
  font-size: 12.5px;
  color: var(--gray-500);
}

.author-detail {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 6px;
}

.author-detail strong { color: var(--gray-800); font-weight: 600; }

/* ===========================
   ENVIAR / FORM
=========================== */
.form-page { background: var(--gray-50); min-height: 100vh; }

.form-section { padding: 60px 0 96px; }

.form-container {
  max-width: 780px;
  margin: 0 auto;
}

.form-steps {
  display: flex;
  gap: 0;
  margin-bottom: 48px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.form-step {
  flex: 1;
  padding: 16px;
  text-align: center;
  border-right: 1px solid var(--gray-200);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.form-step:last-child { border-right: none; }

.form-step.active {
  background: var(--blue-900);
  color: white;
}

.form-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 48px 52px;
}

.form-section-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.form-section-desc {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 32px;
}

.form-row { margin-bottom: 20px; }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.form-label span {
  color: var(--orange-500);
  margin-left: 2px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  color: var(--gray-800);
  transition: var(--transition);
  outline: none;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

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

.form-hint {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 6px;
}

.form-divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 36px 0;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.checkbox-row input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--blue-500);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.checkbox-label {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
}

.checkbox-label a {
  color: var(--blue-500);
  font-weight: 600;
}

.form-submit-row {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}

.btn-outline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--gray-600);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 2px solid var(--gray-200);
  background: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover { border-color: var(--gray-400); color: var(--gray-800); }

.btn-form-submit {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: white;
  background: var(--blue-600);
  padding: 12px 32px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-form-submit:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}

/* ===========================
   SOBRE PAGE
=========================== */
.sobre-hero {
  background: var(--blue-900);
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
}

.sobre-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.sobre-hero-inner {
  position: relative;
  max-width: 700px;
}

.sobre-mission {
  padding: 100px 0;
  background: white;
}

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

.sobre-text h2 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.sobre-text p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.sobre-visual {
  background: var(--blue-900);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.sobre-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(249,115,22,.2), transparent 60%);
}

.values-section {
  padding: 96px 0;
  background: var(--gray-50);
}

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

.value-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}

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

.value-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.value-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.value-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===========================
   DIRETRIZES PAGE
=========================== */
.diretrizes-layout {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px var(--container-pad) 96px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}

.diretrizes-nav {
  position: sticky;
  top: 100px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.dir-nav-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}

.dir-nav-link {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-500);
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  margin-bottom: 2px;
}

.dir-nav-link:hover, .dir-nav-link.active {
  background: var(--blue-50);
  color: var(--blue-600);
}

.diretrizes-content { background: white; border-radius: var(--radius-xl); padding: 48px 52px; border: 1px solid var(--gray-100); }

.dir-section { margin-bottom: 56px; }
.dir-section:last-child { margin-bottom: 0; }

.dir-section h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.7px;
  margin-bottom: 16px;
  padding-top: 8px;
}

.dir-section p, .dir-section li {
  font-size: 15.5px;
  color: var(--gray-700);
  line-height: 1.75;
}

.dir-section ul, .dir-section ol {
  padding-left: 20px;
  margin-top: 12px;
}

.dir-section ul { list-style: disc; }
.dir-section ol { list-style: decimal; }
.dir-section li { margin-bottom: 8px; }

.dir-callout {
  background: var(--orange-50);
  border: 1px solid var(--orange-100);
  border-left: 3px solid var(--orange-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.dir-callout p {
  font-size: 14px;
  color: var(--orange-700);
  margin: 0;
}

/* ===========================
   FAQ PAGE
=========================== */
.faq-section { padding: 80px 0 100px; }

.faq-layout {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: white;
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open { border-color: var(--blue-300); box-shadow: var(--shadow-blue); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  gap: 16px;
}

.faq-q-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-800);
  letter-spacing: -0.2px;
}

.faq-toggle {
  width: 28px; height: 28px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-toggle {
  background: var(--blue-600);
  transform: rotate(45deg);
}

.faq-toggle svg { color: var(--gray-600); }
.faq-item.open .faq-toggle svg { color: white; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1);
}

.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer-inner {
  padding: 0 24px 24px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.75;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
}

/* ===========================
   CONTATO PAGE
=========================== */
.contato-section { padding: 80px 0 100px; }

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contato-info h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.contato-info p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 32px;
}

.contato-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contato-icon {
  width: 44px; height: 44px;
  background: var(--blue-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  flex-shrink: 0;
}

.contato-item-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.contato-item-val {
  font-size: 14px;
  color: var(--gray-600);
}

.contato-form {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
}

/* ===========================
   ACOES PAGE
=========================== */
.acoes-hero { background: var(--blue-900); padding: 130px 0 80px; position: relative; overflow: hidden; }

.acoes-list { padding: 80px 0; }

.acao-full-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 3px 1fr;
  transition: var(--transition);
}

.acao-full-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.acao-accent { background: var(--blue-500); }
.acao-accent.orange { background: var(--orange-500); }
.acao-accent.teal { background: #14b8a6; }

.acao-full-body {
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.acao-full-icon-title {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 14px;
}

.acao-full-icon {
  font-size: 40px;
  flex-shrink: 0;
}

.acao-full-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.7px;
  margin-bottom: 6px;
}

.acao-full-category {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--orange-600);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.acao-full-desc {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 600px;
}

.acao-full-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
}

.acao-status {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.status-open { background: #dcfce7; color: #16a34a; }
.status-soon { background: #fff7ed; color: #c2410c; }
.status-ongoing { background: var(--blue-50); color: var(--blue-700); }

.acao-full-date {
  font-size: 13px;
  color: var(--gray-400);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1100px) {
  .hero-visual { display: none; }
  .acoes-grid { grid-template-columns: 1fr 1fr; }
  .acao-card.acao-primary { grid-column: span 2; }
}

@media (max-width: 900px) {
  .articles-grid { grid-template-columns: 1fr; }
  .article-featured { grid-column: span 1; }
  .article-card:not(.article-featured) { grid-column: span 1; }
  .articles-grid { display: flex; flex-direction: column; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .acoes-grid { grid-template-columns: 1fr; }
  .acao-card.acao-primary { grid-column: auto; }
  .sobre-grid { grid-template-columns: 1fr; }
  .diretrizes-layout { grid-template-columns: 1fr; }
  .diretrizes-nav { position: static; }
  .contato-grid { grid-template-columns: 1fr; }
  .publist-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .acao-full-body { grid-template-columns: 1fr; }
  .acao-full-meta { text-align: left; flex-direction: row; flex-wrap: wrap; align-items: center; }
}

@media (max-width: 640px) {
  :root { --container-pad: 16px; }

  .nav-links { display: none; flex-direction: column; gap: 4px; position: absolute; top: 68px; left: 0; right: 0; background: rgba(10,22,40,.98); padding: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .btn-submit { display: none; }

  .hero { padding: 100px 16px 60px; }
  .hero-title { font-size: 40px; }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 22px; }

  .section { padding: 64px 0; }
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .publist-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .form-card { padding: 28px 24px; }
  .article-content { padding: 28px 24px; }
  .diretrizes-content { padding: 28px 24px; }
  .contato-form { padding: 28px 24px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .acoes-grid { grid-template-columns: 1fr; }
}

/* ====================================================
   GLOBE SECTION
==================================================== */

.globe-section {
  background: linear-gradient(180deg, #040c1b 0%, #060f20 40%, #060f20 60%, #040c1b 100%);
  padding: 80px 0 90px;
  overflow: hidden;
  position: relative;
}

.globe-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(37,99,235,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 30% 50%, rgba(249,115,22,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Layout */
.globe-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Left column */
.globe-info {
  padding-right: 16px;
}

.globe-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange-400);
  margin-bottom: 20px;
}

.globe-dot-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--orange-500);
  border-radius: 50%;
  position: relative;
}

.globe-dot-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(249,115,22,0.4);
  animation: globePulse 2s ease-out infinite;
}

@keyframes globePulse {
  0%   { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.globe-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 18px;
}

.globe-subtext {
  font-size: 15.5px;
  color: rgba(255,255,255,0.48);
  line-height: 1.75;
  max-width: 400px;
  margin-bottom: 44px;
  font-weight: 300;
}

/* Stats grid */
.globe-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 36px;
}

.globe-stat-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 20px 22px 16px;
  transition: background 0.22s ease, border-color 0.22s ease;
}

.globe-stat-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(249,115,22,0.2);
}

.globe-stat-top {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 5px;
}

.globe-stat-number {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -2px;
  line-height: 1;
}

.globe-stat-plus {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--orange-400);
  letter-spacing: -1px;
}

.globe-stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: rgba(255,255,255,0.35);
}

/* Country tags */
.globe-country-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.g-tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 100px;
  padding: 5px 13px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  cursor: default;
  user-select: none;
}

.g-tag:hover {
  background: rgba(249,115,22,0.12);
  border-color: rgba(249,115,22,0.3);
  color: rgba(255,255,255,0.9);
}

/* Right column — Globe */
.globe-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.globe-atm-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, rgba(37,99,235,0.05) 50%, transparent 70%);
  pointer-events: none;
}

#ylaGlobe {
  display: block;
  width: 480px;
  height: 480px;
  max-width: 100%;
  position: relative;
  z-index: 1;
  cursor: grab;
}

#ylaGlobe:active {
  cursor: grabbing;
}

/* Responsive */
@media (max-width: 960px) {
  .globe-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .globe-visual {
    order: -1;
  }
  #ylaGlobe {
    width: 360px;
    height: 360px;
  }
  .globe-info {
    padding-right: 0;
  }
}

@media (max-width: 560px) {
  .globe-section {
    padding: 72px 0 80px;
  }
  #ylaGlobe {
    width: 290px;
    height: 290px;
  }
  .globe-stats-grid {
    gap: 10px;
  }
  .globe-stat-number {
    font-size: 34px;
  }
  .globe-heading {
    letter-spacing: -1.5px;
  }
}

/* ===========================
   ADMIN BUTTON (navbar)
=========================== */
.btn-admin-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.2px;
}
.btn-admin-nav:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.28);
}

/* ===========================
   ADMIN — TABS
=========================== */
.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--gray-100);
  padding-bottom: 0;
}

.admin-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  padding: 10px 16px;
  cursor: pointer;
  transition: color .18s, border-color .18s;
}
.admin-tab-btn:hover { color: var(--gray-700); }
.admin-tab-btn.active {
  color: var(--blue-600);
  border-bottom-color: var(--blue-500);
}

.admin-tab-content { }
.admin-tab-content.hidden { display: none; }

/* ===========================
   ADMIN — MESSAGES
=========================== */
.admin-msg-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 12px 16px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

.admin-msg-filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
}

.admin-realtime-badge {
  font-size: 11.5px;
  font-weight: 600;
  color: #16a34a;
  letter-spacing: 0.2px;
}

.admin-msg-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-msg-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .18s, border-color .18s;
}
.admin-msg-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-100);
}
.admin-msg-unread {
  border-left: 3px solid var(--blue-500);
  background: #f8faff;
}

.admin-msg-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px 12px;
  flex-wrap: wrap;
}

.admin-msg-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.admin-msg-info {
  flex: 1;
  min-width: 0;
}

.admin-msg-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-msg-new-tag {
  background: var(--blue-500);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: 0.4px;
}

.admin-msg-meta {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 3px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-msg-email {
  color: var(--blue-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.admin-msg-subject {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  align-self: flex-start;
}

.admin-msg-read-btn {
  font-size: 12px;
  font-weight: 600;
  color: white;
  background: var(--blue-500);
  border: none;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}
.admin-msg-read-btn:hover { background: var(--blue-600); }

.admin-msg-read-tag {
  font-size: 12px;
  color: #16a34a;
  font-weight: 600;
  white-space: nowrap;
}

.admin-msg-body {
  padding: 4px 20px 16px 74px;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.7;
  white-space: pre-wrap;
}

.admin-msg-footer {
  padding: 10px 20px 14px 74px;
  border-top: 1px solid var(--gray-100);
}

.admin-btn-reply {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-500);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .15s;
}
.admin-btn-reply:hover { color: var(--blue-700); }

/* Badge pulse animation */
.admin-badge-new { background: #ef4444 !important; }

@keyframes badge-pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.admin-badge-pulse { animation: badge-pulse 0.5s ease 2; }

@media (max-width: 640px) {
  .admin-msg-body { padding-left: 20px; }
  .admin-msg-footer { padding-left: 20px; }
}
/* ===========================
   ADMIN — PAGE BASE
=========================== */
.admin-page {
  background: var(--gray-50);
  min-height: 100vh;
}

/* ===========================
   ADMIN — TOPBAR
=========================== */
.admin-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 60px;
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 28px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.admin-topbar-logo {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.admin-topbar-logo span {
  font-size: 11px;
  font-weight: 600;
  color: var(--orange-400);
  background: rgba(249,115,22,0.15);
  border: 1px solid rgba(249,115,22,0.3);
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.admin-topbar-sep {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.12);
  margin: 0 20px;
  flex-shrink: 0;
}

.admin-topbar-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  flex: 1;
}

.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.admin-topbar-user {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-back-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.admin-back-link:hover {
  color: white;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
}

.admin-logout-btn {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.3);
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.2px;
}
.admin-logout-btn:hover {
  background: rgba(239,68,68,0.3);
  color: white;
  border-color: rgba(239,68,68,0.6);
}

/* ===========================
   ADMIN — GUARD / LOGIN
=========================== */
.admin-guard {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: radial-gradient(ellipse at 30% 40%, #0f2042 0%, #0a1628 50%, #030913 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.admin-login-modal {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 44px 40px 40px;
  width: 100%;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(37,99,235,0.15);
  backdrop-filter: blur(20px);
}

.admin-login-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.admin-login-logo-dot {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(249,115,22,0.4);
}

.admin-login-logo-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.3px;
}

.admin-login-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.admin-login-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 32px;
  line-height: 1.5;
}

.admin-login-field {
  margin-bottom: 18px;
}

.admin-login-label {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.admin-login-input {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: white;
  outline: none;
  transition: border-color .18s, background .18s;
}
.admin-login-input::placeholder { color: rgba(255,255,255,0.25); }
.admin-login-input:focus {
  border-color: var(--blue-400);
  background: rgba(255,255,255,0.1);
}

.admin-login-error {
  font-size: 13px;
  color: #f87171;
  margin-top: 8px;
  display: none;
  animation: shakeIn .3s ease;
}
.admin-login-error.show { display: block; }
@keyframes shakeIn {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.admin-login-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: white;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: var(--transition);
  margin-top: 8px;
  box-shadow: 0 4px 20px rgba(37,99,235,0.4);
}
.admin-login-btn:hover {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.5);
}
.admin-login-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ===========================
   ADMIN — BODY / CONTENT
=========================== */
.admin-body {
  padding-top: 60px;
  min-height: 100vh;
}

.admin-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 28px 60px;
}

/* ===========================
   ADMIN — STATS
=========================== */
.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.admin-stat-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  transition: box-shadow .18s, transform .18s;
  cursor: default;
}
.admin-stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.admin-stat-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.admin-stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
}

.admin-stat-sub {
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 400;
}

/* ===========================
   ADMIN — FILTERS
=========================== */
.admin-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.admin-filter-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-600);
  background: white;
  border: 1px solid var(--gray-200);
  padding: 7px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.admin-filter-btn:hover {
  border-color: var(--blue-300);
  color: var(--blue-600);
  background: var(--blue-50);
}
.admin-filter-btn.active {
  background: var(--blue-600);
  color: white;
  border-color: var(--blue-600);
}
.admin-filter-btn.active .count-badge {
  background: rgba(255,255,255,0.25);
  color: white;
}

.count-badge {
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 20px;
  min-width: 20px;
  text-align: center;
}

.admin-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  padding: 7px 14px;
  margin-left: auto;
  color: var(--gray-400);
  transition: border-color .18s;
}
.admin-search-wrap:focus-within {
  border-color: var(--blue-400);
  color: var(--gray-600);
}

.admin-search-input {
  border: none;
  outline: none;
  font-size: 13px;
  color: var(--gray-700);
  font-family: var(--font-body);
  width: 200px;
  background: transparent;
}
.admin-search-input::placeholder { color: var(--gray-400); }

/* ===========================
   ADMIN — SUBMISSIONS LIST
=========================== */
.admin-submissions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-sub-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .18s, border-color .18s;
}
.admin-sub-card:hover { box-shadow: var(--shadow-sm); }
.admin-sub-card.expanded { border-color: var(--blue-200); }

.admin-sub-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
}

.admin-sub-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: white;
  flex-shrink: 0;
}

.admin-sub-info {
  flex: 1;
  min-width: 0;
}

.admin-sub-title {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
  line-height: 1.4;
}

.admin-sub-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--gray-500);
}
.admin-sub-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.admin-sub-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.admin-sub-date {
  font-size: 11px;
  color: var(--gray-400);
}

.admin-sub-expand-btn {
  background: var(--gray-100);
  border: none;
  border-radius: var(--radius-sm);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-500);
  transition: var(--transition);
}
.admin-sub-expand-btn:hover { background: var(--gray-200); color: var(--gray-700); }
.admin-sub-card.expanded .admin-sub-expand-btn svg { transform: rotate(180deg); }

/* Status badges */
.status-badge {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.status-pendente   { background: #fef9c3; color: #a16207; border: 1px solid #fde047; }
.status-em_revisao { background: #dbeafe; color: #1d4ed8; border: 1px solid #93c5fd; }
.status-publicado  { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.status-aprovado   { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.status-rejeitado  { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* Expanded body */
.admin-sub-body {
  display: none;
  border-top: 1px solid var(--gray-100);
}
.admin-sub-card.expanded .admin-sub-body { display: block; }

.admin-sub-body-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 22px 24px;
}

.admin-sub-resumo-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.admin-sub-resumo-text {
  font-size: 13.5px;
  color: var(--gray-700);
  line-height: 1.7;
}

.admin-sub-details-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-detail-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.admin-detail-key {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gray-400);
  min-width: 80px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-top: 1px;
}

.admin-detail-val {
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.5;
  word-break: break-word;
}

/* Full article text */
.admin-artigo-full {
  padding: 0 24px 16px;
}

.admin-artigo-texto {
  margin-top: 12px;
  padding: 16px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  color: var(--gray-700);
  line-height: 1.8;
  white-space: pre-wrap;
  max-height: 400px;
  overflow-y: auto;
}
.admin-artigo-texto.hidden { display: none; }

/* Nota editor */
.admin-nota-label {
  display: block;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 8px;
}

.admin-nota-input {
  width: 100%;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-700);
  resize: vertical;
  min-height: 80px;
  outline: none;
  transition: border-color .18s;
}
.admin-nota-input:focus { border-color: var(--blue-400); }

/* Action buttons */
.admin-btn-approve,
.admin-btn-reject,
.admin-btn-review,
.admin-btn-view {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.admin-btn-approve {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}
.admin-btn-approve:hover { background: #bbf7d0; }

.admin-btn-reject {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}
.admin-btn-reject:hover { background: #fecaca; }

.admin-btn-review {
  background: #dbeafe;
  color: #1d4ed8;
  border: 1px solid #93c5fd;
}
.admin-btn-review:hover { background: #bfdbfe; }

.admin-btn-view {
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}
.admin-btn-view:hover { background: var(--gray-200); }

/* Empty state */
.admin-empty {
  text-align: center;
  padding: 60px 20px;
}
.admin-empty-icon {
  font-size: 40px;
  margin-bottom: 14px;
}
.admin-empty-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.admin-empty-text {
  font-size: 14px;
  color: var(--gray-400);
}

/* ===========================
   ADMIN — TOAST
=========================== */
.admin-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: var(--gray-900);
  color: white;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transform: translateY(80px);
  opacity: 0;
  transition: transform .28s cubic-bezier(.4,0,.2,1), opacity .28s ease;
  pointer-events: none;
  max-width: 340px;
}
.admin-toast.show {
  transform: translateY(0);
  opacity: 1;
}
.admin-toast.toast-ok  { background: #16a34a; }
.admin-toast.toast-err { background: #dc2626; }
.admin-toast.toast-inf { background: var(--blue-600); }

/* ===========================
   ADMIN — RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .admin-stats-row { grid-template-columns: repeat(2, 1fr); }
  .admin-sub-body-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .admin-content { padding: 20px 16px 40px; }
  .admin-stats-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .admin-topbar-user { display: none; }
  .admin-sub-card-header { flex-wrap: wrap; }
  .admin-filters { gap: 6px; }
  .admin-search-wrap { margin-left: 0; width: 100%; }
  .admin-search-input { width: 100%; }
}
/* ===========================
   IMAGE UPLOAD — enviar.html
=========================== */
.upload-drop-area {
  position: relative;
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  background: var(--gray-50);
  transition: border-color .22s ease, background .22s ease, box-shadow .22s ease;
  cursor: pointer;
  overflow: hidden;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-drop-area:hover,
.upload-drop-area.drag-over {
  border-color: var(--blue-400);
  background: var(--blue-50);
  box-shadow: 0 0 0 4px rgba(37,99,235,.08);
}

.upload-drop-area.has-file {
  border-style: solid;
  border-color: var(--blue-300);
  background: var(--white);
  min-height: auto;
}

/* Hidden native file input — entire drop area is clickable */
.upload-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

/* Placeholder (shown when no file selected) */
.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px 24px;
  text-align: center;
  pointer-events: none;
  width: 100%;
}

.upload-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: background .22s, color .22s;
}

.upload-drop-area:hover .upload-icon,
.upload-drop-area.drag-over .upload-icon {
  background: rgba(37,99,235,.12);
  color: var(--blue-500);
}

.upload-primary-text {
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 500;
  line-height: 1.5;
}

.upload-browse-link {
  color: var(--blue-500);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.upload-secondary-text {
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 400;
}

/* Preview (shown after file selected) */
.upload-preview {
  width: 100%;
  position: relative;
}

.upload-preview img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 2px);
  display: block;
}

.upload-remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  background: rgba(0,0,0,.65);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.2px;
  transition: background .18s;
  backdrop-filter: blur(4px);
}

.upload-remove-btn:hover {
  background: rgba(220,38,38,.85);
}

/* Uploading state */
.upload-drop-area.uploading {
  pointer-events: none;
  opacity: .7;
}

.upload-drop-area.uploading::after {
  content: 'Enviando imagem…';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-600);
  backdrop-filter: blur(2px);
  z-index: 5;
  border-radius: calc(var(--radius-lg) - 2px);
}

/* ===========================
   ARTICLE COVER IMAGE — artigo.html
=========================== */
.article-cover {
  margin-bottom: 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--gray-100);
}

.article-cover-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  transition: opacity .3s ease;
}
