html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  text-align: center;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 20px 15px;
  box-sizing: border-box;
}

/* Imagem e textos */
.causa-img {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  margin-bottom: 10px;
}

h1 {
  color: #228B22;
  font-size: 1.4rem;
  margin: 10px 0;
}

p {
  color: #000000;
  line-height: 1.5;
  font-size: 0.9rem;
  margin: 5px 0 15px 0;
  max-width: 600px;
}

/* Barra de progresso */
.progresso {
  width: 100%;
  max-width: 600px;
  margin-top: 5px;
}

/* Botões de valores */
.valor-opcoes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}

.valor-opcoes button {
  flex: 1;
  min-width: 80px;
  max-width: 120px;
  background-color: #007bff;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.valor-opcoes button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

/* --- BÔNUS: centralizado e destacado --- */
.bonus {
  background-color: #e6f7e6;
  border: 1px solid #228B22;
  border-radius: 8px;
  padding: 8px 10px; /* ⬇️ DIMINUÍDO (antes 10px 12px) */ /* ⬅️ MUDANÇA */
  margin: 15px auto;
  max-width: 500px;
  text-align: center;
  font-size: 0.85rem; /* ⬇️ DIMINUÍDO (antes 0.9rem) */ /* ⬅️ MUDANÇA */
  color: #228B22;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* --- BOTÃO CONTRIBUIR AGORA (única definição) --- */
button#doar {
  background-color: #007bff;
  color: #fff;
  padding: 40px 75px; /* ⬆️ AUMENTADO (antes 18px 50px) */ /* ⬅️ MUDANÇA */
  font-size: 22px; /* ⬆️ AUMENTADO (antes 18px) */ /* ⬅️ MUDANÇA */
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  margin-bottom: 25px;
}

button#doar:hover {
  background-color: #0056b3;
  transform: scale(1.07);
}

/* 📱 Ajustes para celular (BLOCO ÚNICO) */
@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .container {
    padding: 15px;
  }

  .causa-img {
    max-width: 95%;
  }

  h1 {
    font-size: 1.2rem;
  }

  p {
    font-size: 0.85rem;
    max-width: 90%;
  }

  .valor-opcoes {
    gap: 8px;
  }

  .valor-opcoes button {
    min-width: 70px;
    font-size: 13px;
    padding: 8px;
  }

  /* --- Ajustes mobile --- */
  .bonus {
    font-size: 0.8rem; /* ⬇️ DIMINUÍDO (antes 0.85rem) */ /* ⬅️ MUDANÇA */
    max-width: 90%;
  }

  button#doar {
    width: 95%;
    font-size: 38px; /* ⬆️ AUMENTADO (antes 17px) */ /* ⬅️ MUDANÇA */
    padding: 46px 0; /* ⬆️ AUMENTADO (antes 15px) */ /* ⬅️ MUDANÇA */
  }
}