/* ===========================
   TOKENS
=========================== */
:root {
  --verde: #2d5a3d;
  --verde-escuro: #1a3525;
  --verde-claro: #3d7a53;
  --verde-hero: #1a2e20;
  --dourado: #b8882a;
  --dourado-claro: #e8cc80;
  --dourado-medio: #d4a843;
  --dourado-sutil: rgba(184, 136, 42, 0.15);
  --dourado-grad: linear-gradient(135deg, #d4a843 0%, #f0d070 45%, #c9912a 100%);
  --vermelho: #9B1C1C;
  --branco: #fdfcf8;
  --off-white: #f8f6f0;
  --cinza-sutil: #ede9df;
  --texto: #1a1a1a;
  --texto-claro: #5a5a5a;
  --fonte-serif: 'Cormorant Garamond', Georgia, serif;
  --fonte-sans: 'Jost', sans-serif;
  --raio: 4px;
  --sombra: 0 8px 40px rgba(0,0,0,0.12);
  --sombra-card: 0 24px 70px rgba(0,0,0,0.10);
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--fonte-sans);
  background: var(--branco);
  color: var(--texto);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.centro { text-align: center; }

/* ===========================
   CTA FIXO MOBILE
=========================== */
.cta-fixo {
  display: none; /* ativado via media query */
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  padding: 14px 20px 20px;
  background: linear-gradient(to top, rgba(253,252,248,1) 60%, rgba(253,252,248,0));
}

.btn-fixo {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--verde);
  color: var(--dourado-claro);
  font-family: var(--fonte-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px;
  border-radius: var(--raio);
  border: 1px solid var(--dourado);
  box-shadow: 0 4px 20px rgba(45, 90, 61, 0.3);
  transition: all 0.25s ease;
}

.btn-fixo:active { transform: scale(0.98); }

/* ===========================
   BOTÕES
=========================== */
.btn-primario {
  display: inline-block;
  background: var(--verde);
  color: var(--dourado-claro);
  font-family: var(--fonte-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 44px;
  border-radius: var(--raio);
  border: 1px solid var(--dourado-medio);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(45, 90, 61, 0.3), inset 0 1px 0 rgba(255,255,255,0.07);
}

.btn-primario:hover {
  background: var(--verde-claro);
  box-shadow: 0 10px 32px rgba(45, 90, 61, 0.45), inset 0 1px 0 rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--dourado-claro);
  font-family: var(--fonte-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 17px 36px;
  border-radius: var(--raio);
  border: 1px solid rgba(201, 169, 110, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  border-color: var(--dourado);
  background: rgba(201, 169, 110, 0.08);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--verde-hero);
  overflow: hidden;
  padding: 80px 24px 140px;
}

/* LAÇO FOTO */
.laco-container {
  margin-bottom: 32px;
  animation: lacoEntrada 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.laco-img {
  width: min(260px, 72vw);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 12px 36px rgba(139,21,21,0.55));
  mix-blend-mode: lighten;
}

@keyframes lacoEntrada {
  from { opacity: 0; transform: translateY(-20px) scale(0.88); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,169,110,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 100% 100%, rgba(61,122,83,0.2) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--dourado), transparent);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a96e' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-detalhe {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--branco);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  width: 100%;
  animation: fadeUp 0.9s ease 0.2s both;
  padding-top: 40px;
}

.pre-titulo {
  font-family: var(--fonte-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  background: var(--dourado-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.selo-exclusivo {
  font-family: var(--fonte-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(232, 204, 128, 0.45);
  margin-top: 28px;
}

.hero-logo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(212,168,67,0.4);
  margin-bottom: 28px;
  box-shadow: 0 0 0 6px rgba(184,136,42,0.08), 0 8px 40px rgba(0,0,0,0.4);
}

.titulo-hero {
  font-family: var(--fonte-serif);
  font-size: clamp(48px, 10vw, 78px);
  font-weight: 300;
  line-height: 1.1;
  color: #f0ede6;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.titulo-hero em {
  font-style: italic;
  color: var(--dourado-claro);
}

.subtitulo-hero {
  font-family: var(--fonte-sans);
  font-size: clamp(14px, 3vw, 17px);
  font-weight: 300;
  color: rgba(240, 237, 230, 0.75);
  margin-bottom: 44px;
  letter-spacing: 0.03em;
}

.info-evento {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: 44px;
  align-items: center;
  justify-content: center;
}

.info-evento span {
  font-family: var(--fonte-sans);
  font-size: clamp(15px, 3vw, 19px);
  font-weight: 300;
  color: rgba(240, 237, 230, 0.92);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-evento .sep {
  color: var(--dourado-medio);
  font-size: 18px;
  opacity: 0.6;
}

.info-evento .icone { font-size: 18px; }

.info-evento--clara span { color: var(--texto-claro); }

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

/* ===========================
   ORNAMENTOS / HELPERS
=========================== */
.ornamento-linha {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.ornamento-linha--left { justify-content: flex-start; }

.linha-h {
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--dourado-medio));
}

.ornamento-linha--left .linha-h {
  background: linear-gradient(to right, var(--dourado-medio), transparent);
}

.diam {
  font-size: 7px;
  color: var(--dourado-medio);
  letter-spacing: 0;
}

.logo-wrap { margin-bottom: 20px; }

.hero-label { margin-bottom: 4px; }

.una-subtitulo {
  font-family: var(--fonte-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dourado-medio);
  margin-top: 16px;
  opacity: 0.75;
}

.card-num {
  font-family: var(--fonte-serif);
  font-size: 42px;
  font-weight: 300;
  color: var(--dourado-sutil);
  line-height: 1;
  margin-bottom: 8px;
  background: var(--dourado-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.4;
}

.divisor-ou {
  text-align: center;
  margin: 24px 0;
  position: relative;
}

.divisor-ou::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: var(--cinza-sutil);
}

.divisor-ou span {
  position: relative;
  background: var(--branco);
  padding: 0 16px;
  font-family: var(--fonte-sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--texto-claro);
  text-transform: uppercase;
}

/* ===========================
   SEÇÕES COMUNS
=========================== */
.linha-dourada {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--dourado-medio), transparent);
  margin: 0 auto 28px;
}

.label-secao {
  font-family: var(--fonte-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 36px;
}

/* ===========================
   HISTÓRIA
=========================== */
.historia {
  padding: 100px 0;
  background: var(--branco);
}

.historia-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.historia-foto-wrap {
  flex-shrink: 0;
  width: 260px;
  position: relative;
}

.historia-foto {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: 4px;
  border: 1px solid var(--dourado-medio);
  box-shadow: 0 24px 60px rgba(0,0,0,0.13);
}

.foto-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--dourado-grad);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--fonte-serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--verde-escuro);
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 4px 20px rgba(184,136,42,0.4);
}

.foto-badge span {
  font-family: var(--fonte-sans);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

.historia-texto {
  flex: 1;
}

.texto-historia {
  font-family: var(--fonte-serif);
  font-size: clamp(19px, 3.5vw, 25px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.85;
  color: var(--texto);
  max-width: 680px;
  margin: 0 auto 36px;
  quotes: "\201C" "\201D";
}

.assinatura {
  font-family: var(--fonte-serif);
  font-size: 16px;
  font-style: italic;
  color: var(--dourado);
  letter-spacing: 0.05em;
}

/* ===========================
   TRANSIÇÃO
=========================== */
.transicao {
  padding: 80px 0;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.transicao::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--dourado), transparent);
}

.ornamento {
  color: var(--dourado);
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  opacity: 0.6;
}

.texto-transicao {
  font-family: var(--fonte-sans);
  font-size: clamp(15px, 3vw, 18px);
  font-weight: 300;
  line-height: 1.9;
  color: var(--texto-claro);
  max-width: 560px;
  margin: 0 auto 32px;
}

.nome-una {
  font-family: var(--fonte-serif);
  font-size: clamp(34px, 8vw, 58px);
  font-weight: 300;
  font-style: italic;
  background: linear-gradient(135deg, var(--verde) 0%, #4a8a62 60%, var(--verde) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* ===========================
   POSICIONAMENTO
=========================== */
.posicionamento {
  padding: 100px 0;
  background: var(--branco);
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 60px;
}

.card-valor {
  padding: 36px 28px;
  border: 1px solid var(--cinza-sutil);
  border-left: 2px solid var(--dourado-medio);
  background: var(--off-white);
  border-radius: var(--raio);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-valor:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra);
  border-left-color: var(--dourado-claro);
}

.card-icone {
  background: var(--dourado-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 12px;
  margin-bottom: 16px;
  letter-spacing: 0.2em;
}

.card-valor h3 {
  font-family: var(--fonte-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--verde-escuro);
  margin-bottom: 12px;
}

.card-valor p {
  font-family: var(--fonte-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--texto-claro);
  line-height: 1.8;
}

.texto-posicionamento {
  font-family: var(--fonte-sans);
  font-size: clamp(15px, 2.5vw, 17px);
  font-weight: 300;
  line-height: 1.9;
  color: var(--texto-claro);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

/* ===========================
   CONVITE FINAL
=========================== */
.convite-final {
  padding: 100px 0;
  background: var(--verde-hero);
  position: relative;
  overflow: hidden;
}

.convite-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(212,168,67,0.08) 0%, transparent 70%);
}

.convite-final .linha-dourada { margin-bottom: 40px; }
.convite-final .container { position: relative; z-index: 1; }

.texto-convite {
  font-family: var(--fonte-sans);
  font-size: clamp(15px, 3vw, 18px);
  font-weight: 300;
  line-height: 1.9;
  color: rgba(240, 237, 230, 0.75);
  max-width: 560px;
  margin: 0 auto 32px;
}

.boas-vindas {
  font-family: var(--fonte-serif);
  font-size: clamp(36px, 8vw, 60px);
  font-weight: 300;
  font-style: italic;
  color: var(--dourado-claro);
  letter-spacing: -0.01em;
}

/* ===========================
   CONFIRMAÇÃO
=========================== */
.confirmacao {
  padding: 100px 0 120px;
  background: var(--off-white);
}

.card-confirmacao {
  background: var(--branco);
  border: 1px solid rgba(184,136,42,0.4);
  border-radius: 8px;
  padding: 56px 40px;
  box-shadow: var(--sombra-card), 0 0 0 1px rgba(212,168,67,0.08);
  position: relative;
  overflow: hidden;
}

.card-confirmacao::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--dourado-grad);
}

.card-topo {
  text-align: center;
  margin-bottom: 44px;
}

.ornamento-card {
  color: var(--dourado);
  font-size: 12px;
  margin-bottom: 20px;
  letter-spacing: 0.2em;
}

.titulo-confirmacao {
  font-family: var(--fonte-serif);
  font-size: clamp(30px, 6vw, 42px);
  font-weight: 300;
  font-style: italic;
  color: var(--verde-escuro);
  margin-bottom: 12px;
}

.sub-confirmacao {
  font-family: var(--fonte-sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--texto-claro);
  letter-spacing: 0.03em;
}

/* FORMULÁRIO */
.form-confirmacao {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.campo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.campo label {
  font-family: var(--fonte-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--texto-claro);
}

.campo input,
.campo select {
  font-family: var(--fonte-sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--texto);
  background: var(--off-white);
  border: 1px solid #ddd;
  border-radius: var(--raio);
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.campo select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a96e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.campo input:focus,
.campo select:focus {
  border-color: var(--dourado);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.1);
}

.campo input::placeholder { color: #bbb; }

/* DIVISOR */
.divisor-ou {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--texto-claro);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.divisor-ou::before,
.divisor-ou::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--cinza-sutil);
}

/* ===========================
   DETALHES
=========================== */
.detalhes-evento {
  padding: 80px 0;
  background: var(--branco);
}

.detalhes-evento .info-evento {
  align-items: center;
  gap: 16px;
  margin-bottom: 0;
}

.detalhes-evento .info-evento span {
  color: var(--texto-claro);
  font-size: 14px;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  padding: 48px 24px 36px;
  background: var(--verde-hero);
  text-align: center;
  border-top: 1px solid rgba(201,169,110,0.15);
}

.footer-logo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0.7;
  margin-bottom: 16px;
  border: 1px solid rgba(201,169,110,0.25);
}

.footer p {
  font-family: var(--fonte-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(240,237,230,0.4);
}

/* ===========================
   MODAL
=========================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(30, 61, 42, 0.85);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.ativo { display: flex; }

.modal {
  background: var(--branco);
  border: 1px solid var(--dourado);
  border-radius: 8px;
  padding: 56px 40px;
  text-align: center;
  max-width: 400px;
  width: 100%;
  animation: scaleIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.modal-icone {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--dourado-sutil);
  border: 1px solid var(--dourado);
  color: var(--dourado);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.modal h3 {
  font-family: var(--fonte-serif);
  font-size: 30px;
  font-weight: 300;
  font-style: italic;
  color: var(--verde-escuro);
  margin-bottom: 12px;
}

.modal p {
  font-family: var(--fonte-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--texto-claro);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ===========================
   ANIMAÇÕES
=========================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.88); }
  to { opacity: 1; transform: scale(1); }
}

.revelar {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.revelar.visivel {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 600px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .info-evento { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 20px; }
  .hero-ctas { flex-direction: row; justify-content: center; }
}

@media (max-width: 599px) {
  .cta-fixo { display: block; }
  .confirmacao { padding-bottom: 100px; }
  .card-confirmacao { padding: 40px 24px; }
  .btn-primario, .btn-whatsapp { width: 100%; justify-content: center; text-align: center; }
  .historia-inner { flex-direction: column; gap: 36px; }
  .historia-foto-wrap { width: 100%; max-width: 280px; margin: 0 auto; }
  .historia-texto { text-align: center; }
  .linha-dourada { margin: 0 auto 28px; }
  .hero-logo { width: 120px; height: 120px; }
}
