/* Fátima & Alexandre · maquete v2 · ver DESIGN.md */
:root {
  --bone: #F4F2EC;
  --paper: #FBFAF7;
  --line: #D9D6CB;
  --sage: #8A957F;
  --forest: #143D2B;
  --forest-deep: #0D2A1D;
  --ink: #1E2520;
  --muted: #565E55;
  --gold: #B39762;
  --ivory: #F2EFE6;
  --ivory-muted: #C9CEC3;
  --error: #A8402F;

  --serif: "Cormorant SC", "Cormorant Garamond", Georgia, serif;
  --serif-text: "EB Garamond", Georgia, serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --sans: "Manrope", ui-sans-serif, system-ui, sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --r: 14px;
  --arch: 999px 999px var(--r) var(--r);
  --gutter: clamp(20px, 5.5vw, 80px);
  --section: clamp(80px, 11vw, 136px);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--forest); color: var(--ivory); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(1240px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--forest); color: var(--ivory); padding: 12px 18px; border-radius: 999px; text-decoration: none; transition: top .2s var(--ease); }
.skip:focus { top: 16px; }

.amp { font-family: var(--serif); font-style: normal; font-weight: 300; color: var(--gold); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--forest); }
.eyebrow--ivory { color: var(--ivory-muted); }
.h2 { font: 300 clamp(40px, 5.2vw, 64px)/1.04 var(--serif); letter-spacing: -.01em; text-wrap: balance; color: var(--forest); }
.muted { color: var(--muted); text-wrap: pretty; }

/* ---------- Botões ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); letter-spacing: .01em; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease), opacity .2s;
}
.btn i { font-size: 18px; transition: transform .35s var(--ease); }
.btn:hover i.ph-arrow-right { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--forest); color: var(--ivory); }
.btn--primary:hover { background: var(--forest-deep); }
.btn--ghost { border-color: color-mix(in srgb, var(--forest) 35%, transparent); color: var(--forest); }
.btn--ghost:hover { border-color: var(--forest); background: color-mix(in srgb, var(--forest) 5%, transparent); }
.btn--line { border-color: var(--line); color: var(--forest); background: var(--paper); }
.btn--line:hover { border-color: var(--forest); }
.btn--ivory { background: var(--ivory); color: var(--forest); }
.btn--ivory:hover { background: #fff; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn[aria-busy="true"] { cursor: progress; }
.btn[aria-busy="true"]::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.soon { font-weight: 500; font-size: 12px; color: var(--muted); }
.link { background: none; border: 0; padding: 6px 0; color: var(--forest); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); cursor: pointer; min-height: 44px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Navegação ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease); }
.sentinel-top { position: absolute; top: 0; left: 0; width: 1px; height: 12px; pointer-events: none; }
.nav.is-solid { background: var(--bone); box-shadow: 0 1px 0 var(--line); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 400 22px/1 var(--serif); color: var(--forest); }
.nav__brand img { width: 40px; height: auto; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { position: relative; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink); padding: 8px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav__menu { display: none; }

.sheet { position: fixed; inset: 0; z-index: 45; background: var(--bone); padding: calc(var(--nav-h) + 32px) var(--gutter) 40px; overscroll-behavior: contain; }
.sheet nav { display: flex; flex-direction: column; gap: 6px; }
.sheet a { font: 300 44px/1.2 var(--serif); color: var(--forest); text-decoration: none; padding: 6px 0; }
.sheet a.sheet__cta { margin-top: 24px; font: 600 16px/1 var(--sans); background: var(--forest); color: var(--ivory); border-radius: 999px; padding: 18px 24px; text-align: center; }
.sheet.is-open a { animation: sheetIn .7s var(--ease) both; animation-delay: calc(var(--i) * 50ms + 80ms); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(16px, 4vw, 48px)); padding-bottom: clamp(40px, 6vw, 88px); }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(32px, 6vw, 96px); min-height: calc(100svh - var(--nav-h) - 72px); }
.hero__mono { width: 84px; height: auto; margin-bottom: 28px; }
.hero__eyebrow { margin-bottom: 18px; }
.hero__title { font: 400 clamp(64px, 8.2vw, 124px)/1.12 var(--script); color: var(--forest); }
.hero__title .line { display: block; overflow: hidden; padding: .04em .2em .16em 0; margin-right: -.2em; }
.hero__title .line:nth-child(2) { padding-left: .55em; margin-top: -.34em; }
.hero__title .line > span { display: inline-block; }
.hero__title .amp { font-family: var(--script); font-size: .9em; }
.hero__sub { margin-top: 28px; max-width: 34ch; font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__media { position: relative; justify-self: end; width: min(100%, 520px); }
.arch { position: relative; overflow: hidden; border-radius: var(--arch); background: var(--line); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--hero { aspect-ratio: 4 / 5.2; max-height: calc(100svh - var(--nav-h) - 120px); margin-left: auto; }
.hero__ring { position: absolute; inset: -14px -14px 28px 14px; border: 1px solid var(--gold); border-radius: var(--arch); pointer-events: none; z-index: -1; }

/* Entrada do hero */
.js .hero__mono { animation: sweepIn 1.4s var(--ease) .15s both; }
.js .hero__eyebrow { animation: fadeUp 1s var(--ease) .35s both; }
.js .hero__title .line > span { animation: lineUp 1.2s var(--ease) both; }
.js .hero__title .line:nth-child(1) > span { animation-delay: .45s; }
.js .hero__title .line:nth-child(2) > span { animation-delay: .58s; }
.js .hero__sub { animation: fadeUp 1s var(--ease) .8s both; }
.js .hero__ctas { animation: fadeUp 1s var(--ease) .92s both; }
.js .arch--hero { animation: archIn 1.5s var(--ease) .1s both; }
.js .arch--hero img { animation: zoomOut 2.4s var(--ease) .1s both; }
.js .hero__ring { animation: ringIn 1.6s var(--ease) .6s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes lineUp { from { transform: translateY(105%); } }
@keyframes archIn { from { clip-path: inset(100% 0 0 0 round 999px 999px 14px 14px); } to { clip-path: inset(0 0 0 0 round 999px 999px 14px 14px); } }
@keyframes zoomOut { from { transform: scale(1.18); } }
@keyframes ringIn { from { opacity: 0; transform: translate(-10px, 10px); } }
@keyframes sweepIn {
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; opacity: 0; }
  20% { opacity: 1; }
  to { -webkit-mask-position: 0 0; mask-position: 0 0; }
}
.js .hero__mono, .js .footer__mono {
  -webkit-mask-image: linear-gradient(100deg, #000 40%, transparent 60%); mask-image: linear-gradient(100deg, #000 40%, transparent 60%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%;
  -webkit-mask-position: 0 0; mask-position: 0 0;
}

/* ---------- Revelações ao rolar ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-img > .parallax, .js .rv-img > .frame, .js .rv-img > .arch { clip-path: inset(10% 8% 10% 8% round var(--r)); transition: clip-path 1.4s var(--ease); }
.js .rv-img.in > .parallax, .js .rv-img.in > .frame { clip-path: inset(0 0 0 0 round var(--r)); }
.js .rv-img > .arch { clip-path: inset(100% 0 0 0 round var(--arch)); }
.js .rv-img.in > .arch { clip-path: inset(0 0 0 0 round var(--arch)); }
.js .rv-img > figcaption { opacity: 0; transition: opacity 1s var(--ease) .5s; }
.js .rv-img.in > figcaption { opacity: 1; }

/* ---------- Carta ---------- */
.letter__inner { max-width: 960px; text-align: center; }
.letter__lead { font: 400 clamp(28px, 3.4vw, 46px)/1.3 var(--serif-text); color: var(--forest); text-wrap: balance; }
.letter__lead .w { transition: opacity .6s var(--ease); }
.letter__body { margin: 40px auto 0; max-width: 54ch; color: var(--muted); text-wrap: pretty; }
.letter__sign { margin-top: 36px; font: 500 26px/1.3 var(--serif); color: var(--forest); }
.letter__love { margin: 28px auto 0; padding-top: 28px; border-top: 1px solid var(--gold); max-width: 440px; font: 400 20px/1.4 var(--serif); color: var(--muted); }
.letter__names { display: block; white-space: nowrap; margin-top: 6px; font: 400 clamp(40px, 4vw, 52px)/1.3 var(--script); color: var(--forest); }

/* ---------- Contagem ---------- */
.countdown { background: var(--forest); color: var(--ivory); padding-block: clamp(72px, 9vw, 120px); }
.countdown__inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px; }
.countdown__date { font: 300 clamp(48px, 6.4vw, 92px)/1 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.countdown__weekday { display: block; font: 300 .42em/1.3 var(--serif); color: var(--gold); margin-bottom: .2em; }
.countdown__grid { display: grid; grid-template-columns: repeat(4, auto); gap: 0; }
.unit { display: flex; flex-direction: column; align-items: center; padding: 0 clamp(16px, 2.2vw, 32px); }
.unit + .unit { border-left: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); }
.unit__num { display: flex; font: 300 clamp(44px, 5vw, 72px)/1 var(--serif); font-variant-numeric: tabular-nums lining-nums; }
.unit__label { margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-muted); }
.digit { position: relative; display: inline-block; height: 1em; overflow: hidden; width: .54em; text-align: center; }
.digit__col { display: flex; flex-direction: column; transition: transform .7s var(--ease); transform: translateY(calc(var(--n, 0) * -1em)); }
.digit__col span { height: 1em; line-height: 1; }

/* ---------- Programa ---------- */
.program__inner { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.program__head { position: sticky; top: calc(var(--nav-h) + 40px); }
.program__head .muted { margin-top: 20px; max-width: 36ch; }
.timeline { position: relative; padding-left: 36px; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 5px; top: 12px; bottom: 12px; width: 1px; background: var(--line); }
.timeline::after { background: var(--forest); transform-origin: top; transform: scaleY(var(--p, 1)); }
.tl { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 26px 0; }
.tl + .tl { border-top: 1px solid var(--line); }
.tl::before { content: ""; position: absolute; left: -36px; top: 40px; width: 11px; height: 11px; border-radius: 50%; background: var(--bone); border: 1px solid var(--forest); }
.tl--key::before { background: var(--gold); border-color: var(--gold); }
.tl__time { font: 300 40px/1 var(--serif); color: var(--forest); font-variant-numeric: lining-nums tabular-nums; padding-top: 4px; }
.tl__time--tbc { font: 300 24px/1.6 var(--serif); color: var(--muted); }
.tl__title { font: 500 20px/1.3 var(--sans); }
.tl__place { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--muted); font-size: 15px; }

/* ---------- Locais ---------- */
.venues { padding-bottom: calc(var(--section) * .6); }
.venues__title { margin-top: 16px; max-width: 14ch; }
.venue { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(56px, 8vw, 104px); }
.venue--flip { grid-template-columns: 5fr 7fr; }
.venue--flip .venue__media { order: 2; }
.venue__media { position: relative; }
.venue__media .parallax { overflow: hidden; border-radius: var(--r); aspect-ratio: 3 / 2; background: var(--line); }
.venue__media img { width: 100%; height: 100%; object-fit: cover; }
.venue__media--chapel img { width: 100%; max-width: 440px; margin-inline: auto; }
.js [data-sweep-up] img {
  -webkit-mask-image: linear-gradient(0deg, #000 45%, transparent 75%); mask-image: linear-gradient(0deg, #000 45%, transparent 75%);
  -webkit-mask-size: 100% 300%; mask-size: 100% 300%;
  -webkit-mask-position: 0 0; mask-position: 0 0;
  transition: -webkit-mask-position 2.2s var(--ease), mask-position 2.2s var(--ease);
}
.js [data-sweep-up].in img { -webkit-mask-position: 0 100%; mask-position: 0 100%; }
.parking { margin-top: clamp(48px, 7vw, 88px); max-width: calc(1080px + var(--gutter) * 2); }
.parking .frame { overflow: hidden; border-radius: var(--r); background: var(--line); }
.parking img { width: 100%; height: auto; }
.parking figcaption { margin-top: 14px; font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; }
.parking figcaption strong { color: var(--ink); font-weight: 600; }
.venue__media figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.venue__kind { font: 400 24px/1 var(--serif); color: var(--gold); }
.venue__name { margin-top: 12px; font: 300 clamp(38px, 4.2vw, 56px)/1.04 var(--serif); color: var(--forest); text-wrap: balance; }
.venue__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 18px; color: var(--muted); }
.venue__time { font: 500 18px/1 var(--sans); color: var(--ink); }
.venue__text { margin-top: 18px; color: var(--muted); max-width: 44ch; text-wrap: pretty; }
.maps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.maps .btn { --h: 48px; padding: 0 20px; font-size: 14px; }
.maps .btn i { font-size: 20px; }

/* ---------- Dress code ---------- */
.dress { background: var(--paper); border-block: 1px solid var(--line); }
.dress__inner { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 7vw, 112px); align-items: center; max-width: calc(1040px + var(--gutter) * 2); }
.dress__label { font: 600 13px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.dress__title { margin-top: 16px; font: 400 clamp(44px, 4.6vw, 60px)/1.05 var(--serif); color: var(--forest); }
.dress__text { margin-top: 14px; font-size: 19px; color: var(--ink); text-wrap: balance; }
.dress__avoid { margin-top: 32px; max-width: 420px; padding-top: 24px; border-top: 1px solid var(--line); }
.dress__avoid-title { font: 500 22px/1.3 var(--serif); color: var(--forest); }
.dress__avoid ul { margin-top: 12px; display: grid; gap: 10px; }
.dress__avoid li { display: flex; align-items: center; gap: 12px; }
.dress__avoid i { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; color: var(--error); background: color-mix(in srgb, var(--error) 9%, transparent); }
.dress__fig { justify-self: center; width: min(100%, 320px); }
.dress__art img { width: 100%; height: auto; mix-blend-mode: multiply; }
.js .rv-img > .dress__art { opacity: 0; transform: translateY(28px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js .rv-img.in > .dress__art { opacity: 1; transform: none; }

/* ---------- Estadia (bento) ---------- */
.bento { display: grid; grid-template-columns: 7fr 5fr; gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.tile { border-radius: var(--r); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.tile p { color: var(--muted); text-wrap: pretty; max-width: 46ch; }
.tile__icon { font-size: 34px; color: var(--forest); }
.tile__title { font: 400 clamp(28px, 2.6vw, 36px)/1.1 var(--serif); color: var(--forest); text-wrap: balance; }
.tile__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tile__tag { font-size: 13px; font-weight: 600; color: var(--forest); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: var(--bone); }
.tile .btn { align-self: flex-start; margin-top: auto; }
.tile--feature { background: var(--forest); color: var(--ivory); justify-content: space-between; min-height: 360px; position: relative; overflow: hidden; }
.tile--feature .tile__icon, .tile--feature .tile__title { color: var(--ivory); }
.tile--feature .tile__title { font-size: clamp(34px, 3.4vw, 48px); margin-bottom: 12px; }
.tile--feature p { color: var(--ivory-muted); }
.tile--feature .tile__tag { background: transparent; color: var(--ivory); border-color: color-mix(in srgb, var(--ivory) 30%, transparent); }
.tile--feature .soon { color: var(--muted); }
.tile--feature::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 300px; height: 300px; background: url(assets/monograma-marfim.webp) center/contain no-repeat; opacity: .06; pointer-events: none; }
.tile--hotel { background: var(--paper); border: 1px solid var(--line); }
.tile--more { background: color-mix(in srgb, var(--sage) 22%, var(--bone)); }
.tile--more .tile__title { font-size: 28px; }

/* ---------- RSVP ---------- */
.rsvp { background: var(--forest); color: var(--ivory); padding-block: var(--section); position: relative; overflow: hidden; }
.rsvp::before { content: ""; position: absolute; left: -8vw; bottom: -12vw; width: 46vw; aspect-ratio: 1; background: url(assets/monograma-marfim.webp) center/contain no-repeat; opacity: .05; pointer-events: none; }
.rsvp__inner { position: relative; display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.rsvp__title { margin-top: 18px; font: 300 clamp(48px, 6vw, 84px)/1 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.rsvp__text { margin-top: 24px; color: var(--ivory-muted); max-width: 40ch; text-wrap: pretty; }
.rsvp__text strong { color: var(--ivory); font-weight: 600; }
.card { background: var(--paper); color: var(--ink); border-radius: var(--r); padding: clamp(24px, 3.4vw, 44px); box-shadow: 0 30px 60px -30px rgb(5 20 12 / .55); }
.step { display: flex; flex-direction: column; }
.step[hidden] { display: none; }
.step:not([hidden]) { animation: stepIn .6s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } }
.field__label { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.field__label .opt { font-weight: 400; color: var(--muted); }
.field__row { display: flex; gap: 10px; }
.field__row .field { flex: 1; min-width: 0; }
.field {
  min-height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid #C9C4B6; background: #fff;
  font-size: 16px; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field::placeholder { color: #7A8076; }
.field:hover { border-color: var(--sage); }
.field:focus-visible { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 45%, transparent); }
.field[aria-invalid="true"] { border-color: var(--error); }
.field--sm { min-height: 44px; font-size: 15px; padding: 0 12px; background-color: #fff; color: var(--ink); }
.field--area { padding: 14px 16px; min-height: 96px; resize: vertical; margin-bottom: 20px; }
.field__help { margin-top: 10px; font-size: 14px; color: var(--muted); }
.field__err { font-size: 14px; color: var(--error); font-weight: 500; min-height: 0; }
.field__err:not(:empty) { margin-top: 8px; }
.demo-note { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); }
.step__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.step__hello { font: 400 30px/1.15 var(--serif); color: var(--forest); }
.step__hello strong { font-weight: 500; }
.link--inline { min-height: 0; padding: 0; font-size: inherit; }
.picks { display: grid; gap: 10px; margin: 18px 0 12px; }
.pick { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; text-align: left; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.pick:hover { border-color: var(--forest); }
.pick:active { transform: scale(.99); }
.pick strong { font: 500 22px/1.2 var(--serif); color: var(--forest); }
.pick span { font-size: 14px; color: var(--muted); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice legend { margin-bottom: 10px; }
.choice__opt { position: relative; cursor: pointer; }
.choice__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice__opt span { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 16px; border-radius: 12px; border: 1px solid #C9C4B6; background: #fff; font-size: 15px; font-weight: 500; transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.choice__opt span i { font-size: 22px; }
.choice__opt:hover span { border-color: var(--sage); }
.choice__opt input:checked + span { border-color: var(--forest); background: var(--forest); color: var(--ivory); }
.choice__opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.choice--sm { grid-template-columns: repeat(2, minmax(0, 120px)); }
.choice--sm .choice__opt span { min-height: 48px; justify-content: center; }
.reveal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.reveal > div { display: flex; flex-direction: column; overflow: hidden; min-height: 0; padding-inline: 3px; margin-inline: -3px; }
.reveal.is-open { grid-template-rows: 1fr; }
.reveal > div > :first-child { margin-top: 24px; }
.counts { margin-top: 24px; }
.counts legend { margin-bottom: 4px; }
.count { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.count__label { font-weight: 500; display: flex; flex-direction: column; }
.count__label small { font-weight: 400; font-size: 13px; color: var(--muted); }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--forest); font-size: 18px; transition: border-color .2s var(--ease), transform .15s var(--ease), opacity .2s; }
.stepper button:hover:not(:disabled) { border-color: var(--forest); }
.stepper button:active:not(:disabled) { transform: scale(.92); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 36px; text-align: center; font: 500 24px/1 var(--serif); font-variant-numeric: tabular-nums; color: var(--forest); }
.counts__total { margin-top: 12px; font-size: 14px; color: var(--muted); }
.counts__total.is-err { color: var(--error); font-weight: 500; }
.field--area + .btn, .reveal .btn--block { margin-top: 4px; }
.step--done { align-items: flex-start; outline: none; }
.done__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--ivory); font-size: 30px; animation: pop .8s var(--ease) .1s both; }
.done__title { margin-top: 20px; font: 400 34px/1.1 var(--serif); color: var(--forest); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* ---------- FAQ ---------- */
.faq__inner { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq__head .muted { margin-top: 20px; max-width: 32ch; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa h3 { font: inherit; }
.qa button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; background: none; border: 0; text-align: left; cursor: pointer; font: 400 clamp(22px, 2vw, 27px)/1.25 var(--serif); color: var(--forest); }
.qa button i { flex: none; font-size: 22px; color: var(--forest); transition: transform .5s var(--ease); }
.qa button[aria-expanded="true"] i { transform: rotate(45deg); }
.qa button:hover { color: var(--forest-deep); }
.qa__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.qa__panel > div { overflow: hidden; }
.qa__panel p { padding-bottom: 26px; color: var(--muted); max-width: 56ch; text-wrap: pretty; opacity: 0; transform: translateY(-6px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.qa button[aria-expanded="true"] + .qa__panel, .qa.is-open .qa__panel { grid-template-rows: 1fr; }
.qa.is-open .qa__panel p { opacity: 1; transform: none; transition-delay: .1s; }
.qa__panel a { color: var(--forest); text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ---------- Rodapé ---------- */
.footer { background: var(--forest-deep); color: var(--ivory); padding: clamp(80px, 10vw, 128px) 0 calc(48px + env(safe-area-inset-bottom)); text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; }
.footer__mono { width: 132px; }
.js .footer__mono { -webkit-mask-position: 100% 0; mask-position: 100% 0; transition: -webkit-mask-position 1.8s var(--ease), mask-position 1.8s var(--ease); }
.js .footer__mono.in { -webkit-mask-position: 0 0; mask-position: 0 0; }
.footer__names { margin-top: 24px; font: 400 clamp(52px, 6vw, 80px)/1.3 var(--script); }
.footer__date { margin-top: 12px; color: var(--ivory-muted); }
.footer__contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }
.contact { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 220px; padding: 18px 24px; border: 1px solid color-mix(in srgb, var(--ivory) 18%, transparent); border-radius: var(--r); text-decoration: none; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.contact:hover { border-color: var(--gold); background: color-mix(in srgb, var(--ivory) 4%, transparent); }
.contact__who { font: 400 22px/1.2 var(--serif); color: var(--gold); }
.contact__tel { font-variant-numeric: tabular-nums; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; margin-top: 56px; padding-top: 28px; border-top: 1px solid color-mix(in srgb, var(--ivory) 14%, transparent); width: 100%; }
.footer__nav a { color: var(--ivory-muted); font-size: 14px; text-decoration: none; padding: 10px 0; }
.footer__nav a:hover { color: var(--ivory); }

/* ---------- Barra fixa mobile ---------- */
.dock { display: none; }

/* ---------- Scroll-driven (progressive enhancement) ---------- */
@supports (animation-timeline: view()) {
  .parallax img { animation: parallax linear both; animation-timeline: view(); scale: 1.14; }
  @keyframes parallax { from { transform: translateY(-5%); } to { transform: translateY(5%); } }
  .js .letter__lead .w { opacity: .16; transition: none; animation: wordOn linear both; animation-timeline: view(); animation-range: entry 70% cover 48%; }
  @keyframes wordOn { to { opacity: 1; } }
  .timeline::after { transform: none; animation: drawLine linear both; animation-timeline: view(); animation-range: entry 30% cover 60%; }
  @keyframes drawLine { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
}

@media (max-width: 767px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .nav__cta { display: none; }
  .nav__brand { font-size: 20px; }
  .nav__brand img { width: 34px; }
  .nav__menu { display: grid; place-items: center; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; border-radius: 50%; }
  .burger { position: relative; width: 22px; height: 10px; }
  .burger span { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--forest); transition: transform .45s var(--ease), top .45s var(--ease); }
  .burger span:first-child { top: 0; }
  .burger span:last-child { top: 8.5px; }
  .nav__menu[aria-expanded="true"] .burger span:first-child { top: 4.25px; transform: rotate(45deg); }
  .nav__menu[aria-expanded="true"] .burger span:last-child { top: 4.25px; transform: rotate(-45deg); }
  .nav.is-open { background: var(--bone); }

  .hero { padding-top: calc(var(--nav-h) + 8px); }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; gap: 28px; }
  .hero__media { order: -1; justify-self: center; width: min(78%, 340px); }
  .arch--hero { aspect-ratio: 4 / 4.6; max-height: 42svh; width: auto; margin-inline: auto; }
  .hero__ring { inset: -10px -10px 20px 10px; }
  .hero__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero__mono { display: none; }
  .hero__eyebrow { margin-bottom: 10px; }
  .hero__title { font-size: clamp(54px, 16vw, 76px); }
  .hero__title .line:nth-child(2) { padding-left: .3em; margin-top: -.3em; }
  .hero__sub { margin-top: 16px; font-size: 16px; }
  .hero__ctas { margin-top: 24px; width: 100%; flex-direction: column; }
  .hero__ctas .btn { width: 100%; }

  .countdown__inner { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .countdown__grid { justify-content: center; }
  .unit { padding: 0 12px; }
  .unit__label { font-size: 11px; letter-spacing: .1em; }

  .program__inner, .faq__inner, .rsvp__inner { grid-template-columns: 1fr; }
  .venue__media--chapel img { max-width: 280px; }
  .program__head, .faq__head { position: static; }
  .timeline { padding-left: 28px; }
  .tl { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .tl::before { left: -28px; top: 30px; }
  .tl__time { font-size: 34px; }
  .tl__time--tbc { font-size: 20px; }

  .venue, .venue--flip { grid-template-columns: 1fr; gap: 24px; margin-top: 56px; }
  .venue--flip .venue__media { order: 0; }
  .maps { display: grid; grid-template-columns: 1fr 1fr; }

  .dress__inner { grid-template-columns: 1fr; gap: 40px; }
  .dress__fig { width: min(70%, 260px); }

  .bento { grid-template-columns: 1fr; }
  .tile--feature { min-height: 0; }

  .field__row { flex-direction: column; }
  .choice { grid-template-columns: 1fr; }
  .choice--sm { grid-template-columns: 1fr 1fr; }

  .qa button { padding: 22px 0; }
  .contact { min-width: 0; width: 100%; }

  .dock {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bone) 96%, transparent); box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%); transition: transform .6s var(--ease);
  }
  .dock.is-on { transform: none; }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rv, .js .rv-img > * { opacity: 1; transform: none; clip-path: none; }
  .js .hero__mono, .js .footer__mono, .js [data-sweep-up] img { -webkit-mask-image: none; mask-image: none; }
  .js .letter__lead .w { opacity: 1; }
  .parallax img { scale: 1; }
}
