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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background: #f4f4f4;
  color: #333;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header {
  background: #001f5c;
  color: white;
  padding: 1em 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white; /* Evita transparência ao rolar */
  z-index: 1000; /* Garante que fique acima dos outros elementos */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Opcional: adiciona sombra */
}

.logo {
  height: 60px;
}

.btn-primary, .btn-secondary {
  background: #156071;
  color: white;
  padding: 0.6em 1.2em;
  border-radius: 5px;
}

.btn-secondary {
  background: #ffffff;
  color: #156071;
  border: 2px solid #156071;
}

.hero {
  background: url('../images/tera.jpg') no-repeat center center/cover;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 2em;
  width: 100%;
  text-align: center;
  color: white;
}

.benefits, .modelos, .simulacao {
  padding: 4em 2em;
  text-align: center;
  background: #fff;
}

.benefit-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5em;
  margin-top: 2em;
}

.benefit {
  background: #032a42;
  color: white;
  padding: 1em 2em;
  border-radius: 8px;
  flex: 1 1 200px;
}

.grid-modelos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2em;
  margin-top: 2em;
}

.modelo {
  background: #f9f9f9;
  padding: 1em;
  border-radius: 8px;
  text-align: center;
}

.modelo img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.simulacao form {
background: #fff;
  border: 2px solid #ccc;
  border-radius: 12px;
  padding: 30px 20px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.simulacao input, .simulacao select, .simulacao button {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #bbb;
  border-radius: 8px;
  font-size: 16px;
}

.simulacao button {
 width: 100%;
  padding: 12px;
  background-color: #189bce;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}


.vantagens-consorcio {
  background-color: #f8f8f8;
  padding: 60px 20px;
  text-align: center;
}

.vantagens-consorcio h2 {
  font-size: 2em;
  margin-bottom: 40px;
  color: #003057;
}

.vantagens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.vantagem {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.footer {
  background-color: #032a42;
  color: #fff;
  padding: 40px 20px 20px;
  font-size: 0.95em;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: start;
}

.footer-logo img {
  max-width: 120px;
}

.footer-info h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #fff;
}

.footer-info p {
  margin: 5px 0;
  color: #ccc;
}

.footer-info a {
  color: #fff;
  text-decoration: underline;
}

.footer-info a:hover {
  color: #ffcc00;
}

.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  color: #aaa;
}

/* ✅ Responsividade para mobile */
@media (max-width: 768px) {
  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    margin-bottom: 15px;
  }

  .footer-info {
    margin-bottom: 20px;
  }
}

.vantagem:hover {
  transform: translateY(-5px);
}

.vantagem img {
  width: 50px;
  margin-bottom: 15px;
}

.vantagem h3 {
  color: #003057;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.vantagem p {
  color: #333;
  font-size: 0.95em;
}
footer {
  background: #032a42;
  color: white;
  text-align: center;
  padding: 1em;
}

quebra {
  background: #e0dfdf;
  color: white;
  text-align: center;
  padding: 1em;
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  z-index: 100;
}

.whatsapp-float img {
  width: 100%;
  height: auto;
}
/* Estilos gerais do header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  flex-wrap: wrap;
}

.logo {
  max-height: 40px;
}

.simulacao .container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.simulacao form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}


.btn-primary {
  padding: 10px 20px;
  background-color: #ce181e;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95em;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: #0057a3;
}

/* ✅ Responsividade: evitar corte do botão em telas pequenas */
@media (max-width: 480px) {
  .header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }

  .logo {
    margin-bottom: 5px;
  }
}
