@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600&family=Herr+Von+Muellerhoff&family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

/* ========================================== */
/* 🎨 1. CORE DESIGN SYSTEM & VARIABLES       */
/* ========================================== */

:root {
  color-scheme: only light; /* impede o dark mode do celular/navegador de escurecer o site */

  /* Paleta Oficial */
  --olive-green: #2D5016;
  --green: #2D5016;
  --green-light: rgba(45, 80, 22, 0.6);
  --olive-hover: #3E6820;
  --gold: #C5A059;
  --cream: #F8F9F0;
  --beige: #E8EECD;
  --burgundy: #6B121A;
  --dark-gray: #333333;
  --pure-white: #FFFFFF;
  
  /* Tipografia */
  --font-serif: 'Cinzel', serif;
  --font-script: 'Herr Von Muellerhoff', cursive;
}

* {
  box-sizing: border-box;
}

a, a:visited {
  color: inherit;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  display: block; /* Sobrescreve flex do style.css original */
  min-height: 100dvh;
  color: var(--dark-gray);
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ========================================== */
/* 📱 2. BARRA DE NAVEGAÇÃO & MENU MOBILE     */
/* ========================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* Scrim próprio da navbar — legibilidade garantida em qualquer trecho da foto do hero,
     não depende do brilho local da imagem por baixo */
  background: linear-gradient(180deg, rgba(20,20,15,0.65) 0%, rgba(20,20,15,0.25) 75%, rgba(20,20,15,0) 100%);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  box-shadow: none;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  z-index: 50;
}

/* Adicionada via scroll (menu.js) assim que o usuário sai do topo do hero */
.navbar--solid {
  background: var(--cream);
  border-bottom-color: var(--beige);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.nav-logo img {
  height: 72px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0,0,0,0.5));
  transition: filter 0.3s ease;
}

.navbar--solid .nav-logo img {
  filter: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  color: var(--pure-white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  transition: color 0.3s ease, opacity 0.2s ease, text-shadow 0.3s ease;
}

.navbar--solid .nav-link {
  color: var(--olive-green);
  text-shadow: none;
}

.nav-link.active, .nav-link:hover {
  opacity: 0.7;
}

/* Menu Hambúrguer (Mobile) */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 0.4rem;
  z-index: 1001;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: var(--pure-white);
  transition: all 0.3s ease;
  display: block;
  border-radius: 2px;
}

.navbar--solid .hamburger-line {
  background-color: var(--olive-green);
}

/* Páginas sem hero/foto por trás (ex: /presentes/) — navbar sempre "sólida", nunca o estado transparente */
body.no-hero .navbar {
  background: var(--cream);
  border-bottom-color: var(--beige);
}

body.no-hero .nav-link {
  color: var(--olive-green);
  text-shadow: none;
}

body.no-hero .nav-logo img {
  filter: none;
}

body.no-hero .hamburger-line {
  background-color: var(--olive-green);
}


/* ========================================== */
/* 🧩 3. SEÇÕES FULL-HEIGHT (100dvh cada)     */
/* ========================================== */

/* Cada seção da home ocupa a tela inteira — scroll vira uma sequência de "capítulos" */
.full-section {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}


/* ========================================== */
/* 🎬 4. HERO BANNER & SCROLL REVEAL STYLES  */
/* ========================================== */

.hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* A navbar tem seu próprio scrim — aqui não precisa de padding (o overlay tem que cobrir a foto de ponta a ponta) */
  padding: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transition: opacity 1.8s ease;
}

.hero-slide.active {
  opacity: 1;
}

/* Primeira foto (fallback sem JS) — paisagem no desktop, retrato no mobile (ver media query 768px) */
.hero-slide--fallback {
  background-image: url('../images/pre-wedding/IMG_2925.jpg');
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--pure-white);
}

.hero-title {
  font-family: var(--font-script);
  font-size: clamp(3.2rem, 12vw, 7rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.5rem;
  /* Reveal por varredura: some empilhado com a transição de opacidade/translateY do .reveal-item */
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title.visible {
  clip-path: inset(0 0 0 0);
}

.hero-date {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 1rem;
}

/* Efeito de Reveal Gradual (Scroll & Load Animations) */
.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s, transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
  will-change: transform, opacity;
}

.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero banner fade-in sutil com leve zoom out de 1.04 para 1 */
.hero-banner.reveal-item {
  transform: scale(1.04);
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-banner.reveal-item.visible {
  transform: scale(1);
}

/* Animações genéricas da folha consolidada */
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
}

body.loaded .reveal {
  animation-name: reveal;
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item, .hero-title {
    transition: none;
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .hero-slide {
    transition: none;
  }

  body.loaded .reveal {
    animation-name: none;
    opacity: 1;
  }
}


/* ========================================== */
/* 👋 5. SEÇÃO DE BOAS-VINDAS                 */
/* ========================================== */

/* Olho de seção reutilizado em várias seções (boas-vindas, presentes, etc) */
.section-eyebrow {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.intro-section {
  background-color: var(--cream);
  text-align: center;
}

.intro-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--olive-green);
  font-weight: 400;
  margin-bottom: 2rem;
}

.intro-text {
  max-width: 620px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.9;
  color: var(--dark-gray);
}

.intro-text p + p {
  margin-top: 1.2rem;
}


/* ========================================== */
/* ⏳ 6. BARRA DO REGRESSIVO (COUNTDOWN)      */
/* ========================================== */

.countdown-banner {
  background-color: var(--cream);
  color: var(--olive-green);
  font-family: var(--font-serif);
  width: 100%;
  text-align: center;
}

/* Olho com linhas dos lados — reutilizado no contador e no convite de RSVP */
.eyebrow-lines {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive-green);
}

.eyebrow-lines::before, .eyebrow-lines::after {
  content: "";
  width: 60px;
  height: 1px;
  background: var(--beige);
}

.countdown-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
}

.countdown-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--olive-green);
}

.countdown-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.65;
  color: var(--olive-green);
}

.countdown-dot {
  font-size: 1rem;
  color: var(--beige);
  align-self: flex-start;
  margin-top: 1.2rem;
}

.countdown-quote {
  margin-top: 2.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
}


/* ========================================== */
/* 📄 7. CERIMÔNIA (VENUE) E DRESS CODE       */
/* ========================================== */

.venue-section {
  text-align: center;
  scroll-margin-top: 100px;
}

.venue-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--olive-green);
  margin-bottom: 1.8rem;
}

.venue-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  max-width: 850px;
  width: 100%;
  margin-top: 3.5rem;
  text-align: left;
}

.venue-info-col--highlight {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 0.5rem;
}

.venue-info-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.venue-info-text {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--dark-gray);
  line-height: 1.7;
}

.venue-info-text a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rsvp-block {
  margin-top: 3rem;
  text-align: center;
  width: 100%;
}

/* Convite de RSVP — seção própria na home, com link pra página /rsvp/ */
.rsvp-teaser-section {
  text-align: center;
}

.rsvp-teaser-card {
  border: 1px solid var(--beige);
  padding: 4.5rem 3rem;
  max-width: 640px;
  width: 100%;
}

.rsvp-teaser-text {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  color: var(--dark-gray);
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto 2rem;
}

/* Página própria /rsvp/ — mesmo padrão de padding-top de .gifts-section (limpa a navbar fixa) */
.rsvp-page-section {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  padding: 8rem 1.5rem 6rem;
  text-align: center;
}

/* Dress Code — mesmo estilo centralizado da venue-section */
.dresscode-section {
  text-align: center;
}

.dresscode-intro {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--dark-gray);
  letter-spacing: 0.03em;
  line-height: 1.8;
  max-width: 560px;
}

/* Manual do Convidado — mesma centralização da venue/dresscode-section */
.manual-section {
  text-align: center;
}

/* Padrinhos e Madrinhas — seção exclusiva, revelada via JS (guest-gate.js) quando session.padrinho === true */
.godparents-section {
  text-align: center;
}

.godparents-info {
  max-width: 480px;
  margin-top: 2.5rem;
}

.godparents-traje-intro {
  margin-top: 3rem;
}

.godparents-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  max-width: 700px;
  width: 100%;
  margin-top: 2.5rem;
  text-align: left;
}

.godparents-swatch {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  margin-bottom: 0.8rem;
}

.godparents-col-title {
  font-family: var(--font-script);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--olive-green);
  margin: 0 0 0.6rem;
}

.godparents-col-text {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  color: var(--dark-gray);
  line-height: 1.7;
}

.godparents-note {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-style: italic;
  color: var(--dark-gray);
  line-height: 1.6;
  margin-top: 0.8rem;
}

.godparents-links {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  color: var(--dark-gray);
  margin-top: 0.8rem;
}

.godparents-links a {
  color: var(--olive-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Botão outline padrão — bordado verde oliva, sem preenchimento */
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--olive-green);
  border: 1px solid var(--olive-green);
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.75rem 2.4rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn-outline:hover {
  background: var(--olive-green);
  color: var(--pure-white);
  box-shadow: 0 4px 14px rgba(45, 80, 22, 0.2);
}

/* Variante clara do botão outline — pra usar sobre fundo escuro (seção de presentes) */
.btn-outline-light {
  display: inline-block;
  background: transparent;
  color: var(--pure-white);
  border: 1px solid var(--pure-white);
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.75rem 2.4rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn-outline-light:hover {
  background: var(--pure-white);
  color: var(--olive-green);
}

/* Botão pill — borda arredondada por completo, usado na seção de cerimônia/venue */
.btn-pill {
  display: inline-block;
  background: transparent;
  color: var(--olive-green);
  border: 1px solid var(--olive-green);
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.7rem 2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn-pill:hover {
  background: var(--olive-green);
  color: var(--pure-white);
}


/* ========================================== */
/* 🎁 8. TEASER DE PRESENTES (CTA pra /presentes/) */
/* ========================================== */

.gifts-teaser-section {
  /* Banda de CTA, não precisa da tela inteira como as outras seções — sobrescreve o min-height do .full-section */
  min-height: 0;
  padding: 7rem 1.5rem;
  position: relative;
  overflow: hidden;
  background-color: var(--olive-green);
  color: var(--pure-white);
  text-align: center;
}

.gifts-teaser-ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-script);
  font-size: clamp(6rem, 20vw, 14rem);
  color: var(--pure-white);
  opacity: 0.06;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.gifts-teaser-section > *:not(.gifts-teaser-ghost) {
  position: relative;
  z-index: 1;
}

.gifts-teaser-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.03em;
  margin-bottom: 1.2rem;
}

.gifts-teaser-text {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  line-height: 1.7;
  color: var(--cream);
  max-width: 460px;
  margin-bottom: 2rem;
}


/* ========================================== */
/* 🎁 9. VITRINE DE PRESENTES (GIFTS Showcase)*/
/* ========================================== */

.gifts-section {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-top: 8rem;
  padding-bottom: 5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: center;
  scroll-margin-top: 100px;
}

.gifts-header {
  margin-bottom: 2rem;
}

.gifts-title {
  color: var(--olive-green);
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-family: var(--font-serif);
  font-weight: 400;
}

.gifts-subtitle {
  color: var(--dark-gray);
  font-size: 0.9rem;
  font-family: var(--font-serif);
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.gifts-payment-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 380px;
  margin: 2rem auto 0;
}

/* Abas de Categorias */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  justify-content: center;
  margin-bottom: 2.2rem;
  width: 100%;
  padding: 0 1rem;
}

.category-tabs .tab-btn {
  white-space: normal;
  flex: 0 1 auto;
  text-align: center;
  padding: 8px 18px;
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  border: 1px solid var(--beige);
  border-radius: 4px;
  background: var(--pure-white);
  color: var(--dark-gray);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.category-tabs .tab-btn.active, 
.category-tabs .tab-btn:hover {
  background: var(--olive-green);
  color: var(--pure-white);
  border-color: var(--olive-green);
}

/* Grid de Presentes */
.gifts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  padding: 0;
}

@media (min-width: 768px) {
  .gifts-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

.gift-card {
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
  position: relative;
  background: var(--pure-white);
  border: 1px solid var(--beige);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gift-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.gift-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f6f0;
}

.gift-card-content {
  padding: 14px 12px 14px;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  width: 100%;
}

.gift-category {
  font-family: var(--font-serif);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin: 0 0 4px;
  text-transform: uppercase;
  line-height: 1.3;
  font-weight: 600;
}

.gift-name {
  font-size: 13px;
  color: var(--dark-gray);
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gift-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  width: 100%;
  box-sizing: border-box;
}

.btn-gift-pix {
  width: 100%;
  min-width: 110px;
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--pure-white);
  background-color: var(--olive-green);
  border: none;
  border-radius: 4px;
  padding: 10px 12px;
  cursor: pointer;
  transition: background-color 0.2s;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
  display: block;
}

.btn-gift-pix:hover {
  background-color: #3E6820;
}


/* ========================================== */
/* 💬 10. MODAIS, OVERLAYS & FORMULÁRIOS      */
/* ========================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--pure-white);
  border: 1px solid var(--beige);
  border-radius: 0px;
  padding: 1.8rem 1.5rem;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--dark-gray);
  cursor: pointer;
  line-height: 1;
}

.modal-gift-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--olive-green);
}

.modal-gift-price {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--burgundy);
  margin-top: 0.2rem;
  margin-bottom: 0.6rem;
}

/* Cada opção de presentear (Pix / Loja) no Modal */
.gift-option {
  padding-top: 0.8rem;
  margin-top: 0.8rem;
  border-top: 1px dashed var(--beige);
  text-align: left;
}

.gift-option-label {
  font-family: var(--font-serif);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--olive-green);
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
}

.gift-option-text {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  color: var(--dark-gray);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.gift-shipping-address {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  color: var(--dark-gray);
  line-height: 1.4;
  margin-bottom: 0.7rem;
}

.pix-key-container {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.pix-input {
  flex: 1;
  padding: 0.4rem;
  border: 1px solid var(--beige);
  border-radius: 0px;
  font-size: 0.8rem;
  text-align: center;
  color: var(--dark-gray);
  background: #fff;
}

.btn-copy-pix {
  background: var(--olive-green);
  color: #fff;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 0px;
  font-family: var(--font-serif);
  font-size: 0.7rem;
  cursor: pointer;
  text-transform: uppercase;
}

.copy-success {
  display: block;
  font-size: 0.75rem;
  color: var(--olive-green);
  margin-top: 0.5rem;
  font-weight: bold;
}

.btn-store {
  display: inline-block;
  margin-top: 1rem;
  background: var(--burgundy);
  color: white;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 0px;
  font-family: var(--font-serif);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group {
  margin-bottom: 0.6rem;
}

.form-label {
  display: block;
  font-size: 0.7rem;
  font-family: var(--font-serif);
  color: var(--dark-gray);
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--beige);
  border-radius: 0px;
  font-size: 0.8rem;
  font-family: inherit;
  color: var(--dark-gray);
  background: #fff;
}

.btn-submit-confirm {
  width: 100%;
  background: var(--olive-green);
  color: white;
  border: none;
  padding: 0.6rem;
  border-radius: 0px;
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 1.6rem;
  transition: opacity 0.2s;
}

.btn-submit-confirm:hover {
  opacity: 0.9;
}

.btn-submit-confirm:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-submit-confirm.is-confirmed {
  background: var(--olive-hover);
  opacity: 1;
  animation: gift-confirmed 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes gift-confirmed {
  0% { transform: scale(1); }
  45% { transform: scale(1.045); }
  100% { transform: scale(1); }
}

/* Animação do Coração Flutuante ao Confirmar */
.gift-celebration-heart {
  position: fixed;
  z-index: 1200;
  color: var(--burgundy);
  font-size: 1.15rem;
  line-height: 1;
  pointer-events: none;
  animation: gift-heart-rise 1.25s ease-out forwards;
}

@keyframes gift-heart-rise {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) scale(0.65);
  }
  18% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--heart-x)), -76px) scale(1.15) rotate(var(--heart-rotate));
  }
}

.confirm-status-msg {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  text-align: center;
  font-family: var(--font-serif);
  line-height: 1.35;
}


/* ========================================== */
/* 👥 11. AUTOCOMPLETE SEARCH SELECT (RSVP)   */
/* ========================================== */

.custom-select-dropdown::-webkit-scrollbar {
  width: 6px;
}
.custom-select-dropdown::-webkit-scrollbar-track {
  background: var(--cream);
  border-radius: 4px;
}
.custom-select-dropdown::-webkit-scrollbar-thumb {
  background: var(--olive-green);
  border-radius: 4px;
}
.custom-select-dropdown::-webkit-scrollbar-thumb:hover {
  background: var(--olive-hover);
  border-radius: 4px;
}

.custom-select-item {
  padding: 0.55rem 0.75rem;
  font-family: var(--font-serif);
  font-size: 0.78rem;
  color: var(--dark-gray);
  cursor: pointer;
  border-bottom: 1px solid #FAF9F6;
  transition: background 0.2s ease, color 0.2s ease;
  text-align: left;
}
.custom-select-item:last-child {
  border-bottom: none;
}
.custom-select-item:hover {
  background: var(--beige) !important;
  color: var(--olive-green) !important;
}


/* ========================================== */
/* 📄 12. COMPONENTES E CLASSES REUTILIZÁVEIS */
/* ========================================== */

.btn {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--pure-white);
  background: var(--green);
  border: none;
  padding: 0.9em 2.5em;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.82;
}

.btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Gate/Acesso por Convidado */
.gate-content {
  display: none;
}

body.gate-unlocked .gate-content {
  display: flex;
}

.gate-blocked {
  width: 100%;
  max-width: 420px;
  padding: 4rem 2rem;
  text-align: center;
}

.gate-blocked-title {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.gate-blocked-text {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--green-light);
}

/* ========================================== */
/* 📱 13. MEDIA QUERIES & RESPONSIVIDADE      */
/* ========================================== */

@media (max-width: 768px) {
  .hero-slide--fallback {
    background-image: url('../images/pre-wedding/IMG_2877.jpg');
  }

  .full-section {
    padding: 3rem 1.25rem;
  }

  .gifts-section {
    padding-top: 6rem;
  }

  .rsvp-page-section {
    padding-top: 6rem;
  }

  .gifts-teaser-section {
    padding: 5rem 1.5rem;
  }

  .venue-info-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    text-align: center;
  }

  .godparents-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .rsvp-teaser-card {
    padding: 3rem 1.5rem;
  }

  .countdown-number {
    font-size: 2.3rem;
  }

  .countdown-label {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .countdown-items {
    gap: 0.4rem;
  }

  .countdown-item {
    min-width: 54px;
  }

  .eyebrow-lines {
    gap: 0.8rem;
    margin-bottom: 2rem;
  }

  .eyebrow-lines::before, .eyebrow-lines::after {
    width: 30px;
  }

  .navbar {
    padding: 0 1.2rem;
    height: 60px;
  }

  .nav-logo img {
    height: 50px;
  }

  .hamburger-btn {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 65px;
    right: 1.2rem;
    width: 190px;
    height: auto;
    background: var(--pure-white);
    border: 1px solid var(--beige);
    border-top: 3px solid var(--gold);
    border-radius: 0px;
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.08);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 0.2rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 1000;
    display: flex;
  }
  
  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .nav-link {
    padding: 0.8rem 1.4rem;
    font-size: 0.72rem;
    font-family: var(--font-serif);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--dark-gray);
    border-bottom: 1px solid rgba(126, 151, 101, 0.08);
    text-align: left;
    transition: all 0.25s ease;
  }
  
  .nav-link:hover, .nav-link.active {
    background-color: var(--cream);
    color: var(--olive-green);
    padding-left: 1.7rem;
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
  
  .hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  
}
