/* ============================================================
   Gabriel Duarte - Advocacia Trabalhista
   Design: Azul Marinho + Dourado + Branco
   Fontes: Inter 300/400/500/600/700 + Playfair Display 400/700
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  --azul-escuro: #0a1929;
  --azul-medio: #132f4c;
  --dourado: #c9a84c;
  --dourado-claro: #d4af5e;
  --dourado-hover: #b8922e;
  --branco: #ffffff;
  --cinza-claro: #f5f5f5;
  --cinza-medio: #e0e0e0;
  --cinza-texto: #6b7280;
  --texto-escuro: #1a1a2e;
  --sombra: 0 4px 20px rgba(0,0,0,0.08);
  --sombra-lg: 0 10px 40px rgba(0,0,0,0.12);
  --transicao: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--texto-escuro);
  background: var(--branco);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .serif {
  font-family: 'Playfair Display', serif;
}

/* ==================== NAVBAR GLASSMORPHISM ==================== */
.navbar {
  background: rgba(10, 25, 41, 0.92) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  padding: 12px 0;
  transition: var(--transicao);
  z-index: 1000;
}

.navbar.scrolled {
  padding: 6px 0;
  background: rgba(10, 25, 41, 0.98) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--branco) !important;
  letter-spacing: -0.5px;
}

.navbar-brand span {
  color: var(--dourado);
}

.navbar-brand .oab-badge {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--cinza-texto);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 16px !important;
  transition: var(--transicao);
  position: relative;
  letter-spacing: 0.3px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--dourado);
  transition: var(--transicao);
}

.nav-link:hover { color: var(--dourado) !important; }
.nav-link:hover::after { width: 70%; }
.nav-link.ativo { color: var(--dourado) !important; }
.nav-link.ativo::after { width: 70%; }

.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.3) !important;
  padding: 6px 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.btn-nav {
  background: var(--dourado);
  color: var(--azul-escuro) !important;
  padding: 10px 24px !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transicao);
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-block;
}

.btn-nav:hover {
  background: var(--dourado-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
}

/* ==================== HERO SECTION ==================== */
.hero {
  background: linear-gradient(135deg, var(--azul-escuro) 0%, #0d2137 40%, var(--azul-medio) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 70%);
  animation: pulse 10s ease-in-out infinite 2s;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.15);
  color: var(--dourado);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--branco);
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero h1 span {
  color: var(--dourado);
  display: block;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  font-weight: 300;
  line-height: 1.8;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn-primary-hero {
  background: var(--dourado);
  color: var(--azul-escuro);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transicao);
  border: none;
  letter-spacing: 0.5px;
  display: inline-block;
}

.btn-primary-hero:hover {
  background: var(--dourado-claro);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.4);
  color: var(--azul-escuro);
}

.btn-outline-hero {
  background: transparent;
  color: var(--branco);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transicao);
  border: 2px solid rgba(255,255,255,0.3);
  letter-spacing: 0.5px;
  display: inline-block;
}

.btn-outline-hero:hover {
  border-color: var(--dourado);
  color: var(--dourado);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stat h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dourado);
  margin-bottom: 2px;
}

.hero-stat p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-img-wrapper {
  position: relative;
  z-index: 2;
}

.hero-img-placeholder {
  width: 100%;
  max-width: 450px;
  height: 520px;
  background: linear-gradient(145deg, rgba(201,168,76,0.1), rgba(19,47,76,0.5));
  border-radius: 20px;
  border: 1px solid rgba(201,168,76,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.hero-img-placeholder::before {
  content: '⚖️';
  font-size: 8rem;
  opacity: 0.3;
}

/* ==================== SECTION TITLES ==================== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.1);
  color: var(--dourado);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--azul-escuro);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--cinza-texto);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--dourado);
  margin: 16px auto 0;
  border-radius: 3px;
}

/* ==================== CARDS DE ATUAÇÃO ==================== */
#atuacao {
  padding: 100px 0;
  background: var(--cinza-claro);
}

.area-card {
  background: var(--branco);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: var(--transicao);
  border: 1px solid transparent;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--dourado);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.area-card:hover { transform: translateY(-8px); box-shadow: var(--sombra-lg); border-color: rgba(201,168,76,0.2); }
.area-card:hover::before { transform: scaleX(1); }

.area-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(10,25,41,0.1));
}

.area-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--azul-escuro);
}

.area-card p {
  font-size: 0.9rem;
  color: var(--cinza-texto);
  margin: 0;
}

/* ==================== SOBRE ==================== */
#sobre {
  padding: 100px 0;
}

.sobre-img-placeholder {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, var(--azul-medio), var(--azul-escuro));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  opacity: 0.9;
  position: relative;
  overflow: hidden;
}

.sobre-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--azul-escuro);
  margin-bottom: 20px;
}

.sobre-content .destaque {
  color: var(--dourado);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.sobre-content p {
  color: var(--cinza-texto);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.sobre-details {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.sobre-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sobre-detail-item .detail-icon {
  font-size: 1.5rem;
}

.sobre-detail-item strong {
  display: block;
  font-size: 0.8rem;
  color: var(--cinza-texto);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sobre-detail-item span {
  font-weight: 600;
  color: var(--azul-escuro);
}

/* ==================== ARTIGOS ==================== */
#artigos-home {
  padding: 100px 0;
  background: var(--cinza-claro);
}

.artigo-card {
  background: var(--branco);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transicao);
  height: 100%;
  border: 1px solid transparent;
}

.artigo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-lg);
  border-color: rgba(201,168,76,0.2);
}

.artigo-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--azul-medio), var(--azul-escuro));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}

.artigo-card-img .artigo-assunto-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--dourado);
  color: var(--azul-escuro);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.artigo-card-body {
  padding: 24px;
}

.artigo-card-body h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--azul-escuro);
  margin-bottom: 8px;
  line-height: 1.4;
}

.artigo-card-body p {
  font-size: 0.85rem;
  color: var(--cinza-texto);
  margin-bottom: 16px;
}

.artigo-card-body .artigo-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--cinza-texto);
}

.artigo-card-body .btn-link-dourado {
  color: var(--dourado);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transicao);
}

.artigo-card-body .btn-link-dourado:hover { color: var(--dourado-hover); }

.btn-ver-todos {
  display: inline-block;
  background: transparent;
  color: var(--dourado);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--dourado);
  transition: var(--transicao);
  margin-top: 40px;
}

.btn-ver-todos:hover {
  background: var(--dourado);
  color: var(--azul-escuro);
}

/* ==================== CONTATO ==================== */
#contato {
  padding: 100px 0;
}

.contato-info {
  padding-right: 40px;
}

.contato-info h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--azul-escuro);
  margin-bottom: 16px;
}

.contato-info p {
  color: var(--cinza-texto);
  margin-bottom: 30px;
}

.contato-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.contato-item .contato-icon {
  font-size: 1.5rem;
  min-width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,168,76,0.1);
}

.contato-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--azul-escuro);
  margin-bottom: 2px;
}

.contato-item span {
  font-size: 0.85rem;
  color: var(--cinza-texto);
}

.contato-form-wrapper {
  background: var(--branco);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--sombra-lg);
  border: 1px solid rgba(0,0,0,0.05);
}

.form-control-custom {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--cinza-medio);
  border-radius: 10px;
  font-size: 0.9rem;
  transition: var(--transicao);
  background: var(--cinza-claro);
  font-family: 'Inter', sans-serif;
  margin-bottom: 16px;
}

.form-control-custom:focus {
  outline: none;
  border-color: var(--dourado);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
  background: var(--branco);
}

textarea.form-control-custom {
  min-height: 130px;
  resize: vertical;
}

.btn-dourado {
  background: var(--dourado);
  color: var(--azul-escuro);
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  transition: var(--transicao);
  cursor: pointer;
  width: 100%;
  letter-spacing: 0.5px;
}

.btn-dourado:hover {
  background: var(--dourado-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}

/* ==================== CONSULTORIA ==================== */
#consultoria {
  padding: 100px 0;
  background: var(--azul-escuro);
  position: relative;
  overflow: hidden;
}

#consultoria::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(201,168,76,0.05), transparent 60%);
}

#consultoria .section-header h2 { color: var(--branco); }
#consultoria .section-header p { color: rgba(255,255,255,0.6); }

.consultoria-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 48px 36px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transicao);
  height: 100%;
}

.consultoria-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
}

.consultoria-card .cons-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.consultoria-card h4 {
  color: var(--branco);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.consultoria-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.consultoria-card .btn-dourado-sm {
  background: var(--dourado);
  color: var(--azul-escuro);
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-block;
  transition: var(--transicao);
}

.consultoria-card .btn-dourado-sm:hover {
  background: var(--dourado-claro);
  transform: translateY(-2px);
}

/* ==================== NEWSLETTER ==================== */
.newsletter-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--azul-medio), var(--azul-escuro));
}

.newsletter-content h3 {
  color: var(--branco);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.newsletter-content p {
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--branco);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: var(--transicao);
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { 
  outline: none; 
  border-color: var(--dourado);
  background: rgba(255,255,255,0.12);
}

.newsletter-form button {
  background: var(--dourado);
  color: var(--azul-escuro);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transicao);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--dourado-claro);
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--azul-escuro);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer h5 {
  color: var(--branco);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

.footer p, .footer a {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer a {
  text-decoration: none;
  transition: var(--transicao);
  display: block;
  margin-bottom: 8px;
}

.footer a:hover { color: var(--dourado); padding-left: 6px; }

.footer .social-links {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.footer .social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transicao);
}

.footer .social-links a:hover {
  background: var(--dourado);
  color: var(--azul-escuro);
  padding-left: 0;
}

.footer-divider {
  border-color: rgba(255,255,255,0.08);
  margin: 30px 0 20px;
}

.footer-bottom {
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem;
}

/* ==================== LOGIN / CADASTRO ==================== */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--azul-escuro), var(--azul-medio));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-card {
  background: var(--branco);
  border-radius: 20px;
  padding: 48px 40px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.auth-card h2 {
  font-family: 'Playfair Display', serif;
  color: var(--azul-escuro);
  font-weight: 700;
  margin-bottom: 6px;
  text-align: center;
}

.auth-card .auth-subtitle {
  color: var(--cinza-texto);
  text-align: center;
  margin-bottom: 32px;
  font-size: 0.9rem;
}

.auth-card .alert {
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.auth-card .btn-dourado { margin-top: 8px; }

.auth-card .auth-link {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--cinza-texto);
}

.auth-card .auth-link a {
  color: var(--dourado);
  text-decoration: none;
  font-weight: 600;
}

.auth-card .auth-link a:hover { text-decoration: underline; }

/* ==================== PÁGINA DE ARTIGOS ==================== */
.page-header {
  background: linear-gradient(135deg, var(--azul-escuro), var(--azul-medio));
  padding: 140px 0 80px;
  text-align: center;
}

.page-header h1 {
  color: var(--branco);
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: 'Playfair Display', serif;
}

.page-header p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
}

.filtro-assuntos {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.filtro-assuntos .filtro-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid var(--cinza-medio);
  background: var(--branco);
  color: var(--texto-escuro);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transicao);
  text-decoration: none;
}

.filtro-assuntos .filtro-btn:hover,
.filtro-assuntos .filtro-btn.ativo {
  background: var(--dourado);
  color: var(--azul-escuro);
  border-color: var(--dourado);
  font-weight: 600;
}

/* ==================== ARTIGO INDIVIDUAL ==================== */
.artigo-individual {
  padding: 60px 0;
}

.artigo-individual .artigo-header {
  margin-bottom: 40px;
}

.artigo-individual .artigo-assunto {
  display: inline-block;
  background: rgba(201,168,76,0.1);
  color: var(--dourado);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.artigo-individual h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--azul-escuro);
  margin-bottom: 16px;
  font-family: 'Playfair Display', serif;
}

.artigo-individual .artigo-meta {
  color: var(--cinza-texto);
  font-size: 0.85rem;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.artigo-individual .artigo-conteudo {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--texto-escuro);
}

.artigo-individual .artigo-conteudo p {
  margin-bottom: 20px;
}

/* ==================== PAINEL ADMIN ==================== */
.painel-page {
  min-height: 100vh;
  background: var(--cinza-claro);
}

.painel-nav {
  background: var(--azul-escuro);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.painel-nav .navbar-brand { font-size: 1.2rem; }

.painel-content {
  padding: 40px 0;
}

.painel-content h2 {
  font-family: 'Playfair Display', serif;
  color: var(--azul-escuro);
  margin-bottom: 24px;
}

.painel-card {
  background: var(--branco);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--sombra);
  margin-bottom: 24px;
}

.painel-card h5 {
  font-weight: 700;
  color: var(--azul-escuro);
  margin-bottom: 16px;
}

.table-custom {
  font-size: 0.85rem;
}

.table-custom thead th {
  background: var(--azul-escuro);
  color: var(--branco);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  border: none;
}

.table-custom tbody td {
  padding: 12px 16px;
  vertical-align: middle;
  border-bottom: 1px solid var(--cinza-medio);
}

.table-custom .badge-status {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-publicado { background: #d4edda; color: #155724; }
.badge-rascunho  { background: #fff3cd; color: #856404; }
.badge-pendente  { background: #fff3cd; color: #856404; }
.badge-concluido { background: #d4edda; color: #155724; }

/* ==================== 404 ==================== */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--cinza-claro);
}

.page-404 h1 {
  font-size: 8rem;
  font-weight: 800;
  color: var(--azul-escuro);
  font-family: 'Playfair Display', serif;
}

.page-404 h2 {
  font-weight: 700;
  color: var(--azul-escuro);
  margin-bottom: 12px;
}

.page-404 p {
  color: var(--cinza-texto);
  margin-bottom: 28px;
}

/* ==================== RESPONSIVO ==================== */
@media (max-width: 991px) {
  .hero { text-align: center; min-height: auto; padding: 140px 0 80px; }
  .hero h1 { font-size: 2.4rem; }
  .hero p { margin: 0 auto 30px; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-img-wrapper { margin-top: 50px; }
  .hero-img-placeholder { height: 350px; max-width: 300px; }
  
  .section-header h2 { font-size: 2rem; }
  .contato-info { padding-right: 0; margin-bottom: 40px; text-align: center; }
  .contato-item { justify-content: center; }
  .newsletter-form { flex-direction: column; }
  
  .artigo-individual h1 { font-size: 1.8rem; }
}

@media (max-width: 576px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-stats { gap: 20px; }
  .hero-stat h3 { font-size: 1.6rem; }
  .sobre-details { flex-direction: column; gap: 16px; }
  .auth-card { padding: 32px 20px; }
  .page-header h1 { font-size: 2rem; }
}
