/* quem-disse.css */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Comic Sans MS', cursive, sans-serif;
  background: linear-gradient(to bottom, #cceeff, #f5fbff);
  min-height: 100vh;
  color: #333;
  padding-bottom: 80px; /* espaço para footer */
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  padding: 12px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 10;
}

header button {
  background: #fff8cc;
  border: 2px solid #ffe066;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

header button:hover {
  background: #fff3b8;
  transform: scale(1.1);
}

#bencaos {
  font-weight: bold;
  font-size: 1.3rem;
  color: #666;
}

main {
  max-width: 700px;
  margin: 100px auto 40px; /* top margin para header fixo */
  padding: 0 20px;
  text-align: center;
}

h1 {
  font-size: 2.8rem;
  color: #3366cc;
  margin-bottom: 25px;
  text-shadow: 1px 1px 2px #a8c4ff;
}

.fala {
  font-size: 1.5rem;
  font-style: italic;
  color: #444;
  margin-bottom: 30px;
  min-height: 80px;
}

.opcoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.opcao-btn {
  background: #fffefc;
  border: 2px solid #a3bad9;
  border-radius: 20px;
  padding: 14px 24px;
  font-size: 1.3rem;
  color: #333;
  cursor: pointer;
  box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.1);
  user-select: none;
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
  min-width: 140px;
}

.opcao-btn:hover:not(.disabled) {
  background: #f0f7ff;
  border-color: #6699ff;
  transform: scale(1.05);
}

.opcao-btn.disabled {
  cursor: default;
  opacity: 0.5;
  pointer-events: none;
}

.feedback {
  font-size: 1.2rem;
  color: #222;
  background: #fffbea;
  border: 2px solid #ffd966;
  border-radius: 15px;
  padding: 15px 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px #ffd966;
  min-height: 70px;
}

.oculto {
  display: none;
}

#proximaBtn {
  background: #c1e1ff;
  border: 2px solid #6fa8dc;
  border-radius: 25px;
  padding: 12px 28px;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 3px 5px rgba(0,0,0,0.15);
  transition: background 0.3s, transform 0.2s;
}

#proximaBtn:hover {
  background: #b0d5ff;
  transform: scale(1.05);
}

/* Footer fixo */
footer#rodape {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #f0f9ff;
  border-top: 2px solid #a6d0f0;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #444;
  font-family: 'Arial', sans-serif;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
  z-index: 15;
}

footer#rodape .footer-texto {
  line-height: 1.2;
}

/* Responsividade */
@media (max-width: 600px) {
  main {
    margin: 120px 15px 50px;
  }
  h1 {
    font-size: 2.2rem;
  }
  .opcoes {
    gap: 12px;
  }
  .opcao-btn {
    min-width: 100px;
    font-size: 1.1rem;
    padding: 12px 16px;
  }
}
