@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Inter:wght@400;600;800&display=swap');

*{box-sizing:border-box}
html,body{width:100%;height:100%;margin:0}
html{scroll-behavior:smooth}
body{
  font-family:Inter,Arial,sans-serif;
  background:#120712;
  color:white;
  overflow:hidden;
  -webkit-text-size-adjust:100%;
}
button,a,input,textarea{font:inherit}
button{
  border:0;
  padding:clamp(11px,3.2vw,15px) clamp(20px,5.5vw,28px);
  border-radius:999px;
  background:linear-gradient(135deg,#ff4f82,#ff8faf);
  color:white;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 15px 30px rgba(255,79,130,.35);
}
.app{
  width:100vw;
  height:100svh;
  min-height:100dvh;
  position:relative;
  overflow:hidden;
}
.step{
  position:absolute;
  inset:0;
  opacity:0;
  pointer-events:none;
  transform:translateX(34px) scale(.985);
  transition:.55s ease;
  overflow-y:auto;
  overflow-x:hidden;
  background:
    linear-gradient(120deg,rgba(10,5,10,.97),rgba(30,8,18,.9)),
    radial-gradient(circle at 75% 35%,rgba(255,76,130,.34),transparent 35%);
  padding:
    max(18px,env(safe-area-inset-top))
    max(16px,env(safe-area-inset-right))
    max(64px,env(safe-area-inset-bottom))
    max(16px,env(safe-area-inset-left));
}
.step.active{
  opacity:1;
  pointer-events:auto;
  transform:translateX(0) scale(1);
}
.inner{
  width:min(1080px,100%);
  min-height:calc(100svh - 88px);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(240px,430px);
  align-items:center;
  justify-content:center;
  gap:clamp(18px,5vw,44px);
}
.inner.single{
  grid-template-columns:1fr;
}
.hero{
  background:
    linear-gradient(90deg,rgba(10,5,10,.98),rgba(20,8,15,.74)),
    url('../img/foto1.jpg') center/cover;
}
.light{
  color:#2d1420;
  background:linear-gradient(135deg,#fff7f9,#ffdbe6,#fff);
}
.content,.card,.text{width:100%;max-width:540px}
.date{
  letter-spacing:clamp(2px,.8vw,5px);
  color:#ff8bad;
  font-weight:800;
  font-size:clamp(.75rem,2.8vw,.95rem);
}
h1{
  font-family:Georgia,serif;
  font-size:clamp(2.45rem,12vw,6.2rem);
  line-height:.92;
  margin:0 0 clamp(10px,3vw,18px);
}
h1 span,h2{
  font-family:'Great Vibes',cursive;
  color:#ff6f9d;
  font-weight:400;
}
h2{
  font-size:clamp(2.25rem,10vw,4.2rem);
  line-height:1;
  margin:0 0 clamp(12px,3vw,18px);
}
p{
  font-size:clamp(.92rem,3.8vw,1.08rem);
  line-height:1.55;
}
.mainPhoto,.polaroid{
  width:100%;
  max-width:430px;
  max-height:min(58svh,620px);
  object-fit:cover;
  border-radius:clamp(14px,4vw,22px);
  background:white;
  padding:clamp(5px,1.8vw,8px);
  box-shadow:0 22px 60px rgba(0,0,0,.42);
  transform:rotate(1.4deg);
  justify-self:center;
}
.card{
  background:rgba(255,255,255,.075);
  border:1px solid rgba(255,255,255,.15);
  border-radius:clamp(18px,5vw,28px);
  padding:clamp(18px,5vw,28px);
  backdrop-filter:blur(10px);
}
.lightCard{
  background:rgba(255,255,255,.8);
  box-shadow:0 18px 45px rgba(80,15,35,.14);
}
.counter{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(7px,2.2vw,12px);
  margin:clamp(16px,4vw,24px) 0;
}
.counter div{
  background:white;
  border-radius:clamp(14px,4vw,20px);
  padding:clamp(13px,4vw,22px) 6px;
  text-align:center;
  box-shadow:0 12px 25px rgba(80,15,35,.12);
}
.counter strong{
  display:block;
  font-size:clamp(1.35rem,6vw,2rem);
}
.counter span{
  display:block;
  font-size:clamp(.74rem,3vw,1rem);
  font-weight:700;
}
.small{color:#704354}
.wide{
  width:min(1000px,100%);
  text-align:center;
}
.gallery{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:clamp(7px,2.2vw,12px);
  margin:clamp(16px,4vw,24px) 0;
}
.gallery img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border:2px solid white;
  border-radius:clamp(10px,3vw,15px);
}
.spotify{
  width:100%;
  max-width:420px;
  background:rgba(255,255,255,.84);
  border-radius:clamp(18px,5vw,28px);
  padding:clamp(16px,4vw,22px);
  box-shadow:0 18px 45px rgba(80,15,35,.14);
  justify-self:center;
}
.spotify img{
  width:100%;
  max-height:min(42svh,260px);
  object-fit:cover;
  border-radius:clamp(12px,4vw,18px);
}
.spotify h3{margin:0;font-size:clamp(1rem,4vw,1.25rem)}
.spotify p{margin-top:5px;color:#714456}
audio{width:100%;accent-color:#ff5f8f}
.finale{
  text-align:center;
  background:
    linear-gradient(120deg,rgba(55,5,22,.96),rgba(130,10,44,.78)),
    radial-gradient(circle at center,rgba(255,130,165,.5),transparent 45%);
}
.progress{
  position:fixed;
  right:max(12px,env(safe-area-inset-right));
  bottom:max(12px,env(safe-area-inset-bottom));
  z-index:10;
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.2);
  padding:8px 13px;
  border-radius:999px;
  font-weight:800;
  font-size:.9rem;
  backdrop-filter:blur(8px);
}
.hearts{
  position:fixed;
  inset:0;
  z-index:5;
  pointer-events:none;
  opacity:.23;
  background-image:
    radial-gradient(circle,#ff6f9d 0 2px,transparent 3px),
    radial-gradient(circle,#ffc0cf 0 3px,transparent 4px);
  background-size:85px 85px,140px 140px;
  animation:float 12s linear infinite;
}
@keyframes float{
  from{background-position:0 0,0 0}
  to{background-position:0 800px,0 650px}
}

/* Mobile vertical */
@media(max-width:760px){
  .step{padding:18px 16px 64px}
  .inner{
    min-height:calc(100svh - 82px);
    grid-template-columns:1fr;
    gap:16px;
    align-content:center;
  }
  .hero .inner{align-content:end}
  .content,.card,.text,.spotify{max-width:100%}
  .mainPhoto,.polaroid{
    max-width:100%;
    width:100%;
    max-height:38svh;
  }
  .gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gallery img:last-child{grid-column:span 2;aspect-ratio:2/1}
}

/* Celulares muito baixos */
@media(max-height:690px) and (max-width:760px){
  .inner{
    min-height:auto;
    align-content:start;
    padding-top:8px;
  }
  h1{font-size:clamp(2.1rem,10vw,3rem)}
  h2{font-size:clamp(2rem,9vw,2.8rem)}
  p{font-size:.9rem;line-height:1.42}
  .mainPhoto,.polaroid{max-height:30svh}
  .spotify img{max-height:26svh}
  .card{padding:16px}
}

/* Mobile deitado */
@media(max-height:520px) and (orientation:landscape){
  .inner{
    min-height:auto;
    grid-template-columns:1fr 320px;
    padding:8px 0 34px;
  }
  .mainPhoto,.polaroid{max-height:70svh}
  h1{font-size:2.5rem}
  h2{font-size:2.35rem}
  p{font-size:.85rem;line-height:1.35}
  .gallery{grid-template-columns:repeat(5,1fr)}
}

/* Tablets */
@media(min-width:761px) and (max-width:1050px){
  .inner{grid-template-columns:1fr 380px}
}
