/* =========================================================================
   Identidade visual: preto & branco, editorial e cinematográfica
   ========================================================================= */
:root {
  --ink: #0d0d0d;
  --ink-2: #1a1a1a;
  --paper: #ffffff;
  --bone: #f3f1ed;
  --paper-card: #fbfaf8;
  --copper: #b88a5f;
  --rose: #8f1d24;
  --gray: #7a7a7a;
  --gray-light: #a9a9a9;
  --line: #dcd9d3;
  --line-dark: rgba(255, 255, 255, .16);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --script: "Pinyon Script", "Cormorant Garamond", cursive;

  --gutter: clamp(16px, 5vw, 64px);
  --max: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
[hidden] { display: none !important; }

/* ---------- utilitários ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--bone { background: var(--bone); }
.section__head { max-width: 640px; margin-bottom: clamp(48px, 7vw, 80px); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 18px;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: rgba(255,255,255,.65); }

.title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.title--sm { font-size: clamp(30px, 4vw, 44px); }
.muted { color: var(--gray); margin: 0; }
.muted--light { color: rgba(255,255,255,.62); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 30px;
  border-radius: 999px;
  font-family: var(--sans); font-size: 12px; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--ink);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s, transform .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.btn:active { transform: scale(.98); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: transparent; color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--glass {
  color: var(--paper); border-color: rgba(255,255,255,.45);
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.04));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 30px rgba(0,0,0,.35);
}
.btn--glass:hover { background: var(--paper); color: var(--ink); }
.section--dark .btn--dark { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.section--dark .btn--dark:hover { background: transparent; color: var(--paper); }
.btn--block { width: 100%; }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 2px solid currentColor; outline-offset: 3px;
}

/* ---------- foto P&B ---------- */
.hero__media img, .casal__photo img, .band img, .presenca__photo img, .prewedding__grid img {
  filter: grayscale(1) contrast(1.06);
}

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  color: var(--paper);
  transition: background .4s, padding .4s, color .4s, box-shadow .4s;
}
.nav.is-scrolled {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--ink); padding-top: 14px; padding-bottom: 14px;
  box-shadow: 0 1px 0 var(--line);
}
.nav__logo {
  font-family: var(--script); font-weight: 400; color: var(--copper);
  font-size: clamp(28px, 3vw, 38px); line-height: 1.2; white-space: nowrap;
  text-decoration: none; padding: 4px 0 0;
  transition: opacity .3s;
}
.nav__logo:hover { opacity: .8; }
.nav:not(.is-scrolled) .nav__logo { text-shadow: 0 1px 14px rgba(0,0,0,.65), 0 0 2px rgba(0,0,0,.4); }
.nav__amp { font-size: .8em; margin: 0 .08em; }
.nav__links { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.nav__links a {
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  text-decoration: none; position: relative; padding: 6px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; }

@media (max-width: 960px) {
  .nav__toggle {
    display: grid; gap: 7px; place-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid currentColor; background: transparent; cursor: pointer; z-index: 2;
  }
  .nav__toggle span { display: block; width: 18px; height: 1px; background: currentColor; transition: transform .35s var(--ease); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0; background: var(--ink); color: var(--paper);
    flex-direction: column; align-items: center; justify-content: center; gap: 22px;
    opacity: 0; pointer-events: none; transition: opacity .4s;
  }
  .nav__links a { font-family: var(--serif); font-size: 30px; letter-spacing: .08em; }
  .nav.is-open { color: var(--paper); background: transparent; box-shadow: none; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav.is-open .nav__logo { position: relative; z-index: 2; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; min-height: 100svh;
  background: var(--ink); color: var(--paper);
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
}
.hero__media { grid-column: 2; position: relative; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; animation: heroZoom 14s var(--ease) both; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(13,13,13,.55) 22%, rgba(13,13,13,0) 55%),
              linear-gradient(0deg, rgba(13,13,13,.55), rgba(13,13,13,0) 40%),
              linear-gradient(180deg, rgba(13,13,13,.55), rgba(13,13,13,0) 22%);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero__content {
  grid-column: 1; grid-row: 1; position: relative; z-index: 2;
  align-self: center; padding: 140px var(--gutter) 120px;
  max-width: 680px; margin-left: auto; width: 100%;
}
.hero__names {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(64px, 9vw, 132px); line-height: .92; letter-spacing: .01em;
  margin: 0 0 28px;
  display: flex; flex-direction: column;
}
.hero__names em { font-family: var(--script); font-style: normal; font-size: .8em; line-height: 1; margin: .05em 0 .05em .9em; color: var(--copper); }
.hero__date {
  font-size: 13px; letter-spacing: .3em; text-transform: uppercase;
  margin: 0 0 34px; padding-top: 26px; border-top: 1px solid var(--line-dark); max-width: 420px;
}
.countdown { display: flex; gap: clamp(18px, 3vw, 34px); margin-bottom: 42px; }
.countdown div { display: flex; flex-direction: column; }
.countdown strong { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 4vw, 48px); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 6px; }

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 40px; z-index: 3;
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.8);
}
.hero__scroll i {
  font-style: normal; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45); display: grid; place-items: center;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(6px); } }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero__media { grid-column: 1; grid-row: 1; position: absolute; inset: 0; }
  .hero__media::after { background: linear-gradient(0deg, var(--ink) 8%, rgba(13,13,13,.6) 45%, rgba(13,13,13,.15) 75%, rgba(13,13,13,.45) 100%); }
  .hero__content { align-self: end; padding-bottom: 110px; margin: 0; }
  .hero__scroll span { display: none; }
  .hero__scroll { bottom: 28px; }
}

/* =========================================================================
   1. CONVITE — só as informações
   ========================================================================= */
.convite { background: var(--paper); }
.convite__wrap { text-align: center; max-width: 900px; }
.convite__texto {
  font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.4vw, 23px); line-height: 1.55;
  max-width: 520px; margin: 0 auto clamp(24px, 4vw, 36px); color: #3b3b3b;
}
.convite__names {
  font-family: var(--script); font-weight: 400; color: var(--copper);
  font-size: clamp(50px, 9vw, 88px); line-height: 1.15; margin: 0 0 clamp(36px, 6vw, 56px);
}
.convite__amp { font-size: .8em; margin: 0 .1em; }
.convite__info {
  display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 clamp(36px, 6vw, 52px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.convite__info > div { padding: clamp(22px, 3.5vw, 34px) 16px; }
.convite__info > div + div { border-left: 1px solid var(--line); }
.convite__info dt { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gray); margin-bottom: 10px; }
.convite__info dd { margin: 0; font-family: var(--serif); font-size: clamp(20px, 2.4vw, 24px); line-height: 1.35; }
.convite__info dd span:first-child { text-transform: capitalize; }
.convite__info small { font-family: var(--sans); font-size: 13px; color: var(--gray); line-height: 1.6; }
.convite__acoes { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 760px) {
  .convite__info { grid-template-columns: 1fr; }
  .convite__info > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: 34px 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.marquee__track {
  display: flex; width: max-content; white-space: nowrap;
  font-family: var(--serif); font-size: clamp(44px, 7vw, 96px); font-weight: 300;
  letter-spacing: .08em; text-transform: uppercase; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px #d5bfa8;
  animation: marquee 40s linear infinite;
}
.marquee__track span { padding-right: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================================
   2. O CASAL
   ========================================================================= */
.casal__grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px;
  position: relative;
}
.casal__text { grid-column: 1 / span 5; grid-row: 1; align-self: start; }
.casal__story p { margin: 0 0 18px; color: #3b3b3b; max-width: 440px; }
.casal__citacao { margin: 30px 0 0; padding-left: 22px; border-left: 1px solid var(--copper); max-width: 440px; }
.casal__citacao p { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.4; color: var(--ink); margin-bottom: 10px; }
.casal__citacao cite { font-style: normal; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--copper); }
.casal__photo { margin: 0; overflow: hidden; }
.casal__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s; }
.casal__photo:hover img { transform: scale(1.04); filter: grayscale(0) contrast(1); }
.casal__photo--tall { grid-column: 8 / span 5; grid-row: 1 / span 2; aspect-ratio: 3/4.2; }
.casal__photo--wide { grid-column: 1 / span 5; grid-row: 2; aspect-ratio: 4/3; margin-top: 40px; }
.casal__photo--wide img { object-position: 50% 12%; }

.badge {
  grid-column: 6 / span 2; grid-row: 2; align-self: end; justify-self: center;
  width: 120px; height: 120px; position: relative; display: grid; place-items: center;
  text-decoration: none; margin-bottom: 20px;
}
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge text { font-family: var(--sans); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; fill: var(--ink); }
.badge span { font-size: 22px; transition: transform .4s var(--ease); }
.badge:hover span { transform: translateX(6px); }
@keyframes spin { to { transform: rotate(360deg); } }

.prewedding { margin-top: clamp(80px, 12vw, 140px); }
.prewedding__head { text-align: center; max-width: 520px; margin: 0 auto 44px; }
.prewedding__head .eyebrow { justify-content: center; }
.prewedding__head .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .6; }
.prewedding__grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(160px, 22vw, 280px);
}
.prewedding__grid > * { margin: 0; overflow: hidden; position: relative; }
.prewedding__grid > :nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.prewedding__grid > :nth-child(6n+4) { grid-row: span 2; }
.prewedding__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); cursor: zoom-in; }
.prewedding__grid img:hover { transform: scale(1.04); }

@media (max-width: 860px) {
  .casal__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .casal__text { grid-column: 1 / -1; }
  .casal__photo--tall { grid-column: 1 / span 1; grid-row: 2; }
  .casal__photo--wide { grid-column: 2 / span 1; grid-row: 2; margin-top: 64px; aspect-ratio: 3/4; }
  .badge { grid-column: 1 / -1; grid-row: 3; justify-self: end; width: 100px; height: 100px; margin: -50px 10px 0 0; background: var(--paper); border-radius: 50%; }
  .prewedding__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; }
  .prewedding__grid > :nth-child(6n+1) { grid-column: span 2; grid-row: span 1; }
  .prewedding__grid > :nth-child(6n+4) { grid-row: span 1; }
}

/* ---------- faixa ---------- */
/* foto inteira (sem corte), com as bordas de cima e de baixo se dissolvendo nas seções vizinhas */
.band {
  --fade: linear-gradient(180deg, transparent 0, #000 9%, #000 90%, transparent 100%);
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--paper) 50%, var(--bone) 50%);
}
.band img { display: block; width: 100%; height: auto; -webkit-mask-image: var(--fade); mask-image: var(--fade); }
.band__overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.42), rgba(0,0,0,.14) 75%);
  -webkit-mask-image: var(--fade); mask-image: var(--fade);
}
.band__quote { font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--paper); text-align: center; font-size: clamp(22px, 5vw, 58px); line-height: 1.15; margin: 0; padding: 0 var(--gutter); }

/* =========================================================================
   3. CRONOGRAMA — linha do tempo vertical com ícones
   ========================================================================= */
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .6; }

.crono {
  --icon-col: 132px; --mark-col: 48px;
  position: relative; overflow: hidden;
  max-width: 780px; margin: 0 auto;
  background: var(--paper-card);
  padding: clamp(56px, 8vw, 96px) clamp(20px, 6vw, 72px) clamp(48px, 7vw, 80px);
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.25);
}
.crono > * { position: relative; z-index: 1; }
.crono__wash {
  position: absolute !important; z-index: 0 !important; pointer-events: none;
  border-radius: 46% 54% 60% 40% / 50% 40% 60% 50%;
  background:
    repeating-linear-gradient(118deg, rgba(255,255,255,.22) 0 2px, transparent 2px 10px),
    radial-gradient(ellipse at 35% 35%, #e6d6c6 0%, #c9b6a2 55%, #a99886 100%);
  opacity: .5;
}
.crono__wash--tr { width: 200px; height: 420px; top: -90px; right: -120px; transform: rotate(-10deg); }
.crono__wash--bl { width: 380px; height: 260px; bottom: -130px; left: -150px; transform: rotate(18deg); }

.crono__names {
  font-family: var(--script); font-weight: 400; text-align: center; color: var(--copper);
  font-size: clamp(46px, 8vw, 78px); line-height: 1.15; margin: 0 0 clamp(36px, 6vw, 56px);
}
.crono__list { list-style: none; margin: 0 auto; padding: 0; max-width: 560px; position: relative; }
.crono__list::before {
  content: ""; position: absolute; top: 10px; bottom: 10px;
  left: calc(var(--icon-col) + var(--mark-col) / 2); width: 1px; background: var(--ink);
}
.crono__item { display: grid; grid-template-columns: var(--icon-col) var(--mark-col) 1fr; align-items: center; padding: 18px 0; }
.crono__icon { display: grid; place-items: center; }
.crono__icon svg { width: 86px; height: 86px; fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.crono__mark { display: grid; place-items: center; }
.crono__mark svg { width: 18px; height: 18px; fill: var(--rose); }
.crono__text time { display: block; font-family: var(--serif); font-style: italic; font-size: 25px; color: var(--gray); line-height: 1.2; }
.crono__text h3 { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; margin: 4px 0 2px; line-height: 1.25; }
.crono__text p { font-family: var(--serif); font-size: 17px; line-height: 1.4; color: #555; margin: 0; }
.crono__note {
  font-family: var(--serif); font-weight: 500; font-size: 18px; line-height: 1.5; text-align: center;
  max-width: 520px; margin: clamp(32px, 5vw, 48px) auto 0;
}
@media (max-width: 600px) {
  .crono { --icon-col: 70px; --mark-col: 34px; }
  .crono__icon svg { width: 58px; height: 58px; }
  .crono__text time { font-size: 21px; }
  .crono__text h3 { font-size: 16px; }
  .crono__text p { font-size: 15px; }
}

/* =========================================================================
   4. LOCAL
   ========================================================================= */
.local__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.local__nome { font-size: 13px; letter-spacing: .26em; text-transform: uppercase; margin: 0 0 8px; }
.local__end { font-family: var(--serif); font-size: 24px; line-height: 1.35; margin: 0 0 14px; }
.local__btns { display: flex; flex-direction: column; gap: 12px; margin-top: 34px; max-width: 340px; }
.local__map { aspect-ratio: 4/3; border: 1px solid var(--line); overflow: hidden; background: var(--bone); }
.local__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
@media (max-width: 860px) {
  .local__grid { grid-template-columns: 1fr; }
  .local__btns { max-width: none; }
}

/* =========================================================================
   5. MANUAL DO CONVIDADO — cartão de dress code ilustrado
   ========================================================================= */
.dc {
  position: relative; overflow: hidden;
  max-width: 1060px; margin: 0 auto;
  background: var(--paper-card);
  padding: clamp(40px, 6vw, 72px) clamp(18px, 5vw, 64px) clamp(32px, 5vw, 56px);
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.25);
}
/* sem z-index aqui: assim os manequins conseguem se fundir (multiply) com o papel do cartão */
.dc > :not(.dc__leaf) { position: relative; }
.dc__leaf { position: absolute; z-index: 0; width: 170px; height: 170px; color: #dccbb9; pointer-events: none; }
.dc__leaf--tr { top: -18px; right: -18px; transform: rotate(-90deg); }
.dc__leaf--bl { bottom: -18px; left: -18px; transform: rotate(90deg); }

.dc__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 16px; }
.dc__mono {
  color: var(--copper); border-color: var(--copper) !important;
  justify-self: start; display: flex; flex-direction: column;
  font-family: var(--script); font-size: 50px; line-height: .8;
  padding: 4px 22px 8px 0; border-right: 1px solid var(--ink);
}
.dc__mono span:last-child { margin-left: 22px; }
.dc__heading { text-align: center; }
.dc__names { font-family: var(--serif); font-size: clamp(17px, 2.3vw, 25px); letter-spacing: .2em; text-transform: uppercase; margin: 0; }
.dc__names em { color: var(--copper); font-family: var(--script); font-style: normal; font-size: 1.9em; letter-spacing: 0; vertical-align: -.2em; margin: 0 .1em; }
.dc__small { font-size: 11px; letter-spacing: .42em; text-transform: uppercase; margin: 2px 0 4px; color: #555; }
.dc__date { font-family: var(--serif); font-size: 23px; letter-spacing: .22em; margin: 0; }
.dc__forever { justify-self: end; text-align: center; margin: 4px 70px 0 0; font-size: 10px; letter-spacing: .32em; line-height: 2; text-transform: uppercase; color: var(--gray); }

.dc__title {
  text-align: center; font-family: var(--serif); font-weight: 500; text-transform: uppercase;
  font-size: clamp(42px, 6.4vw, 70px); line-height: 1; letter-spacing: .04em; margin: clamp(28px, 4vw, 40px) 0 0;
}
.dc__script { text-align: center; font-family: var(--script); font-size: clamp(34px, 5vw, 50px); line-height: 1.25; margin: 0 0 clamp(28px, 4vw, 40px); }

.dc__cols { display: grid; grid-template-columns: 1fr 1fr; }
.dc__col { padding: 0 clamp(12px, 2.4vw, 32px); display: flex; flex-direction: column; }
.dc__col + .dc__col { border-left: 1px solid var(--line); }
.dc__tag {
  align-self: center; margin: 0;
  font-family: var(--serif); font-weight: 500; font-size: 21px; letter-spacing: .22em; text-transform: uppercase;
  padding: 9px 46px 8px;
  background: linear-gradient(90deg, #ddd0c2, #ccbcab 50%, #dacdbf);
  clip-path: polygon(3% 14%, 22% 4%, 50% 10%, 78% 2%, 99% 12%, 96% 50%, 100% 88%, 72% 96%, 44% 90%, 18% 100%, 1% 86%, 4% 50%);
}
.dc__body { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 4px; margin: 26px 0 22px; flex: 1; }
.dc__figure { margin: 0; }
.dc__figure svg { display: block; width: 100%; max-height: 540px; }
.dc__manequim {
  display: block; width: 100%; max-height: 560px; object-fit: contain;
  /* clareia o fundo da imagem e funde com o papel do cartão */
  filter: brightness(1.07) contrast(1.04); mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%);
}
.dc__details { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.dc__details li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-family: var(--serif); font-size: 18px; line-height: 1.2; }
.dc__circle {
  position: relative; flex: none;
  width: 96px; height: 96px; border-radius: 50%;
  border: 1px solid #8f8b85; background: var(--bone);
  display: grid; place-items: center;
}
.dc__details .dc__circle::before { content: ""; position: absolute; right: 100%; top: 50%; width: clamp(14px, 3vw, 40px); height: 1px; background: #8f8b85; }
.dc__circle img { width: 60%; height: 60%; object-fit: contain; }
.dc__circle svg { width: 58%; height: 58%; fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

.dc__avoid { background: #efece7; border-radius: 12px; padding: 18px 20px 20px; }
.dc__avoid-title { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; }
.dc__avoid-title svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.7; }
.dc__avoid-body { display: flex; align-items: center; gap: 18px; }
.dc__avoid-body p { margin: 0; font-size: 14px; color: #444; }
.dc__avoid-ico { flex: none; width: 64px; height: 64px; }
.dc__swatches { justify-content: center; gap: clamp(20px, 5vw, 48px); }
.dc__sw { display: flex; flex-direction: column; align-items: center; gap: 4px; font-family: var(--serif); font-size: 17px; line-height: 1.1; }
.dc__sw small { font-family: var(--sans); font-size: 11px; color: var(--gray); }
.dc__sw i { position: relative; width: 62px; height: 62px; border-radius: 50%; border: 1px solid #b9b5ae; margin-bottom: 4px; }
.dc__sw i::before, .dc__sw i::after { content: ""; position: absolute; left: 50%; top: 20%; bottom: 20%; width: 1px; background: #666; transform: rotate(45deg); }
.dc__sw i::after { transform: rotate(-45deg); }
.dc__sw--white { background: #fff; }
.dc__sw--black { background: #111; border-color: #111 !important; }
.dc__sw--black::before, .dc__sw--black::after { background: #ddd !important; }

.dc__notes { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); padding-top: 26px; }
.dc__note { display: flex; gap: 16px; align-items: flex-start; padding: 0 clamp(10px, 2vw, 24px); }
.dc__note + .dc__note { border-left: 1px solid var(--line); }
.dc__circle--sm { width: 62px; height: 62px; }
.dc__note h4 { margin: 2px 0 6px; font-size: 12px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; }
.dc__note p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #555; }
.combinado { border: 0; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; scroll-margin-top: 140px; border-radius: 8px; }
.combinado legend { padding: 0; margin-bottom: 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--copper); }
.combinado label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 13.5px; line-height: 1.45; color: #3b3b3b; }
.combinado input {
  appearance: none; flex: none; width: 18px; height: 18px; margin: 1px 0 0;
  border: 1px solid #a9a39a; border-radius: 4px; background: var(--paper); cursor: pointer;
  display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.combinado input::after { content: ""; width: 5px; height: 9px; border: solid var(--paper); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg) scale(0); transition: transform .2s; }
.combinado input:checked { background: var(--copper); border-color: var(--copper); }
.combinado input:checked::after { transform: translateY(-1px) rotate(45deg) scale(1); }
.combinado input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.combinado label:has(:checked) { color: var(--ink); }
.combinado.is-alerta { animation: alerta 1.6s var(--ease) .4s; }
@keyframes alerta { 0%, 100% { box-shadow: 0 0 0 0 rgba(184,138,95,0); } 30% { box-shadow: 0 0 0 10px rgba(184,138,95,.25); background: rgba(184,138,95,.08); } }
.form-msg a { color: inherit; font-weight: 400; text-underline-offset: 4px; }

.dc__footer {
  margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase; text-align: center;
}
.dc__sprig { width: 54px; height: 22px; color: #9f9b94; }

@media (max-width: 860px) {
  .dc__top { grid-template-columns: auto 1fr; }
  .dc__forever { display: none; }
  .dc__mono { font-size: 38px; padding-right: 14px; }
  .dc__heading { text-align: right; }
  .dc__cols { grid-template-columns: 1fr; }
  .dc__col + .dc__col { border-left: 0; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 32px; }
  .dc__notes { grid-template-columns: 1fr; gap: 22px; }
  .dc__note + .dc__note { border-left: 0; }
}
@media (max-width: 480px) {
  .dc__circle { width: 78px; height: 78px; }
  .dc__details li { font-size: 16px; }
  .dc__body { grid-template-columns: 1.2fr 1fr; }
  .dc__tag { font-size: 18px; padding: 8px 34px 7px; }
  .dc__names { letter-spacing: .12em; }
}

/* =========================================================================
   6. CONFIRMAÇÃO DE PRESENÇA
   ========================================================================= */
.presenca__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 100px); align-items: center; }
.presenca__photo { margin: 0; aspect-ratio: 3/4; overflow: hidden; }
.presenca__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.aviso { margin: 18px 0 32px; padding: 16px 20px; border-left: 2px solid var(--ink); background: var(--bone); font-size: 15px; }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field > span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gray); }
.field small { text-transform: none; letter-spacing: 0; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid #bdbab4; background: transparent;
  padding: 10px 0; font-size: 17px; border-radius: 0; resize: vertical;
  transition: border-color .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.choice { border: 0; margin: 4px 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice legend { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gray); margin-bottom: 12px; padding: 0; }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 54px; padding: 8px 14px; border: 1px solid #bdbab4; font-size: 14px;
  transition: all .3s;
}
.choice input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.form-msg { min-height: 1.4em; margin: 0 0 14px; font-size: 14px; }
.form-msg.is-error { color: #b3261e; }
.form-msg.is-ok { color: var(--ink); }

.presenca__done { text-align: center; padding: 40px 0; }
.presenca__done h3 { font-family: var(--script); font-weight: 400; font-size: 64px; margin: 0 0 10px; line-height: 1.1; }

@media (max-width: 860px) {
  .presenca__grid { grid-template-columns: 1fr; }
  .presenca__photo { aspect-ratio: 4/3; }
  .field-row, .choice { grid-template-columns: 1fr; gap: 0 10px; }
  .choice { gap: 10px; }
}

/* =========================================================================
   7. LISTA DE PRESENTES
   ========================================================================= */
.presentes__intro { font-size: 17px; }
/* ---------- chamada para a lista no Casar.com ---------- */
.casa-cta {
  margin-top: clamp(40px, 6vw, 64px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(255,255,255,.22); border-radius: 18px;
  background: linear-gradient(120deg, rgba(184,138,95,.18), rgba(255,255,255,.03) 60%);
  text-decoration: none; color: var(--paper);
  transition: border-color .4s, transform .5s var(--ease);
}
.casa-cta:hover { border-color: var(--copper); }
.casa-cta__botoes { display: flex; flex-wrap: wrap; gap: 12px; }
.casa-cta__texto { display: flex; flex-direction: column; gap: 6px; max-width: 560px; }
.casa-cta__texto .eyebrow { margin-bottom: 4px; }
.casa-cta strong { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; }
.casa-cta__sub { color: rgba(255,255,255,.6); font-size: 15px; }
@media (max-width: 600px) { .casa-cta__botoes, .casa-cta__botoes .btn { width: 100%; } .casa-cta__botoes .btn { padding: 0 18px; letter-spacing: .16em; } }

.presentes__pix { margin: 28px 0 0; text-align: center; color: rgba(255,255,255,.6); font-size: 15px; }
.link-btn {
  margin-left: 6px; padding: 0; border: 0; background: none; color: var(--paper); cursor: pointer;
  font: inherit; text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 5px;
}
.link-btn:hover { color: var(--copper); }

/* ---------- modal ---------- */
.modal {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100svh - 32px);
  border: 0; padding: clamp(28px, 5vw, 44px); background: var(--paper); color: var(--ink);
  box-shadow: 0 40px 120px rgba(0,0,0,.5);
}
.modal::backdrop { background: rgba(10,10,10,.72); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal__close {
  position: absolute; top: 14px; right: 14px; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 50%; background: none; font-size: 24px; line-height: 1; cursor: pointer;
}
.modal__close:hover { border-color: var(--ink); }
.modal__title { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 4vw, 32px); line-height: 1.15; margin: 0 40px 8px 0; }
.modal__valor { font-family: var(--serif); font-size: 26px; margin: 0 0 24px; color: var(--gray); }
.modal__pix { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: start; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.modal__qr { width: 170px; aspect-ratio: 1; display: grid; place-items: center; background: var(--bone); }
.modal__qr img, .modal__qr svg { width: 100%; height: auto; display: block; }
.modal__qr .qr-vazio { font-size: 12px; color: var(--gray); text-align: center; padding: 14px; }
.modal__step { font-size: 14px; margin: 0 0 14px; color: #3b3b3b; }
.copy { display: flex; gap: 8px; margin-bottom: 12px; }
.copy input { flex: 1; min-width: 0; border: 1px solid var(--line); padding: 0 12px; font-size: 12px; font-family: ui-monospace, Consolas, monospace; background: var(--bone); }
.copy .btn { padding: 0 18px; min-height: 44px; }
.modal__recado { padding-top: 22px; }
.modal__recado .field { margin-bottom: 16px; }
@media (max-width: 560px) {
  .modal__pix { grid-template-columns: 1fr; justify-items: center; }
  .modal__qr { width: 200px; }
  .modal__pix-info { width: 100%; }
}

/* ---------- rodapé ---------- */
.footer { background: var(--ink); color: var(--paper); text-align: center; padding: 80px var(--gutter) 48px; border-top: 1px solid var(--line-dark); }
.footer__names { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 6vw, 64px); margin: 0; line-height: 1.1; }
.footer__names em { font-family: var(--script); font-style: normal; font-size: .7em; color: var(--copper); }
.footer__date { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; margin: 14px 0 50px; color: rgba(255,255,255,.7); }
.footer__small { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.35); margin: 0; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--paper); padding: 14px 24px; border-radius: 999px;
  font-size: 13px; letter-spacing: .06em; opacity: 0; pointer-events: none; transition: all .4s var(--ease);
  border: 1px solid rgba(255,255,255,.2);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- página da moldura ---------- */
.pagina-moldura { background: var(--ink); color: var(--paper); }
.pagina-moldura .nav.is-scrolled { background: rgba(13,13,13,.85); color: var(--paper); box-shadow: 0 1px 0 var(--line-dark); }
.nav__voltar { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; }
.nav__voltar:hover { text-decoration: underline; text-underline-offset: 6px; }
.moldura {
  width: 100%; max-width: 460px; margin: 0 auto;
  padding: clamp(110px, 14vw, 150px) 16px max(40px, env(safe-area-inset-bottom));
}
.moldura__head { margin-bottom: 28px; }
.moldura__head .title { margin-bottom: 18px; }
.moldura__head .is-aviso { color: #f2b8a8; }
.moldura__palco { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.moldura__canvas { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: #1a1a1a; transition: filter .3s; }
.moldura__canvas.is-flash { filter: brightness(2.2); transition: none; }
.moldura__video { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.moldura__contagem {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  font-family: var(--serif); font-size: 160px; font-weight: 300; color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.moldura__contagem:empty { display: none; }
.moldura__acoes { display: grid; gap: 12px; margin-top: 22px; }
.moldura__acoes--camera { grid-template-columns: 1fr auto 1fr; align-items: center; justify-items: center; }
.moldura__disparo {
  width: 76px; height: 76px; border-radius: 50%; cursor: pointer;
  border: 4px solid var(--paper); background: var(--paper); box-shadow: inset 0 0 0 4px var(--ink);
  transition: transform .2s;
}
.moldura__disparo:active { transform: scale(.92); }
.moldura__mini {
  min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.3); background: none; color: var(--paper);
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
}
.moldura__mini[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.btn--line-light { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.45); cursor: pointer; }
.btn--line-light:hover { background: var(--paper); color: var(--ink); }
.field--light > span { color: rgba(255,255,255,.6); }
.field--light input { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.35); }
.field--light input:focus { border-color: var(--paper); }
.moldura .field { margin-bottom: 12px; }
.moldura .link-btn { justify-self: center; margin: 4px 0 0; font-size: 14px; }
.moldura .form-msg { text-align: center; margin: 0; }
.moldura__dica { margin: 12px 0 0; text-align: center; font-size: 13.5px; color: rgba(255,255,255,.6); }
.moldura__dica a { color: var(--paper); text-decoration-color: var(--copper); text-underline-offset: 4px; }
.moldura .form-msg.is-ok { color: var(--paper); }
.moldura .form-msg.is-error { color: #f2b8a8; }
.dc__link { display: inline-block; margin-top: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 5px; }
.dc__link:hover { color: var(--copper); }

/* ---------- botão da música ---------- */
.musica {
  position: fixed; left: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 18px 0 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25); background: rgba(13,13,13,.82); color: var(--paper);
  backdrop-filter: blur(8px); cursor: pointer;
  font: 400 10px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  transition: border-color .3s;
}
.musica:hover { border-color: var(--copper); }
.musica__barras { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; }
.musica__barras i { width: 2px; height: 4px; background: var(--copper); }
.musica.is-on .musica__barras i { animation: barra 1s ease-in-out infinite; }
.musica.is-on .musica__barras i:nth-child(2) { animation-delay: -.4s; }
.musica.is-on .musica__barras i:nth-child(3) { animation-delay: -.7s; }
@keyframes barra { 0%, 100% { height: 4px; } 50% { height: 14px; } }
@media (prefers-reduced-motion: reduce) { .musica.is-on .musica__barras i { animation: none; height: 10px; } }

/* ---------- animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
