/* === ESTILO GERAL === */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: url('imgs/bg5.jpg') no-repeat center 30% fixed;
  background-size: cover;
  color: #fff;
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

/* === TOPO EXPLICATIVO (TÍTULOS INICIAIS) === */
.topo-explicativo {
  color: #fff;
  text-align: center;
  margin-top: 20px;
}

.topo-explicativo h1 {
  font-size: 62px;
  line-height: 20px;
  color: #4a0606;
  font-family: 'Kaushan Script', cursive;
   word-break: break-word;
}

.topo-explicativo h2 {
  font-size: 34px;
  color: #ffffff;
  line-height: 50px;
  margin-top: 10px;
  font-family: 'Kaushan Script', cursive;
}

.topo-explicativo p {
  font-size: 18px;
  line-height: 25px;
  color: #ffffff;
  font-weight: bold;
}

/* === FORMULÁRIO INICIAL === */
form {
  padding: 20px 30px 20px 15px;
  border-radius: 10px;
  color: white;
  max-width: 600px;
  margin: 40px auto 0;
  position: relative;
  z-index: 1;
  background-color: rgb(71 29 0 / 53%);
  transition: opacity 1s ease, transform 1s ease;
}

/* === CAMPOS DO FORMULÁRIO === */
/* Aplica apenas aos inputs de texto, email etc. */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  font-size: 18px;
  margin: 10px 0;
  border-radius: 5px;
  border: none;
  outline: none;
  box-shadow: none;
  background-color: rgba(255, 255, 255, 0.9);
  background: url(imgs/livro.png) no-repeat center center;
  background-size: cover;
  font-family: 'Satisfy', cursive;
  font-weight: 400;
  font-style: normal;
}
.checkbox-termos a {
  color: #fff; 
  text-decoration: underline;
  display: inline; 
  font-weight: 500;
}


.checkbox-termos input[type="checkbox"] {
  margin-right: 8px;
  width: auto;
  height: auto;
  background: none;
  padding: 0;
  box-shadow: none;
}


textarea {
  height: 100px;
  resize: none;
  font-size: 18px;
}

/* === BOTÕES GERAIS === */
button {
  margin-top: 20px;
  background: #49472e;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
}

/* === FORMULÁRIO DAS INTENÇÕES === */
.intencao-form {
  background-color: rgb(0 0 0 / 20%);
  color: #fff;
  padding: 20px 40px 20px 20px;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 600px;
  margin-top: 300px;
  animation: fadeInForm 2s ease-in-out;
}

#form-section {
  margin-top: 300px;
}

#intencao-section {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

#intencao-section.mostrar {
  display: block;
}

#intencao-section.animar {
  opacity: 1;
  transform: translateY(0);
}

/* === CONTAINER DA VELA === */
.vela-container {
  text-align: center;
  margin: 0px auto 10px;
  position: relative;
}

#velaImagem {
  width: 80px;
  height: 285px;
  object-fit: contain;
}

#efeitoLuz {
  position: absolute;
  top: 30px;
  left: 50%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(248, 231, 132, 0.9), rgba(255, 180, 0, 0) 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
  z-index: 4;
}

/* === CAMPOS DE INTENÇÃO === */
.campos-intencao {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 10px;
}

.campos-intencao label {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 8px;
  color: white;
}

.campos-intencao textarea {
  width: 100%;
  margin-bottom: 15px;
}

.campos-intencao button {
  align-self: center;
}

/* === MENSAGEM DE OBRIGADO === */
.mensagem-obrigado {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 30px;
  animation: fadeIn 1.8s ease-in-out;
  flex-wrap: wrap;
}

.form-linha {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-linha > div {
  flex: 1;
}

.mensagem-obrigado img {
  width: 400px;
  height: auto;
}

.texto-obrigado {
  flex: 1;
}

.texto-obrigado h1 {
  font-size: 36px;
  font-family: 'Kaushan Script', cursive;
  color: #f4e19c;
  margin-bottom: 20px;
  text-align: center;
}

.texto-obrigado p {
  font-size: 18px;
  line-height: 1.6;
  font-weight: bold;
  color: #ffffff;
}

.missa-centralizada {
  display: block;
  margin: 20px auto;
  max-width: 300px;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* === BOTÃO WHATSAPP === */
.btn-whatsapp {
  display: inline-block;
  text-align: center;
  padding: 12px 25px;
  font-size: 16px;
  background-color: #25D366;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  margin: 0 auto;
}

.btn-whatsapp-container {
  text-align: center;
  margin-top: 30px;
}

/* === BLOCO DE DOAÇÃO === */
.apoio-doacao-mensagem {
  margin-top: 40px;
  text-align: center;
}

.apoio-doacao-mensagem p {
  font-size: 17px;
  color: #fff7d6;
  font-weight: bold;
  margin-bottom: 15px;
}

.btn-doar {
  display: inline-block;
  padding: 14px 22px;
  background-color: #f4e19c;
  color: #4a0b00;
  border-radius: 8px;
  border: 2px solid #e79e00;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  animation: pulsar 2.5s infinite ease-in-out;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.btn-doar:hover {
  background-color: #ffe270;
}

.aspas {
  font-size: 2em;
  color: rgb(255, 255, 255); /* vermelho escuro */
  font-weight: normal;
  vertical-align: top;
  
}

#whatsapp-fixo {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 999;
}

#whatsapp-fixo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color:  rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

#whatsapp-fixo a img {
  width: 32px;
  height: 32px;
}



/* === ANIMAÇÕES === */
@keyframes pulsar {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0px rgba(255, 255, 255, 0.4);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0px rgba(255, 255, 255, 0.4);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* === RESPONSIVIDADE === */
@media (max-width: 768px) {
  #form-section {
    margin-top: 100px;
  }

  .intencao-form {
    margin-top: 100px;
  }

  .topo-explicativo h2 {
    font-size: 32px;
    line-height: 35px;
  }

  .topo-explicativo p {
    line-height: 25px;
    margin-top: -15px;
  }

  .mensagem-obrigado {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .mensagem-obrigado img {
    width: 300px;
  }

  .texto-obrigado h1 {
    font-size: 28px;
  }

  .texto-obrigado p {
    font-size: 16px;
  }

  .vela-centralizada {
    width: 60px;
  }
}

/*Telas MOBILE*/
@media (max-width: 767px) {
 body {
  background: url(imgs/bg-mobile.jpg) no-repeat center left 40% fixed;
  background-attachment: scroll;
  background-size: cover;
}


  .topo-explicativo h1 {
   font-size: clamp(54px, 5vw, 40px);
    line-height: 1.3;
    color: #f4e19c;
  }

  .topo-explicativo h2 {
    font-size: 26px;
    line-height: 35px;
  }

  .topo-explicativo p {
    line-height: 25px;
    margin-top: 0 !important;
  }

  input,
  textarea {
    width: 95% !important;
    padding: 10px;
    font-size: 26px;
    margin: 10px 0;
    border-radius: 5px;
    border: none;
    outline: none;
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.9);
    background: url(imgs/livro.png) no-repeat center center;
    background-size: cover;
    font-family: 'Satisfy', cursive;
    font-weight: 400;
    font-style: normal;
    color: #4a0b00;
  }

 .checkbox-termos {
    flex-direction: column;
    align-items: flex-start;
  }

  .checkbox-termos label {
    margin-top: 8px;
  }


  form {
  flex-direction: column;
  padding: 20px 20px;
}

form > div {
  width: 100% !important;
  display: block;
}
.form-linha {
    flex-direction: column;
  }

  .form-linha > div {
    width: 100%;
  }

}

/* Telas grandes */
@media (min-width: 1200px) and (max-width: 1600px) {
  #form-section {
    margin-top: 55px;
  }

  .intencao-form {
    margin-top: 200px;
  }

  .topo-explicativo h1 {
    margin-top: -5px;
  }

  .topo-explicativo h2 {
    font-size: 32px;
  }

  .topo-explicativo p {
    font-size: 16px;
    margin-top: -5px;
  }
}

/* Telas muito grandes */
@media (min-width: 1801px) {
  #form-section {
    margin-top: 175px;
  }

  .intencao-form {
    margin-top: 350px;
  }
}