/* Artigo Erros Fatais Licitações - CSS */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --brand-400: #60a5fa;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --rose-300: #fda4af;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --orange-500: #f97316;
  --amber-300: #fcd34d;
  --amber-500: #f59e0b;
  --indigo-500: #6366f1;
  --cyan-500: #06b6d4;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--slate-950);
  color: var(--slate-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.bg-decoration {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  pointer-events: none;
}

.bg-blob {
  position: absolute;
  bottom: -6rem;
  left: -6rem;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  background: linear-gradient(to top right, #e11d48, #f97316, #f59e0b);
  filter: blur(50px);
  opacity: 0.25;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav {
  display: none;
}

@media (min-width: 1024px) {
  nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

nav a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: #fff;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-dropdown > a svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}

.nav-dropdown:hover > a svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  margin-top: 0.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.dropdown-menu a:hover {
  background: rgba(59, 130, 246, 0.1);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  opacity: 0.95;
  transform: scale(1.02);
}

.cta-button-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.35);
}

.hero { padding: 3rem 0 4rem; }

.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: 9999px;
  color: var(--rose-300);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, white, var(--slate-100), var(--slate-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--slate-300);
  margin-bottom: 2rem;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--slate-400);
  margin-bottom: 3rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

article { padding-bottom: 5rem; }

.prose {
  color: var(--slate-300);
  font-size: 1.125rem;
}

.prose p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

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

.section { margin-bottom: 3rem; }

h2 {
  font-size: 1.875rem;
  font-weight: 700;
  background: linear-gradient(to right, white, var(--slate-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

h2 svg { width: 2rem; height: 2rem; flex-shrink: 0; }

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

ul { list-style: none; margin: 1rem 0; }

ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.bullet { margin-top: 0.25rem; flex-shrink: 0; }
.bullet-rose { color: var(--rose-400); }
.bullet-emerald { color: var(--emerald-400); }

.card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.card-gradient-rose {
  background: linear-gradient(to right, rgba(244, 63, 94, 0.1), rgba(249, 115, 22, 0.1));
  border-color: rgba(244, 63, 94, 0.2);
}

.card-gradient-emerald {
  background: linear-gradient(to right, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.1));
  border-color: rgba(16, 185, 129, 0.2);
}

.solution-box {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 0.75rem;
}

.solution-box p {
  font-size: 0.875rem;
  color: var(--emerald-300);
  margin: 0;
}

.cta-box {
  margin-top: 4rem;
  padding: 2rem;
  background: linear-gradient(to bottom right, rgba(37, 99, 235, 0.2), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  text-align: center;
}

.cta-box h3 { font-size: 1.5rem; margin-bottom: 1rem; }

.cta-box p {
  color: var(--slate-300);
  margin-bottom: 1.5rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-box .cta-button {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  box-shadow: 0 8px 30px rgba(2,6,23,0.35);
}

.faq { margin-top: 4rem; }

.faq h2 {
  text-align: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.faq-item {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.faq-item h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.faq-item p { color: var(--slate-300); margin: 0; }

footer {
  background: var(--slate-900);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0 2rem;
}

.footer-content {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 { color: white; font-weight: 600; margin-bottom: 1rem; }

.footer-section a {
  display: block;
  color: var(--slate-400);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-section a:hover { color: white; }

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--slate-500);
  font-size: 0.875rem;
}

.icon { width: 1rem; height: 1rem; }
.icon-lg { width: 2rem; height: 2rem; }

@media (max-width: 768px) {
  .hero { padding: 2rem 0; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; flex-wrap: wrap; }
  .cta-box { padding: 1.5rem; }
}
