@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --olive: #45523a;
  --olive-deep: #35412f;
  --olive-soft: #778264;
  --cream: #f7f5ee;
  --cream-light: #fbfaf6;
  --gold: #c4a66b;
  --gold-pale: #dfcfaa;
  --ink: #34382f;
  --muted: #75776e;
  --line: rgba(69, 82, 58, .18);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'DM Sans', 'Helvetica Neue', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--cream-light); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body, button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
::selection { color: var(--cream-light); background: var(--olive); }
.skip-link { position: fixed; z-index: 1000; left: 1rem; top: -4rem; padding: .75rem 1rem; background: var(--olive); color: white; }
.skip-link:focus { top: 1rem; }

.site-header { height: 82px; padding: 0 clamp(1.25rem, 6vw, 6.5rem); display: flex; align-items: center; justify-content: space-between; background: rgba(251, 250, 246, .96); border-bottom: 1px solid rgba(69, 82, 58, .1); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--olive); font: 500 1.17rem var(--serif); letter-spacing: -.08em; }
.brand-mark span, .footer-monogram span { color: var(--gold); font-style: italic; }
.brand-caption { color: var(--muted); font-size: .58rem; letter-spacing: .17em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.7rem); }
.site-nav a { font-size: .69rem; letter-spacing: .11em; text-transform: uppercase; text-decoration: none; transition: color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: #9a7840; }
.site-nav .nav-gift { padding: .75rem 1rem; border: 1px solid var(--gold); color: var(--olive); }
.nav-gift span { margin-left: .5rem; color: #a9854a; }
.nav-toggle { display: none; }

.hero { min-height: min(760px, calc(100svh - 82px)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .92fr); position: relative; overflow: hidden; padding: clamp(3rem, 6vw, 6.5rem) clamp(1.5rem, 8vw, 8.5rem); gap: clamp(2rem, 6vw, 6rem); align-items: center; background: var(--cream); }
.hero-copy { position: relative; z-index: 2; max-width: 560px; padding: 1.25rem 0 1.25rem clamp(0rem, 2vw, 1.75rem); }
.eyebrow { margin: 0 0 1.25rem; display: flex; align-items: center; gap: .7rem; color: #7a805e; font-size: .63rem; font-weight: 600; letter-spacing: .19em; line-height: 1.6; text-transform: uppercase; }
.eyebrow-line { width: 28px; height: 1px; background: var(--gold); }
.hero h1 { margin: 0; color: var(--olive); font: 400 clamp(4.8rem, 9vw, 8.3rem)/.76 var(--serif); letter-spacing: -.062em; }
.hero h1 .ampersand { display: inline-block; margin-left: .07em; color: var(--gold); font-style: italic; font-size: .78em; transform: translateY(-.07em); }
.hero-note { margin: 2.2rem 0 2rem; color: #676b5e; font: 400 clamp(1.15rem, 1.7vw, 1.45rem)/1.35 var(--serif); }
.hero-date { display: flex; align-items: center; gap: 1rem; }
.date-rule { width: 1px; height: 43px; background: var(--gold); }
.hero-date p { margin: 0; font-size: .78rem; line-height: 1.8; letter-spacing: .025em; }
.hero-date strong { color: var(--olive); font-weight: 600; }
.hero-date p span { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: .8rem; margin-top: 2rem; color: var(--olive); font-size: .67rem; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.text-link span { color: var(--gold); font-size: 1rem; transition: transform .2s ease; }
.text-link:hover span { transform: translateY(4px); }
.hero-sprig { position: absolute; width: 160px; right: -1.25rem; bottom: -4.6rem; color: rgba(117, 130, 100, .55); transform: rotate(12deg); }
.hero-photo-wrap { width: min(100%, 475px); justify-self: center; position: relative; padding: 1.25rem 1.1rem 1.15rem; }
.hero-photo-frame { aspect-ratio: 4 / 5.15; position: relative; padding: 10px; border: 1px solid var(--gold); border-radius: 49% 49% 5px 5px; background: var(--cream-light); box-shadow: 0 22px 65px rgba(42, 49, 35, .13); }
.hero-photo { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 44%; border-radius: 48% 48% 3px 3px; }
.photo-corner { position: absolute; width: 35px; height: 35px; border-color: var(--gold); border-style: solid; pointer-events: none; }
.photo-corner-top { top: -7px; right: -7px; border-width: 1px 1px 0 0; }
.photo-corner-bottom { bottom: -7px; left: -7px; border-width: 0 0 1px 1px; }
.photo-note { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; padding-top: 1rem; color: #858375; font: italic 1.05rem var(--serif); }
.photo-note-line { width: 28px; height: 1px; background: var(--gold); }
.hero-seal { position: absolute; top: 12%; left: -1.05rem; width: 74px; height: 74px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--olive); background: var(--cream-light); font: 500 1.45rem var(--serif); letter-spacing: -.12em; transform: none; box-shadow: 0 8px 30px rgba(53, 65, 47, .1); }
.hero-seal span { color: var(--gold); font-style: italic; }
.hero-side-note { position: absolute; top: 44%; right: 1.15rem; writing-mode: vertical-rl; color: rgba(69, 82, 58, .47); font-size: .5rem; letter-spacing: .25em; }

.verse-section { position: relative; overflow: hidden; min-height: 390px; padding: 5.5rem 1.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--olive); color: var(--cream); }
.eyebrow-light { color: var(--gold-pale); }
.verse-section h2 { max-width: 900px; margin: .4rem auto 1rem; font: 400 clamp(2rem, 4.2vw, 3.45rem)/1.14 var(--serif); letter-spacing: -.025em; }
.verse-source { margin: 0; color: var(--gold-pale); font-size: .68rem; letter-spacing: .17em; text-transform: uppercase; }
.verse-divider { display: flex; align-items: center; gap: .75rem; margin: 1.65rem 0; color: var(--gold); }
.verse-divider span { width: 34px; height: 1px; background: rgba(223, 207, 170, .65); }
.verse-invitation { max-width: 490px; margin: 0; color: rgba(251, 250, 246, .77); font: italic 1.15rem/1.5 var(--serif); }
.countdown-section { padding: 5.2rem 1.5rem 5rem; display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--cream-light); }
.countdown-intro .eyebrow { justify-content: center; }
.countdown-intro h2, .section-heading h2, .rsvp-copy h2, .gifts-copy h2 { margin: 0; color: var(--olive); font: 400 clamp(2.5rem, 5vw, 4.1rem)/.98 var(--serif); letter-spacing: -.035em; }
.countdown-intro h2 em, .section-heading h2 em, .rsvp-copy h2 em, .gifts-copy h2 em { color: #929071; font-weight: 400; }
.countdown { margin: 2.6rem auto .7rem; display: flex; align-items: center; gap: clamp(.7rem, 3.5vw, 3rem); }
.count-item { min-width: 64px; display: flex; flex-direction: column; gap: .2rem; }
.count-item span { color: var(--olive); font: 500 clamp(2.4rem, 6vw, 4.25rem)/1 var(--serif); font-variant-numeric: tabular-nums; }
.count-item small { color: var(--muted); font-size: .58rem; letter-spacing: .15em; text-transform: uppercase; }
.count-dot { align-self: flex-start; padding-top: .4rem; color: var(--gold); font: 2rem var(--serif); }
.countdown-caption { margin: .5rem 0 0; color: #86867a; font-size: .7rem; letter-spacing: .1em; }

.celebration-section { padding: 6.3rem clamp(1.5rem, 8vw, 8rem) 6rem; background: #eeeee5; }
.section-heading { max-width: 650px; margin: 0 auto 3.2rem; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.section-lead { max-width: 470px; margin: 1.25rem auto 0; color: #71746a; font: 1rem/1.65 var(--serif); }
.event-list { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2.8rem); }
.event-card { position: relative; padding: clamp(1.4rem, 3vw, 2.7rem); background: var(--cream-light); border: 1px solid rgba(196, 166, 107, .52); box-shadow: 0 16px 40px rgba(53, 65, 47, .055); }
.event-card-reception { margin-top: 2.25rem; }
.event-topline { display: flex; justify-content: space-between; align-items: center; padding-bottom: .85rem; border-bottom: 1px solid var(--line); }
.event-number { color: #929071; font: italic 1.1rem var(--serif); }
.event-kind { margin: 1.4rem 0 .15rem; color: #8a886f; font-size: .59rem; letter-spacing: .19em; text-transform: uppercase; }
.event-card h3 { margin: 0; color: var(--olive); font: 500 2.5rem/1.05 var(--serif); }
.event-time { margin: 1rem 0 .7rem; color: #7b7c71; font-size: .75rem; }
.event-time span { padding: 0 .35rem; color: var(--gold); }
.event-card address { min-height: 66px; margin: 0 0 1.25rem; color: #4f5349; font: normal .87rem/1.65 var(--sans); }
.map-frame { height: 210px; overflow: hidden; border: 1px solid rgba(69, 82, 58, .13); background: #e6e6dc; }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; filter: sepia(.14) saturate(.74); }
.map-link { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.1rem; color: var(--olive); font-size: .64rem; font-weight: 600; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; }
.map-link span { color: #a9854a; font-size: .9rem; transition: transform .2s ease; }
.map-link:hover span { transform: translate(2px, -2px); }
.location-note { margin: 2rem auto 0; color: #8b8a7c; text-align: center; font-size: .65rem; letter-spacing: .04em; }
.location-note span { padding-right: .4rem; color: var(--gold); }

.rsvp-section { position: relative; min-height: 395px; overflow: hidden; padding: 5rem clamp(1.5rem, 12vw, 12rem); display: flex; align-items: center; justify-content: center; gap: clamp(2rem, 8vw, 8rem); background: var(--olive-deep); color: var(--cream); }
.rsvp-copy { max-width: 490px; position: relative; z-index: 2; }
.rsvp-copy h2 { color: var(--cream-light); }
.rsvp-copy h2 em { color: var(--gold-pale); }
.rsvp-copy > p:not(.eyebrow) { max-width: 435px; margin: 1.15rem 0 1.3rem; color: rgba(251, 250, 246, .74); font: 1.05rem/1.58 var(--serif); }
.rsvp-art { flex: 0 0 205px; width: 205px; height: 205px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--gold-pale); }
.rsvp-ring { position: absolute; inset: 0; border: 1px solid rgba(223, 207, 170, .55); border-radius: 50%; }
.rsvp-ring::before, .rsvp-ring::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(223, 207, 170, .25); border-radius: 50%; }
.rsvp-ring::after { inset: -6px 20px; border-color: rgba(223, 207, 170, .18); transform: rotate(45deg); }
.rsvp-initials { position: relative; z-index: 1; font: 500 3.4rem/.9 var(--serif); letter-spacing: -.08em; }
.rsvp-date { margin-top: .85rem; color: rgba(223, 207, 170, .8); font-size: .57rem; letter-spacing: .2em; }
.coming-soon { display: inline-flex; align-items: center; gap: .65rem; padding: .75rem 1rem; border: 1px solid rgba(223, 207, 170, .55); color: var(--gold-pale); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.coming-soon-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(196, 166, 107, .14); }
.rsvp-sprig { position: absolute; width: 148px; right: -1rem; bottom: -2rem; color: rgba(223, 207, 170, .22); transform: rotate(-19deg); }

.gifts-section { min-height: 440px; padding: 6rem clamp(1.5rem, 11vw, 11rem); display: grid; grid-template-columns: 150px minmax(230px, .95fr) minmax(240px, .8fr); align-items: center; gap: clamp(2rem, 6vw, 5.5rem); background: var(--cream-light); }
.gift-seal { width: 130px; height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--gold); outline: 1px solid rgba(196, 166, 107, .42); outline-offset: 5px; border-radius: 50%; transform: none; color: #8b876e; }
.gift-seal span { font: italic .83rem var(--serif); }
.gift-seal strong { color: var(--olive); font: 500 2.3rem/.95 var(--serif); letter-spacing: -.1em; }
.gift-seal strong span { color: var(--gold); font: italic 1.6rem var(--serif); }
.gifts-copy h2 { font-size: clamp(2.8rem, 4.5vw, 3.8rem); }
.gifts-copy > p:not(.eyebrow) { max-width: 370px; margin: 1rem 0 1.1rem; color: #74756b; font: 1.05rem/1.58 var(--serif); }
.gift-coming { display: inline-flex; padding-bottom: .35rem; border-bottom: 1px solid var(--gold); color: var(--olive); font-size: .63rem; letter-spacing: .11em; text-transform: uppercase; }
.gift-note-card { max-width: 320px; justify-self: end; padding: 1.8rem; border: 1px solid rgba(69, 82, 58, .16); background: #f4f2e9; text-align: center; }
.gift-note-card p { margin: .8rem 0; color: var(--olive); font: italic 1.25rem/1.4 var(--serif); }
.gift-note-rule { display: block; width: 32px; height: 1px; margin: 1rem auto; background: var(--gold); }
.gift-note-card small { color: #898779; font: .62rem var(--sans); letter-spacing: .04em; }

.closing-section { padding: 4.5rem 1.5rem 4rem; display: flex; flex-direction: column; align-items: center; text-align: center; background: #eeeee5; }
.closing-section > p:not(.closing-date) { margin: .7rem 0 .45rem; color: #828173; font: italic 1.1rem var(--serif); }
.closing-section h2 { margin: 0; color: var(--olive); font: 500 clamp(2.6rem, 5vw, 4.3rem)/1 var(--serif); letter-spacing: -.04em; }
.closing-section h2 span { color: var(--gold); font-style: italic; }
.closing-date { margin: 1.1rem 0 0; color: #858579; font-size: .6rem; letter-spacing: .21em; }
.site-footer { min-height: 76px; padding: 1rem clamp(1.25rem, 6vw, 6.5rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--olive-deep); color: rgba(251, 250, 246, .72); }
.footer-monogram { color: var(--gold-pale); font: 500 1.25rem var(--serif); letter-spacing: -.08em; text-decoration: none; }
.site-footer p { margin: 0; font: italic .9rem var(--serif); }
.back-top { color: var(--gold-pale); font-size: .59rem; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; }
.back-top span { padding-left: .3rem; }

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); gap: 1.5rem; padding-inline: clamp(1.5rem, 5vw, 3rem); }
  .hero h1 { font-size: clamp(4rem, 9vw, 6.7rem); }
  .hero-sprig { width: 130px; right: 0; }
  .hero-side-note { display: none; }
  .gifts-section { grid-template-columns: 110px 1fr; gap: 2rem; padding-inline: 8vw; }
  .gift-seal { width: 104px; height: 104px; }
  .gift-note-card { grid-column: 2; justify-self: start; margin-top: -.5rem; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 68px; }
  .site-header { height: 68px; padding-inline: 1.15rem; }
  .brand { gap: .55rem; }
  .brand-mark { width: 37px; height: 37px; font-size: 1.05rem; }
  .brand-caption { font-size: .51rem; }
  .nav-toggle { width: 42px; height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid rgba(69, 82, 58, .25); border-radius: 50%; background: transparent; }
  .nav-toggle span { width: 15px; height: 1px; background: var(--olive); transition: transform .2s ease; }
  .nav-toggle[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: absolute; top: 67px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .4rem 1.25rem 1rem; background: var(--cream-light); border-bottom: 1px solid var(--line); box-shadow: 0 16px 25px rgba(53, 65, 47, .08); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .9rem .35rem; border-bottom: 1px solid rgba(69, 82, 58, .1); font-size: .68rem; }
  .site-nav .nav-gift { margin-top: .45rem; padding: .8rem .75rem; border: 1px solid var(--gold); }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: .5rem; padding: 3.45rem 1.35rem 3.2rem; }
  .hero-copy { padding: 0 .35rem; }
  .eyebrow { margin-bottom: .95rem; font-size: .57rem; letter-spacing: .16em; }
  .hero h1 { font-size: clamp(4.4rem, 17vw, 6.4rem); }
  .hero-note { margin: 1.45rem 0 1.25rem; font-size: 1.16rem; }
  .hero-date p { font-size: .72rem; }
  .text-link { margin-top: 1.4rem; font-size: .61rem; }
  .hero-sprig { width: 108px; right: -.2rem; bottom: -4rem; opacity: .75; }
  .hero-photo-wrap { width: min(83%, 390px); margin-top: 1rem; padding-inline: .7rem; }
  .hero-photo-frame { aspect-ratio: 4 / 5; padding: 7px; }
  .photo-note { padding-top: .7rem; font-size: .92rem; }
  .hero-seal { top: 11%; left: -.6rem; width: 58px; height: 58px; font-size: 1.18rem; }
  .verse-section { min-height: 370px; padding: 4.5rem 1.4rem; }
  .verse-section h2 { font-size: clamp(1.9rem, 8vw, 2.55rem); }
  .verse-invitation { font-size: 1.03rem; }
  .desktop-break { display: none; }
  .countdown-section { padding: 4.2rem 1rem; }
  .countdown-intro h2, .section-heading h2, .rsvp-copy h2 { font-size: clamp(2.65rem, 11vw, 3.5rem); }
  .countdown { gap: clamp(.45rem, 2.1vw, .95rem); margin-top: 2.1rem; }
  .count-item { min-width: 53px; }
  .count-item span { font-size: clamp(2.1rem, 9vw, 3rem); }
  .count-item small { font-size: .5rem; letter-spacing: .11em; }
  .count-dot { font-size: 1.45rem; }
  .countdown-caption { font-size: .58rem; }
  .celebration-section { padding: 4.5rem 1.15rem; }
  .section-heading { margin-bottom: 2.1rem; }
  .section-lead { font-size: .97rem; }
  .event-list { grid-template-columns: 1fr; gap: 1.2rem; }
  .event-card { padding: 1.45rem; }
  .event-card-reception { margin-top: 0; }
  .event-card h3 { font-size: 2.25rem; }
  .map-frame { height: 185px; }
  .location-note { line-height: 1.6; }
  .rsvp-section { min-height: 0; padding: 4rem 1.45rem 4.3rem; flex-direction: column; align-items: flex-start; gap: 2rem; }
  .rsvp-art { align-self: center; flex-basis: 150px; width: 150px; height: 150px; }
  .rsvp-initials { font-size: 2.8rem; }
  .rsvp-copy > p:not(.eyebrow) { font-size: 1rem; }
  .rsvp-sprig { width: 108px; right: -.75rem; bottom: -1.8rem; }
  .gifts-section { min-height: 0; padding: 4.5rem 1.45rem; grid-template-columns: 1fr; gap: 1.65rem; }
  .gift-seal { width: 94px; height: 94px; margin-left: .35rem; }
  .gift-seal strong { font-size: 1.9rem; }
  .gifts-copy h2 { font-size: 3.4rem; }
  .gifts-copy > p:not(.eyebrow) { font-size: 1rem; }
  .gift-note-card { grid-column: auto; justify-self: stretch; max-width: none; margin-top: .1rem; padding: 1.5rem; }
  .closing-section { padding: 3.6rem 1rem; }
  .closing-section h2 { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .site-footer { min-height: 84px; padding: 1.1rem 1rem; flex-wrap: wrap; }
  .site-footer p { order: 3; flex-basis: 100%; text-align: center; font-size: .8rem; }
  .back-top { margin-left: auto; }
}

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

/* Lista de presentes */
.gifts-section { grid-template-columns: 120px minmax(220px, .85fr) minmax(220px, .75fr); row-gap: 3.2rem; }
.gift-coming { gap: .5rem; text-decoration: none; }
.gift-catalog { grid-column: 1 / -1; width: 100%; }
.gift-catalog-heading { margin-bottom: 1.5rem; text-align: center; }
.gift-catalog-heading .eyebrow { justify-content: center; margin-bottom: .45rem; }
.gift-catalog-heading > p:last-child { color: #74756b; font: 1rem/1.5 var(--serif); }
.gift-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.gift-item { position: relative; min-height: 205px; padding: 1.4rem; display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; border: 1px solid rgba(196,166,107,.46); background: #fbfaf6; box-shadow: 0 10px 30px rgba(53,65,47,.04); }
.gift-item-number { color: #a9854a; font: italic .95rem var(--serif); }
.gift-item h3 { flex: 1; margin: 0; color: var(--olive); font: 500 1.25rem/1.2 var(--serif); }
.gift-price { padding: .25rem .7rem; color: var(--olive); background: #eeeee5; font: 600 1rem var(--sans); }
.gift-button, .pix-copy { border: 1px solid var(--gold); padding: .72rem .9rem; background: var(--olive); color: var(--cream-light); font: 600 .65rem var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.gift-button { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.gift-button:hover, .pix-copy:hover { background: var(--olive-deep); }
.gift-pix { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: clamp(1.5rem,4vw,2.6rem); border: 1px solid rgba(196,166,107,.55); background: var(--olive-deep); color: var(--cream-light); }
.gift-pix h3 { margin: 0; font: 400 clamp(2rem,4vw,3.1rem)/1 var(--serif); }
.gift-pix h3 em { color: var(--gold-pale); }
.gift-pix > div:first-child > p:last-child { max-width: 550px; margin: .8rem 0 0; color: rgba(251,250,246,.75); font: 1rem/1.5 var(--serif); }
.pix-details { min-width: 235px; padding: 1.15rem; display: grid; gap: .55rem; background: rgba(255,255,255,.08); border: 1px solid rgba(223,207,170,.35); }
.pix-details span, .pix-details small { color: rgba(251,250,246,.72); font-size: .7rem; letter-spacing: .08em; }
.pix-details strong { color: var(--gold-pale); font: 600 1.2rem var(--sans); letter-spacing: .04em; }
#copyStatus { min-height: 1.1em; }
@media (max-width: 860px) { .gift-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px) { .gift-grid { grid-template-columns: 1fr; gap: .8rem; } .gift-item { min-height: 0; padding: 1.15rem; } .gift-pix { grid-template-columns: 1fr; gap: 1.25rem; } .pix-details { min-width: 0; } }

/* Formulário de confirmação de presença */
.rsvp-section { justify-content: space-between; align-items: center; gap: clamp(2rem,5vw,5rem); }
.rsvp-section .rsvp-art { flex: 0 0 160px; width: 160px; height: 160px; }
.rsvp-copy { width: min(100%, 690px); max-width: 690px; }
.rsvp-copy > p:not(.eyebrow) { max-width: 560px; }
.rsvp-form { margin-top: 1.55rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.rsvp-field { min-width: 0; display: grid; gap: .48rem; color: var(--gold-pale); font-size: .69rem; letter-spacing: .06em; }
.rsvp-field input:not([type=radio]):not([type=checkbox]) { width: 100%; min-height: 46px; padding: .75rem .85rem; border: 1px solid rgba(223,207,170,.45); border-radius: 0; background: rgba(255,255,255,.08); color: var(--cream-light); font: .88rem var(--sans); letter-spacing: normal; }
.rsvp-field input::placeholder { color: rgba(251,250,246,.5); }
.rsvp-field input:focus-visible { outline: 2px solid var(--gold-pale); outline-offset: 2px; }
.rsvp-form > .rsvp-field:first-child, .rsvp-attendance, .rsvp-companions, .rsvp-submit, .rsvp-status, .rsvp-privacy { grid-column: 1 / -1; }
.rsvp-attendance { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: .65rem; }
.rsvp-attendance legend { width: 100%; margin-bottom: .1rem; color: var(--gold-pale); font-size: .69rem; letter-spacing: .06em; }
.rsvp-choice { position: relative; cursor: pointer; }
.rsvp-choice input { position: absolute; opacity: 0; inset: 0; }
.rsvp-choice span { min-height: 42px; padding: .65rem .85rem; display: flex; align-items: center; border: 1px solid rgba(223,207,170,.45); color: rgba(251,250,246,.82); font-size: .72rem; }
.rsvp-choice input:checked + span { border-color: var(--gold-pale); background: rgba(223,207,170,.16); color: var(--gold-pale); }
.rsvp-choice input:focus-visible + span { outline: 2px solid var(--gold-pale); outline-offset: 2px; }
.rsvp-companions { display: grid; gap: .85rem; }
.rsvp-companion-toggle { display: flex; align-items: center; gap: .6rem; cursor: pointer; }
.rsvp-companion-toggle input { width: 17px; height: 17px; accent-color: var(--gold); }
.rsvp-companion-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.rsvp-companion-fields[hidden], .rsvp-companions[hidden] { display: none; }
.rsvp-field small { color: rgba(251,250,246,.56); font-size: .62rem; }
.rsvp-submit { min-height: 48px; padding: .8rem 1rem; display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--gold); background: var(--gold-pale); color: var(--olive-deep); font: 700 .7rem var(--sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.rsvp-submit:hover { background: #efe5ce; }
.rsvp-submit:disabled { cursor: wait; opacity: .72; }
.rsvp-status { min-height: 1.3em; margin: 0; color: var(--gold-pale); font-size: .78rem; }
.rsvp-privacy { color: rgba(251,250,246,.55); font-size: .63rem; }
@media(max-width:860px) { .rsvp-section { align-items: flex-start; } .rsvp-section .rsvp-art { flex-basis: 130px; width:130px; height:130px; } }
@media(max-width:640px) { .rsvp-section { align-items: stretch; } .rsvp-section .rsvp-art { align-self:center; flex-basis:150px; } .rsvp-form { grid-template-columns:1fr; gap:.9rem; } .rsvp-companion-fields { grid-template-columns:1fr; } }

.gift-item-image { display:block; width:calc(100% + 2.8rem); height:auto; aspect-ratio:4/3; object-fit:cover; margin:-1.4rem -1.4rem .05rem; background:#eeeee5; }
@media(max-width:640px) { .gift-item-image { width:calc(100% + 2.3rem); margin:-1.15rem -1.15rem .05rem; } }


/* Ajustes finais para Safari/iPhone e telas estreitas */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { max-width: 100%; overflow-x: clip; }
img, iframe { max-width: 100%; }
.site-header { -webkit-backdrop-filter: blur(12px); }
.verse-divider { width: 58px; height: 12px; position: relative; margin: 1.65rem 0; }
.verse-divider::before, .verse-divider::after { content: ""; position: absolute; top: 50%; width: 22px; height: 1px; background: rgba(223, 207, 170, .65); }
.verse-divider::before { left: 0; }
.verse-divider::after { right: 0; }
.verse-divider { background: radial-gradient(circle, var(--gold) 0 2px, transparent 2.5px) center / 8px 8px no-repeat; }
.count-dot { width: 8px; height: 8px; margin-top: .55rem; padding: 0; flex: 0 0 8px; border-radius: 50%; background: var(--gold); font-size: 0; }
.gift-button { gap: .5rem; }

@media (max-width: 640px) {
  html { scroll-padding-top: calc(68px + env(safe-area-inset-top)); }
  .site-header { height: calc(68px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
  .nav-toggle { width: 44px; height: 44px; flex: 0 0 44px; }
  .site-nav { top: 100%; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; }
  .hero { width: 100%; grid-template-columns: minmax(0, 1fr); }
  .hero-copy, .hero-photo-wrap, .section-heading, .rsvp-copy, .gifts-copy, .gift-catalog, .gift-pix { min-width: 0; }
  .hero-sprig, .rsvp-sprig { display: none; }
  .hero-photo-wrap { width: min(100%, 390px); }
  .verse-section { min-height: 0; }
  .verse-section h2 { max-width: 35ch; }
  .countdown { width: 100%; justify-content: center; gap: clamp(.3rem, 2vw, .7rem); }
  .count-item { min-width: 0; flex: 1 1 0; }
  .count-item span { font-size: clamp(1.8rem, 8.4vw, 2.7rem); }
  .countdown-caption { max-width: 100%; line-height: 1.6; }
  .celebration-section { padding-inline: max(1rem, env(safe-area-inset-left)); }
  .event-card { min-width: 0; }
  .rsvp-section { padding-left: max(1.25rem, env(safe-area-inset-left)); padding-right: max(1.25rem, env(safe-area-inset-right)); }
  .rsvp-form { min-width: 0; }
  .rsvp-field input:not([type=radio]):not([type=checkbox]) { min-height: 48px; font-size: 16px; }
  .rsvp-choice span { min-height: 44px; }
  .rsvp-submit, .gift-button, .pix-copy { min-height: 48px; }
  .text-link, .map-link, .gift-coming, .back-top { min-height: 44px; }
  .text-link, .map-link, .gift-coming, .back-top { align-items: center; }
  .gifts-section { width: 100%; grid-template-columns: minmax(0, 1fr); row-gap: 1.65rem; padding-left: max(1.25rem, env(safe-area-inset-left)); padding-right: max(1.25rem, env(safe-area-inset-right)); }
  .gift-catalog { grid-column: 1; }
  .gift-grid { grid-template-columns: minmax(0, 1fr); }
  .gift-item { min-width: 0; }
  .gift-pix { grid-column: 1; grid-template-columns: minmax(0, 1fr); }
  .pix-details { min-width: 0; overflow-wrap: anywhere; }
  .site-footer { padding-bottom: calc(1.1rem + env(safe-area-inset-bottom)); }
}

@media (max-width: 360px) {
  .site-header { padding-left: 1rem; padding-right: 1rem; }
  .brand-caption { letter-spacing: .1em; }
  .hero { padding-left: 1rem; padding-right: 1rem; }
  .hero h1 { font-size: clamp(3.8rem, 16vw, 4.4rem); }
  .count-item small { font-size: .46rem; letter-spacing: .06em; }
  .countdown-caption { font-size: .56rem; letter-spacing: .04em; }
}


/* Imagens WebP para navegadores atuais, com JPEG original como fallback */
.hero-photo-picture { display: block; width: 100%; height: 100%; }
.gift-item-picture { display: block; width: calc(100% + 2.8rem); margin: -1.4rem -1.4rem .05rem; }
.gift-item-picture .gift-item-image { display: block; width: 100%; height: auto; margin: 0; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 640px) {
  .gift-item-picture { width: calc(100% + 2.3rem); margin: -1.15rem -1.15rem .05rem; }
}


/* Janela PIX aberta diretamente pelo cartão de presente */
.pix-dialog { width: min(520px, calc(100% - 2rem)); max-width: none; max-height: min(90vh, 760px); margin: auto; padding: 0; overflow: auto; border: 0; background: transparent; color: var(--ink); }
.pix-dialog::backdrop { background: rgba(29, 35, 26, .68); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.pix-dialog[open] { display: block; }
.pix-dialog-card { position: relative; padding: clamp(1.35rem, 5vw, 2.25rem); border: 1px solid var(--gold); background: var(--cream-light); box-shadow: 0 24px 70px rgba(0,0,0,.25); }
.pix-dialog-card .eyebrow { margin: 0 0 .7rem; }
.pix-dialog-card h2 { max-width: calc(100% - 5.5rem); margin: 0; color: var(--olive); font: 400 clamp(2rem, 8vw, 3rem)/1 var(--serif); }
.pix-dialog-close { min-height: 44px; position: absolute; top: 1rem; right: 1rem; padding: .55rem .75rem; border: 1px solid rgba(69,82,58,.25); background: transparent; color: var(--olive); font: 600 .65rem var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.pix-dialog-gift { margin: 1rem 0 1.3rem; color: #6d7065; font: 1rem/1.5 var(--serif); }
.pix-dialog-key-block { display: grid; gap: .65rem; padding: 1rem; border: 1px solid rgba(196,166,107,.55); background: #f4f2e9; }
.pix-dialog-key-block label { color: var(--olive); font-size: .65rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pix-dialog-key { width: 100%; min-width: 0; min-height: 48px; padding: .7rem .8rem; border: 1px solid rgba(69,82,58,.22); border-radius: 0; background: #fff; color: var(--olive-deep); font: 600 1.08rem var(--sans); letter-spacing: .04em; user-select: all; -webkit-user-select: all; }
.pix-dialog-copy { min-height: 48px; }
.pix-dialog-status { min-height: 1.3em; margin: 0; color: var(--olive); font-size: .76rem; line-height: 1.4; }
.pix-dialog-hint { margin: 1rem 0 0; color: #76786e; font: .95rem/1.5 var(--serif); }
@media (max-width: 640px) {
  .pix-dialog { width: calc(100% - 1.25rem); max-height: calc(100dvh - 1.25rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
  .pix-dialog-card { padding: 1.35rem 1rem calc(1.25rem + env(safe-area-inset-bottom)); }
  .pix-dialog-close { top: .75rem; right: .75rem; }
  .pix-dialog-gift { overflow-wrap: anywhere; }
}



/* Ajustes de iniciais, presença e leitura no celular — 17/11/2026 */
.monogram-aligned {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: .06em;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0;
  transform: none;
  flex-shrink: 0;
}
.monogram-aligned > .monogram-letter {
  display: inline-block;
  color: inherit;
  font: inherit;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
}
.monogram-aligned > .monogram-ampersand {
  display: inline-block;
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: .82em;
  line-height: 1;
  letter-spacing: 0;
}
.rsvp-initials > .monogram-ampersand,
.footer-monogram > .monogram-ampersand { color: var(--gold-pale); }
.rsvp-action-wrap { width: 100%; margin-top: 1.5rem; }
.rsvp-button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  min-height: 52px;
  padding: 1rem 1.4rem;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: var(--gold-pale);
  color: var(--olive-deep);
  text-decoration: none;
  font: 600 .875rem/1.4 var(--sans);
  transition: background .2s;
}
.rsvp-button:hover { background: #efe5ce; }
.rsvp-button span { font-size: 1.25rem; }
.rsvp-button-hint { max-width: 470px; margin: .85rem 0 0; color: rgba(251,250,246,.76); font: .8rem/1.7 var(--sans); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
@media (min-width:641px) and (max-width:900px) {
  .hero { grid-template-columns: minmax(0,1fr); min-height: 0; gap: 1.5rem; }
  .hero-copy { width:100%; max-width:560px; justify-self:center; }
  .hero-photo-wrap { width:min(100%,390px); }
  .gifts-section { grid-template-columns: 110px minmax(0,1fr); }
  .gift-note-card { grid-column:2; }
  .gift-catalog, .gift-pix { grid-column:1 / -1; }
  .rsvp-section { padding-inline: 2rem; }
  .hero-seal { font-size:1.45rem; }
}
@media (max-width:640px) {
  .hero h1 { font-size: clamp(3.55rem, 15.3vw, 6rem); line-height: .88; }
  .hero-note { font-size:1.2rem; line-height:1.5; }
  .hero-date p { font-size:.85rem; line-height:1.75; }
  .brand-caption { font-size:.625rem; letter-spacing:.08em; }
  .site-nav a { font-size:.8rem; }
  .eyebrow { font-size:.67rem; }
  .text-link, .map-link, .gift-coming, .back-top { font-size:.75rem; }
  .hero-seal { font-size:1.18rem; }
  .count-item small { font-size:.625rem; letter-spacing:.06em; }
  .countdown-caption { font-size:.75rem; letter-spacing:.02em; }
  .section-lead { font-size:1.08rem; line-height:1.7; }
  .event-kind { font-size:.72rem; }
  .event-time { font-size:.875rem; line-height:1.7; }
  .event-card address { font-size:.95rem; }
  .location-note { font-size:.75rem; }
  .rsvp-section { gap:1.5rem; padding-block:2.75rem; }
  .rsvp-section .rsvp-art { flex:0 0 116px; width:116px; height:116px; }
  .rsvp-initials { font-size:2.5rem; }
  .rsvp-date { font-size:.625rem; }
  .rsvp-copy > p:not(.eyebrow) { font-size:1.1rem; }
  .rsvp-button { width:100%; font-size:.95rem; min-height:54px; }
  .rsvp-button-hint { font-size:.8rem; }
  .gifts-copy > p:not(.eyebrow) { font-size:1.1rem; }
  .gift-note-card small { font-size:.75rem; line-height:1.5; }
  .gift-item h3 { font-size:1.4rem; line-height:1.35; }
  .gift-button, .pix-copy { font-size:.8rem; min-height:48px; }
  .gift-catalog-heading > p:last-child { font-size:1.1rem; }
  .pix-details span, .pix-details small { font-size:.8rem; line-height:1.5; }
  .pix-dialog { max-height:calc(100dvh - 1.25rem); }
  .pix-dialog-key { font-size:16px; }
  .pix-dialog-key-block label { font-size:.75rem; }
  .pix-dialog-close { min-width:66px; }
  .closing-section h2 { font-size:clamp(2.3rem,9vw,3.5rem); }
  .closing-date { font-size:.75rem; }
  .site-footer p { font-size:.95rem; line-height:1.5; }
}

/* Foto da cerimônia e numeração dos presentes — 17/11/2026 */
.ceremony-photo-picture {
  display: block;
  width: 100%;
  margin-top: 1.4rem;
  overflow: hidden;
  border: 1px solid rgba(196, 166, 107, .4);
  border-radius: 4px;
}
.ceremony-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.gift-item-number {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: calc(100% + 2.8rem);
  min-height: 46px;
  margin: -1.4rem -1.4rem 0;
  padding: .65rem 1.15rem;
  background: #eeeee5;
  color: var(--olive);
  font: 600 1.3rem/1 var(--serif);
  font-style: normal;
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
  border-bottom: 1px solid rgba(196, 166, 107, .3);
}
.gift-item-picture {
  margin-top: -.85rem;
}
@media (max-width: 640px) {
  .gift-item-number {
    width: calc(100% + 2.3rem);
    margin: -1.15rem -1.15rem 0;
    min-height: 48px;
    font-size: 1.4rem;
  }
  .gift-item-picture {
    margin-top: -.85rem;
  }
  .ceremony-photo-picture {
    margin-top: 1.15rem;
  }
}

/* Contagem regressiva em destaque — 17/11/2026 */
.countdown-jump {
  display: flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  gap: .65rem;
  margin-top: .55rem;
  color: var(--olive-soft);
  font: .8rem/1.5 var(--sans);
  text-decoration: none;
}
.countdown-jump:hover { color: var(--olive-deep); }
.countdown-jump span { color: var(--gold); }
.countdown-section { border-bottom: 1px solid var(--line); }
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 680px);
  gap: 1rem;
  margin: 2.2rem auto 1.2rem;
}
.count-item {
  min-width: 0;
  min-height: 132px;
  padding: 1.25rem .75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .65rem;
  border: 1px solid rgba(196, 166, 107, .6);
  border-radius: 6px;
  background: #f1f0e7;
  box-shadow: 0 6px 20px rgba(53, 65, 47, .035);
}
.count-item span { font: 600 3.5rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.count-item small { font-size: .75rem; letter-spacing: .08em; }
.countdown-caption { max-width: 580px; font-size: .875rem; letter-spacing: .02em; line-height: 1.7; }
.countdown-status { max-width: 550px; margin: 1rem 0 0; color: var(--olive); font: 500 1.35rem/1.4 var(--serif); }
.countdown-status:empty { display: none; }
@media (max-width: 640px) {
  .countdown-section { padding: 3.5rem 1.25rem; }
  .countdown-intro h2 { font-size: clamp(2.1rem, 9vw, 3.25rem); line-height: 1.07; }
  .countdown { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 390px; gap: .8rem; }
  .count-item { min-height: 108px; padding: 1rem .5rem; }
  .count-item span { font-size: 2.8rem; }
  .count-item small { font-size: .75rem; }
  .countdown-caption { font-size: .85rem; }
  .countdown-status { font-size: 1.25rem; }
}
