/* =====================================================
   Lucas & Sarah — Wedding Site
   Estilo: Refined Botanical · Luxury Minimal · Terracota
   ===================================================== */

/* ── Fontes ─────────────────────────────────────────── */
/* Better Saturday — display script para os nomes */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=DM+Sans:wght@200;300;400&display=swap');

/* Better Saturday via CDN público */
@font-face {
  font-family: 'Better Saturday';
  src: url('https://db.onlinewebfonts.com/t/1b0cef22a6a1e30f0bbe0c5e8fc23e28.woff2') format('woff2'),
       url('https://db.onlinewebfonts.com/t/1b0cef22a6a1e30f0bbe0c5e8fc23e28.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── Variáveis ─────────────────────────────────────── */
:root {
  /* Paleta */
  --ink:        #1a1714;
  --ink-soft:   #2e2a25;
  --cream:      #f7f3ec;
  --cream-warm: #ede6d8;
  --parchment:  #e4d9c4;
  --gold:       #b8935a;
  --gold-light: #d4a96a;
  --terracota:  #9c5f3e;
  --sage:       #7a9176;
  --off-white:  #fbf8f3;

  /* Tipografia */
  --f-script:  'Better Saturday', 'Pinyon Script', cursive;
  --f-display: 'Cormorant Garamond', 'Garamond', Georgia, serif;
  --f-body:    'DM Sans', 'Helvetica Neue', sans-serif;

  /* Espaçamentos */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --transicao:  0.4s var(--ease-out);
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--off-white);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* ── Grain overlay ─────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.3;
  mix-blend-mode: multiply;
}

/* ── Divisor ───────────────────────────────────────── */
.linha {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}
.linha-left { margin: 0; }

/* ─────────────────────────────────────────────────── */
/*  NAV                                                */
/* ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transicao), box-shadow var(--transicao);
}

.nav.scrolled {
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(184, 147, 90, 0.15);
}

.nav-logo {
  font-family: var(--f-script);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  z-index: 101;
  line-height: 1;
}

.nav-links {
  display: none;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--f-body);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.45;
  transition: opacity var(--transicao);
}

.nav-links a:hover { opacity: 1; }

/* ── Hambúrguer ────────────────────────────────────── */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 101;
}

.nav-hamburger span {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease, width 0.3s ease;
  transform-origin: center;
}

.nav-hamburger span:nth-child(1) { width: 24px; }
.nav-hamburger span:nth-child(2) { width: 16px; }
.nav-hamburger span:nth-child(3) { width: 24px; }

.nav-hamburger.aberto span:nth-child(1) { width: 20px; transform: translateY(6px) rotate(45deg); }
.nav-hamburger.aberto span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.aberto span:nth-child(3) { width: 20px; transform: translateY(-6px) rotate(-45deg); }

/* ── Drawer mobile ─────────────────────────────────── */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}

.nav-drawer.aberto {
  opacity: 1;
  pointer-events: all;
}

/* Árvore decorativa no drawer */
.nav-drawer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/arvore.png') center center / 55% auto no-repeat;
  opacity: 0.04;
  pointer-events: none;
}

.nav-drawer-links {
  list-style: none;
  text-align: center;
  position: relative;
  z-index: 1;
}

.nav-drawer-links li { overflow: hidden; }

.nav-drawer-links a {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 8vw, 3rem);
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  padding: 0.55rem 2rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), color 0.25s;
}

.nav-drawer-links a:hover { color: var(--gold); }

.nav-drawer.aberto .nav-drawer-links a { opacity: 1; transform: translateY(0); }
.nav-drawer.aberto .nav-drawer-links li:nth-child(1) a { transition-delay: 0.06s; }
.nav-drawer.aberto .nav-drawer-links li:nth-child(2) a { transition-delay: 0.12s; }
.nav-drawer.aberto .nav-drawer-links li:nth-child(3) a { transition-delay: 0.18s; }
.nav-drawer.aberto .nav-drawer-links li:nth-child(4) a { transition-delay: 0.24s; }
.nav-drawer.aberto .nav-drawer-links li:nth-child(5) a { transition-delay: 0.30s; }

.nav-drawer-data {
  margin-top: 3rem;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.4s ease 0.35s;
  position: relative; z-index: 1;
}

.nav-drawer.aberto .nav-drawer-data { opacity: 1; }

/* ─────────────────────────────────────────────────── */
/*  HERO                                               */
/* ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0 2rem;
  background: var(--cream);
}

/* Fundo gradiente sutil */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(184, 147, 90, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(122, 145, 118, 0.06) 0%, transparent 55%),
    var(--cream);
  z-index: 0;
}

/* ── Árvore no hero ────────────────────────────────── */
.hero-bg-foto {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* A árvore como imagem real */
.hero-bg-foto img.arvore-hero {
  position: absolute;
  width: min(580px, 90vw);
  height: auto;
  opacity: 0.10;
  mix-blend-mode: multiply;
  filter: sepia(40%) brightness(0.7);
  pointer-events: none;
  animation: arvore-breathe 8s ease-in-out infinite;
}

/* Quando não há imagem — SVG placeholder elegante */
.hero-arvore-placeholder {
  position: absolute;
  width: min(520px, 85vw);
  height: auto;
  opacity: 0.12;
  pointer-events: none;
  animation: arvore-breathe 8s ease-in-out infinite;
  color: var(--gold);
}

@keyframes arvore-breathe {
  0%, 100% { transform: scale(1); opacity: 0.10; }
  50%       { transform: scale(1.015); opacity: 0.14; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(247, 243, 236, 0.15) 0%,
    rgba(247, 243, 236, 0.05) 45%,
    rgba(247, 243, 236, 0.25) 100%
  );
}

/* ── Conteúdo hero ─────────────────────────────────── */
.hero-conteudo {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 5rem;
}

.hero-label {
  font-family: var(--f-body);
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  animation: revelar 1.2s var(--ease-out) both;
}

/* Ornamento linha + texto + linha */
.hero-label::before,
.hero-label::after {
  content: '—';
  margin: 0 0.8em;
  opacity: 0.5;
}

.hero-nomes {
  font-family: var(--f-script);
  font-size: clamp(5rem, 18vw, 10rem);
  line-height: 0.9;
  color: var(--ink);
  animation: revelar 1.2s var(--ease-out) 0.15s both;
  letter-spacing: -0.01em;
}

.hero-e {
  font-family: var(--f-display);
  font-size: 0.22em;
  font-style: italic;
  font-weight: 300;
  opacity: 0.4;
  display: block;
  line-height: 2.2;
  letter-spacing: 0.15em;
}

.hero-data {
  margin-top: 2.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.35;
  animation: revelar 1.2s var(--ease-out) 0.25s both;
}

/* Ornamento floral inline */
.hero-ornamento {
  display: block;
  margin: 1.8rem auto;
  opacity: 0.3;
  animation: revelar 1.2s var(--ease-out) 0.3s both;
  color: var(--gold);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 2.5rem;
  width: 100%;
  max-width: 320px;
  animation: revelar 1.2s var(--ease-out) 0.4s both;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  animation: revelar 1.2s var(--ease-out) 0.9s both;
}

.scroll-label {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.3;
  color: var(--ink);
}

.scroll-linha {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-pulsar 2s ease-in-out infinite;
}

@keyframes scroll-pulsar {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50%       { transform: scaleY(1.4); opacity: 0.8; }
}

/* ─────────────────────────────────────────────────── */
/*  BOTÕES                                             */
/* ─────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.63rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  cursor: pointer;
  transition: all var(--transicao);
  border-radius: 0;
  white-space: nowrap;
}

.btn-primario {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
}

.btn-primario:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--cream);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(26, 23, 20, 0.3);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-hero-primario {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
}

.btn-hero-primario:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.btn-hero-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(26, 23, 20, 0.25);
}

.btn-hero-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-claro {
  background: transparent;
  border: 1px solid rgba(247, 243, 236, 0.35);
  color: var(--cream);
}

.btn-outline-claro:hover {
  background: rgba(247, 243, 236, 0.1);
  border-color: rgba(247, 243, 236, 0.7);
}

/* ─────────────────────────────────────────────────── */
/*  COUNTDOWN                                          */
/* ─────────────────────────────────────────────────── */
.countdown-section {
  background: var(--ink);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5rem 6rem;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}

/* Árvore no countdown */
.countdown-section::before {
  content: '';
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  height: 380px;
  background: url('../images/arvore.png') center / contain no-repeat;
  opacity: 0.04;
  pointer-events: none;
  filter: invert(1);
}

.countdown-texto h2 {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.25;
  color: var(--cream);
}

.countdown-data-label {
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.3;
  margin-top: 0.8rem;
  color: var(--gold-light);
}

.countdown {
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.countdown-numero {
  font-family: var(--f-display);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--cream);
  letter-spacing: -0.02em;
}

.countdown-label {
  font-size: 0.56rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.35;
  color: var(--gold-light);
}

.countdown-sep {
  font-family: var(--f-display);
  font-size: 2rem;
  font-style: italic;
  color: var(--gold-light);
  opacity: 0.25;
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* ─────────────────────────────────────────────────── */
/*  SEÇÕES GENÉRICAS                                   */
/* ─────────────────────────────────────────────────── */
.secao {
  padding: 6rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.secao-label {
  font-family: var(--f-body);
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.secao-titulo {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
}

/* ─────────────────────────────────────────────────── */
/*  PAGE HEADER                                        */
/* ─────────────────────────────────────────────────── */
.page-header {
  padding: 9rem 5rem 5rem;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

/* Árvore decorativa no header das páginas internas */
.page-header::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 320px;
  height: 320px;
  background: url('../images/arvore.png') center / contain no-repeat;
  opacity: 0.06;
  pointer-events: none;
  filter: sepia(60%);
}

/* ─────────────────────────────────────────────────── */
/*  HISTÓRIA — TIMELINE                                */
/* ─────────────────────────────────────────────────── */
.historia-raizes-bg {
  position: absolute;
  bottom: -10px; right: -30px;
  width: 55%;
  z-index: 0;
  pointer-events: none;
}

.historia-raizes-bg svg {
  width: 100%;
  height: auto;
  opacity: 0.07;
  stroke: var(--gold);
}

.page-header-historia {
  position: relative;
  overflow: hidden;
}

.historia-corpo {
  position: relative;
  overflow: hidden;
}

.historia-raizes-lateral {
  position: absolute;
  left: 0;
  top: 0;
  width: 120px;
  height: 100%;
  opacity: 0.05;
  stroke: var(--gold);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1px 1fr;
  gap: 0 3rem;
  min-height: 110px;
  position: relative;
}

.timeline-ano {
  font-family: var(--f-display);
  font-size: 0.72rem;
  font-style: italic;
  letter-spacing: 0.12em;
  color: var(--gold);
  padding-top: 0.15rem;
  text-align: right;
  opacity: 0.7;
}

.timeline-linha {
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), rgba(184, 147, 90, 0.1));
  position: relative;
}

.timeline-linha::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--off-white);
}

.timeline-conteudo {
  padding-bottom: 3rem;
  padding-top: 0;
}

.timeline-conteudo h3 {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.timeline-conteudo p {
  font-size: 0.88rem;
  font-weight: 300;
  opacity: 0.6;
  line-height: 1.9;
  max-width: 480px;
}

/* ─────────────────────────────────────────────────── */
/*  LOCAL                                              */
/* ─────────────────────────────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--parchment);
  margin: 3.5rem 0;
  background: var(--cream);
}

.info-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--parchment);
  position: relative;
}

.info-card:last-child { border-right: none; }

.info-card-label {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  opacity: 0.8;
}

.info-card h3 {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.info-card p {
  font-size: 0.85rem;
  font-weight: 300;
  opacity: 0.55;
  line-height: 1.75;
}

.mapa-wrapper {
  width: 100%;
  height: 420px;
  overflow: hidden;
  border: 1px solid var(--parchment);
}

.mapa-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.25) sepia(0.1) contrast(0.95);
}

.btn-maps-group {
  display: flex;
  gap: 1rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────────── */
/*  PRESENTES                                          */
/* ─────────────────────────────────────────────────── */
.presentes-corpo {
  padding: 5rem 6rem;
  max-width: 680px;
  position: relative;
}

/* Árvore pequena decorativa */
.presentes-corpo::after {
  content: '';
  position: absolute;
  bottom: 2rem;
  right: -2rem;
  width: 200px;
  height: 200px;
  background: url('../images/arvore.png') center / contain no-repeat;
  opacity: 0.05;
  pointer-events: none;
  filter: sepia(50%);
}

.presentes-corpo p {
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.6;
  line-height: 2;
  margin: 2.2rem 0 3.2rem;
}

/* ─────────────────────────────────────────────────── */
/*  RSVP                                               */
/* ─────────────────────────────────────────────────── */
.rsvp-corpo {
  padding: 5rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
  max-width: 1100px;
}

.rsvp-intro p {
  font-size: 0.9rem;
  font-weight: 300;
  opacity: 0.55;
  line-height: 2;
  margin-top: 1.8rem;
  max-width: 300px;
}

.rsvp-intro .prazo {
  margin-top: 3rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Formulário ────────────────────────────────────── */
.form-grupo { margin-bottom: 2rem; }

.form-label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.4;
  margin-bottom: 0.7rem;
  font-weight: 300;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.7rem 0;
  border: none;
  border-bottom: 1px solid var(--parchment);
  background: transparent;
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink);
  transition: border-color var(--transicao);
  appearance: none;
  border-radius: 0;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--ink);
  opacity: 0.2;
}

.form-textarea { resize: none; min-height: 90px; }

.form-radio-group { display: flex; gap: 2.5rem; }

.form-radio-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 300;
  opacity: 0.7;
  cursor: pointer;
}

.form-radio-label input { accent-color: var(--gold); }

.form-submit { width: 100%; margin-top: 0.8rem; text-align: center; }

/* ─────────────────────────────────────────────────── */
/*  FOOTER                                             */
/* ─────────────────────────────────────────────────── */
.footer {
  background: var(--ink-soft);
  color: var(--cream);
  padding: 5rem 6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Árvore no footer */
.footer::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  background: url('../images/arvore.png') center / contain no-repeat;
  opacity: 0.04;
  filter: invert(1);
  pointer-events: none;
}

.footer-nomes {
  font-family: var(--f-script);
  font-size: 2.6rem;
  color: var(--cream);
  position: relative;
  z-index: 1;
  opacity: 0.9;
}

.footer-info {
  text-align: right;
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.28;
  line-height: 2.2;
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────────── */
/*  ANIMAÇÕES                                          */
/* ─────────────────────────────────────────────────── */
@keyframes revelar {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.fade-in.visivel { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────────────── */
/*  RESPONSIVO — Mobile first                          */
/* ─────────────────────────────────────────────────── */
.countdown-section {
  flex-direction: column;
  padding: 4rem 1.5rem;
  text-align: center;
  gap: 3rem;
}

.countdown { gap: 2rem; }
.countdown-numero { font-size: 2.8rem; }

.nav-links { display: none !important; }
.nav-hamburger { display: flex; }

.page-header { padding: 7rem 1.5rem 3rem; }
.page-header::after { width: 180px; height: 180px; right: -20px; bottom: -20px; }

.rsvp-corpo {
  grid-template-columns: 1fr;
  padding: 3rem 1.5rem;
  gap: 3rem;
}
.rsvp-intro p { max-width: 100%; }

.info-grid { grid-template-columns: 1fr; }
.info-card { border-right: none; border-bottom: 1px solid var(--parchment); }
.info-card:last-child { border-bottom: none; }

.presentes-corpo { padding: 3rem 1.5rem; }

.secao { padding: 4rem 1.5rem; }

.footer {
  flex-direction: column;
  gap: 1.5rem;
  padding: 3rem 1.5rem;
  text-align: center;
}
.footer-info { text-align: center; }

.timeline-item {
  grid-template-columns: 52px 1px 1fr;
  gap: 0 1.2rem;
}
.timeline-conteudo p { max-width: 100%; }

.btn-hero-primario,
.btn-hero-outline { width: 100%; display: block; }

.historia-raizes-bg svg { width: 80%; opacity: 0.05; }
.historia-raizes-lateral { display: none; }

/* ── Desktop (≥ 700px) ──────────────────────────────── */
@media (min-width: 700px) {
  .nav-hamburger { display: none !important; }
  .nav-drawer    { display: none !important; }
  .nav-links     { display: flex !important; }
  .nav           { padding: 1.8rem 4rem; }

  .hero-ctas { flex-direction: row; max-width: none; width: auto; }
  .btn-hero-primario,
  .btn-hero-outline { width: auto; display: inline-block; }

  .countdown-section {
    flex-direction: row;
    justify-content: space-between;
    padding: 5.5rem 7rem;
    text-align: left;
    gap: 2rem;
  }

  .countdown { gap: 4rem; }
  .countdown-numero { font-size: clamp(3rem, 5vw, 5.5rem); }

  .page-header { padding: 10rem 7rem 5.5rem; }

  .rsvp-corpo {
    grid-template-columns: 1fr 1.4fr;
    padding: 5rem 7rem;
    gap: 6rem;
  }
  .rsvp-intro p { max-width: 300px; }

  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .info-card { border-right: 1px solid var(--parchment); border-bottom: none; }
  .info-card:last-child { border-right: none; }

  .presentes-corpo { padding: 5rem 7rem; }

  .secao { padding: 7rem 4rem; }

  .footer { flex-direction: row; padding: 5rem 7rem; text-align: left; }
  .footer-info { text-align: right; }

  .timeline-item { grid-template-columns: 80px 1px 1fr; gap: 0 3.5rem; }

  .historia-raizes-lateral { display: block; }
}

/* ─────────────────────────────────────────────────── */
/*  HERO — variação quando há imagem da árvore (PNG)   */
/*  Classe utilitária adicionada via JS se img carregar */
/* ─────────────────────────────────────────────────── */
.hero-arvore-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.hero-arvore-wrapper img {
  width: min(560px, 85vw);
  height: auto;
  opacity: 0.11;
  mix-blend-mode: multiply;
  filter: sepia(30%) brightness(0.75);
  animation: arvore-breathe 8s ease-in-out infinite;
}