@import url(../root.css);

.contato-section {
background-color: var(--primary);
padding: 4rem 5%;
font-family: 'Sora', sans-serif;
color: #100d28;
}

.contato-box {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 1%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 3rem 2rem;
  max-width: 728px;
  margin: 0 auto;
  text-align: center;
}

.contato-box h1 {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  color: #fff;
  margin: 0 auto 1rem auto;
  padding: 1rem 2rem;
  width: fit-content;
  text-align: center;
  background: var(--primary);
  border-radius: 0 50px 0 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.intro-contato {
  font-size: 1.1rem;
  color: #545454;
  margin-bottom: 2.5rem;
}

.telefones .icone {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-right: .35rem;
  background-size: contain;
  color: #fff;
}

.telefone { background-image: url('assets/icon-phone.png'); }
.whatsapp { background-image: url('assets/icon-whatsapp.png'); }

.form-contato {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.campo.dupla {
  display: flex;
  gap: 1rem;
}

.form-contato input,
.form-contato select,
.form-contato textarea {
  flex: 1;
  padding: .9rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

.form-contato textarea {
  resize: vertical;
}

.animate-text, .animate-img {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.animate-img { transform: scale(.95); }

.animate-text.visible, .animate-img.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.box-contato-agencia {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 1.5rem 2rem;
  margin: 3rem 0 2rem;
  border-radius: 12px;
  font-size: 1.3rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.box-contato-agencia strong {
  color: var(--accent);
}

.logo-contato {
  margin: 1rem auto;
  text-align: center;
}

.logo-contato img {
  max-width: 200px;
  height: auto;
}

@media (max-width: 768px) {
  .campo.dupla { flex-direction: column; }
  .card-unidade img { height: 130px; }
}  