/* =================================================== */
/* ANIMAÇÃO PARA A SEÇÃO DE DEPOIMENTOS                */
/* =================================================== */

/* 1. Define o estado inicial do título (invisível) */
#contato .footer-texto .footer-form {
  opacity: 0;
}

/* 2. Ativa a animação quando a seção se torna visível */
#contato.is-visible .footer-texto {
  animation: virDaEsquerda 1s ease-out forwards;
}

#contato.is-visible .footer-form {
  animation: virDaDireita 1s ease-out forwards;
}

/* =================================================== */

#contato {
  background-image: url(../img/Fundo\ footer.png);
  background-position: center;
  /* centraliza a imagem */
  background-size: cover;
  /* cobre toda a área, como object-fit: cover */
  background-repeat: no-repeat;
  /* evita repetição */

  color: #fff;
  padding: 80px 20px 36px;
}

/* área geral centralizada com máximo de largura */
.footer-geral {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px;
  box-sizing: border-box;
}

/* Texto à esquerda */
.footer-texto {
  flex: 1 1 60%;
  min-width: 260px;
  max-width: 720px;
  padding-top: 5rem;
}

.footer-title {
  margin: 0 0 18px 0;
  color: #ffffff;
  line-height: 1.02;
  font-weight: 800;
  /* responsivo */
  font-size: clamp(30px, 2.5vw, 56px);
  letter-spacing: -0.5px;
}

.footer-desc {
  margin: 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.95;
}

/* Form à direita */
.footer-form {
  flex: 1 1 380px;
  /* Base de 380px, mas pode crescer/diminuir */
  max-width: 400px;
}

.contact-form {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-sizing: border-box;
  color: #222;
}

/* layout interno do form */
.contact-form .row {
  display: block;
  margin-bottom: 16px;
}

.contact-form .two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
}

/* labels e inputs */
.label-txt {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
  font-weight: 500;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #e6e6e6;
  box-sizing: border-box;
  font-size: 14px;
  background: #fff;
  color: #222;
  outline: none;
  transition: box-shadow 0.15s ease, border-color 0.12s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(150, 20, 30, 0.9);
  box-shadow: 0 0 0 3px rgba(153, 17, 38, 0.1);
}

.message-info {
  font-size: 11px;
  color: #777;
  margin-bottom: 8px;
  display: block;
  line-height: 1.4;
}

/* textarea */
.contact-form textarea {
  resize: vertical;
  min-height: 70px;
}

/* botão com degradê vermelho */
.btn-submit {
  display: block;
  width: 100%;
  margin-top: 8px;
  background: linear-gradient(180deg, #c92133 0%, #9a1220 100%);
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
  box-shadow: 0 8px 18px rgba(153, 17, 38, 0.18);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #d4203c, #a30d24);
  transform: translateX(-100%);
  transition: transform 0.5s ease-in-out;
  z-index: -1;
}

.btn-submit:hover::before {
  transform: translateX(0);
}

.btn-submit:hover {
  transform: translateY(-2px);
}

/* divisória curta e centralizada entre area e rodapé */
.footer-divider {
  height: 1px;
  width: 44%;
  max-width: 520px;
  margin: 38px auto 18px;
  background-color: rgba(255, 255, 255, 0.363);
  border-radius: 2px;
  opacity: 0.9;
}

/* rodape inferior com nome/logo e icones alinhados */
.rodape {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 20px 16px;
  box-sizing: border-box;
}

/* nome/logo à esquerda */
.nomeLogo {
  display: flex;
  align-items: center;
}

.logo-wv {
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.6px;
}

.logo-text {
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  font-weight: 500;
  opacity: 0.95;
}

/* icones à direita (pequenos e juntos) */
.icones-rodape {
  display: flex;
  gap: 10px;
  align-items: center;
}

.icon-circle {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.12s ease, transform 0.12s ease;
}

.icon-circle svg {
  stroke: currentColor;
  color: #fff;
}

.icon-circle:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.06);
}

.icon-circle img {
  width: 30px;
  height: 30px;
}
