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

body {
  font-family: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  color: #1f3b70;
  background-color: #1f3b70;
}

ul {
  list-style: none;
}

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

/* ======== HEADER ======== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(90deg, #1f3b70, #1f3b70);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

header h1 {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  gap: 10px;
}

header .logo-img {
  height: 45px;
}

header nav a.btn-voltar {
  font-weight: 600;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

header nav a.btn-voltar:hover {
  background: #1f3b70;
}

/* ======== SEÇÕES ======== */
section {
  padding: 140px 40px 40px; /* aumentado para dar espaço entre o menu e o "O que é" */
  min-height: auto;
  background-color: #fff;
}

section h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #1f3b70;
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
}

section h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background-color: #1f3b70;
  margin: 8px auto 0;
  border-radius: 2px;
}

/* ======== CARDS ======== */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  justify-items: center;
  margin-top: 1.5rem;
}

.card {
  background-color: #fff;
  border-radius: 12px;
  padding: 1.5rem 1.2rem;
  width: 100%;
  max-width: 280px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(31, 59, 112, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.card.show {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(31, 59, 112, 0.12);
}

.card li {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0.3rem 0;
  list-style: none; /* remove as bolinhas */
}

/* ======== CONTACT FLOAT ======== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.whatsapp-float img {
  width: 26px;
  height: 26px;
}

/* ======== FOOTER ======== */
footer {
  background-color: #1f3b70;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
}

footer .footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

footer .footer-content .social a {
  margin: 0 6px;
  color: #1f3b70;
  font-weight: 600;
  transition: color 0.3s ease;
}

footer .footer-content .social a:hover {
  color: #fff;
}

/* ======== RESPONSIVIDADE ======== */
@media (max-width: 992px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
}

@media (max-width: 600px) {
  section {
    padding: 100px 20px 30px; /* ajustado para manter espaço em telas menores */
  }

  .card-container {
    grid-template-columns: 1fr;
  }

  header {
    padding: 0 15px;
  }

  header h1 {
    font-size: 1rem;
  }
}
