/* Ana Julia & Gabriel — azul-claro da cerimônia, marsala da festa e do selo do convite. */
:root {
  color-scheme: light;
  --bg: #f2f6fa;
  --paper: #ffffff;
  --mist: #e7eff6;
  --ink: #2e3238;
  --muted: #5d6673;
  --marsala: #5a0f14;
  --marsala-2: #7a2e3c;
  --marsala-tint: #f5ebec;
  --blue: #c9dceb;
  --line: #dce6ef;
  --shadow: 0 1px 2px rgba(46, 50, 56, 0.04), 0 12px 40px -12px rgba(46, 50, 56, 0.16);
  --radius: 18px;
  --serif: "Cinzel", "Times New Roman", serif;
  --italic: "Cormorant Garamond", Georgia, serif;
  --sans: "Quicksand", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 12vw, 148px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--marsala);
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--marsala);
  margin: 0;
  letter-spacing: 0.06em;
}
p {
  margin: 0 0 1.1em;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--marsala);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}
.skip:focus {
  top: 12px;
}
:focus-visible {
  outline: 2px solid var(--marsala);
  outline-offset: 3px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section {
  padding: var(--section) 0;
  position: relative;
}
.band {
  background: var(--paper);
}

.eyebrow {
  font-family: var(--italic);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  color: var(--marsala-2);
  letter-spacing: 0.02em;
  margin: 0 0 0.35em;
}
.section-head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head h2 {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.15;
}
.ornament {
  display: block;
  width: 132px;
  height: 14px;
  margin: 20px auto 0;
  background:
    linear-gradient(var(--marsala), var(--marsala)) left center / 54px 1px no-repeat,
    linear-gradient(var(--marsala), var(--marsala)) right center / 54px 1px no-repeat;
  position: relative;
  opacity: 0.7;
}
.ornament::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid var(--marsala);
  transform: translate(-50%, -50%) rotate(45deg);
}

.prose {
  color: var(--ink);
}
.prose.narrow {
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}
.prose.center {
  text-align: center;
}
.lede {
  font-family: var(--italic);
  font-size: clamp(1.3rem, 2.4vw, 1.55rem);
  line-height: 1.5;
  color: var(--ink);
}
.signature {
  font-family: var(--italic);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--muted);
  margin-top: 1.6em;
}
.signature span {
  font-family: var(--serif);
  font-style: normal;
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: var(--marsala);
  text-transform: uppercase;
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 600 0.92rem/1 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--marsala);
  border: 1px solid var(--marsala);
  border-radius: 999px;
  padding: 14px 26px;
  cursor: pointer;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
}
.btn:hover {
  background: var(--marsala-2);
  border-color: var(--marsala-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -10px rgba(90, 15, 20, 0.6);
}
.btn.ghost {
  background: transparent;
  color: var(--marsala);
}
.btn.ghost:hover {
  background: var(--marsala);
  color: #fff;
}
.btn.small {
  padding: 10px 16px;
  font-size: 0.8rem;
}
.btn.block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

/* ---------- navegação ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition:
    background 0.35s,
    box-shadow 0.35s;
}
.nav.solid {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-brand img {
  width: 34px;
  transition: opacity 0.3s;
}
.nav:not(.solid) .nav-brand img {
  opacity: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 0;
  background: linear-gradient(var(--marsala), var(--marsala)) left bottom / 0 1px no-repeat;
  transition:
    background-size 0.3s,
    color 0.3s;
}
.nav-links a:hover {
  color: var(--marsala);
  background-size: 100% 1px;
}
.nav-links .nav-cta {
  color: var(--marsala);
  border: 1px solid var(--marsala);
  border-radius: 999px;
  padding: 8px 16px;
  background: none;
}
.nav-links .nav-cta:hover {
  background: var(--marsala);
  color: #fff;
}
.nav-toggle {
  display: none;
}

@media (max-width: 820px) {
  .nav-brand img {
    opacity: 1 !important;
  }
  .nav-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
  }
  .bars,
  .bars::before,
  .bars::after {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--marsala);
    position: relative;
    transition: transform 0.3s;
  }
  .bars::before,
  .bars::after {
    content: "";
    position: absolute;
    left: 0;
  }
  .bars::before {
    top: -6px;
  }
  .bars::after {
    top: 6px;
  }
  .nav-toggle[aria-expanded="true"] .bars {
    background: transparent;
  }
  .nav-toggle[aria-expanded="true"] .bars::before {
    transform: translateY(6px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .bars::after {
    transform: translateY(-6px) rotate(-45deg);
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    background: var(--paper);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.25s,
      transform 0.25s,
      visibility 0.25s;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
  .nav-links .nav-cta {
    margin-top: 6px;
  }
}

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  padding: 108px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  background: linear-gradient(180deg, #fbfcfd 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero-text {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter);
}
.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(2.6rem, 8.4vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: 0.08em;
  margin: 0.15em 0 0.25em;
}
.hero h1 .amp {
  font-family: var(--italic);
  font-style: italic;
  font-weight: 400;
  font-size: 0.62em;
  color: var(--marsala-2);
  letter-spacing: 0;
  line-height: 1.1;
}
.hero-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--serif);
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  letter-spacing: 0.3em;
  color: var(--ink);
  margin: 0.4em 0 0.3em;
}
.hero-date .rule {
  width: clamp(28px, 6vw, 64px);
  height: 1px;
  background: var(--marsala);
  opacity: 0.55;
}
.hero-place {
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-art {
  margin: clamp(-20px, -2vw, 0px) 0 0;
  width: min(1180px, 100%);
  flex: 1;
  display: flex;
  align-items: flex-end;
}
.hero-art img {
  width: 100%;
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 52%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 68% at 50% 52%, #000 55%, transparent 100%);
}
.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  translate: -50% 0;
  width: 26px;
  height: 42px;
  border: 1px solid rgba(90, 15, 20, 0.45);
  border-radius: 999px;
}
.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--marsala);
}
@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-top: 96px;
  }
  .hero-art {
    width: 150%;
    margin-top: 8px;
  }
  .scroll-cue {
    display: none;
  }
}

/* ---------- boas-vindas ---------- */
.welcome-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.mono {
  width: 88px;
  margin-bottom: 22px;
}
.arch {
  margin: 0;
  position: relative;
}
.arch img {
  width: 100%;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
  border-radius: 999px 999px 14px 14px;
  box-shadow: var(--shadow);
}
.arch::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1px solid var(--blue);
  border-radius: 999px 999px 14px 14px;
  z-index: -1;
}
.welcome .arch {
  max-width: 420px;
  justify-self: center;
  width: 100%;
}

.countdown {
  margin: clamp(56px, 8vw, 96px) auto 0;
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 30px) 8px;
}
.countdown div {
  text-align: center;
  position: relative;
}
.countdown div + div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: var(--line);
}
.countdown b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 5.4vw, 3.2rem);
  line-height: 1.1;
  color: var(--marsala);
  font-variant-numeric: tabular-nums;
}
.countdown span {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 820px) {
  .welcome-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .mono {
    margin-left: auto;
    margin-right: auto;
  }
  .welcome .arch {
    max-width: 340px;
  }
}

/* ---------- o casal ---------- */
.mural {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2.4vw, 28px);
  margin-bottom: clamp(48px, 7vw, 88px);
}
.mural figure {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
}
.mural figure:nth-child(3n + 2) {
  translate: 0 clamp(20px, 4vw, 56px);
}
.mural img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.mural figure:hover img {
  transform: scale(1.04);
}
.couple .prose {
  text-align: center;
}
@media (max-width: 640px) {
  .mural {
    grid-template-columns: repeat(2, 1fr);
  }
  .mural figure:nth-child(3n + 2) {
    translate: none;
  }
  .mural figure:nth-child(even) {
    translate: 0 28px;
  }
}

/* ---------- cerimônia e recepção ---------- */
.event-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.event-grid.reverse .arch {
  order: 2;
}
.event .arch {
  max-width: 440px;
  width: 100%;
  justify-self: center;
}
.event-card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(28px, 4vw, 48px);
}
.band .event-card {
  background: var(--bg);
  box-shadow: none;
}
.facts {
  margin: 0 0 1.6em;
  display: grid;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.4em;
}
.facts div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: baseline;
}
.facts dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--marsala);
  line-height: 1.45;
}
.facts small {
  font-family: var(--sans);
  font-size: 0.86rem;
  color: var(--muted);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.6em;
}
.tip {
  margin-top: 1.6em;
  padding: 20px 22px;
  border-left: 2px solid var(--marsala);
  background: var(--marsala-tint);
  border-radius: 0 12px 12px 0;
}
.band .tip {
  background: var(--paper);
}
.tip-title {
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--marsala);
  margin-bottom: 0.4em;
}
.tip p:last-child {
  margin: 0;
}
.map {
  margin-top: clamp(48px, 7vw, 80px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--mist);
}
.map iframe {
  display: block;
  width: 100%;
  height: clamp(280px, 40vw, 400px);
  border: 0;
  filter: saturate(0.75);
}
@media (max-width: 820px) {
  .event-grid {
    grid-template-columns: 1fr;
  }
  .event-grid.reverse .arch {
    order: 0;
  }
  .event .arch {
    max-width: 320px;
  }
  .actions .btn {
    flex: 1 1 auto;
  }
}

/* ---------- presentes ---------- */
.filters {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: clamp(32px, 5vw, 48px) 0 clamp(28px, 4vw, 40px);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.chips button {
  font: 500 0.88rem/1 var(--sans);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.chips button:hover {
  border-color: var(--marsala-2);
}
.chips button[aria-pressed="true"] {
  background: var(--marsala);
  border-color: var(--marsala);
  color: #fff;
}
.chips.subtle button {
  background: transparent;
  border-color: transparent;
  font-size: 0.84rem;
  padding: 8px 12px;
  color: var(--muted);
}
.chips.subtle button[aria-pressed="true"] {
  background: transparent;
  color: var(--marsala);
  border-color: transparent;
  box-shadow: inset 0 -1px 0 var(--marsala);
  border-radius: 0;
}

.gifts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}
.gifts-status {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  font-family: var(--italic);
  font-style: italic;
  font-size: 1.2rem;
}
.gift {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.35s;
}
.gift:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 2px rgba(46, 50, 56, 0.05),
    0 22px 48px -16px rgba(46, 50, 56, 0.26);
}
.gift-media {
  position: relative;
  overflow: hidden;
}
.gift-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.gift:hover .gift-media img {
  transform: scale(1.05);
}
.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--marsala);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 6px 11px;
}
.gift-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.gift h3 {
  font-family: var(--italic);
  font-weight: 500;
  font-size: 1.32rem;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--ink);
  flex: 1;
  margin-bottom: 14px;
}
.gift-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.gift-price {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--marsala);
  white-space: nowrap;
}

.free {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px 40px;
  background: var(--marsala);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 52px);
  box-shadow: var(--shadow);
}
.free .eyebrow {
  color: #f1d9dc;
}
.free-title {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.35;
  letter-spacing: 0.04em;
  margin: 0;
}
.free-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.money {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border-radius: 999px;
  padding: 0 16px;
  color: var(--ink);
}
.money span {
  font-weight: 600;
  color: var(--muted);
}
.money input {
  font: 600 1.05rem var(--sans);
  width: 110px;
  border: 0;
  padding: 13px 0;
  background: transparent;
  color: var(--ink);
}
.money input:focus {
  outline: none;
}
.money:focus-within {
  box-shadow: 0 0 0 2px #f1d9dc;
}
.free .btn {
  background: #fff;
  color: var(--marsala);
  border-color: #fff;
}
.free .btn:hover {
  background: var(--marsala-tint);
}
.free .hint {
  width: 100%;
  margin: 0;
  font-size: 0.82rem;
  color: #f1d9dc;
}
@media (max-width: 760px) {
  .free {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .free-form {
    justify-content: center;
  }
}

/* ---------- RSVP ---------- */
.rsvp-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 44px) clamp(14px, 3vw, 36px);
}
.rsvp-intro {
  text-align: center;
  font-family: var(--italic);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--muted);
}
.rsvp-frame {
  display: block;
  width: 100%;
  min-height: 560px;
  border: 0;
  background: transparent;
}

/* ---------- rodapé ---------- */
.footer {
  background: var(--marsala);
  color: #f1d9dc;
  text-align: center;
  padding: clamp(64px, 9vw, 104px) var(--gutter) 48px;
}
.footer img {
  width: 72px;
  margin: 0 auto 22px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.footer-names {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 0.3em;
}
.footer-meta {
  font-family: var(--italic);
  font-style: italic;
  font-size: 1.15rem;
}
.footer-credits {
  margin: 40px 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

/* ---------- modal do Pix ---------- */
.modal {
  border: 0;
  padding: 0;
  width: min(440px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(20, 20, 30, 0.45);
  overflow: auto;
}
.modal::backdrop {
  background: rgba(30, 34, 42, 0.5);
  backdrop-filter: blur(3px);
}
.modal[open] {
  animation: pop 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}
.modal-close {
  position: absolute;
  right: 10px;
  top: 8px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.step {
  padding: 28px clamp(20px, 5vw, 32px) 30px;
  text-align: center;
}
.modal-img {
  width: calc(100% + 2 * clamp(20px, 5vw, 32px));
  max-width: none;
  margin: -28px calc(-1 * clamp(20px, 5vw, 32px)) 20px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.step h3 {
  font-family: var(--italic);
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--ink);
}
.modal-price {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--marsala);
  margin: 6px 0 18px;
}
.step form,
.step label {
  text-align: left;
}
.step label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin: 12px 0 6px;
}
.step label small {
  font-weight: 400;
  color: var(--muted);
}
.step input,
.step textarea {
  font: 400 1rem var(--sans);
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  resize: vertical;
}
.step input:focus,
.step textarea:focus {
  outline: none;
  border-color: var(--marsala-2);
  background: #fff;
  box-shadow: 0 0 0 3px var(--marsala-tint);
}
.step .btn.block {
  margin-top: 20px;
}
.form-error {
  color: #a3212b;
  font-size: 0.88rem;
  margin: 12px 0 0;
  text-align: left;
}
.qr {
  width: 228px;
  height: 228px;
  margin: 4px auto 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.qr svg {
  width: 100%;
  height: 100%;
}
.copy {
  display: flex;
  gap: 8px;
}
.copy input {
  font-size: 0.78rem !important;
  color: var(--muted) !important;
  padding: 10px 12px !important;
  min-width: 0;
}
.hint {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 14px 0 0;
}
.hint.txid {
  margin-top: 6px;
}
.txid span {
  font-family: ui-monospace, Menlo, monospace;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.step.done img {
  width: 72px;
  margin: 8px auto 16px;
}
.step.done h3 {
  font-family: var(--serif);
  color: var(--marsala);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

/* ---------- animação ao rolar ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
      transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--delay, 0s);
  }
  .js .reveal.in {
    opacity: 1;
    transform: none;
  }
  .scroll-cue span {
    animation: cue 2s infinite;
  }
  /* O hero entra no carregamento (não depende de rolar). */
  .rise {
    animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: var(--rise, 0s);
  }
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
  }
  @keyframes cue {
    0% {
      opacity: 0;
      transform: translateY(0);
    }
    40% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      transform: translateY(14px);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Contato da cerimonialista (WhatsApp) */
.tip .btn.whatsapp { margin-top: 14px; }
.rsvp-help { margin: 18px 0 0; text-align: center; font-size: 0.95rem; }
.rsvp-help a { color: var(--marsala, #5a0f14); font-weight: 600; }
