@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

.quem-somos {
  width: 100%;
  /* height: 100vh; */
  position: relative;
}

.imagem-principal {
  position: relative;
  width: 100%;
  height: 70vh;
  margin: 0;
  padding: 0;
}

.imagem-principal img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(87, 86, 165, 0.6)
}

.texto-central {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.texto-central h1 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 80px;
  line-height: 130%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: white;
}


/* Seção Doação */
.doacao-section {
  padding: 10px 40px 0 100px;
  background-color: #54B9CA;
}

.doacao-conteudo {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 40px;
}

.doacao-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: start;
}

.doacao-left h1 {
  color: #000000;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 50px;
  line-height: 90%;
  letter-spacing: 0%;
  vertical-align: middle;
  margin-bottom: 20px;
}

.doacao-left h1 strong {
  font-weight: 700;
}

.doacao-left p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 23px;
  line-height: 130%;
  letter-spacing: 0%;
  vertical-align: middle;
  margin-bottom: 30px;
  max-width: 600px;
}

.doacao-buttons {
  display: flex;
  gap: 16px;
}

.btn-doar,
.btn-pix {
    color: #fff;
    background-color: #000000;
    height: 63px;
    padding: 0 2rem;
    border: none;
    border-radius: 40px;
    font-family: "DM Sans", sans-serif;
    cursor: pointer;
    transition: transform 0.2s;
    line-height: 90%;
    letter-spacing: 0%;
    vertical-align: middle;
    font-weight: 400;
    font-size: 25px;
    transition: background 0.35s, transform 0.35s, color 0.35s;
    cursor: pointer;
}

.btn-doar:hover, .btn-pix:hover {
    transform: scale(1.03);
}

.doacao-right {
  flex: 1;
  text-align: center;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.doacao-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  position: relative;
  z-index: 0;
}

.doacao-caption {
  margin-top: 12px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #666;
}

.doacao-container {
  max-width: 1239px;
  width: 100%;
  margin: 0 auto;
}

/* Seção Nossa História */
.nossa-historia-section {
  width: 100%;
}

.historia-item {
  width: 100%;
  padding: 40px 0; 
}

.historia-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px; 
  padding: 0 20px; 
}

.historia-ano {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 60px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: right;
  vertical-align: middle;
  color: white;
  flex-shrink: 0; 
  width: 150px; 
}

.historia-texto {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 25px;
  line-height: 130%; 
  letter-spacing: 0%;
  text-align: right; 
  vertical-align: middle;
  color: white;
  flex-grow: 1;
}

.imagem-nossa-historia {
  width: 100%;
  margin: 0;
  padding: 0;
}

.imagem-nossa-historia img {
  width: 100%;
  height: auto;
  display: block;
}

/* Media Queries para Responsividade */
@media screen and (max-width: 1200px) {
  .doacao-container {
    padding: 0 20px;
  }

  .doacao-left h1 {
    font-size: 40px;
  }

  .doacao-left p {
    font-size: 20px;
  }

  .btn-doar,
  .btn-pix {
    width: 200px;
    height: 55px;
  }

  .btn-doar {
    font-size: 28px;
  }

  .btn-pix {
    font-size: 22px;
  }
}

@media screen and (max-width: 992px) {
  .doacao-section {
    padding: 10px 20px;
  }

  .doacao-conteudo {
    flex-direction: column;
    gap: 20px;
  }

  .doacao-left {
    text-align: center;
    align-items: center;
  }

  .doacao-left p {
    max-width: 100%;
  }

  .doacao-buttons {
    justify-content: center;
  }

  .doacao-right::before {
    display: none;
  }

  .doacao-right {
    display: none;
  }

  .historia-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .historia-ano {
    text-align: center;
    width: 100%;
  }

  .historia-texto {
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .texto-central h1 {
    font-size: 50px;
  }

  .doacao-left h1 {
    font-size: 32px;
  }

  .doacao-left p {
    font-size: 18px;
  }

  .btn-doar,
  .btn-pix {
    width: 180px;
    height: 50px;
  }

  .btn-doar {
    font-size: 24px;
  }

  .btn-pix {
    font-size: 20px;
  }

  .historia-ano {
    font-size: 40px;
  }

  .historia-texto {
    font-size: 20px;
  }
}

@media screen and (max-width: 480px) {
  .texto-central h1 {
    font-size: 36px;
  }

  .doacao-section {
    padding: 10px;
  }

  .doacao-left h1 {
    font-size: 28px;
  }

  .doacao-left p {
    font-size: 16px;
  }

  .doacao-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-doar,
  .btn-pix {
    width: 100%;
  }

  .historia-ano {
    font-size: 32px;
  }

  .historia-texto {
    font-size: 18px;
  }
}

.btn-pagamento {
  position: absolute;
  right: 0;
  width: 100px;
  height: 100px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 2;
}

.btn-pagamento img {
  filter: none !important;
}

.btn-pagamento:first-of-type {
  top: 80px;
}

.btn-pagamento:nth-of-type(2) {
  top: 200px;
}

.nome-sobreposto {
    position: absolute;
    bottom: 50px;
    right: 15px;
    color: #fff;
    text-align: left;
    line-height: 1.2;
}

.nome-sobreposto .nome {
    font-size: 32px;
    font-weight: 700;
    text-shadow: 4px 2px 4px rgba(0,0,0,2.8);
}

.nome-sobreposto .curso {
    font-size: 32px;
    font-weight: 400;
    text-shadow: 3px 3px 5px rgba(0,0,0,2.8);
}
