/* =========================
   VERSÍCULO
========================= */

.versiculo {
    width: 414px;
    margin: 6px auto 0;
    text-align: center;
}

.versiculo-texto {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    color: #434343;
    line-height: 1.6;
}

.versiculo-referencia {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 20px;
    color: #000000;

    text-align: right;

    position: relative;
    right: -120px;
    /* desloca para fora do bloco */
}

/* =========================
   HERO HOME
========================= */

.hero {
    position: relative;
    width: 100%;
    max-width: 1197px;
    height: 798px;
    margin: 0 auto;
    overflow: hidden;
}

/* imagem de fundo */
.hero-background {
    position: absolute;
    inset: 0;
    background: url("../../img/santuario.jpeg") center/cover no-repeat;
    z-index: 1;
    opacity: 17%;
}

/* conteúdo central */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 180px;
    /* ajuste visual superior */
}

/* Nome */
.hero-title {
    font-family: var(--font-script);
    /* Parisienne */
    font-weight: 400;
    font-size: 64px;
    color: #141414;
}

/* Data */
.hero-date {
    font-family: var(--font-primary);
    /* Poppins */
    font-weight: 400;
    font-size: 20px;
    color: #141414;
}

/* Faixa branca */
.hero-strip {
    position: absolute;
    top: calc(120px + 64px + 16px + 20px + 137px);
    left: 0;
    width: 100%;
    height: 113.67px;
    background: #ffffff;
    opacity: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
}

/* conteúdo dentro da faixa */
.hero-strip-content {
    text-align: center;
    width: 70%;
}

.hero-strip-content p {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    color: #141414;
}

.hero-strip-content p+p {
    margin-top: 12px;
    /* 12px entre os textos */
}

/* =========================
   DATA & LOCAL
========================= */

.data-local {
    margin-top: 42px;
    /* 42px abaixo da Home */
    max-width: 1197px;
    margin-left: auto;
    margin-right: auto;
}

/* Header da seção */
.data-local-header {
    text-align: center;
}

.data-local-title {
    font-family: var(--font-primary);
    /* Poppins */
    font-weight: 400;
    font-size: 24px;
    color: #141414;
}

.data-local-date {
    font-family: var(--font-title);
    /* Playfair */
    font-weight: 400;
    font-size: 20px;
    color: #141414;
    margin-top: 6px;
    /* 6px abaixo do título */
}

/* Grid principal */
.data-local-grid {
    margin-top: 42px;
    display: flex;
    justify-content: space-between;
}

/* Blocos individuais */
.evento {
    width: 436px;
}

/* Título Cerimônia / Recepção */
.evento-titulo {
    font-family: var(--font-title);
    /* Playfair */
    font-weight: 500;
    /* Medium real */
    font-size: 24px;
    color: #141414;
}

/* Informações */
.evento-info {
    margin-top: 6px;
    /* 6px abaixo do título */
    display: flex;
    flex-direction: column;
    gap: 6px;
    /* 6px entre horário, local e endereço */
}

.evento-linha {
    font-family: var(--font-primary);
    font-weight: 500;
    /* medium conforme solicitado */
    font-size: 16px;
    color: #141414;
}

/* Mapa */
.evento-mapa {
    margin-top: 12px;
    /* 12px abaixo do endereço */
}

.evento-mapa iframe {
    width: 436px;
    height: 328px;
    border: 0;
}

.evento-linha {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 16px;
    color: #141414;

    white-space: nowrap;
}

/* =========================
   CONTAGEM REGRESSIVA
========================= */

.countdown-section {
    width: 100%;
    height: 332px;
    background: #FF0080;
    margin-top: 64px;
    /* 64px abaixo de Data & Local */

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.countdown-title {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 36px;
    color: #FFFFFF;
    text-align: center;
}

.countdown-grid {
    display: flex;
    gap: 24px;
}

.countdown-box {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    background: #FFFFFF;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.countdown-number {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 36px;
    color: #141414;
    line-height: 1;
    text-align: center;
}

.countdown-label {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    color: #000000;
    text-align: center;
    margin-top: 6px;
}

/* =========================
   SOBRE NÓS
========================= */

.sobre-nos {
    position: relative;
    margin-top: 42px; /* 42px abaixo da contagem regressiva */
    padding: 0 0 80px;
}

.sobre-nos-titulo {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 24px;
    color: #141414;
    text-align: center;
    margin-bottom: 18px;
}

/* Backgrounds laterais */
.sobre-nos-bg {
    position: absolute;
    top: 0;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.sobre-nos-bg-gi {
    left: 0;
    width: 596px;
    height: 895px;
    object-fit: cover;
}

.sobre-nos-bg-rod {
    right: 0;
    width: 594px;
    height: 891px;
    object-fit: cover;
}

/* Card central */
.sobre-nos-card {
    position: relative;
    z-index: 2;
    width: 770px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 28px 32px;
}

/* Subtítulos */
.sobre-nos-subtitulo {
    font-family: var(--font-script); /* Parisienne */
    font-weight: 400;
    font-size: 32px;
    color: #141414;
    text-align: center;
    margin-top: 6px;
}

/* Texto */
.sobre-nos-texto {
    width: 706px;          /* largura exata do texto */
    margin: 12px auto 0;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    color: #000000;
    text-align: center;
    line-height: 1.6;
}

.sobre-nos-texto p + p {
    margin-top: 12px; /* espaçamento natural entre parágrafos */
}

/* Separador (12px abaixo do texto) */
.sobre-nos-separador {
    margin-top: 12px;
    text-align: center;
}

.sobre-nos-traco {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 26px;
    line-height: 1;
    color: #141414;
}

.sobre-nos-coracao {
    margin-top: 6px;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: #141414;
}

/* Espaço entre blocos */
.sobre-nos-separador + .sobre-nos-subtitulo {
    margin-top: 18px;
}

/* =========================
   DRESS CODE
========================= */

.dress-code {
    margin-top: 42px; /* 42px abaixo do Sobre Nós */
    text-align: center;
}

.dress-code-title {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 24px;
    color: #141414;
}

.dress-code-subtitle {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    color: #141414;
    margin-top: 6px; /* 6px abaixo do título */
}

.dress-code-text {
    margin-top: 24px; /* 24px abaixo do subtítulo */
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    color: #141414;
}

.dress-code-text p + p {
    margin-top: 6px; /* 6px entre os parágrafos */
}

.dress-code-text strong {
    font-weight: 600; /* destaque */
}

.dress-code-image {
    display: block;
    width: 602px;
    height: 402px;
    margin: 12px auto 0; /* 12px abaixo do texto */
    object-fit: contain;
}

/* =========================
   MODAL - PRESENTEAR
========================= */

.gift-modal-overlay[hidden],
.gift-modal[hidden] {
    display: none;
}

.gift-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9998;
}

.gift-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 9999;
}

.gift-modal-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.20);
    padding: 22px 20px 18px;
    position: relative;
}

.gift-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(20, 20, 20, 0.22);
    background: transparent;
    color: #141414;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gift-modal-close:hover {
    background: #141414;
    color: #ffffff;
}

.gift-modal-title {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 18px;
    color: #141414;
    text-align: center;
    margin-top: 6px;
}

.gift-modal-subtitle {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    color: #434343;
    text-align: center;
    margin-top: 8px;
}

.gift-modal-form {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gift-modal-label {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 14px;
    color: #141414;
}

.gift-modal-input {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(20, 20, 20, 0.28);
    padding: 0 12px;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    color: #141414;
    background: #ffffff;
    outline: none;
}

.gift-modal-input:focus {
    border-color: #FF0080;
    box-shadow: 0 0 0 3px rgba(255, 0, 128, 0.18);
}

.gift-modal-error {
    min-height: 18px;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 13px;
    color: #d10000;
    text-align: center;
}

.gift-modal-actions {
    margin-top: 6px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.gift-modal-btn {
    height: 40px;
    border-radius: 10px;
    padding: 0 16px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gift-modal-btn-ghost {
    background: transparent;
    border: 1px solid #434343;
    color: #434343;
}

.gift-modal-btn-ghost:hover {
    background: #434343;
    color: #ffffff;
}

.gift-modal-btn-primary {
    background: #141414;
    border: 1px solid #141414;
    color: #ffffff;
}

.gift-modal-btn-primary:hover {
    opacity: 0.92;
}

/* =========================
   MOBILE RESPONSIVO
========================= */

@media (max-width: 768px) {

  /* ================= HERO ================= */

  .hero {
    height: auto;
    padding-bottom: 40px;
  }

  .hero-content {
    padding-top: 100px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-strip {
    position: relative;
    top: auto;
    height: auto;
    padding: 16px 0;
    margin-top: 24px;
  }

  .hero-strip-content {
    width: 90%;
  }

  /* ================= VERSÍCULO ================= */

  .versiculo {
    width: 90%;
  }

  .versiculo-referencia {
    right: 0;
    text-align: center;
  }

  /* ================= DATA & LOCAL ================= */

  .data-local-grid {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }

  .evento {
    width: 90%;
  }

  .evento-info {
    gap: 8px;
  }

  /* 🔥 Corrige estouro de endereço */
  .evento-linha {
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
  }

  .evento-mapa iframe {
    width: 100%;
    height: 240px;
  }

  /* ================= COUNTDOWN ================= */

  .countdown-section {
    height: auto;
    padding: 32px 16px;
  }

  .countdown-title {
    font-size: 22px;
  }

  .countdown-grid {
    display: flex;
    justify-content: center;
    gap: 12px;
  }

  .countdown-box {
    width: 70px;
    height: 70px;
    border-radius: 12px;
  }

  .countdown-number {
    font-size: 20px;
  }

  .countdown-label {
    font-size: 11px;
    margin-top: 4px;
  }

  /* ================= SOBRE NÓS ================= */

  .sobre-nos-bg {
    display: none;
  }

  .sobre-nos-card {
    width: 90%;
    padding: 20px;
  }

  .sobre-nos-texto {
    width: 100%;
    font-size: 14px;
  }

  .sobre-nos-subtitulo {
    font-size: 24px;
  }

  /* ================= DRESS CODE ================= */

  .dress-code-text {
    width: 90%;
    margin: 24px auto 0;
  }

  .dress-code-image {
    width: 90%;
    height: auto;
  }

  /* ================= MODAL - PRESENTEAR (MOBILE) ================= */

  .gift-modal-card {
    max-width: 360px;
    padding: 20px 16px 16px;
    border-radius: 14px;
  }

  .gift-modal-title {
    font-size: 17px;
  }

  .gift-modal-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .gift-modal-btn {
    width: 100%;
  }

}