/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Playfair Display', serif;
  background-color: #fdfbf9;
  color: #5a2a1b;
  scroll-behavior: smooth;
  line-height: 1.6;
}

img {
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Menu Inicial */
.menu-central {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(to right, #e97451, #e05f3f);
  color: white;
  padding: 40px;
}

.menu-central h1 {
  font-size: 2.5em;
  font-family: 'Great Vibes', cursive;
  margin-bottom: 30px;
}

.menu-central button {
  background-color: white;
  color: #e97451;
  font-size: 1.2em;
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  margin: 10px;
  width: 260px;
  transition: all 0.3s ease-in-out;
  font-family: 'Playfair Display', serif;
}

.menu-central button:hover {
  background-color: #fdfbf9;
  transform: scale(1.05);
}

/* Galeria de Imagens */
.galeria {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 50px 20px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

.manual {
  display: none;
  animation: fade 0.5s ease-in-out;
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Título Manual */
.titulo-manual {
  text-align: center;
  padding: 40px 20px 10px;
  background: linear-gradient(to right, #e97451, #e05f3f);
  color: white;
}

.titulo-capa {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5em;
  line-height: 1.2;
}

.titulo-capa span {
  font-size: 1.5em;
}

.sub {
  font-size: 1em;
  margin-top: 5px;
}

.linha {
  width: 60px;
  height: 2px;
  margin: 10px auto;
  background-color: white;
  border-radius: 10px;
}

/* Botão Voltar */
.voltar {
  display: block;
  margin: 40px auto 80px;
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  background-color: #e97451;
  color: white;
  font-size: 1em;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: background 0.3s;
}

.voltar:hover {
  background-color: #cf6341;
}

/* Botão Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #e97451;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.4em;
  padding: 12px 15px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: background-color 0.3s;
}

.scroll-top:hover {
  background-color: #d25a3b;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  color: #7a4a3a;
  margin-top: 40px;
}

/* Bloco Aceite */
.bloco-aceite {
  text-align: center;
  margin: 40px auto;
  position: relative;
}

.pergunta {
  font-size: 1.3em;
  color: #5a2a1b;
  margin-bottom: 15px;
}

.bloco-aceite button {
  background: linear-gradient(45deg, #e97451, #d95e3f);
  color: white;
  font-size: 1.1em;
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255, 109, 83, 0.5);
  animation: pulse 2s infinite;
  transition: background 0.5s;
}

.bloco-aceite button:hover {
  background: linear-gradient(45deg, #ff8766, #f16c4f);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 15px rgba(233, 116, 81, 0.5);
  }
  100% {
    box-shadow: 0 0 30px rgba(233, 116, 81, 0.9);
  }
}

/* Confetti Canvas */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

/* Responsivo */
@media (max-width: 768px) {
  .menu-central h1 {
    font-size: 2em;
  }

  .titulo-capa {
    font-size: 2em;
  }

  .scroll-top {
    font-size: 1.2em;
    padding: 10px 12px;
  }

  .menu-central button {
    width: 90%;
    font-size: 1em;
  }

  .galeria {
    padding: 30px 10px;
    gap: 20px;
  }
}

/* Reset e base omitido para brevidade */

.titulo-sacramento {
  font-family: 'Sacramento', cursive;
}

/* Estilo especial apenas para o manual do Pajen */
.manual-pajen .titulo-manual {
  background: linear-gradient(to right, #000000, #434343);
  color: white;
}

.manual-pajen footer {
  background-color: #000000;
  color: white;
}

.manual-pajen .scroll-top {
  background-color: #333;
}

.manual-pajen .scroll-top:hover {
  background-color: #555;
}

.mapa-local {
  margin: 40px auto;
  width: 90%;
  max-width: 800px;
  text-align: center;
}

.mapa-local h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.mapa-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  margin: 30px 0;
}

.mapa-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

