/* =========================================================
   Ajustes — Save The Date SP
   - Contador regressivo (hero)
   - Bloco de data/hora do evento na tela de sucesso
   Usa os tokens da marca do lp.css.
   ========================================================= */

/* ---- Contador regressivo (hero, sobre fundo escuro) ---- */
.countdown {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(16px, 4vw, 36px);
  margin: clamp(10px, 2vw, 20px) 0 clamp(6px, 1vw, 10px);
}
.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
}
.countdown__num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(34px, 5.2vw, 54px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
}
.countdown__label {
  margin-top: 9px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-light);
}
.countdown__sep {
  width: 1px;
  height: clamp(34px, 5.2vw, 54px);
  background: rgba(197, 165, 114, 0.4);
}

/* ---- Data/hora do evento na tela de sucesso (fundo escuro) ---- */
.form__success-evento {
  margin-top: clamp(20px, 3vw, 28px);
  padding: 18px 24px;
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}
.form__success-evento-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-light);
}
.form__success-evento-data {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 2.4vw, 24px);
  color: #FFFFFF;
  letter-spacing: -0.01em;
}
.form__success-evento-local {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

/* ---- Padronização da seção Data / Horário / Local ---- */
/* alturas iguais + labels no topo + botões alinhados na base (some com o "torto") */
.detalhes__grid { align-items: stretch; }
.detalhes__item { justify-content: flex-start; }
.detalhes__item > .detalhes__agenda,
.detalhes__item > .detalhes__action { margin-top: auto; }
/* complemento editorial (Playfair itálico dourado) que quebra a linha */
.detalhes__em {
  display: block;
  margin-top: 8px;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(16px, 1.9vw, 23px);
  line-height: 1.12;
  letter-spacing: 0;
  color: var(--brand);
}
/* endereço completo: fonte menor que a data/horário pra caber elegante */
.detalhes__valor--local {
  font-size: clamp(19px, 2.15vw, 27px);
  line-height: 1.18;
}

/* ---- Botões de ação na seção Data/Local (Ver no mapa / Salvar na agenda) ---- */
.detalhes__action {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 7px;
  margin-top: 2px;
  padding: 8px 16px;
  border: 1px solid var(--border-gold, rgba(197, 165, 114, 0.5));
  border-radius: 999px;
  background: transparent;
  color: var(--brand, #C5A572);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.detalhes__action:hover,
.detalhes__action:focus-visible {
  background: var(--brand, #C5A572);
  color: #0A0A0A;
  border-color: var(--brand, #C5A572);
}
.detalhes__action svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.detalhes__agenda {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
}
.detalhes__agenda-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  min-width: 168px;
  padding: 6px;
  background: #14110D;
  border: 1px solid var(--border-gold, rgba(197, 165, 114, 0.4));
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
}
.detalhes__agenda-menu[hidden] {
  display: none;
}
.detalhes__agenda-menu a {
  padding: 10px 14px;
  border-radius: 8px;
  color: #F3ECE0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 13px;
  text-align: left;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}
.detalhes__agenda-menu a:hover,
.detalhes__agenda-menu a:focus-visible {
  background: rgba(197, 165, 114, 0.16);
  color: #FFFFFF;
}

/* =========================================================
   "O Evento" — texto + vídeo vertical ao lado (Save The Date SP)
   2 colunas: texto (esq., fonte reduzida) + vídeo 9:16 (dir.)
   ========================================================= */
.contexto__lead {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 60px);
  align-items: center;
}
@media (min-width: 900px) {
  .contexto__lead {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}
/* fonte reduzida pra o texto caber ao lado do vídeo */
.contexto__lead .contexto__titulo {
  font-size: clamp(30px, 3.4vw, 46px);
}
.contexto__lead .contexto__pillar--titulo {
  margin-bottom: clamp(26px, 3.2vw, 42px);
}
.contexto__lead .contexto__paragrafo {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
}
/* vídeo vertical na proporção original 9:16 (formatação estilo VSL) */
.contexto__video {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 70px -30px rgba(10, 10, 10, 0.55);
  border: 1px solid var(--border-gold);
}
.contexto__video-el {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* botão de play dourado central com halo pulsante (estilo VSL) */
.contexto__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 76px;
  height: 76px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(140deg, var(--brand-light), var(--brand-alt));
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: stdPlayPulse 2.4s ease-in-out infinite;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.contexto__play svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  margin-left: 4px;
}
.contexto__play-halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(197, 165, 114, 0.45);
  animation: stdPlayPing 1.8s cubic-bezier(0, 0, .2, 1) infinite;
}
.contexto__play:hover { transform: translate(-50%, -50%) scale(1.08); }
.contexto__video.is-playing .contexto__play { display: none; }
@keyframes stdPlayPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.06); }
}
@keyframes stdPlayPing {
  75%, 100% { transform: scale(1.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .contexto__play,
  .contexto__play-halo { animation: none; }
}
@media (max-width: 899px) {
  .contexto__video { max-width: 280px; }
}

/* =========================================================
   Hero — data do evento (abaixo do H1 SAVE THE DATE)
   ========================================================= */
.hero__data {
  margin: clamp(10px, 1.6vw, 16px) auto 0;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 2.6vw, 30px);
  letter-spacing: 0.05em;
  color: var(--white, #fff);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(16px);
  animation: heroDataIn 0.9s cubic-bezier(.2, .7, .2, 1) 0.75s forwards;
}
.hero__data em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--brand);
}
@keyframes heroDataIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__data { animation: none; opacity: 1; transform: none; }
}
