/*
PADRÃO DO PROJETO SEMPRE-NOS
- Usar classes
- Nomes de classe em kebab-case
- Evitar inline styles e !important
- Manter organização e indentação
*/


:root{
  --pink-1: #be94a7;
  --pink-2: #b09fa7;
  --purple: #701c1c;
  --accent: #220c16;
  --text: #14060c;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: "Segoe UI", Roboto, system-ui, -apple-system, 'Helvetica Neue', Arial;
  color:var(--text);
  background: linear-gradient(135deg,var(--pink-1),var(--purple));
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:100vh;
  padding:1rem;
}

/* Containers */
.container, .wrap{
  width:100%;
  max-width:920px;
  background:rgba(167, 34, 34, 0.9);
  padding:2rem;
  border-radius:16px;
  box-shadow:0 12px 30px rgba(26, 9, 132, 0.12);
}

/* Header */
.page-header{
  text-align:center;
  margin-bottom:1rem
}

.title{
  font-size:clamp(1.8rem, 5vw, 2.8rem);
  margin:0;
  font-weight:700;
  letter-spacing:0.4px;
  font-family: Georgia, 'Times New Roman', serif;
  color:var(--text)
}

/* Gallery */
.gallery{
  display:flex;
  gap:1rem;
  margin:1rem 0
}

.image{
  flex:1;
  overflow:hidden;
  border-radius:12px
}

.image img{
  width:100%;
  height:auto;
  object-fit:cover;
  display:block;
  border-radius:12px;
  border:2px solid rgba(168, 168, 174, 0.6)
}

/* Textos */
.text-block{
  margin-top:1rem;
  color:var(--text);
  text-align:center
}

.text-block p{
  margin:0 0 1rem;
  line-height:1.6;
  font-size:clamp(0.95rem, 3vw, 1.05rem)
}

.romance{
  font-family: 'Playfair Display', 'Cormorant Garamond', 'Libre Baskerville', serif;
  font-size:clamp(1rem, 3vw, 1.15rem);
  line-height:1.8;
}

/* Botões */
.btn-wrap{
  text-align:center;
  margin-top:1.25rem
}

.btn{
  display:inline-block;
  background:var(--accent);
  color:#fff;
  padding:0.8rem 1.4rem;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  transition:transform 180ms ease, box-shadow 180ms ease
}

.btn:hover{
  transform:translateY(-3px);
  box-shadow:0 8px 20px rgba(214,51,108,0.18)
}

/* Footer */
footer.page-footer{
  text-align:center;
  margin-top:1rem;
  color:rgba(60,31,38,0.6);
  font-size:0.85rem
}

/* Linha de botões */
.button-row{
  display:flex;
  gap:2rem;
  justify-content:center;
  align-items:center;
  margin-top:1.25rem
}

.button-row .back{margin-top:0}

.wrap h1{
  font-size:clamp(1.5rem, 4vw, 2rem);
  margin:0 0 1rem;
  text-align:center
}

.wrap p{text-align:center}

.back{
  display:inline-block;
  padding:0.6rem 1.1rem;
  background:var(--accent);
  color:#fff;
  border-radius:999px;
  text-decoration:none;
  font-weight:600
}

/* Texto lateral decorativo */
.side-text{
  position: fixed;
  top: 50%;
  transform: translateY(-20%) rotate(-40deg);
  font-family: 'Playfair Display', serif;
  font-size:1.1rem;
  color: rgba(255,255,255,0.4);
}

.left{left:12px}
.right{right:12px}

/* Mobile */
@media (max-width:640px){

  body{
    padding:0.8rem;
  }

  .container, .wrap{
    padding:1.25rem;
  }

  .gallery{
    flex-direction:column;
  }

  .button-row{
    flex-direction:column;
    gap:1rem;
  }

  .side-text{
    display:none;
  }

}

/* utility */
.center{text-align:center}

/* Animação dos corações */
@keyframes floatUp {
  from {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  to {
    transform: translateY(-110vh) scale(1.3);
    opacity: 0;
  }
}

.floating-heart {
  position: fixed;
  pointer-events: none;
}
