/* ===== ESTILOS DO FAQ (ACORDEÃO CSS-ONLY) ===== */

.faq {
  margin: var(--space-12) 0;
}

.faq-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: var(--space-4);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: block;
  width: 100%;
  padding: var(--space-5);
  background: var(--white);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-lg);
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  border: none;
}

.faq-question:hover {
  background: var(--background);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: var(--space-5);
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--text-2xl);
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-toggle:checked + .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: var(--white);
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 200px;
  padding: 0 var(--space-5) var(--space-5);
}

.faq-answer p {
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== ESTILOS PARA LISTAS (BENEFITS, HIGHLIGHTS, ADVANTAGES) ===== */

.benefits,
.highlights,
.advantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
  margin: var(--space-8) 0;
}

.benefits li,
.highlights li,
.advantages li {
  background: var(--white);
  padding: var(--space-6);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  transition: transform 0.3s ease;
}

.benefits li:hover,
.highlights li:hover,
.advantages li:hover {
  transform: translateY(-2px);
}

.benefits li::before,
.highlights li::before,
.advantages li::before {
  content: '✓';
  background: var(--secondary);
  color: var(--white);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== ESTILOS PARA STEPS (COMO FUNCIONA) ===== */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
  margin: var(--space-8) 0;
  counter-reset: step-counter;
}

.steps li {
  background: var(--white);
  padding: var(--space-6);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  counter-increment: step-counter;
  text-align: center;
}

.steps li::before {
  content: counter(step-counter);
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: var(--text-sm);
}

.steps li h3 {
  margin-top: var(--space-3);
  margin-bottom: var(--space-2);
  color: var(--primary);
}

/* ===== ESTILOS PARA PILARES ===== */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  margin: var(--space-8) 0;
}

.pillars .pillar {
  text-align: center;
  padding: var(--space-6);
}

.pillars .pillar h3 {
  color: var(--primary);
  margin-bottom: var(--space-3);
}

.pillars .pillar::before {
  content: '🏠'; /* Placeholder para ícone */
  font-size: var(--text-4xl);
  display: block;
  margin-bottom: var(--space-4);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  .benefits,
  .highlights,
  .advantages,
  .steps,
  .pillars {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .faq-question {
    padding: var(--space-4);
    font-size: var(--text-base);
  }
  
  .faq-toggle:checked ~ .faq-answer {
    padding: 0 var(--space-4) var(--space-4);
  }
  
  .benefits li,
  .highlights li,
  .advantages li,
  .steps li {
    padding: var(--space-4);
  }
}

