body {
  background-image: url(../Imagens/bacground-servicos.png);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* opcional - pode remover se der problema no mobile */
  color: #ffffff;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* ── HERO ── */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 8%;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-texto {
  max-width: 440px;
  text-align: center;
  flex: 1;
  min-width: 280px;
}

.hero-texto h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-texto p {
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.hero-img img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

/* === ANIMAÇÃO FADE UP === */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === ANIMAÇÕES DA SEÇÃO HERO === */

.hero .hero-texto h1 {
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.2s;
}

.hero .hero-texto p {
  animation: fadeUp 0.95s ease forwards;
  animation-delay: 0.5s;
}

.hero .hero-texto p.destaque {
  animation: fadeUp 0.95s ease forwards;
  animation-delay: 0.65s;
}

.hero .hero-img img {
  animation: fadeUp 1.1s ease forwards;
  animation-delay: 0.4s;
}

.hero .hero-texto h1,
.hero .hero-texto p,
.hero .hero-img img {
  opacity: 0;
}

/* ── BUSCA ── */
.busca {
  text-align: center;
  padding: 60px 8%;
}

.busca h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.busca p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
}

/* === ANIMAÇÃO DA SEÇÃO BUSCA === */

.busca h2 {
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.2s;
}

.busca p {
    animation: fadeUp 0.95s ease forwards;
    animation-delay: 0.45s;
}

.busca h2,
.busca p {
    opacity: 0;
}

.busca-box {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px 16px;
  flex-wrap: wrap;
}

.input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 220px;
}

.input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 1rem;
}

.input-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.busca-btn {
  padding: 12px 24px;
  border-radius: 8px;
  background: #22c55e;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: #052e16;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background .2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.busca-btn:hover {
  background: #16a34a;
}

/* Mensagem de status da busca */
.busca-msg {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  min-height: 20px;
  margin: 12px 0 16px;
}

.busca-msg.erro {
  color: #f87171;
}

/* Mapa */
#mapa-wrapper {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

#mapa {
  height: 380px;
  width: 100%;
}

/* ── CADASTRO TÉCNICO ── */
.cadastro {
  padding: 40px 8%;
  max-width: 720px;
  margin: 0 auto;
  margin-bottom: 30px;
}

.cadastro-topo {
  text-align: center;
  margin-bottom: 48px;
}

.icone-chave {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 12px;
  color: #f97316;
}

.cadastro-topo h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.cadastro-topo p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* ── REQUISITOS ── */
.requisitos {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 56px;
}

.requisitos li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.check img {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
}

.requisitos strong {
  font-size: 1rem;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.requisitos p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  margin: 0;
}

/* ── FORMULÁRIO ── */
.form-wrap {
  background: #c8d5c8;
  border-radius: 16px;
  padding: 36px 32px;
}

.form-wrap h3 {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 28px;
}

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

.field {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #f97316;
  border-radius: 10px;
  padding: 14px 16px;
}

.field span {
  font-size: 1.1rem;
  color: #f97316;
  flex-shrink: 0;
}

.field input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.95rem;
  color: #374151;
  background: transparent;
}

.field input::placeholder {
  color: #9ca3af;
}

.submit {
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 32px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: background .2s;
  width: 100%;
  max-width: 220px;
  align-self: center;
}

.submit:hover {
  background: #16a34a;
}

/* Mensagem de feedback */
#form-message {
    text-align: center;
    font-weight: 600;
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
}

/* === RESPONSIVIDADE - MEDIA QUERIES === */

@media (max-width: 1024px) {
  .hero {
    padding: 60px 6%;
    gap: 30px;
  }

  .hero-texto h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 50px 5%;
    gap: 40px;
  }

  .hero-texto {
    max-width: 100%;
    padding: 50px 0px;
  }

  .hero-texto h1 {
    font-size: 2.2rem;
  }

  .hero-img img {
    max-width: 380px;
  }

  .busca-box {
    flex-direction: column;
    padding: 10px;
  }

  .input-wrap {
    min-width: 100%;
  }

  .busca-btn {
    width: 100%;
    justify-content: center;
  }

  #mapa {
    height: 320px;
  }

  .cadastro {
    padding: 30px 5%;
  }

  .form-wrap {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 40px 5%;
  }

  .hero-texto h1 {
    font-size: 1.95rem;
    line-height: 1.15;
  }

  .busca {
    padding: 50px 5%;
  }

  .busca h2 {
    font-size: 1.75rem;
  }

  .cadastro-topo h2 {
    font-size: 1.75rem;
  }

  .form-wrap {
    padding: 24px 18px;
  }

  .field {
    padding: 12px 14px;
  }

  #mapa {
    height: 280px;
  }
}