@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Open+Sans:wght@300;400&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #f5e8c7;
  background: url('fundo03.jpg') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
  position: relative;
}

/* Escurece o fundo levemente para destacar o conteúdo */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

header {
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 120px;
}
header img { height: 120px; }

nav a {
  color: #f5e8c7;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 400;
  transition: .3s;
}
nav a:hover {
  color: #fff;
  text-shadow: 0 0 10px #ffdd80;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.hero h1 {
  font-family: 'Marcellus', serif;
  font-size: 3rem;
  color: #ffdb8b;
  margin-bottom: 15px;
}
.hero p {
  max-width: 600px;
  font-size: 1.1rem;
  color: #f4e6c2;
  margin-bottom: 30px;
  line-height: 1.6;
}

.contador { color: #ffe6b7; font-size: 1rem; margin-bottom: 20px; }

.btn {
  display: inline-block;
  background: linear-gradient(135deg, #f9d976, #f39f86);
  color: #2b1d0e;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  padding: 15px 40px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(255, 215, 100, 0.4);
  transition: transform .2s, box-shadow .3s;
}
.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(255, 220, 130, 0.6);
}

.vela-central {
  margin-top: 30px;
  width: 250px;
  height: auto;
}

.pedidos {
  position: relative;
  margin-top: 20px;
  height: 50px;
  width: 400px;
  color: #ffe6b7;
  font-size: 1rem;
  text-align: center;
  overflow: hidden;
}
.pedido-texto {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}
.pedido-texto.ativo { opacity: 1; }

.card {
  background: rgba(0, 0, 0, 0.85);
  border-radius: 15px;
  padding: 25px 20px 15px 20px;
  width: 270px;
  min-height: 210px;
  box-shadow: 0 0 20px rgba(255, 215, 130, 0.2);
  position: relative;
  transition: transform .2s;
  text-align: center;
}
.card:hover { transform: scale(1.03); }
.card img.vela {
  width: 40px;
  height: auto;
  margin-top: -10px;
  filter: drop-shadow(0 0 10px #000000);
  animation: piscar 3s infinite ease-in-out;
}

footer {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.85);
  font-size: .9rem;
  color: #f3e5b5;
  letter-spacing: .5px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
footer span { color: #f6d372; }

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}
.modal-content {
  background: #111;
  border-radius: 15px;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 0 20px rgba(255, 215, 150, 0.3);
  color: #f9e8c9;
  text-align: left;
  position: relative;
}
.modal h2 {
  text-align: center;
  font-family: 'Marcellus', serif;
  color: #ffdb8b;
  margin-bottom: 20px;
}
.modal label { display: block; margin-top: 12px; font-size: .9rem; }
.modal input,
.modal textarea,
.modal select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: .9rem;
}
.modal textarea { resize: none; min-height: 80px; }
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.3rem;
  color: #fff;
  cursor: pointer;
}
.success {
  display: none;
  text-align: center;
  padding: 20px;
  color: #ffe9b3;
  font-size: 1.1rem;
  animation: fadeIn 1s forwards;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Player minimalista */
#musica {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(145deg,#f9d976,#f39f86);
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(255,215,100,0.3);
  cursor: pointer;
  transition: all .3s;
  z-index: 999;
}
#musica:hover { transform: scale(1.1); }
#musica::before {
  content: '▶';
  color: #fff7b0;
  font-size: 1.4rem;
  text-shadow: 0 0 10px #ffda7a;
}
#musica.pausado::before { content: '❚❚'; font-size: 1.2rem; }
