:root {
  --paper: #f8f5ec;
  --paper-2: #f2ecdd;
  --ink: #28301f;
  --muted: #6f745f;
  --olive: #687746;
  --olive-dark: #4c5832;
  --olive-deep: #3f492c;
  --sage: #aab69a;
  --gold: #c9a35d;
  --gold-light: #ead49a;
  --line: rgba(84, 96, 58, .18);
  --shadow: 0 22px 70px rgba(50, 57, 34, .13);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, sans-serif;
}
body.no-scroll { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }


.monogram {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: .28em;
  white-space: nowrap;
}
.monogram .letter {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1;
}

.paper-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .45;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.8) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(95,105,74,.07) 0 1px, transparent 2px),
    linear-gradient(120deg, rgba(255,255,255,.5), transparent 40%);
  background-size: 16px 16px, 22px 22px, 100% 100%;
}

.container { width: min(1120px, calc(100% - 34px)); margin-inline: auto; }
.section { position: relative; padding: 88px 0; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--olive);
  text-transform: uppercase;
  letter-spacing: .2em;
  font: 700 .72rem/1.2 "Inter", sans-serif;
}
.section-heading { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.section-heading h2,
.save-copy h2,
.modal h2 {
  margin: 0;
  font: 600 clamp(2.2rem, 6vw, 4rem)/.96 "Cormorant Garamond", serif;
}
.section-heading > p:last-child { max-width: 620px; margin: 16px auto 0; color: var(--muted); line-height: 1.7; }

/* ABERTURA - ENVELOPE EM TELA CHEIA */
.opening-screen {
  position: fixed;
  inset: 0;
  z-index: 2000;
  min-height: 100svh;
  overflow: hidden;
  perspective: 1400px;
  background: #59663b;
  transition: opacity .7s ease, visibility .7s ease;
}
.opening-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 120px rgba(22, 27, 13, .35);
}
.cover-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .28;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.14) 0 1px, transparent 1.5px),
    radial-gradient(circle at 75% 60%, rgba(22,27,13,.12) 0 1px, transparent 1.5px),
    linear-gradient(135deg, rgba(255,255,255,.06), transparent 55%);
  background-size: 7px 7px, 9px 9px, 100% 100%;
}
.cover-flap { position: absolute; z-index: 2; transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .65s ease; }
.cover-flap--top {
  inset: 0 0 42%;
  transform-origin: 50% 0;
  background: linear-gradient(165deg, #748151 0%, #536037 72%, #48532f 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter: drop-shadow(0 18px 18px rgba(26, 32, 16, .35));
}
.cover-flap--left {
  left: 0;
  bottom: 0;
  width: 52%;
  height: 64%;
  background: linear-gradient(135deg, #647144 0%, #4f5c35 100%);
  clip-path: polygon(0 0, 100% 50%, 100% 100%, 0 100%);
}
.cover-flap--right {
  right: 0;
  bottom: 0;
  width: 52%;
  height: 64%;
  background: linear-gradient(225deg, #677548 0%, #4d5934 100%);
  clip-path: polygon(100% 0, 0 50%, 0 100%, 100% 100%);
}
.cover-flap--bottom {
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  background: linear-gradient(180deg, #607043 0%, #4a5732 100%);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  filter: drop-shadow(0 -12px 18px rgba(31, 37, 19, .24));
}
.cover-emboss {
  position: absolute;
  z-index: 5;
  top: calc(50% - 102px);
  left: 50%;
  width: max-content;
  margin: 0;
  transform: translateX(-50%) rotate(-10deg);
  color: rgba(44, 52, 28, .38);
  text-shadow: 0 1px rgba(255,255,255,.12);
  text-transform: uppercase;
  letter-spacing: .12em;
  font: 600 .62rem/1 "Inter", sans-serif;
}
.wax-seal {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  width: 112px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1px;
  padding: 0;
  border: 2px solid #f0d28a;
  border-radius: 50%;
  color: #344024;
  cursor: pointer;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,239,180,.95), transparent 20%),
    radial-gradient(circle, #d4a846 0 48%, #b17d28 68%, #7d541b 100%);
  box-shadow:
    0 13px 28px rgba(36, 25, 5, .42),
    inset 0 0 0 7px rgba(255,255,255,.12),
    inset 0 0 0 9px rgba(116,75,15,.2);
  transition: transform .25s ease, filter .25s ease, opacity .5s ease;
}
.wax-seal::before,
.wax-seal::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.wax-seal::before { inset: 9px; border: 1px solid rgba(77,51,14,.32); }
.wax-seal::after { inset: 15px; border: 1px solid rgba(255,241,190,.35); }
.wax-seal:hover { transform: translate(-50%, -50%) scale(1.045); filter: brightness(1.04); }
.wax-seal__monogram { position: relative; z-index: 2; min-width: 0; color: #3f492c; }
.wax-seal__monogram .letter { font-size: 1.9rem; }
.wax-seal__date { position: relative; z-index: 2; margin-top: 8px; font: 700 .48rem/1 "Inter", sans-serif; letter-spacing: .08em; }
.cover-hint {
  position: absolute;
  z-index: 12;
  left: 50%;
  bottom: calc(34px + env(safe-area-inset-bottom));
  width: max-content;
  max-width: 90vw;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  transform: translateX(-50%);
  color: rgba(249,247,237,.9);
  text-transform: uppercase;
  letter-spacing: .16em;
  font: 600 .62rem/1.2 "Inter", sans-serif;
}
.cover-hint span { width: 34px; height: 1px; background: rgba(249,247,237,.5); }
.opening-screen.is-opening .cover-flap--top { transform: rotateX(155deg) translateY(-8%); opacity: .45; }
.opening-screen.is-opening .cover-flap--left { transform: translateX(-16%); }
.opening-screen.is-opening .cover-flap--right { transform: translateX(16%); }
.opening-screen.is-opening .cover-flap--bottom { transform: translateY(16%); }
.opening-screen.is-opening .wax-seal { transform: translate(-50%, -50%) scale(.55) rotate(-12deg); opacity: 0; }
.opening-screen.is-opening .cover-hint,
.opening-screen.is-opening .cover-emboss { opacity: 0; transition: opacity .25s ease; }
.opening-screen.is-open { opacity: 0; visibility: hidden; pointer-events: none; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid rgba(82,94,56,.1);
  background: rgba(248,245,236,.92);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(1180px, calc(100% - 26px));
  min-height: 72px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { width: 54px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; background: rgba(255,255,255,.45); box-shadow: inset 0 0 0 4px rgba(201,163,93,.08); }
.brand-mark { color: var(--olive-dark); min-width: 0; }
.brand-mark .letter { font-size: 1.22rem; }
.menu-toggle { display: grid; gap: 5px; width: 44px; height: 44px; place-content: center; border: 0; border-radius: 50%; background: var(--olive); cursor: pointer; }
.menu-toggle span { width: 19px; height: 2px; border-radius: 2px; background: #fff; }
.nav {
  position: fixed;
  inset: calc(84px + env(safe-area-inset-top)) 14px auto;
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(248,245,236,.98);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: .25s ease;
}
.nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav a { padding: 14px 16px; border-radius: 12px; color: var(--olive-dark); font: 600 .86rem/1 "Inter", sans-serif; }
.nav a:hover { background: rgba(104,119,70,.09); }

/* HOME */
.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 64px 0 126px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.88), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.26), rgba(236,230,214,.26));
}
.hero-panel { position: relative; z-index: 2; max-width: 860px; text-align: center; }
.hero-monogram {
  width: 108px;
  aspect-ratio: 1;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--olive-dark);
  background: rgba(255,255,255,.48);
  box-shadow: inset 0 0 0 6px rgba(201,163,93,.08), 0 16px 40px rgba(69,79,45,.08);
  font: inherit;
}
.hero-monogram .letter { font-size: 2.28rem; }
.hero h1 { margin: 0; text-transform: uppercase; letter-spacing: .1em; font: 600 clamp(2.15rem, 8vw, 5.2rem)/.9 "Cormorant Garamond", serif; }
.script-name { margin: 12px 0 0; color: var(--olive); font: 400 clamp(4.4rem, 15vw, 8.5rem)/.76 "Pinyon Script", cursive; }
.script-name span, .closing h2 span { color: var(--gold); }
.flourish { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px auto; color: var(--gold); }
.flourish span { width: 76px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.flourish span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.hero-question { max-width: 700px; margin: 0 auto 18px; color: var(--muted); font: 500 clamp(1.12rem, 4vw, 1.55rem)/1.5 "Cormorant Garamond", serif; }
.hero blockquote { max-width: 640px; margin: 0 auto 28px; color: #7c806d; font: italic 500 .98rem/1.65 "Cormorant Garamond", serif; }
.hero blockquote cite { display: block; margin-top: 3px; color: var(--olive); font-style: normal; font-size: .8rem; letter-spacing: .08em; }
.hero-facts {
  max-width: 760px;
  margin: 0 auto 28px;
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.48);
  box-shadow: 0 14px 40px rgba(64,72,43,.06);
}
.hero-facts div { padding: 13px 10px; border-radius: 14px; background: rgba(248,245,236,.62); }
.hero-facts span, .hero-facts strong { display: block; }
.hero-facts span { margin-bottom: 5px; color: var(--olive); text-transform: uppercase; letter-spacing: .14em; font-size: .58rem; font-weight: 700; }
.hero-facts strong { font: 600 1.08rem/1.1 "Cormorant Garamond", serif; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.primary-cta, .secondary-cta, .secondary-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 999px;
  cursor: pointer;
  font: 700 .82rem/1 "Inter", sans-serif;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.primary-cta { border: 0; color: #fff; background: linear-gradient(135deg, var(--olive), var(--olive-dark)); box-shadow: 0 12px 28px rgba(76,90,49,.23); }
.secondary-cta, .secondary-button { border: 1px solid rgba(104,119,70,.28); color: var(--olive-dark); background: rgba(255,255,255,.58); }
.primary-cta:hover, .secondary-cta:hover, .secondary-button:hover { transform: translateY(-2px); }
.primary-cta.full, .secondary-button.full { width: 100%; }
.corner { position: absolute; width: min(58vw, 430px); opacity: .72; pointer-events: none; }
.corner--tl { top: -62px; left: -100px; }
.corner--br { right: -100px; bottom: -84px; transform: rotate(180deg); }
.hero-orbit { position: absolute; border: 1px solid rgba(201,163,93,.15); border-radius: 50%; pointer-events: none; }
.hero-orbit--one { width: 460px; height: 460px; top: 10%; left: calc(50% - 230px); }
.hero-orbit--two { width: 600px; height: 600px; top: 4%; left: calc(50% - 300px); }

/* CERIMÔNIA */
.ceremony { background: rgba(255,255,255,.38); border-block: 1px solid rgba(81,91,58,.08); }
.ceremony-grid { display: grid; gap: 22px; align-items: center; }
.detail-card { min-height: 220px; display: grid; place-items: center; align-content: center; gap: 10px; padding: 28px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.58); box-shadow: 0 14px 40px rgba(65,72,45,.06); }
.icon-ring { width: 62px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--olive); font: 700 1rem/1 "Cormorant Garamond", serif; }
.icon-ring--church { font-size: 1.6rem; }
.detail-card h3 { margin: 6px 0 0; font: 600 1.7rem/1.12 "Cormorant Garamond", serif; }
.detail-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.text-link { margin-top: 5px; color: var(--olive-dark); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.church-wrap { position: relative; padding: 0 8px; }
.church-wrap img { width: min(440px, 100%); margin: auto; filter: drop-shadow(0 20px 30px rgba(50,60,35,.12)); }
.church-caption { display: block; width: max-content; margin: 0 auto -8px; color: var(--olive); font: 400 1.55rem/1 "Pinyon Script", cursive; }
.music-card { width: min(860px, 100%); margin: 34px auto 0; display: grid; grid-template-columns: auto auto 1fr auto; gap: 13px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.66); box-shadow: 0 14px 38px rgba(65,72,45,.07); }
.album-art { width: 50px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 14px; color: #f8f5ec; background: radial-gradient(circle at 30% 20%, #98a47a, #4f5d35); font: 400 1.45rem/1 "Pinyon Script", cursive; }
.play-button { width: 48px; aspect-ratio: 1; border: 0; border-radius: 50%; color: #fff; background: var(--olive); cursor: pointer; }
.music-meta { min-width: 0; }
.music-meta strong, .music-meta span { display: block; }
.music-meta strong { font: 600 1.25rem/1.2 "Cormorant Garamond", serif; }
.music-meta span { margin-top: 3px; color: var(--muted); font-size: .72rem; }
.waveform { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 3px; height: 30px; overflow: hidden; }
.waveform i { width: 3px; height: 12px; border-radius: 4px; background: var(--sage); animation: wave 1.2s ease-in-out infinite alternate; animation-play-state: paused; }
.waveform.is-playing i { animation-play-state: running; }
.waveform i:nth-child(2n) { height: 25px; animation-delay: -.3s; }
.waveform i:nth-child(3n) { height: 18px; animation-delay: -.6s; }
.music-time { color: var(--muted); font-size: .7rem; }
.music-card.is-disabled .music-meta span { color: var(--olive); font-weight: 600; }

/* AÇÕES */
.action-grid { display: grid; gap: 18px; }
.action-card { position: relative; width: 100%; overflow: hidden; text-align: left; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: rgba(255,255,255,.55); box-shadow: 0 14px 40px rgba(65,72,45,.06); cursor: pointer; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.action-card:hover { transform: translateY(-5px); border-color: rgba(104,119,70,.38); box-shadow: var(--shadow); }
.action-number { position: absolute; top: 22px; right: 24px; color: rgba(104,119,70,.18); font: 700 3rem/1 "Cormorant Garamond", serif; }
.action-icon { width: 54px; aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 24px; border-radius: 17px; color: #fff; background: linear-gradient(145deg, var(--olive), var(--olive-dark)); font-size: 1.6rem; }
.action-card h3 { margin: 0; font: 600 1.75rem/1.08 "Cormorant Garamond", serif; }
.action-card p { min-height: 52px; margin: 12px 0 24px; color: var(--muted); line-height: 1.6; }
.action-card[href="#presentes"] .action-icon { font-size: 1.45rem; }
.card-link { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); color: var(--olive-dark); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 700; }

/* PRESENTES */
.gifts { overflow: hidden; background: linear-gradient(180deg, #56643a 0%, #46532f 100%); color: #fff; }
.gifts .eyebrow { color: var(--gold-light); }
.gifts .section-heading > p:last-child { color: rgba(255,255,255,.72); }
.gifts-leaf { position: absolute; width: min(42vw, 330px); opacity: .13; filter: brightness(2.2) saturate(.7); }
.gifts-leaf--left { top: -80px; left: -90px; }
.gifts-leaf--right { right: -100px; bottom: -90px; transform: rotate(180deg); }
.gift-grid { position: relative; z-index: 2; display: grid; gap: 18px; }
.gift-card { position: relative; width: 100%; min-height: 340px; display: flex; flex-direction: column; align-items: center; padding: 30px 24px 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 28px; color: var(--ink); text-align: center; background: linear-gradient(180deg, #fffdf7, #f4eddd); box-shadow: 0 22px 56px rgba(24,29,14,.18); cursor: pointer; transition: transform .22s ease, box-shadow .22s ease; }
.gift-card:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(24,29,14,.27); }
.gift-card--featured { border-color: rgba(234,212,154,.75); box-shadow: 0 28px 70px rgba(24,29,14,.28); }
.gift-ribbon { position: absolute; top: 18px; right: -37px; width: 145px; padding: 7px 0; transform: rotate(38deg); color: #fff; background: var(--olive); text-transform: uppercase; letter-spacing: .1em; font-size: .55rem; font-weight: 700; }
.gift-icon { width: 64px; aspect-ratio: 1; display: grid; place-items: center; margin: 8px 0 18px; border: 1px solid rgba(201,163,93,.55); border-radius: 50%; color: var(--gold); font-size: 1.65rem; background: rgba(255,255,255,.65); }
.gift-card small { color: var(--olive); text-transform: uppercase; letter-spacing: .13em; font-size: .62rem; font-weight: 700; }
.gift-card strong { display: block; margin: 8px 0 12px; color: var(--olive-dark); font: 600 3.25rem/1 "Cormorant Garamond", serif; }
.gift-card p { min-height: 76px; margin: 0 0 22px; color: var(--muted); line-height: 1.6; }
.gift-button { width: 100%; min-height: 48px; display: grid; place-items: center; margin-top: auto; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--olive), var(--olive-dark)); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.pix-key-card { position: relative; z-index: 2; max-width: 760px; margin: 28px auto 0; display: grid; gap: 18px; align-items: center; padding: 22px; border: 1px solid rgba(255,255,255,.15); border-radius: 24px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.pix-key-card span, .pix-key-card strong, .pix-key-card small { display: block; }
.pix-label { margin-bottom: 5px; color: var(--gold-light); text-transform: uppercase; letter-spacing: .14em; font-size: .6rem; font-weight: 700; }
.pix-key-card strong { font: 600 1.55rem/1.1 "Cormorant Garamond", serif; }
.pix-key-card small { margin-top: 4px; color: rgba(255,255,255,.6); }
.copy-button { min-height: 48px; padding: 0 22px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: var(--olive-deep); background: #fffdf7; cursor: pointer; font-size: .78rem; font-weight: 700; }

/* DATA */
.save-date { overflow: hidden; background: linear-gradient(180deg, rgba(170,182,154,.13), rgba(255,255,255,.2)); }
.save-date-grid { display: grid; gap: 30px; align-items: center; }
.save-copy { text-align: center; }
.save-copy > p:last-of-type { max-width: 520px; margin: 18px auto 0; color: var(--muted); line-height: 1.7; }
.countdown { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 28px; }
.countdown div { padding: 18px 10px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.58); }
.countdown strong, .countdown span { display: block; }
.countdown strong { color: var(--olive-dark); font: 600 2rem/1 "Cormorant Garamond", serif; }
.countdown span { margin-top: 6px; color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }
.calendar { padding: 26px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.72); box-shadow: var(--shadow); }
.calendar-top { text-align: center; margin-bottom: 22px; }
.calendar-top span { display: block; color: var(--olive); font: 400 1.55rem/1 "Pinyon Script", cursive; }
.calendar-top strong { display: block; margin-top: 5px; font: 600 2rem/1 "Cormorant Garamond", serif; }
.weekdays, .dates { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.weekdays { color: var(--olive); font-size: .67rem; font-weight: 700; }
.dates { gap: 8px 2px; margin-top: 14px; }
.dates span { min-height: 34px; display: grid; place-items: center; color: var(--muted); border-radius: 50%; font-size: .82rem; }
.dates .highlight { color: #fff; background: var(--olive); box-shadow: 0 8px 16px rgba(81,94,54,.24); }

/* ENCERRAMENTO */
.closing { text-align: center; padding-bottom: 134px; }
.closing-monogram { width: 82px; aspect-ratio: 1; display: grid; place-items: center; margin: 0 auto 22px; border: 1px solid var(--gold); border-radius: 50%; color: var(--olive); }
.closing-monogram .letter { font-size: 1.7rem; }
.closing p { margin: 0; color: var(--muted); font: 500 1.2rem/1 "Cormorant Garamond", serif; }
.closing h2 { margin: 8px 0 12px; color: var(--olive); font: 400 clamp(4.2rem, 14vw, 7rem)/.82 "Pinyon Script", cursive; }
.closing-date { margin-bottom: 28px !important; color: var(--gold) !important; text-transform: uppercase; letter-spacing: .18em; font: 700 .66rem/1 "Inter", sans-serif !important; }

/* BARRA MOBILE */
.mobile-bar { position: fixed; z-index: 90; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: .85fr 1fr 1.15fr; gap: 6px; padding: 7px; border: 1px solid rgba(104,119,70,.2); border-radius: 20px; background: rgba(248,245,236,.94); backdrop-filter: blur(18px); box-shadow: 0 12px 40px rgba(40,45,28,.18); }
.mobile-bar a, .mobile-bar button { min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 5px; border: 0; border-radius: 14px; color: var(--olive-dark); background: rgba(104,119,70,.08); cursor: pointer; font-size: .72rem; font-weight: 700; }
.mobile-bar button { color: #fff; background: var(--olive); }
.mobile-bar span { font-size: .9rem; }

/* MODAIS */
.modal { width: min(570px, calc(100% - 22px)); max-height: calc(100svh - 24px); overflow: auto; padding: 36px 24px 28px; border: 1px solid var(--line); border-radius: 28px; color: var(--ink); background: var(--paper); box-shadow: 0 30px 100px rgba(29,34,19,.28); }
.modal::backdrop { background: rgba(35,40,25,.56); backdrop-filter: blur(7px); }
.modal-close { position: absolute; top: 14px; right: 16px; width: 38px; aspect-ratio: 1; border: 0; border-radius: 50%; color: var(--olive-dark); background: rgba(104,119,70,.1); cursor: pointer; font-size: 1.4rem; }
.manual-list { display: grid; gap: 12px; margin-top: 24px; }
.manual-list div { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.52); }
.manual-list span { width: 46px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--olive); font-size: .75rem; }
.manual-list p { margin: 4px 0 0; color: var(--muted); line-height: 1.6; }
form { display: grid; gap: 16px; margin-top: 24px; }
label { display: grid; gap: 8px; color: var(--olive-dark); font-size: .82rem; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 14px 15px; color: var(--ink); background: rgba(255,255,255,.75); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--olive); box-shadow: 0 0 0 4px rgba(104,119,70,.1); }
textarea { resize: vertical; }
.form-note { margin: 0; min-height: 20px; color: var(--muted); font-size: .76rem; line-height: 1.5; text-align: center; }
.gift-modal-copy { margin: 12px 0 20px; color: var(--muted); line-height: 1.6; }
.gift-qr-wrap { width: min(260px, 76vw); margin: 0 auto 20px; padding: 14px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 16px 40px rgba(49,56,32,.08); }
.gift-qr-wrap img { width: 100%; }
.gift-summary { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.58); }
.gift-summary span { color: var(--muted); font-size: .72rem; }
.gift-summary strong { justify-self: end; color: var(--olive-dark); font-size: .9rem; }
.gift-modal-actions { display: grid; gap: 9px; margin: 18px 0 12px; }
.toast { position: fixed; z-index: 2200; left: 50%; bottom: 92px; width: min(92vw, 430px); transform: translate(-50%, 18px); padding: 13px 16px; border-radius: 18px; color: #fff; background: rgba(70,82,46,.98); opacity: 0; pointer-events: none; transition: .25s ease; text-align: center; line-height: 1.45; box-shadow: 0 12px 34px rgba(30,35,20,.25); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes wave { to { transform: scaleY(.35); opacity: .45; } }

@media (max-width: 759px) {
  .section { padding: 76px 0; }
  .hero { min-height: auto; padding: 58px 0 130px; }
  .hero-monogram { width: 90px; }
  .hero-monogram .letter { font-size: 1.96rem; }
  .hero h1 { max-width: 320px; margin-inline: auto; font-size: 2.15rem; }
  .script-name { max-width: 350px; margin-inline: auto; font-size: 5.25rem; }
  .hero-question { max-width: 340px; font-size: 1.1rem; }
  .hero blockquote { max-width: 340px; font-size: .9rem; }
  .hero-facts { grid-template-columns: 1fr; max-width: 340px; }
  .hero-actions { flex-direction: column; align-items: stretch; width: min(330px, 100%); margin-inline: auto; }
  .hero-actions a { width: 100%; }
  .hero-orbit--one { width: 360px; height: 360px; left: calc(50% - 180px); }
  .hero-orbit--two { display: none; }
  .detail-card { min-height: auto; padding: 24px 20px; }
  .music-card { grid-template-columns: auto auto 1fr; }
  .music-time { grid-column: 3; justify-self: end; }
  .waveform { margin-top: -3px; }
  .action-card { padding: 24px; }
  .action-card p { min-height: auto; margin-bottom: 18px; }
  .gift-card { min-height: 320px; }
  .calendar { padding: 22px 18px; }
  .modal { padding: 32px 18px 24px; }
}

@media (max-width: 420px) {
  .cover-emboss { top: calc(50% - 88px); }
  .wax-seal { width: 98px; }
  .wax-seal__monogram .letter { font-size: 1.55rem; }
  .cover-hint { bottom: calc(26px + env(safe-area-inset-bottom)); gap: 8px; font-size: .56rem; }
  .cover-hint span { width: 24px; }
  .brand { width: 48px; }
  .menu-toggle { width: 42px; height: 42px; }
  .hero h1 { font-size: 2rem; }
  .script-name { font-size: 4.85rem; }
  .flourish span { width: 52px; }
  .gift-card strong { font-size: 3rem; }
  .mobile-bar a, .mobile-bar button { min-height: 48px; font-size: .68rem; }
  .toast { bottom: 88px; font-size: .88rem; }
}

@media (min-width: 760px) {
  .section { padding: 112px 0; }
  .menu-toggle { display: none; }
  .nav { position: static; display: flex; gap: 4px; padding: 0; border: 0; background: transparent; box-shadow: none; opacity: 1; transform: none; pointer-events: auto; }
  .nav a { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); }
  .hero-facts div + div { border-left: 1px solid var(--line); }
  .ceremony-grid { grid-template-columns: .85fr 1.3fr .85fr; gap: 30px; }
  .music-card { grid-template-columns: auto auto 210px 1fr auto; padding: 16px 18px; }
  .waveform { grid-column: auto; }
  .action-grid, .gift-grid { grid-template-columns: repeat(3, 1fr); }
  .gift-card--featured { transform: translateY(-14px); }
  .gift-card--featured:hover { transform: translateY(-20px); }
  .pix-key-card { grid-template-columns: 1fr auto; }
  .save-date-grid { grid-template-columns: 1fr .85fr; gap: 72px; }
  .save-copy { text-align: left; }
  .save-copy > p:last-of-type { margin-left: 0; }
  .countdown { grid-template-columns: repeat(4, 1fr); }
  .mobile-bar { display: none; }
  .closing { padding-bottom: 112px; }
  .toast { bottom: 34px; }
  .opening-screen { background: #59663b; }
  .wax-seal { width: 126px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
