/*-------------------Video-------------------*/
 #video-container, #conteudo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#mensagem-clique {
  font-family: 'Playfair Display', serif;
  position: absolute;
  bottom: 5vh;
  width: 100%;
  text-align: center;
  font-size: 5vw;
  color: #5a251b;
  text-shadow: 0 0 8px rgba(255, 182, 193, 0.8);
  z-index: 10;
}
#video-container {
  background-image: url('imagem/poster_video.jpg');
  background-size: cover;
  background-position: center;
}


#video-container,
#intro-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 3;
}
video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*-------------------Video-------------------*/


/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #f9f2f4;
  color: #333;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  overflow-x: hidden; /* evita scroll horizontal */
}

/* Nome do aniversariante com fonte cursiva e tamanho fluido */
.nome-aniversariante {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3rem, 7vw, 7rem);
  color: #F4A7B6;
  text-align: center;
  margin-top: 40px;
  letter-spacing: 1.5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.06);
}

/* Idade com fonte serif e tamanho adaptável */
.idade {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.2rem, 2.8vw, 1.3rem);
  color: #F4A7B6;
  text-align: center;
  margin-top: 12px;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0.9;
}

.top-image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.top-image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.top-image-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(249, 242, 244, 0) 0%, rgba(249, 242, 244, 1) 100%);
}

h1, h2, p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 10px;
}

h1 {
  font-size: 6vw;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #b95c73;
  font-family: 'Playfair Display', serif;
  text-align: center;
}

h2 {
  font-size: 5vw;
  font-weight: 600;
  color: #d97e9a;
  margin-bottom: 25px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 3px;
}

.data-inteira {
  display: block;                         /* garante que se comporte como bloco */
  width: 100%;                            /* ocupa toda a largura */
  text-align: center;                     /* centraliza o conteúdo */
  font-family: 'Playfair Display', serif;
  color: #F4A7B6;
  letter-spacing: 1px;
  white-space: nowrap;                    /* impede quebra de linha */
  font-size: clamp(1.2rem, 5vw, 2.5rem);  /* tamanho fluido */
  margin: 20px auto 30px;                 /* centraliza com margem automática */
}


@media (max-width: 320px) {
  .data-inteira {
    font-size: 1rem;
  }
}


p {
  font-size: 4vw;
  line-height: 1.4;
  color: #555;
  margin-bottom: 30px;
}

/*------------------Estilo Timer------------------*/
.contador {
  background-color: #FCEEF0;
  border-radius: 15px;
  padding: 30px 20px;
  margin: 40px auto 50px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 320px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.titulo {
  font-size: clamp(1.5rem, 6vw, 40px);
  color: #E68FAC;
  font-family: 'Playfair Display', serif;
  font-weight: bold;
  margin-bottom: 25px;
  text-align: center;
  letter-spacing: 1.5px;
  text-shadow: 1px 1px 2px rgba(230, 143, 172, 0.25);
}

.tempo {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.tempo div {
  text-align: center;
  color: #E68FAC;
}

.tempo span {
  display: block;
  font-size: clamp(1.2rem, 5vw, 28px);
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

.tempo p {
  font-size: clamp(0.8rem, 2.5vw, 15px);
  margin: 8px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
}

.container-timer {
  width: 100%;
  background-color: transparent;
  max-width: 700px;
  margin: 0 auto;
}

/*------------------Imagens e Carrossel ------------------*/
.mensagem-topo {
  font-size: clamp(0.9rem, 3vw, 1.05rem);
  margin: 25px 10px 35px;
  text-align: center;
  font-family: 'Lora', serif;
  color: #555;
  padding: 0 10px;
  line-height: 1.7;
  font-weight: 400;
}

.carrossel-ajustado {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  margin-bottom: 40px;
}

.carrossel-ajustado::before,
.carrossel-ajustado::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 2;
  pointer-events: none;
}

.carrossel-ajustado::before {
  top: 0;
  background: linear-gradient(to bottom, #fdf4f5 0%, transparent 100%);
}

.carrossel-ajustado::after {
  bottom: 0;
  background: linear-gradient(to top, #fdf4f5 0%, transparent 100%);
}


.carrossel {
  display: flex;
  transition: transform 1s ease;
}

.carrossel img {
  width: 100%;
  max-width: 100%;
  height: auto;
  flex-shrink: 0;
  border-radius: 12px;
}

/*------------------Bloco informações e botoes------------------*/
.bloco-convite {
  font-family: 'Lora', serif;
  color: #444;
  text-align: center;
  padding: 20px 15px 30px;
  max-width: 90%;
  margin: 0 auto;
}

.bloco-convite h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  letter-spacing: clamp(2px, 3vw, 4px);
  margin: 10px 0 10px;
  color: #F4A7B6;
  font-weight: 700;
}

.subtitulo {
  font-size: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: 50px;
  font-family: 'Lora', serif;
  letter-spacing: 2px;
  color: #666;
  font-weight: 400;
}

.icon-local {
  font-size: clamp(24px, 6vw, 36px);
  margin-bottom: 15px;
  color: #E68FAC;
}

.localizacao {
  font-size: clamp(16px, 4vw, 22px);
  letter-spacing: 1.5px;
  font-family: 'Playfair Display', serif;
  color: #444;
}

.espaco {
  font-size: clamp(12px, 3vw, 16px);
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 40px;
  color: #777;
}

.botoes {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  background: linear-gradient(145deg, #F8C8DC 0%, #F4A7B6 100%);
  color: white;
  padding: 12px 30px;
  border-radius: 40px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  box-shadow: 0 6px 15px rgba(244, 167, 182, 0.3);
  transition: all 0.3s ease;
  display: block;
  width: 90vw;
  max-width: 280px;
  margin: 15px auto;
  text-decoration: none;
  user-select: none;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:hover,
.btn:focus {
  background: linear-gradient(145deg, #F4A7B6 0%, #F8C8DC 100%);
  box-shadow: 0 8px 20px rgba(244, 167, 182, 0.5);
  transform: translateY(-4px);
  outline: none;
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(244, 167, 182, 0.4);
}

.botoes-redondos {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn-circulo {
  width: clamp(40px, 12vw, 60px);
  height: clamp(40px, 12vw, 60px);
  background-color: #F4A7B6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 5px 15px rgba(244, 167, 182, 0.4);
  overflow: hidden;
}

.btn-circulo:hover {
  background-color: #E68FAC;
  transform: scale(1.1);
}

.icone-btn {
  width: clamp(18px, 6vw, 28px);
  height: clamp(18px, 6vw, 28px);
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/*------------------ Modal ------------------*/
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-conteudo {
  position: relative;
  background: white;
  padding: 40px;
  border-radius: 12px;
  max-width: 550px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.4s ease-out;
}

.modal-conteudo h2 {
  margin-bottom: 25px;
  color: #F4A7B6;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  letter-spacing: 1px;
}

.modal-conteudo p {
  margin-bottom: 25px;
  color: #555;
  font-size: 1.15rem;
  line-height: 1.7;
  white-space: pre-line;
  font-family: 'Lora', serif;
}

.modal-conteudo form button[type="submit"] {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 14px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.15rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  width: 100%;
}

.modal-conteudo form button[type="submit"]:hover {
  background-color: #45a049;
  transform: translateY(-2px);
}

.modal.show .modal-conteudo {
  transform: translateY(0);
}

/* Inputs padrão responsivos */
input {
  padding: 12px;
  margin-bottom: 15px;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1.05rem;
  font-family: 'Montserrat', sans-serif;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

/* Texto de confirmação */
.confirmar {
  font-size: clamp(10px, 3vw, 13px);
  margin-top: 40px;
  letter-spacing: 1.2px;
  font-family: 'Lora', serif;
  color: #666;
  font-weight: 700;
  text-transform: uppercase;
}

/* Seção empresa dentro do modal */
.empresa:not(:last-child) {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.empresa:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* Botão fechar modal */
.fechar-x {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 28px;
  color: #999;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.fechar-x:hover {
  transform: rotate(90deg);
  color: #555;
}

/*Modal Exemplo (se usado)*/
.modal-content {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  font-family: 'Lora', serif;
  color: #444;
  line-height: 1.6;
  position: relative;
  max-width: 500px;
  width: 100%;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.modal-content h2 {
  color: #F4A7B6;
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
  font-size: 1.8rem;
  text-align: center;
}

.modal-content p {
  font-size: 1.05rem;
  white-space: pre-line;
}

.imagem-casal img {
  width: 160px;
  border-radius: 12px;
  object-fit: cover;
}

.linha-coracao {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0 30px;
  gap: 15px;
}

.linha-coracao::before,
.linha-coracao::after {
  content: '';
  flex: 1;
  height: 2px;
  background-color: #C61D52;
  border-radius: 999px;
  max-width: 200px;
  opacity: 0.9;
}

.linha-coracao img {
  width: 24px;
  height: auto;
  display: block;
  opacity: 1;
  filter: brightness(1) saturate(1);
}

/* Ajuste título modal Dress Code */
#modalDressCode h2 {
  margin-bottom: 5px;
}

/* Textos */
.texto {
  font-family: 'Lora', serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  text-align: justify;
}

.texto strong {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #E68FAC;
}

.texto-harmonico {
  max-width: 700px;
  margin: 0 auto;
  text-align: justify;
  font-family: 'Lora', serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

.box-texto {
  border: 2px solid #E68FAC;
  border-radius: 12px;
  padding: 20px 24px;
  background-color: #fff;
  flex: 1;
  position: relative;
}

.texto-final {
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: #555;
  margin-top: 30px;
  line-height: 1.6;
  text-align: justify;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.texto-final strong {
  color: #E68FAC;
}

/* Para centralizar os trechos menores, criar um span com classe */
.texto-final .centrado {
  display: block;
  text-align: center;
  margin-top: 12px;
}

h1 {
  font-family: 'Playfair Display', serif;
  color: #F4A7B6;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.mensagem-topo {
  padding-left: 30px;
  padding-right: 30px;
}

/*------------------ Responsividade ------------------*/
/* Ajustes para telas maiores (tablets/desktops) */
@media (min-width: 600px) {
  body {
    width: auto;
  }
  h1 {
    font-size: 2.8rem;
    padding: 0;
  }
  h2 {
    font-size: 2rem;
    letter-spacing: 4px;
    padding: 0;
  }
  p {
    font-size: 1.1rem;
    max-width: 400px;
    padding: 0;
  }
}

/* Ajustes para telas muito pequenas (smartphones compactos) */
@media (max-width: 320px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  p {
    font-size: 0.9rem;
  }
}

/* Ajustes para modal em telas pequenas */
@media (max-width: 400px) {
  .modal-conteudo {
    padding: 20px;
    max-width: 90vw;
    max-height: 85vh;
  }
}

/* Só os botões dentro do modalDressCode (exemplo) */
#modalDressCode .botoes {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap; /* para forçar lado a lado */
  max-width: 600px;
  margin: 0 auto;
}

#modalDressCode .botoes .btn {
  flex: 1 1 auto;
  max-width: 280px;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Ajuste para telas pequenas só dentro do modalDressCode */
@media (max-width: 480px) {
  #modalDressCode .botoes .btn {
    padding: 15px 15px;
    font-size: 0.85rem;
    max-width: 140px;
  }
}


#tituloGuiaVestimenta {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  text-align: center;
  color: #E68FAC;
}

