/* Imagem de fundo */
.background {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: url('../images/Background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

/* ========== LOGO no canto inferior direito ========== */
.logo {
  position: fixed;
  right: 0;
  bottom: 48px;
  width: 260px;
  max-width: 18vw;
  height: auto;
  z-index: 100;
  will-change: transform, opacity;
}

/* ========== NOME (H1) acima do menu ========== */
.associacao {
  position: fixed;
  left: 120px;
  bottom: 90px;
  /* acima do menu (ajuste se mudar a altura do menu) */
  right: 180px;
  /* reserva espaço para a logo à direita */
  color: white;
  font-size: 48px;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  z-index: 5;
  will-change: transform, opacity;
}

/* ================ Seções para conteúdo ================ */
section {
  min-height: 100vh;
  /* padding: 0 0 80px; */
}

#home{
  margin-top: 100vh;
  padding: 0;
}

#text-divider {
  padding: 60px 20px;
  background-color: #ffd9d9;
}

/* Estilo base para todas as sections */
.split-section {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 100vh;
  width: 100%;
  text-align: justify;
}

/* Área de texto */
.split-section .text {
  flex: 1;
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-section.divider {
  min-height: auto;
  padding: 0 20px;
}

.split-section.divider .text {
  align-items: center;
  text-align: justify;
  padding: 0 80px;
}

.split-section .text h2 {
  font-size: 3em;
  margin-bottom: 20px;
}

.split-section .text h3 {
  font-size: 2em;
  margin: 15px 0;
}

.split-section .text p {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.6;
}

.split-section.divider .text p {
  text-align: justify;
}

.split-section .text a.button {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid black;
  border-radius: 30px;
  text-decoration: none;
  color: black;
  font-weight: bold;
  transition: 0.3s;
}

.split-section .text a.button:hover {
  background: black;
  color: white;
}

.goals, .metodology {
  padding: 0 20px;
}

.goals h3 {
  font-size: 2rem;
  margin-bottom: 25px;
}

.metodology h3 {
  font-size: 2rem;
  margin-top: 25px;
}

.goals ul {
  list-style: none;
  padding: 0;
}

.goals ul li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.goals ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #b22222;
  font-weight: bold;
  font-size: 1.2rem;
}


/* Área de imagem */
.split-section .image {
  flex: 1;
  background-size: cover;
  background-position: center;
}

/* ========== CONTATO ========== */

.formulario-contato {
  flex: 0 0 40%;
  background: #f7f7f7;
  padding: 30px;
  box-sizing: border-box;
}

.formulario-contato label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.formulario-contato input,
.formulario-contato textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.formulario-contato button {
  background: #b22222;
  color: #fff;
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.formulario-contato button:hover {
  background: #8b1a1a;
}

.localizacao {
  flex: 0 0 60%;
  position: relative;
  padding: 0;
}

.localizacao iframe {
  width: 100%;
  height: 100%;
}

/* ================ FOOTER ===================== */

.footer {
  background-color: #2a2a2a;
  color: #f0f0f0;
  padding: 80px 20px;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 80px;
}

.footer-logo {
  max-width: 240px;
}

.footer-center {
  padding: 0 80px;
  text-align: justify;
}

.footer-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
}

.footer-item .icon {
  margin-right: 15px;
}

.footer-item .icon i {
  color: #fff;
  font-size: 32px;
}

.footer-text h4 {
  color: #fff;
  margin: 0 0 5px;
  font-size: 1.7em;
}

.footer-text p, .footer-text a {
  margin: 0;
  color: #ccc;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.footer-text a:hover {
  color: #ff6b6b;
}

.footer hr {
  border-color: #171717;
  margin: 80px 0;
}

.footer-bottom {
  text-align: center;
  font-size: 16px;
  color: #dfdcdc;
}

.footer-bottom a {
  text-decoration: none;
  color: #ccc;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: #ff6b6b;
}

/* MOBILE */
@media (max-width: 1080px) {

  /* Logo no canto superior esquerdo */
  .logo {
    width: 200px;
    bottom: 0;
  }

  .associacao {
    font-size: 24px;
    bottom: 20px;
    right: 140px;
    left: 20px;
    z-index: 1;
  }

  .split-section,
  .split-section.reverse {
    flex-direction: column;
  }

  .split-section .image,
  .split-section.reverse .image {
    height: 300px;
  }

  .split-section .text {
    padding: 30px;
  }

  .goals {
    margin: 20px;
    padding: 15px;
  }

  .goals h2 {
    font-size: 1.6rem;
  }

  .goals ul li {
    font-size: 1rem;
  }

  .formulario-contato,
  .localizacao {
    flex: 0 0 100%;
  }

  .localizacao iframe {
    height: 300px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-left{
    padding-bottom: 80px;
  }
}