.engagement-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
}

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.engagement-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.engagement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(33, 150, 243, 0.42);
}

.engagement-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(33, 150, 243, 0.1);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 18px;
}

.engagement-card p {
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.engagement-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.engagement-card li {
  display: flex;
  gap: 10px;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.45;
}

.engagement-card li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.55em;
  flex: 0 0 7px;
}

.faq-section {
  background: #ffffff;
}

.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-grid details {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
  padding: 0 22px;
  box-shadow: var(--shadow-sm);
}

.faq-grid summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.faq-grid summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-grid details[open] summary::after {
  content: "-";
}

.faq-grid p {
  padding: 0 0 18px;
  margin: 0;
  color: var(--text);
  font-size: 0.96rem;
}

@media (max-width: 968px) {
  .engagement-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .engagement-card {
    padding: 26px 22px;
  }

  .faq-grid details {
    padding: 0 18px;
  }
}

/* ============================================================
   Skip link — acessibilidade (teclado / leitores de tela)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  z-index: 10000;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.2s ease;
  white-space: nowrap;
}
.skip-link:focus {
  top: 0;
}

/* ============================================================
   Barra de progresso de leitura
   ============================================================ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent) 0%, #64b5f6 100%);
  z-index: 9999;
  pointer-events: none;
  transition: width 0.08s linear;
  border-radius: 0 2px 2px 0;
}

/* ============================================================
   Botão voltar ao topo
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 97;
  box-shadow: 0 4px 16px rgba(10, 25, 41, 0.28);
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-2px) scale(1);
}
@media (max-width: 720px) {
  .back-to-top {
    bottom: 88px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

/* ============================================================
   Footer — Linha institucional com CNPJ
   ============================================================ */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-bottom-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-cnpj {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(33, 150, 243, 0.1);
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(33, 150, 243, 0.22);
  padding: 3px 11px 3px 8px;
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-cnpj:hover {
  background: rgba(33, 150, 243, 0.18);
  border-color: rgba(33, 150, 243, 0.38);
}

.footer-cnpj svg {
  stroke: #64b5f6;
  flex-shrink: 0;
}

.footer-bottom-links {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: #64b5f6;
}

@media (max-width: 480px) {
  .footer-bottom-top {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
