/* ==========================================================================
   SISTEMA ENOIVEI - SITE PÚBLICO DO CASAMENTO
   Estilo refinado baseado no template Bruna & Eduardo (10/12/2026)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Alex+Brush&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600&family=Lora:ital,wght@0,400;0,500;1,400&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --primary-color: #687a59;     /* Verde Oliva clássico do template */
  --primary-dark: #526344;
  --secondary-color: #bc9329;   /* Dourado suave */
  --bg-color: #fcfbf9;          /* Off-white / Marfim */
  --card-bg: #ffffff;
  --text-color: #384236;        /* Cinza esverdeado escuro */
  --text-muted: #748072;
  --border-color: #e5e2d8;
  --title-font: 'Great Vibes', cursive;
  --body-font: 'Plus Jakarta Sans', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 12px rgba(56, 66, 54, 0.05);
  --shadow-md: 0 8px 24px rgba(56, 66, 54, 0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body.wedding-site {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Tipografia */
h1.script-title, h2.script-title, h3.script-title {
  font-family: var(--title-font);
  font-weight: 400;
  color: var(--primary-color);
  text-align: center;
  line-height: 1.2;
}

h1.script-title {
  font-size: clamp(3rem, 7vw, 4.8rem);
}

h2.script-title {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin-bottom: 12px;
}

.serif-date {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

/* Molduras Botânicas nos Cantos */
.floral-corner {
  display: none; /* Desativado para evidenciar as folhagens em aquarela do próprio fundo de tela do monograma */
}

.floral-corner-tl {
  top: 0;
  left: 0;
}

.floral-corner-tr {
  top: 0;
  right: 0;
  transform: scaleX(-1);
}

/* Header & Menu de Navegação com Monograma */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(252, 251, 249, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 10px 24px;
}

.site-header-inner {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-brand-monogram {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: transform 0.2s ease;
}

.site-brand-logo:hover .site-brand-monogram {
  transform: scale(1.06);
}

.site-brand-names {
  font-family: var(--title-font);
  font-size: 1.6rem;
  color: var(--primary-color);
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--primary-color);
}

.nav-admin-link {
  font-size: 0.75rem !important;
  color: var(--secondary-color) !important;
  border: 1px solid var(--secondary-color);
  padding: 4px 10px;
  border-radius: 9999px;
}

.nav-admin-link:hover {
  background: var(--secondary-color);
  color: #ffffff !important;
}

/* ==========================================================================
   HERO SECTION COM MONOGRAMA COMO FUNDO DE TELA (WALLPAPER FULL WIDTH)
   ========================================================================== */
.hero-section {
  position: relative;
  text-align: center;
  width: 100%;
  min-height: clamp(600px, 58vw, 840px);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: clamp(340px, 35.5vw, 620px);
  padding-bottom: clamp(50px, 6vw, 90px);
  padding-left: 24px;
  padding-right: 24px;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.06) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 24px;
}

.hero-section h1.script-title {
  font-family: var(--title-font);
  font-size: clamp(2.9rem, 6.8vw, 4.6rem);
  color: var(--primary-color);
  line-height: 1.15;
  margin: 0 0 14px 0;
  text-shadow: 0 2px 14px rgba(255, 255, 255, 0.95), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.hero-section .floral-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px auto 14px auto;
  color: var(--secondary-color, #bc9329);
}

.hero-section .floral-divider svg {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 1px 4px rgba(255, 255, 255, 0.8));
}

.hero-section .serif-date {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--text-color);
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.95);
  margin-top: 2px;
}

.hero-ceremony-time {
  font-size: 0.86rem;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 8px;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.95);
}

@media (max-width: 1024px) {
  .hero-section {
    min-height: 540px;
    padding-top: clamp(300px, 36vw, 420px);
    padding-bottom: 45px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 480px;
    padding-top: clamp(250px, 37vw, 320px);
    padding-bottom: 35px;
    background-position: center top;
  }
  .hero-section h1.script-title {
    font-size: 2.7rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 450px;
    padding-top: 220px;
    padding-bottom: 30px;
  }
  .hero-section h1.script-title {
    font-size: 2.3rem;
  }
}

/* Divisores com Monograma / Folhagens */
.monogram-section-divider {
  text-align: center;
  margin: 48px auto 24px auto;
  max-width: 280px;
  padding: 0 20px;
}

.monogram-divider-img {
  max-width: 100%;
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.04));
}

/* Rodapé com Monograma Oficial */
.site-footer {
  text-align: center;
  padding: 60px 20px 40px 20px;
  border-top: 1px solid var(--border-color);
  background: linear-gradient(180deg, var(--bg-color) 0%, rgba(188, 147, 41, 0.05) 100%);
  margin-top: 40px;
}

.footer-monogram-wrapper {
  max-width: 110px;
  margin: 0 auto 14px auto;
}

.footer-monogram-img {
  width: 100%;
  max-width: 90px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.06));
}

.footer-couple-names {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  letter-spacing: 3px;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 4px;
  color: var(--secondary-color);
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-quote {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 480px;
  margin: 0 auto 16px auto;
}

.footer-subtext {
  font-size: 0.76rem;
  color: var(--text-muted);
}


.floral-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--primary-color);
  opacity: 0.7;
}

.floral-divider svg {
  width: 24px;
  height: 24px;
}

/* Seção de Contagem Regressiva (Verde Oliva) */
.countdown-section {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 48px 20px;
  text-align: center;
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.08);
}

.countdown-section h2.script-title {
  color: #ffffff;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  margin-bottom: 28px;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 600px;
  margin: 0 auto;
}

.countdown-circle {
  background: #ffffff;
  color: var(--primary-color);
  width: 85px;
  height: 85px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
}

.countdown-circle:hover {
  transform: translateY(-3px);
}

.countdown-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.countdown-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Seções de Conteúdo */
.site-section {
  padding: 70px 20px;
  max-width: 980px;
  margin: 0 auto;
}

.section-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px auto;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Cartão com Informações de Cerimônia & Recepção */
.event-info-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.event-venue-image {
  width: 100%;
  max-width: 650px;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 20px auto 24px auto;
  display: block;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.map-container {
  width: 100%;
  max-width: 650px;
  height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 20px auto 0 auto;
  border: 1px solid var(--border-color);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Seção Lista de Presentes */
.gift-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.gift-search {
  position: relative;
  min-width: 240px;
}

.gift-search input {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  outline: none;
  font-size: 0.85rem;
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.gift-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.gift-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gift-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #f0ede6;
}

.gift-card-body {
  padding: 18px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gift-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 8px;
}

.gift-card-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 14px;
}

.btn-presentear {
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  width: 100%;
}

.btn-presentear:hover {
  background-color: var(--primary-dark);
}

/* Formulário de RSVP e Recados */
.form-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  max-width: 620px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.form-group-site {
  margin-bottom: 20px;
  text-align: left;
}

.form-group-site label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 6px;
}

.form-control-site {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: #ffffff;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-control-site:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(104, 122, 89, 0.12);
}

.radio-group-site {
  display: flex;
  gap: 20px;
  margin-top: 6px;
}

.radio-group-site label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  cursor: pointer;
}

.btn-site-submit {
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.2s ease;
}

.btn-site-submit:hover {
  background-color: var(--primary-dark);
}

/* Mural de Recados */
.guestbook-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.guestbook-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.guestbook-author {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.guestbook-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.guestbook-text {
  font-size: 0.88rem;
  color: var(--text-color);
  font-style: italic;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  padding: 50px 20px;
  text-align: center;
  border-top: 1px solid var(--border-color);
  background: var(--bg-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsividade */
@media (max-width: 768px) {
  .site-nav {
    gap: 14px;
  }
  .site-nav a {
    font-size: 0.72rem;
  }
  .countdown-circle {
    width: 70px;
    height: 70px;
  }
  .countdown-number {
    font-size: 1.4rem;
  }
  .event-venue-image {
    height: 220px;
  }
  .gift-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   5 MODELOS / TEMPLATES TEMÁTICOS DA PLATAFORMA SAAS
   ========================================================================== */
body.wedding-site.theme-botanical {
  --primary-color: #687a59;
  --primary-dark: #526344;
  --secondary-color: #bc9329;
  --bg-color: #fcfbf9;
  --title-font: 'Alex Brush', cursive;
  --body-font: 'Plus Jakarta Sans', sans-serif;
}

body.wedding-site.theme-elegance {
  --primary-color: #c59b3f;
  --primary-dark: #a07a27;
  --secondary-color: #2b3a28;
  --bg-color: #faf8f5;
  --title-font: 'Playfair Display', Georgia, serif;
  --body-font: 'Montserrat', sans-serif;
}

body.wedding-site.theme-romance {
  --primary-color: #d99b9b;
  --primary-dark: #b87b7b;
  --secondary-color: #e8c5c5;
  --bg-color: #fdf8f7;
  --title-font: 'Great Vibes', cursive;
  --body-font: 'Lora', serif;
}

body.wedding-site.theme-classic {
  --primary-color: #1f231d;
  --primary-dark: #121511;
  --secondary-color: #9d8355;
  --bg-color: #f7f6f2;
  --title-font: 'Cormorant Garamond', Georgia, serif;
  --body-font: 'Plus Jakarta Sans', sans-serif;
}

body.wedding-site.theme-modern {
  --primary-color: #333d2e;
  --primary-dark: #22291f;
  --secondary-color: #8b9a80;
  --bg-color: #ffffff;
  --title-font: 'Plus Jakarta Sans', sans-serif;
  --body-font: 'Plus Jakarta Sans', sans-serif;
}
