/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #e0e0e0; /* cinza um pouco mais escuro */
  color: #000000; /* texto preto */
  line-height: 1.6;
}

/* Container central */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  width: 100%;
}

/* Cabeçalho */
.header {
  background-color: #ffffff;
  padding: 1rem 0;
  border-bottom: 1px solid #ccc;
}

.header .logo {
  max-height: 40px;
  width: auto;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
  align-items: center;
  font-size: 1rem;
}

.nav a {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: #2F4592;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0e0e0; /* mesmo cinza do restante do site */
  text-align: center;
  color: #000000;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  text-align: center;
}

.hero-content h2 {
  font-size: 1.5rem;
  margin-bottom: 3.5rem;
  color: #2F4592;
  text-align: center;
}

.cta-button {
  background-color: #2F4592;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.cta-button:hover {
  background-color: #1d2d5f;
}

/* Seções */
section {
  padding: 4rem 1rem;
}

section h1,
section h2,
section h3 {
  text-align: center;
}

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  background-color: #ffffff;
  color: #000000;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: background 0.3s;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
}

.card:hover {
  background-color: #f9f9f9;
}

.card p {
  flex-grow: 1;
}

.card .btn {
  margin-top: auto;
  background-color: #2F4592;
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
  display: inline-block;
}

.card .btn:hover {
  background-color: #1d2d5f;
}

/* Contato */
form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form label {
  color: #000000;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

form input,
form textarea {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #ccc;
  padding: 0.8rem;
  border-radius: 5px;
  width: 100%;
  display: block;
}

form textarea {
  min-height: 120px;
}

form button {
  background-color: #2F4592;
  color: #ffffff;
  padding: 0.8rem;
  border: none;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background-color: #1d2d5f;
}

/* Rodapé */
.footer {
  background-color: #ffffff;
  color: #000000;
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid #ccc;
}

.footer a {
  display: block;
  margin-top: 1rem;
  color: #2F4592;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Botões flutuantes */
.float-btn {
  position: fixed;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  text-align: center;
  line-height: 50px;
  color: #fff;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s;
}

.float-btn:hover {
  transform: scale(1.1);
}

.whatsapp-btn {
  background-color: #25d366;
  bottom: 20px;
  right: 20px;
}

.top-btn {
  background-color: #2F4592;
  bottom: 80px;
  right: 20px;
}

#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  background-color: #2F4592;
  color: #fff;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  z-index: 999;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s;
}

#scrollTopBtn:hover {
  transform: scale(1.1);
}

/* FAQ */
.faq-item {
  background-color: #ffffff;
  border-left: 5px solid #2F4592;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 5px;
  transition: background 0.3s;
}

.faq-item h2 {
  color: #000000;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  text-align: center;
}

.faq-item p {
  color: #000000;
  line-height: 1.6;
}

/* Resultados */
.resultados-header {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 2rem;
  color: #000000;
}

.resultados-container {
  max-width: 800px;
  margin: 0 auto 3rem;
  background-color: #ffffff;
  padding: 1.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(47, 69, 146, 0.2);
}

.resultados-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.resultados-table th,
.resultados-table td {
  border: 1px solid #ccc;
  padding: 12px 15px;
  text-align: center;
  color: #000000;
}

.resultados-table th {
  background-color: #2F4592;
  color: #ffffff;
  font-weight: 600;
}

.resultados-table tr:nth-child(even) {
  background-color: #f5f5f5;
}

/* Responsividade */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content h2 {
    font-size: 1.2rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
    width: 100%;
  }

  thead {
    display: none;
  }

  tr {
    margin-bottom: 1rem;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 1rem;
  }

  td {
    text-align: left;
    padding: 0.5rem;
    position: relative;
  }

  td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 0.3rem;
    color: #2F4592;
  }
}
