/* =============================================
   LUANA & DAVI — ESTILOS GLOBAIS
   ============================================= */

:root {
  --bg-main:    #FAF8F4;
  --bg-soft:    #F1F3EC;
  --ink:        #272420;
  --ink-soft:   #6E675D;
  --sage:       #4F5C45;
  --sage-light: #8E9885;
  --gold:       #B89B6A;
  --line:       rgba(79, 92, 69, 0.18);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  {
  background: var(--bg-main);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.serif { font-family: 'Cormorant Garamond', serif; }
section { position: relative; width: 100%; }

/* ── REVEAL HELPER ─────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); }


/* =============================================
   HERO
   ============================================= */
.hero {
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1e1c16; /* fallback enquanto o vídeo carrega */
}

/* Vídeo de fundo */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Overlay escuro para garantir legibilidade do texto */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(20, 22, 16, 0.62) 0%,
    rgba(30, 28, 18, 0.50) 50%,
    rgba(25, 20, 12, 0.60) 100%
  );
}

/* Textura de ruído sutil por cima do overlay */
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: .04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Ramos decorativos */
.hero-vine { position: absolute; pointer-events: none; }
.hero-vine.left  { top: -5%;   left: -8%;  width: 46vw; max-width: 520px; opacity: .35; }
.hero-vine.right { bottom: -8%; right: -10%; width: 50vw; max-width: 560px; opacity: .30; transform: scaleX(-1); }

/* Conteúdo central */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #F7F5EE;
  padding: 0 24px;
}

.monogram {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  letter-spacing: 6px;
  color: var(--gold);
  opacity: 0;
}
.monogram svg { display: block; margin: 10px auto 0; width: 64px; }

.hero-names {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(48px, 11vw, 108px);
  line-height: 1.02;
  letter-spacing: .5px;
  margin-top: 18px;
  opacity: 0;
}
.hero-names .amp {
  color: var(--gold);
  font-style: italic;
  font-size: .7em;
  padding: 0 .15em;
}

.hero-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(15px, 2vw, 20px);
  line-height: 1.6;
  max-width: 560px;
  margin: 34px auto 0;
  color: #EDEAE0;
  opacity: 0;
}
.hero-quote .author {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 14px;
}

/* Indicador de scroll */
.scroll-indicator {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #D9D6C9;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  z-index: 3;
}
.scroll-indicator .stem {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, rgba(217, 214, 201, .9), transparent);
  animation: stemPulse 2.2s ease-in-out infinite;
}
@keyframes stemPulse { 0%, 100% { opacity: .3 } 50% { opacity: 1 } }


/* =============================================
   JORNADA
   ============================================= */
.jornada {
  min-height: 100vh;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px;
}
.jornada-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.jornada-bg svg { position: absolute; }
.jornada-inner { position: relative; z-index: 2; max-width: 620px; text-align: center; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}
.eyebrow::before,
.eyebrow::after { content: ''; width: 30px; height: 1px; background: var(--line); }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(34px, 5vw, 52px);
  color: var(--sage);
  margin-bottom: 36px;
  letter-spacing: .5px;
}

.jornada-text p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.merge-icon { margin: 38px auto 0; width: 34px; opacity: .8; }


/* =============================================
   LISTA DE PRESENTES
   ============================================= */
.gifts {
  background: var(--bg-main);
  padding: 140px 24px 160px;
}
.gifts-header { text-align: center; max-width: 560px; margin: 0 auto 64px; }
.gifts-header .section-title { color: var(--ink); }
.gifts-header .section-title em { color: var(--sage); font-style: italic; }
.gifts-sub { font-size: 15px; color: var(--ink-soft); line-height: 1.7; }

.gift-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 980px) { .gift-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gift-grid { grid-template-columns: 1fr; } }

.gift-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(39, 36, 32, .04), 0 16px 40px -24px rgba(39, 36, 32, .18);
  border: 1px solid rgba(79, 92, 69, .07);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s ease;
}
.gift-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1px 2px rgba(39, 36, 32, .05), 0 28px 56px -28px rgba(79, 92, 69, .32);
}

.gift-img {
  height: 180px;
  background: linear-gradient(135deg, #EFF1E8, #E2E6D8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-light);
}
.gift-img svg { width: 46px; height: 46px; }
.gift-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gift-body   { padding: 22px 22px 24px; }
.gift-title  { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--ink); margin-bottom: 4px; }
.gift-price  { font-size: 13px; color: var(--ink-soft); margin-bottom: 16px; letter-spacing: .3px; }

.btn-presentear {
  width: 100%;
  background: var(--sage);
  color: #F7F5EE;
  border: none;
  padding: 12px 0;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s ease;
}
.btn-presentear:hover { background: #3D4737; }


/* =============================================
   BÊNÇÃO FINAL
   ============================================= */
.blessing {
  background: linear-gradient(180deg, var(--bg-main), var(--bg-soft));
  padding: 180px 24px;
  text-align: center;
}
.blessing-icon { width: 26px; margin: 0 auto 36px; opacity: .7; }
.blessing-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.65;
  color: var(--ink);
  max-width: 620px;
  margin: 0 auto;
}
.blessing-sig {
  margin-top: 38px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--sage);
}
.blessing-verse { margin-top: 56px; font-size: 13px; color: var(--ink-soft); font-style: italic; }
.blessing-verse span {
  display: block;
  font-style: normal;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--gold);
  margin-top: 8px;
}


/* =============================================
   MODAL DE PAGAMENTO
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(38, 36, 32, .45);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease;
  padding: 20px;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  background: #FCFBF8;
  border-radius: 24px;
  max-width: 380px;
  width: 100%;
  padding: 34px 30px 30px;
  transform: translateY(14px) scale(.97);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .35);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--ink-soft);
  cursor: pointer;
}

.modal-title { font-family: 'Cormorant Garamond', serif; font-size: 24px; text-align: center; margin-bottom: 4px; }
.modal-sub   { text-align: center; font-size: 13px; color: var(--ink-soft); margin-bottom: 26px; }

.pay-options { display: flex; gap: 12px; margin-bottom: 6px; }
.pay-option {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 10px;
  text-align: center;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink);
  transition: border-color .25s ease, background .25s ease;
}
.pay-option:hover { border-color: var(--sage); background: #F4F6EE; }
.pay-option svg  { display: block; margin: 0 auto 8px; width: 22px; height: 22px; color: var(--sage); }

.pay-panel        { display: none; margin-top: 22px; text-align: center; }
.pay-panel.active { display: block; }

.pix-code-box {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 11px;
  word-break: break-all;
  color: var(--ink-soft);
  margin: 16px 0 12px;
  text-align: left;
  font-family: monospace;
}

.copy-btn,
.pay-link-btn {
  width: 100%;
  background: var(--sage);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 11px 0;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
}

.qr-placeholder {
  width: 160px;
  height: 160px;
  margin: 8px auto 4px;
  background: repeating-linear-gradient(45deg, #EFEFE9 0 10px, #fff 10px 20px);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.note-soon { font-size: 12px; color: var(--ink-soft); line-height: 1.6; }

.pix-qr {
  display: block;
  width: 200px;
  height: 200px;
  margin: 0 auto 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.pix-msg { font-size: 13px; color: var(--ink-soft); margin: 16px 0 10px; }

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s ease;
}
.whatsapp-btn:hover { background: #1aae57; }
.whatsapp-btn-logo  { width: 20px; height: 20px; flex-shrink: 0; }
.whatsapp-btn-arrow { width: 15px; height: 15px; flex-shrink: 0; opacity: .85; }

.pay-option.selected { border-color: var(--sage); background: #F4F6EE; }
