:root {
  --gov-blue: #1351b4;
  --gov-green: #00a859;
  --gov-yellow: #ffb81c;
  --gov-light: #f8f9fa;
  --gov-dark: #333333;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--gov-light);
  color: var(--gov-dark);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Base Styles */
.header {
  background-color: var(--gov-blue);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header img {
  height: 50px;
  object-fit: contain;
}

.header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero {
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url('/fundo.jpeg');
  background-size: cover;
  background-position: center;
  padding: 4rem 2rem;
  text-align: center;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(19, 81, 180, 0.45); /* Reduced opacity */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  background-color: var(--gov-yellow);
  color: var(--gov-blue);
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 4px;
  text-transform: uppercase;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  background-color: #ffd059;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.features-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.features-title {
  text-align: center;
  color: var(--gov-blue);
  font-size: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.features-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--gov-green);
  margin: 0.5rem auto 0;
}

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

.card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  border-top: 4px solid var(--gov-blue);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card h3 {
  color: var(--gov-blue);
  margin-bottom: 1rem;
}

.card p {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.card a {
  color: var(--gov-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.card a:hover {
  text-decoration: underline;
}

.footer {
  background-color: var(--gov-blue);
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
}

/* FAQ Styles */
.faq-section {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-left: 4px solid var(--gov-blue);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gov-blue);
  cursor: pointer;
  list-style: none;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gov-green);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
  color: var(--gov-yellow);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: #555;
  line-height: 1.6;
}
