* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #444;
  line-height: 1.7;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  z-index: 100;
}

.logo {
  height: 84px;
}

nav a {
  margin-left: 28px;
  text-decoration: none;
  color: #1f3c88;
  font-weight: 500;
}

.cta {
  border: 2px solid #2fa36b;
  padding: 8px 18px;
  border-radius: 20px;
  color: #2fa36b;
}

/* MENU MOBILE */
.menu-mobile {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #1f3c88;
}

/* HERO */
.hero {
  padding: 180px 20px 120px;
  background: #f4f6f8;
}

.hero h1 {
  font-size: 42px;
  color: #142b5c;
  margin-bottom: 20px;
}

.hero p {
  max-width: 700px;
  font-size: 18px;
}

/* SEÇÕES */
.container {
  max-width: 1000px;
  margin: auto;
}

.conteudo {
  padding: 100px 20px;
}

.cinza {
  background: #f4f6f8;
}

h2 {
  font-size: 34px;
  color: #1f3c88;
  margin-bottom: 32px;
}

.bloco {
  margin-bottom: 40px;
}

.lista {
  padding-left: 20px;
}

.lista li {
  margin-bottom: 12px;
}

/* GALERIA */
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.galeria img {
  width: 100%;
  border-radius: 10px;
}

/* CONTATO */
.contato {
  background: #1f3c88;
  color: #fff;
  padding: 80px 20px;
}

/* FOOTER */
footer {
  background: #142b5c;
  color: #ccc;
  text-align: center;
  padding: 20px;
}

/* WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: #fff;
  padding: 16px 22px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 999;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.05);
}


/* RESPONSIVO */
@media (max-width: 768px) {
  .logo {
    height: 84px;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    display: none;
  }

  nav a {
    padding: 16px;
    margin: 0;
    border-top: 1px solid #eee;
  }

  nav.active {
    display: flex;
  }

  .menu-mobile {
    display: block;
  }

  .hero h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 26px;
  }

  .conteudo {
    padding: 70px 16px;
  }
}

/* =========================
   HERO COM IMAGEM AO LADO
   ========================= */

.hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-texto {
  max-width: 520px;
}

.hero-imagem img {
  max-width: 380px;
  width: 100%;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .hero-flex {
    flex-direction: column;
    text-align: center;
  }

  .hero-imagem img {
    max-width: 280px;
    margin-top: 30px;
  }
}

/* SUBTÍTULOS DOS PROJETOS */
.subtitulo-projeto {
  margin: 50px 0 24px;
  font-size: 24px;
  color: #142b5c;
  font-weight: 600;
  border-left: 4px solid #2b4c7c;
  padding-left: 14px;
}

/* GALERIA PADRONIZADA */
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.galeria img {
  width: 100%;
  height: 400px;      /* aumente aqui */
  object-fit: cover;
  border-radius: 10px;
}

/* =========================
   COMO FUNCIONA
========================= */

.funciona-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.funciona-imagem {
  position: relative;
}

.funciona-imagem img {
  width: 100%;
  border-radius: 12px;
}

/* Elevador animado */
.elevador-animado {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 220px;
  border: 2px solid #1f3c88;
  border-radius: 8px;
  overflow: hidden;
  background: #f4f6f8;
}

.cabine {
  width: 100%;
  height: 60px;
  background: #294b8a;
  position: absolute;
  bottom: 0;
  animation: sobeDesce 6s infinite ease-in-out;
}

@keyframes sobeDesce {
  0% { bottom: 0; }
  50% { bottom: 160px; }
  100% { bottom: 0; }
}

/* Texto */
.funciona-texto .passo {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.funciona-texto span {
  background: #294b8a;
  color: #fff;
  font-weight: 700;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
}

.funciona-texto p {
  margin: 0;
}

/* Responsivo */
@media (max-width: 768px) {
  .funciona-grid {
    grid-template-columns: 1fr;
  }

  .elevador-animado {
    display: none;
  }
}

/* PRAZO COMO DIFERENCIAL */
.prazo-box {
  margin-top: 60px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  background: #f4f6f8;
  border-radius: 14px;
}

.prazo-cal {
  width: 130px;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  background: #fff;
}

.prazo-cal .topo {
  display: block;
  background: #b30000;
  color: #fff;
  font-weight: 700;
  padding: 10px;
  text-transform: uppercase;
  font-size: 13px;
}

.prazo-cal .numero {
  display: block;
  font-size: 54px;
  font-weight: 800;
  color: #d40000;
  padding: 12px 0 4px;
}

.prazo-cal .base {
  display: block;
  padding-bottom: 14px;
  font-weight: 600;
  color: #444;
}

/* TEXTO */
.prazo-info h3 {
  font-size: 26px;
  color: #1f3c88;
  margin-bottom: 10px;
}

.prazo-info p {
  max-width: 420px;
  color: #555;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .prazo-box {
    flex-direction: column;
    text-align: center;
  }
}
