/* =====================================================
   PORTAL MEI - CSS Estático
   ===================================================== */

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

:root {
  --primary: #1a6b3a;
  --primary-dark: #145530;
  --secondary: #2563eb;
  --secondary-dark: #1d4ed8;
  --accent: #f59e0b;
  --bg: #f8fafc;
  --white: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-700: #15803d;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-800: #1e40af;
  --yellow-50: #fefce8;
  --yellow-100: #fef9c3;
  --yellow-800: #854d0e;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--slate-800);
  line-height: 1.6;
  font-size: 16px;
}

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

/* =====================================================
   DISCLAIMER BANNER
   ===================================================== */

.disclaimer-banner {
  background: #fef3c7;
  border-bottom: 1px solid #fde68a;
  padding: 10px 16px;
  text-align: center;
  font-size: 13px;
  color: #78350f;
  line-height: 1.5;
}

.disclaimer-banner strong { font-weight: 700; }

.disclaimer-icon { display: inline; margin-right: 4px; }

/* =====================================================
   HEADER / NAVBAR
   ===================================================== */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-link { display: flex; align-items: center; gap: 12px; }

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: bold;
  flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; }
.logo-title { font-size: 18px; font-weight: 800; color: var(--slate-900); line-height: 1.2; }
.logo-sub { font-size: 11px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.08em; }

.nav-links { display: flex; align-items: center; gap: 8px; }

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-600);
  transition: background 0.15s, color 0.15s;
}

.nav-links a:hover, .nav-links a.active {
  background: var(--slate-100);
  color: var(--slate-900);
}

.nav-links a.nav-btn {
  background: var(--primary);
  color: white;
  padding: 8px 20px;
}

.nav-links a.nav-btn:hover { background: var(--primary-dark); }

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all 0.3s;
}

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

.hero {
  background: linear-gradient(135deg, var(--slate-900) 0%, #1e3a5f 60%, var(--primary-dark) 100%);
  padding: 80px 24px 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="30" fill="rgba(37,99,235,0.08)"/><circle cx="10" cy="70" r="40" fill="rgba(26,107,58,0.08)"/></svg>');
  background-size: cover;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #93c5fd;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: white;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 800px;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #cbd5e1;
  max-width: 620px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,107,58,0.35); }

.btn-outline { background: rgba(255,255,255,0.12); color: white; border: 1px solid rgba(255,255,255,0.25); }
.btn-outline:hover { background: rgba(255,255,255,0.2); }

.btn-secondary { background: var(--secondary); color: white; }
.btn-secondary:hover { background: var(--secondary-dark); }

/* =====================================================
   SECTIONS
   ===================================================== */

.section {
  padding: 72px 24px;
}

.section-white { background: var(--white); }
.section-gray { background: var(--slate-50); }
.section-dark { background: var(--slate-900); color: white; }

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

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* =====================================================
   ARTICLE CARDS GRID
   ===================================================== */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}

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

.article-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.article-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-card p {
  font-size: 0.9rem;
  color: var(--slate-500);
  line-height: 1.6;
  flex: 1;
}

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

.read-time { font-size: 12px; color: var(--slate-400); display: flex; align-items: center; gap: 4px; }

.read-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.read-more:hover { color: var(--primary-dark); }

/* =====================================================
   BENEFITS SECTION
   ===================================================== */

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

.benefits-list { list-style: none; }

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
}

.benefit-check {
  width: 24px;
  height: 24px;
  background: var(--green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.benefits-list li span { font-size: 0.97rem; font-weight: 600; color: var(--slate-700); }

.info-box {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 12px;
  padding: 18px 20px;
  margin-top: 28px;
}

.info-box p { font-size: 0.85rem; color: var(--blue-800); line-height: 1.6; font-weight: 500; }
.info-box a { color: var(--secondary); text-decoration: underline; font-weight: 700; }

.benefits-img-wrap {
  background: linear-gradient(135deg, #e8f5e9, #e3f2fd);
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
}

.benefits-img-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }

/* =====================================================
   ARTICLE DETAIL PAGE
   ===================================================== */

.article-detail { max-width: 820px; margin: 0 auto; padding: 48px 24px 80px; }

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--slate-500);
  margin-bottom: 28px;
  font-weight: 600;
  transition: color 0.15s;
}

.article-back:hover { color: var(--primary); }

.article-detail h1 {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--slate-400);
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--slate-200);
}

.article-meta span { display: flex; align-items: center; gap: 4px; }

.article-body { line-height: 1.85; color: var(--slate-700); }

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-900);
  margin: 40px 0 16px;
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-800);
  margin: 28px 0 12px;
}

.article-body p { margin-bottom: 16px; }

.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
}

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

.article-body li { margin-bottom: 8px; }

.article-body strong { font-weight: 700; color: var(--slate-900); }

.article-body a { color: var(--secondary); text-decoration: underline; }
.article-body a:hover { color: var(--secondary-dark); }

.article-body blockquote {
  border-left: 4px solid var(--primary);
  background: var(--green-50);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  font-style: italic;
}

.article-body blockquote p { margin: 0; color: var(--green-700); }

.article-disclaimer {
  background: var(--yellow-50);
  border: 1px solid var(--yellow-100);
  border-radius: 12px;
  padding: 20px;
  margin-top: 48px;
}

.article-disclaimer p { font-size: 0.85rem; color: var(--yellow-800); line-height: 1.6; margin: 0; }

/* =====================================================
   PAGE HEADER (Breadcrumb pages)
   ===================================================== */

.page-header {
  background: linear-gradient(135deg, var(--slate-900), #1e3a5f);
  padding: 52px 24px 60px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
}

.page-header p { font-size: 1rem; color: #94a3b8; max-width: 520px; margin: 0 auto; }

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.page-content h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--slate-900);
  margin: 40px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--slate-100);
}

.page-content h2:first-child { margin-top: 0; }

.page-content p { color: var(--slate-600); line-height: 1.75; margin-bottom: 16px; }

.page-content ul {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 20px;
}

.page-content ul li { color: var(--slate-600); line-height: 1.7; margin-bottom: 6px; }

.page-content a { color: var(--secondary); text-decoration: underline; }

.page-content .highlight-box {
  background: var(--blue-50);
  border-left: 4px solid var(--secondary);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
}

.page-content .highlight-box p { margin: 0; color: var(--blue-800); font-weight: 500; }

/* =====================================================
   CONTACT INFO CARD
   ===================================================== */

.company-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 32px;
  box-shadow: var(--shadow);
}

.company-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.company-info-list { display: flex; flex-direction: column; gap: 12px; }

.company-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-100);
}

.company-info-row:last-child { border-bottom: none; }

.info-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-width: 130px;
  flex-shrink: 0;
}

.info-value {
  font-size: 14px;
  color: var(--slate-700);
  font-weight: 500;
  word-break: break-word;
}

.info-value a { color: var(--secondary); }

/* =====================================================
   STATS BAR
   ===================================================== */

.stats-bar {
  background: var(--primary);
  padding: 36px 24px;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-item {}
.stat-number { font-size: 2rem; font-weight: 900; color: white; display: block; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-top: 4px; }

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

.site-footer {
  background: var(--slate-900);
  color: var(--slate-300);
  padding: 60px 24px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--slate-800);
}

.footer-brand .logo-link { margin-bottom: 16px; display: inline-flex; }
.footer-brand .logo-title { color: white; }

.footer-brand p {
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--slate-400);
  margin-bottom: 16px;
}

.footer-disclaimer {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 12px;
  color: #fbbf24;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul a {
  font-size: 13px;
  color: var(--slate-400);
  transition: color 0.15s;
}

.footer-col ul a:hover { color: white; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p { font-size: 12px; color: var(--slate-500); }
.footer-bottom .cnpj { font-size: 11px; color: var(--slate-600); }

/* =====================================================
   ABOUT PAGE SPECIFICS
   ===================================================== */

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

.mission-card {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: 16px;
  padding: 28px;
  margin: 28px 0;
}

.mission-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--green-700); margin-bottom: 12px; }
.mission-card p { font-size: 0.92rem; color: var(--slate-600); line-height: 1.7; }

/* =====================================================
   TABLE OF CONTENTS
   ===================================================== */

.toc {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 36px;
}

.toc h4 { font-size: 13px; font-weight: 700; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }

.toc ol { list-style: decimal; padding-left: 20px; }
.toc li { margin-bottom: 6px; }
.toc a { font-size: 13px; color: var(--secondary); }
.toc a:hover { text-decoration: underline; }

/* =====================================================
   COOKIE BANNER
   ===================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--slate-900);
  color: white;
  padding: 20px 24px;
  z-index: 9999;
  border-top: 1px solid var(--slate-700);
  display: none;
}

.cookie-banner.show { display: block; }

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-inner p {
  font-size: 13px;
  color: var(--slate-300);
  flex: 1;
  min-width: 240px;
  line-height: 1.6;
}

.cookie-inner a { color: #60a5fa; text-decoration: underline; }

.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }

.cookie-btn {
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
}

.cookie-accept { background: var(--primary); color: white; }
.cookie-accept:hover { background: var(--primary-dark); }
.cookie-decline { background: var(--slate-700); color: var(--slate-300); }
.cookie-decline:hover { background: var(--slate-600); }

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .benefits-img-wrap { max-width: 480px; aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: white; padding: 16px; border-bottom: 1px solid var(--slate-200); box-shadow: var(--shadow-lg); gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; text-align: left; padding: 12px 16px; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .articles-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 24px 80px; }
}

/* =====================================================
   UTILITIES
   ===================================================== */

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.tag {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
