:root{
  --lavanda-clara:#f2ecfa;
  --lavanda:#b9a8d8;
  --lavanda-forte:#8f7bb8;
  --preto:#0f0f14;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  background:linear-gradient(180deg,var(--lavanda-clara),#fff);
  font-family:'Montserrat',sans-serif;
  color:var(--preto);
  overflow-x:hidden;
}

/* ================= SPLASH ================= */

.splash{
  position:fixed;
  inset:0;
  background:radial-gradient(circle at top, #ffffff, #f2ecfa);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  z-index:9999;
  text-align:center;
  transition:1s ease;
}

/* ================= CORAÇÕES SPLASH ================= */

.hearts-splash{
  position:absolute;
  inset:0;
  overflow:hidden;
  pointer-events:none;
}

.heart-splash{
  position:absolute;
  bottom:-30px;
  color:#ff4b6e;
  opacity:.75;
  animation:subirHeart linear infinite;
}

@keyframes subirHeart{
  from{
    transform:translateY(0) rotate(0deg);
    opacity:0;
  }
  15%{ opacity:1; }
  to{
    transform:translateY(-120vh) rotate(360deg);
    opacity:0;
  }
}

/* ================= FLORES ================= */

.flor{
  position:absolute;
  z-index:3;
  pointer-events:none;
  color:#8f7bb8;
  line-height:1;
  max-width:160px;
  user-select:none;
}

.flor-topo{
  top:18px;
  left:18px;
  font-size:36px;
}

.flor-base{
  right:18px;
  bottom:18px;
  font-size:36px;
}

.flor::before{
  content:"❀ ✿ ❀";
  display:block;
}

.flor::after{
  content:"❁ ❀";
  display:block;
  margin-top:-6px;
  margin-left:16px;
}

/* ================= BORDAS ================= */

.borda{
  position:absolute;
  top:28px;
  bottom:28px;
  width:40px;
  display:flex;
  justify-content:center;
  align-items:center;
}

.borda::before{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:3px;
  background:#8f7bb8;
  border-radius:10px;
}

.borda-esquerda{ left:20px; }
.borda-direita{ right:20px; }

.ornamento-borda{
  width:26px;
  height:26px;
  border:3px solid #8f7bb8;
  transform:rotate(45deg);
  background:white;
  z-index:5;
  box-shadow:0 0 15px rgba(143,123,184,.25);
}

.ornamento-borda::before{
  content:"";
  position:absolute;
  inset:5px;
  border:2px solid #8f7bb8;
}

/* ================= TEXTO SPLASH ================= */

.splash h1{
  font-family:'Playfair Display',serif;
  font-size:54px;
  color:var(--lavanda-forte);
  letter-spacing:2px;
  margin-bottom:10px;
  animation:fadeInDown 1.2s ease;
}

.splash p{
  font-size:18px;
  color:#444;
  margin-bottom:40px;
  animation:fadeIn 2s ease;
}

@keyframes fadeInDown{
  from{opacity:0; transform:translateY(-30px);}
  to{opacity:1; transform:translateY(0);}
}

@keyframes fadeIn{
  from{opacity:0;}
  to{opacity:1;}
}

/* ================= CARTA ================= */

.carta{
  width:95px;
  height:70px;
  background:#fff;
  border:2px solid var(--lavanda-forte);
  border-radius:10px;
  position:relative;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 15px 35px rgba(0,0,0,.2);
  animation:pulse 1.8s infinite;
}

.carta:before{
  content:"💌";
  font-size:28px;
}

.carta span{
  position:absolute;
  bottom:-50px;
  font-size:14px;
  color:var(--lavanda-forte);
}

@keyframes pulse{
  0%{transform:scale(1);}
  50%{transform:scale(1.08);}
  100%{transform:scale(1);}
}

/* ================= PARTÍCULAS ================= */

.particulas{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:1;
}

.particula{
  position:absolute;
  width:10px;
  height:10px;
  font-size:12px;
  color:#ff2b2b;
  animation:flutuar linear infinite;
}

@keyframes flutuar{
  from{transform:translateY(110vh);opacity:0;}
  to{transform:translateY(-10vh);opacity:1;}
}

/* ================= CONTEÚDO ================= */

.wrapper{
  position:relative;
  z-index:2;
  max-width:1100px;
  margin:auto;
  padding:50px 24px 30px;
  text-align:center;
}

.nomes{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:20px;
  font-family:'Playfair Display',serif;
  font-size:54px;
  margin-bottom:14px;
}

.frase{
  font-size:17px;
  margin-bottom:22px;
}

.frase strong{
  color:var(--lavanda-forte);
}

/* FOTO */

.foto-principal{
  width:100%;
  max-width:760px;
  height:440px;
  margin:22px auto 34px;
  overflow:hidden;
  border-radius:30px;
  background:url("foto.png") center/cover no-repeat;
  box-shadow:0 35px 80px rgba(143,123,184,.45);
  position:relative;
}

.foto-principal::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.4),rgba(0,0,0,.05));
}

.selo-casamento{
  position:absolute;
  top:20px;
  left:20px;
  background:rgba(255,255,255,.92);
  padding:10px 18px;
  border-radius:30px;
  font-family:'Playfair Display',serif;
  font-size:14px;
  color:#8f7bb8;
}

/* CONVITE */

.convite{
  background:#fff;
  border-radius:28px;
  padding:38px 30px;
  box-shadow:0 25px 60px rgba(143,123,184,.25);
}

/* CONTADOR */

.contador{
  display:flex;
  gap:10px;
  margin:20px auto;
  max-width:420px;
}

.box{
  flex:1;
  background:var(--lavanda);
  padding:14px 10px;
  border-radius:14px;
}

.numero{
  font-size:22px;
  font-weight:600;
}

.label{
  font-size:11px;
}

/* LOCAL */

.local{
  font-size:15px;
  line-height:1.6;
  margin-top:18px;
}

/* PADRINHOS */

.padrinhos{
  display:flex;
  justify-content:center;
  gap:26px;
  flex-wrap:wrap;
  margin-top:40px;
}

.card{
  background:#fff;
  padding:28px 26px;
  border-radius:22px;
  width:300px;
  box-shadow:0 25px 40px rgba(143,123,184,.25);
}

/* FOOTER */

footer{
  margin-top:60px;
  padding:55px 20px;
  background:var(--preto);
  text-align:center;
}

.footer-nomes{
  font-family:'Playfair Display',serif;
  font-size:48px;
  color:var(--lavanda);
}

/* ================= BOTÃO MÚSICA ================= */

.music-btn{
  position:fixed;
  bottom:20px;
  right:20px;
  width:60px;
  height:60px;
  border-radius:50%;
  background:var(--lavanda-forte);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  cursor:pointer;
  z-index:100;
  animation:pulse 1.6s infinite;
}

.music-msg{
  position:fixed;
  bottom:92px;
  right:20px;
  background:#fff;
  padding:10px 16px;
  border-radius:14px;
  font-size:14px;
}

/* ================= RESPONSIVO ================= */

@media (max-width:768px){

  .flor-topo,
  .flor-base{
    font-size:26px;
  }

  .borda{
    width:24px;
  }

  .ornamento-borda{
    width:18px;
    height:18px;
  }

  .splash h1{
    font-size:34px;
    padding:0 20px;
  }

  .splash p{
    font-size:15px;
    padding:0 20px;
  }

  .nomes{
    font-size:34px;
  }

  .foto-principal{
    height:260px;
  }
}

@media (max-width:480px){

  .flor{
    font-size:18px;
  }

  .borda{
    width:16px;
  }

  .splash h1{
    font-size:26px;
  }

  .foto-principal{
    height:220px;
  }
}

@media (max-width:360px){

  .flor,
  .borda{
    display:none;
  }

  .splash h1{
    font-size:22px;
  }

  .splash p{
    font-size:12px;
  }
}

/* Ajustes adicionados */
.local-container{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  margin-top:22px;
  flex-wrap:wrap;
}

.mapa{
  width:360px;
  max-width:100%;
}

.mapa iframe{
  width:100%;
  height:220px;
  border:none;
  border-radius:18px;
  pointer-events:none;
  box-shadow:0 15px 35px rgba(143,123,184,.20);
}

.flor-topo{
  top:45px;
  left:45px;
}

.flor-base{
  right:45px;
  bottom:45px;
}

.splash{
  padding:50px;
}

.flor{
  max-width:140px;
  overflow:visible;
}


.padrinhos-separador{
  width:100%;
  height:1px;
  margin:55px auto 20px;
  background:linear-gradient(to right,transparent,#b9a8d8,transparent);
}

.padrinhos{
  margin-top:25px;
}

.card{
  border:1px solid rgba(143,123,184,.18);
}

.card h3{
  font-family:'Playfair Display',serif;
  color:#8f7bb8;
  font-size:28px;
  margin-bottom:18px;
}

.card span{
  display:block;
  margin:8px 0;
  line-height:1.6;
}


.nomes{
  flex-direction:column;
  gap:8px;
}

.ornamento{
  display:flex;
  justify-content:center;
  align-items:center;
}

.convite{
  position:relative;
}

.convite::before,
.convite::after{
  content:"";
  position:absolute;
  left:32px;
  right:32px;
  height:2px;
  background:linear-gradient(to right,transparent,#b9a8d8,transparent);
}

.convite::before{
  top:18px;
}

.convite::after{
  bottom:18px;
}


/* nomes em linha */
.nomes{
  flex-direction:row !important;
  justify-content:center;
  align-items:center;
  gap:18px;
  flex-wrap:nowrap;
}

/* bordas superior e inferior da splash */
.splash::before,
.splash::after{
  content:"";
  position:absolute;
  left:70px;
  right:70px;
  height:18px;
  pointer-events:none;
}

.splash::before{
  top:22px;
  border-top:2px solid #b9a8d8;
  border-radius:999px;
}

.splash::after{
  bottom:22px;
  border-bottom:2px solid #b9a8d8;
  border-radius:999px;
}

/* pequenos ornamentos discretos nas pontas */
.splash::before{
  box-shadow:
    -18px 0 0 -16px #b9a8d8,
    18px 0 0 -16px #b9a8d8;
}

.splash::after{
  box-shadow:
    -18px 0 0 -16px #b9a8d8,
    18px 0 0 -16px #b9a8d8;
}


/* Splash sem barra de rolagem */
html,
body{
  overflow-x:hidden;
}

.splash{
  overflow:hidden;
}


/* Ajuste definitivo da splash para evitar qualquer barra */
.splash{
  width:100vw;
  height:100vh;
  overflow:hidden;
}

.splash::before,
.splash::after{
  left:90px !important;
  right:90px !important;
  box-sizing:border-box;
}

.flor-topo{
  top:32px !important;
  left:32px !important;
}

.flor-base{
  bottom:32px !important;
  right:32px !important;
}

.borda{
  top:40px !important;
  bottom:40px !important;
}


/* ===== Correção de overflow da splash em telas pequenas ===== */
html,
body{
  width:100%;
  overflow-x:hidden;
}

.splash{
  position:fixed;
  inset:0;
  width:100%;
  height:100dvh;
  overflow:hidden;
}

@media (max-width:480px){

  .splash{
    padding:20px;
  }

  .splash::before,
  .splash::after{
    left:20px !important;
    right:20px !important;
  }

  .flor-topo{
    top:12px !important;
    left:12px !important;
  }

  .flor-base{
    bottom:12px !important;
    right:12px !important;
  }

  .borda{
    top:20px !important;
    bottom:20px !important;
  }
}
