/* ==========================================================
   Letícia & Guilherme · Site do casamento
   Universo visual · Valadares Studio

   Identidade do noivado: Cormorant Garamond nos textos, a
   assinatura em Slight nos nomes e uma caligrafia legível
   (Pinyon Script) nos títulos. Barroco mineiro: molduras do
   brasão, ornamentos e as serras de Minas ao fundo.
   ========================================================== */

:root {
  --ivory: #F3F0E7;
  --stone: #E6E2D4;
  --paper: #EEEADB;
  --jade: #BCB893;
  --olive: #6E6B49;
  --forest: #474329;
  --earth: #332C0F;
  --ink: #2A2613;
  --muted: #5C5844;
  --on-dark: #F1EEE4;
  --on-dark-2: rgba(241, 238, 228, .76);
  --line: rgba(42, 38, 19, .16);
  --line-strong: rgba(42, 38, 19, .3);
  --line-l: rgba(241, 238, 228, .24);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --ease: cubic-bezier(.22, .61, .21, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --max: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; font-variant-numeric: lining-nums;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--forest); }
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.wrap {
  width: 100%; max-width: var(--max); margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

/* ---------- Tipografia ---------- */
.label {
  font-family: var(--serif); font-size: 12.5px; font-weight: 600; line-height: 1.5;
  letter-spacing: .32em; text-transform: uppercase; color: var(--olive);
}
.label--light { color: var(--jade); }
.title {
  font-family: var(--script); font-weight: 400; font-size: clamp(46px, 5.4vw, 76px); line-height: 1.25;
  color: var(--ink); text-wrap: balance; padding-bottom: .05em;
}
.title--sm { font-size: clamp(40px, 4.2vw, 58px); }
.title--light { color: var(--on-dark); }
.subtitle { font-family: var(--script); font-weight: 400; font-size: 38px; line-height: 1.2; color: var(--olive); }
.page-title { font-family: var(--script); font-weight: 400; font-size: clamp(60px, 8.6vw, 124px); line-height: 1.15; color: var(--on-dark); text-wrap: balance; }
.page-lead { max-width: 30em; margin: 18px auto 0; font-style: italic; font-size: 21px; color: var(--on-dark-2); }
p { color: var(--muted); text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

.more {
  display: inline-block; margin-top: 18px; font-size: 12.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); padding-bottom: 4px; border-bottom: 1px solid var(--line-strong); transition: border-color .4s, color .4s;
}
.more:hover { border-color: currentColor; }
.more--light { color: var(--on-dark); border-color: var(--line-l); }

/* ---------- Máscaras ---------- */
.brasao, .nomes, .ill, .orn, .cartouche__frame { display: inline-block; background-color: currentColor; }
.brasao { -webkit-mask: url("assets/brasao.png") center / contain no-repeat; mask: url("assets/brasao.png") center / contain no-repeat; aspect-ratio: 441 / 655; }
.nomes { -webkit-mask: url("assets/nomes.png") center / contain no-repeat; mask: url("assets/nomes.png") center / contain no-repeat; aspect-ratio: 1201 / 174; max-width: 100%; }
.ill { -webkit-mask: url("assets/igreja.png") center bottom / contain no-repeat; mask: url("assets/igreja.png") center bottom / contain no-repeat; aspect-ratio: 1393 / 884; width: 100%; color: var(--olive); }
.ill--small { width: min(210px, 56%); margin-bottom: 44px; }
.orn { width: 40px; aspect-ratio: 455 / 540; color: var(--olive); -webkit-mask: url("assets/ornamento-topo.svg") center / contain no-repeat; mask: url("assets/ornamento-topo.svg") center / contain no-repeat; }
.orn--light { color: var(--jade); }
.orn--base { width: 70px; aspect-ratio: 555 / 430; margin-top: 30px; -webkit-mask-image: url("assets/ornamento-base.svg"); mask-image: url("assets/ornamento-base.svg"); }

/* Cartela barroca: a moldura do brasão com um numeral dentro */
.cartouche { position: relative; width: var(--w, 112px); aspect-ratio: 1460 / 2165; display: grid; place-items: center; color: var(--olive); flex: none; }
.cartouche__frame { position: absolute; inset: 0; -webkit-mask: url("assets/moldura.svg") center / contain no-repeat; mask: url("assets/moldura.svg") center / contain no-repeat; }
.cartouche__num { position: relative; top: 4%; font-family: var(--serif); font-weight: 500; font-size: calc(var(--w, 112px) * .3); letter-spacing: .04em; color: var(--ink); }
.cartouche--sm { --w: 84px; }

/* ---------- Movimento ---------- */
.js .rv { opacity: 0; transform: translateY(24px); }
.rv { transition: opacity 1s var(--ease), transform 1.2s var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms); }
.rv.is-in { opacity: 1; transform: none; }
.view { animation: viewIn .7s var(--ease) both; }
.view.is-leaving { opacity: 0; transition: opacity .32s ease; animation: none; }
@keyframes viewIn { from { opacity: 0; } to { opacity: 1; } }
.js .p-in { opacity: 0; }
.view.is-entering .p-in { animation: rise 1.1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 120ms + 150ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; } }

/* ---------- Navegação ---------- */
.nav { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; color: var(--on-dark); transition: background .6s var(--ease), color .6s var(--ease), box-shadow .6s var(--ease), opacity .8s var(--ease), transform .8s var(--ease); }
.nav.is-hidden { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.nav__inner {
  max-width: 1440px; margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-block: 18px;
  padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); transition: padding .6s var(--ease);
}
.nav.is-solid { background: rgba(243, 240, 231, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nav.is-solid .nav__inner { padding-block: 10px; }
.nav__logo { display: flex; width: 30px; }
.nav__logo .brasao { width: 100%; }
.nav__links { display: flex; gap: clamp(22px, 2.8vw, 42px); }
.nav__links a { position: relative; font-size: 12.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; text-decoration: none; padding-block: 6px; opacity: .82; transition: opacity .4s; }
.nav__links a:hover, .nav__links a.is-current { opacity: 1; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: .26em; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.nav__links a.is-current::after { transform: scaleX(1); }
.nav__links-rsvp { display: none; }
.nav__rsvp { justify-self: end; text-decoration: none; border: 1px solid currentColor; border-radius: 50%; padding: 9px 24px 10px; font-style: italic; font-size: 19px; line-height: 1.1; transition: background .4s var(--ease), color .4s var(--ease); }
.nav__rsvp:hover { background: var(--on-dark); color: var(--forest); }
.nav.is-solid .nav__rsvp:hover { background: var(--forest); color: var(--ivory); }
.nav__toggle { display: none; justify-self: end; background: none; border: 0; width: 42px; height: 42px; position: relative; cursor: pointer; }
.nav__toggle span { position: absolute; left: 9px; right: 9px; height: 1px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav.is-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Cenas com as serras de Minas ---------- */
.scene { position: relative; color: var(--on-dark); background-color: var(--forest); background-image: linear-gradient(180deg, rgba(36, 33, 16, .62), rgba(36, 33, 16, .5) 45%, rgba(36, 33, 16, .78)), url("assets/serra.jpg"); background-size: cover; background-position: center 64%; }
.scene p { color: var(--on-dark-2); }

/* ---------- Capa ---------- */
.hero { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 110px 0 120px; overflow: hidden; background-position: 62% 72%; }
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; width: 100%; padding-inline: 20px; }
.crest { width: clamp(96px, 8.6vw, 124px); aspect-ratio: 1460 / 2165; position: relative; margin-bottom: 30px; color: var(--on-dark); transition: transform 1.5s var(--ease-out); }
.crest.is-intro { transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--sc, 2.4)); transition: none; }
.crest__fallback { width: 100%; opacity: 0; }
.crest.is-ready .crest__fallback { display: none; }
.crest.is-fallback .crest__fallback { animation: fade 1.4s var(--ease) .5s forwards; }
.crest svg { width: 100%; height: 100%; display: block; overflow: visible; }
.crest .stroke path { fill: none; stroke: var(--on-dark); stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; }
.crest .stroke .lg path { stroke-width: 2.2; }
.crest .fill { fill: var(--on-dark); opacity: 0; }
.crest.is-drawing .stroke path { animation: draw var(--dur, 2s) var(--ease) forwards; animation-delay: var(--delay, 0s); }
.crest.is-drawing .fill--frame { animation: fade 1.2s var(--ease) 2.6s forwards; }
.crest.is-drawing .fill--lg { animation: fade 1s var(--ease) 4.3s forwards; }
.crest.is-drawing .stroke { animation: fadeOut .9s var(--ease) 4.7s forwards; }
.crest.is-done .fill { opacity: 1; }
.crest.is-done .stroke { opacity: 0; }

.js .h-in { opacity: 0; transform: translateY(16px); filter: blur(8px); }
.h-in { transition: opacity 1.3s var(--ease), transform 1.4s var(--ease-out), filter 1.3s var(--ease); transition-delay: calc(var(--i, 0) * 170ms + 250ms); }
.hero.is-revealed .h-in { opacity: 1; transform: none; filter: none; }

.hero__date { font-style: italic; font-size: clamp(20px, 1.8vw, 24px); color: var(--jade) !important; }
.hero__names { width: min(820px, 92vw); margin: 14px 0 22px; line-height: 0; }
.hero__names .nomes { width: 100%; color: var(--on-dark); }

/* Contagem em cartelas barrocas */
.count { display: flex; justify-content: center; gap: clamp(14px, 3vw, 44px); margin-top: clamp(40px, 6vh, 60px); }
.count__item { --w: clamp(72px, 7.4vw, 100px); position: relative; width: var(--w); aspect-ratio: 1460 / 2165; display: grid; place-items: center; color: var(--jade); }
.count__frame { position: absolute; inset: 0; background-color: currentColor; -webkit-mask: url("assets/moldura.svg") center / contain no-repeat; mask: url("assets/moldura.svg") center / contain no-repeat; }
.count__item b { position: relative; top: 4%; font-weight: 500; font-size: calc(var(--w) * .34); color: var(--on-dark); font-variant-numeric: lining-nums tabular-nums; letter-spacing: .01em; }
.count__item small { position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 0; font-size: 11.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--on-dark-2); white-space: nowrap; }

.hero__cue { position: absolute; left: 50%; bottom: max(28px, env(safe-area-inset-bottom, 0px)); translate: -50% 0; z-index: 1; width: 1px; height: 54px; }
.hero__cue i { position: absolute; inset: 0; background: var(--line-l); overflow: hidden; }
.hero__cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--on-dark); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ---------- Seções ---------- */
.sec { position: relative; padding-block: clamp(88px, 11vw, 150px); }
.sec--ivory { background: var(--ivory); }
.sec--stone { background: var(--stone); }
.scene--band { background-position: center 78%; background-image: linear-gradient(180deg, rgba(36, 33, 16, .8), rgba(36, 33, 16, .74)), url("assets/serra.jpg"); }
.head { display: grid; justify-items: center; text-align: center; margin-bottom: clamp(44px, 6vw, 76px); }
.head .orn { margin-bottom: 18px; }
.head .label + .title { margin-top: 6px; }
.head__text { max-width: 34em; margin-top: 16px; font-size: 20px; }

/* Detalhes: cartão do convite */
.invite {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  background: var(--ivory); padding: clamp(36px, 5vw, 72px); border: 1px solid rgba(110, 107, 73, .45); outline: 1px solid rgba(110, 107, 73, .45); outline-offset: -12px;
}
.invite__art { min-width: 0; text-align: center; }
.invite__art figcaption { margin-top: 18px; font-style: italic; font-size: 18px; color: var(--olive); }
.invite__info { min-width: 0; display: grid; }
.detail { padding-block: 22px; }
.detail + .detail { border-top: 1px solid var(--line); }
.detail__big { margin-top: 2px; font-size: 24px; color: var(--ink) !important; }
.detail p:not(.detail__big) { font-size: 18px; }

/* Recepção */
.venue { min-height: 76vh; display: grid; align-items: center; text-align: center; background-image: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(30, 27, 12, .5), rgba(30, 27, 12, 0) 75%), linear-gradient(180deg, rgba(36, 33, 16, .58), rgba(36, 33, 16, .72)), url("assets/fotos/vila-gale-jardim.jpg"), url("assets/serra.jpg"); background-size: cover, cover, cover, cover; background-position: center, center, center 62%, 30% 80%; padding-block: 120px; }
.venue__inner { display: grid; justify-items: center; }
.venue .title { font-size: clamp(64px, 8vw, 116px); margin-top: 4px; }
.venue__text { max-width: 30em; margin-top: 10px; font-size: 21px; }

/* Portas para as páginas */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.door { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 44px 20px 40px; text-decoration: none; border: 1px solid var(--line); transition: border-color .5s, background .5s, transform .7s var(--ease-out); }
.door .cartouche { margin-bottom: 14px; transition: color .5s; }
.door__title { font-family: var(--script); font-size: clamp(38px, 3.4vw, 48px); line-height: 1.2; color: var(--ink); }
.door__text { font-style: italic; font-size: 18px; color: var(--muted); }
.door:hover { border-color: var(--olive); background: rgba(188, 184, 147, .12); transform: translateY(-4px); }
.door:hover .cartouche { color: var(--forest); }

/* ---------- Páginas internas ---------- */
.page-head { padding: clamp(150px, 17vw, 210px) 0 clamp(90px, 10vw, 130px); text-align: center; }
.page-head .orn { margin-bottom: 18px; }
.page-head .label { margin-bottom: 6px; }

.seg { position: relative; display: inline-flex; margin-top: 34px; padding: 4px; border: 1px solid var(--line-l); border-radius: 999px; }
.seg__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 999px; background: var(--on-dark); transition: left .55s var(--ease-out), width .55s var(--ease-out); }
.seg button { position: relative; z-index: 1; background: none; border: 0; cursor: pointer; padding: 11px 24px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--on-dark-2); transition: color .45s var(--ease); }
.seg button.is-on { color: var(--forest); }

/* História */
.chapters { max-width: 960px; display: grid; }
.chapter { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 6vw, 76px); }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter .cartouche { --w: 130px; justify-self: center; }
.chapter--flip { grid-template-columns: minmax(0, 1fr) 150px; }
.chapter--flip .cartouche { order: 2; }
.chapter--flip .chapter__text { text-align: right; }
.chapter__text p:not(.label) { margin-top: 14px; }
.chapter__text .quote { margin-top: 20px; font-style: italic; font-size: 23px; line-height: 1.4; color: var(--olive); }

.words { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.word { padding: 8px 28px; min-width: 0; }
.word + .word { border-left: 1px solid var(--line-l); }
.word h3 { font-family: var(--script); font-weight: 400; font-size: clamp(60px, 6.6vw, 92px); line-height: 1.2; color: var(--on-dark); }
.word p { margin-top: 6px; font-style: italic; font-size: 19px; }

.verse { display: grid; justify-items: center; text-align: center; }
.verse blockquote { font-style: italic; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.25; color: var(--ink); max-width: 17em; text-wrap: balance; margin-bottom: 22px; }

/* Manual */
.letter {
  position: relative; max-width: 780px; margin-inline: auto; text-align: center; display: grid; justify-items: center; gap: 16px; background: var(--ivory);
  padding: clamp(52px, 7vw, 84px) clamp(24px, 6vw, 80px); border: 1px solid rgba(110, 107, 73, .45); outline: 1px solid rgba(110, 107, 73, .45); outline-offset: -10px;
}
.letter .title { margin-bottom: 6px; }
.letter p { font-size: 20px; max-width: 32em; }
.letter__big { font-style: italic; font-size: clamp(26px, 2.8vw, 34px) !important; line-height: 1.35; color: var(--ink) !important; }
.letter__sign { width: min(260px, 70%); color: var(--olive); margin-top: 16px; }

.attire { display: grid; justify-items: center; text-align: center; }
.attire .head { margin-bottom: clamp(32px, 4vw, 56px); }
.attire__art { width: min(1000px, 100%); background: var(--ivory); }
.attire__art--stone { background: var(--stone); }
.attire__art img { width: 100%; mix-blend-mode: multiply; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.tags li { border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 20px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 40px; }
.swatches li { display: grid; justify-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.swatches li::before { content: ""; width: 38px; height: 38px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }

.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); text-align: center; }
.rules li { min-width: 0; display: grid; justify-items: center; }
.rules__n { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid var(--jade); border-radius: 50%; outline: 1px solid rgba(188, 184, 147, .4); outline-offset: 4px; font-size: 20px; font-weight: 500; color: var(--on-dark); }
.rules h3 { margin-top: 22px; font-family: var(--script); font-weight: 400; font-size: 40px; line-height: 1.2; color: var(--on-dark); }
.rules p { margin-top: 6px; font-size: 18.5px; max-width: 22em; }

.savedate { display: grid; justify-items: center; text-align: center; }
.savedate .orn { margin-bottom: 18px; }
.savedate__date { margin: 10px 0 12px; font-size: clamp(54px, 9vw, 118px); font-weight: 500; line-height: 1; letter-spacing: .04em; color: var(--ink) !important; font-variant-numeric: lining-nums; }
.week { display: grid; grid-template-columns: repeat(7, 52px); gap: 8px 2px; margin-top: 36px; font-variant-numeric: lining-nums; }
.week span { font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--olive); text-align: center; }
.week b { position: relative; height: 52px; display: grid; place-items: center; font-weight: 500; font-size: 23px; color: var(--muted); }
.week .is-day { color: var(--ink); }
.week .is-day svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.week .is-day circle { fill: none; stroke: var(--olive); stroke-width: 1.2; }
.savedate.is-in .is-day circle { animation: draw 1.6s var(--ease) .8s forwards; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.duo__art { background: var(--ivory); min-width: 0; }
.duo__art img { width: 100%; max-width: 420px; margin-inline: auto; mix-blend-mode: multiply; }
.duo__text { min-width: 0; }
.duo__text .title { margin-top: 4px; }
.duo__text p:not(.label) { margin-top: 12px; }
.plaque { display: inline-block; margin-top: 22px !important; padding: 8px 30px 12px; border: 1px solid var(--olive); outline: 1px solid var(--olive); outline-offset: -5px; font-family: var(--script); font-size: 34px !important; line-height: 1.2; color: var(--ink) !important; }
.rule { border: 0; border-top: 1px solid var(--line-strong); margin: 36px 0 24px; }
.closing { margin-top: 32px !important; font-style: italic; font-size: 22px; color: var(--olive) !important; }

/* Guia: rota */
.route { display: flex; align-items: flex-start; justify-content: space-between; }
.route__stop { flex: 0 1 190px; display: grid; justify-items: center; text-align: center; min-width: 0; }
.route__stop .cartouche { margin-bottom: 18px; }
.route__stop--main .cartouche { color: var(--forest); --w: 96px; margin-top: -8px; }
.route__stop h3 { margin-top: 4px; font-size: 25px; font-weight: 500; line-height: 1.2; color: var(--ink); }
.route__stop p:not(.label) { margin-top: 4px; font-style: italic; font-size: 18px; }
.route__leg { flex: 1 1 0; position: relative; margin-top: 56px; min-width: 40px; display: grid; justify-items: center; }
.route__leg::before { content: ""; position: absolute; left: 6px; right: 6px; top: 0; border-top: 1px dotted var(--olive); }
.route__leg span { margin-top: 12px; font-style: italic; font-size: 16.5px; color: var(--muted); text-align: center; }
.note { max-width: 36em; margin: 56px auto 0; text-align: center; font-style: italic; font-size: 19px; }

/* Guia: lugares */
.places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 88px); }
.places li { min-width: 0; border-top: 1px solid var(--line-strong); padding: 26px 0 34px; }
.places h3 { margin-top: 6px; font-size: 28px; font-weight: 500; line-height: 1.2; color: var(--ink); }
.places p:not(.label) { margin-top: 6px; font-size: 18.5px; }
.places .more { margin-top: 12px; }

/* Guia: clima */
.temps { display: flex; justify-content: center; align-items: center; gap: clamp(28px, 6vw, 72px); }
.temps div { display: grid; justify-items: center; }
.temps b { font-size: clamp(76px, 9vw, 120px); font-weight: 400; line-height: 1; color: var(--on-dark); font-variant-numeric: lining-nums; }
.temps span { margin-top: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--jade); }
.temps i { width: 1px; height: 96px; background: var(--line-l); }
.temps__note { text-align: center; margin: 22px 0 clamp(56px, 7vw, 90px); font-style: italic; }

/* ---------- Presença ---------- */
.rsvp { min-height: 100svh; padding: clamp(140px, 15vw, 190px) 0 clamp(100px, 11vw, 150px); text-align: center; background-position: center 70%; }
.rsvp .orn { margin-bottom: 18px; }
.form {
  width: 100%; max-width: 660px; margin: clamp(40px, 5vw, 60px) auto 0; text-align: left; display: grid; gap: 28px;
  background: var(--ivory); color: var(--ink); padding: clamp(36px, 5vw, 60px) clamp(24px, 5vw, 60px);
  border: 1px solid rgba(110, 107, 73, .5); outline: 1px solid rgba(110, 107, 73, .5); outline-offset: -10px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field span, .choice legend { font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--olive); }
.field input, .field textarea { font: inherit; font-size: 20px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); padding: 4px 0 8px; border-radius: 0; width: 100%; transition: border-color .4s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea { resize: vertical; }
.field--short input { max-width: 120px; }
.choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.choice legend { margin-bottom: 12px; padding: 0; }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: 8px 22px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 19px; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s; }
.choice input:checked + span { background: var(--forest); border-color: var(--forest); color: var(--ivory); }
.choice input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 3px; }
.btn { justify-self: center; margin-top: 4px; background: none; cursor: pointer; color: var(--ink); border: 1px solid var(--ink); border-radius: 50%; padding: 12px 54px 14px; font-style: italic; font-size: 22px; transition: background .4s var(--ease), color .4s var(--ease); }
.btn:hover { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.form__msg { text-align: center; font-style: italic; font-size: 19px; color: var(--olive) !important; min-height: 1.4em; }
.gifts { margin-top: 32px; }

/* ---------- Rodapé ---------- */
.footer { background: var(--earth); color: var(--on-dark); padding-block: 76px 52px; }
.footer__inner { display: grid; justify-items: center; gap: 16px; text-align: center; }
.footer__mark { width: 42px; color: var(--jade); }
.footer__names { width: min(320px, 80%); color: var(--on-dark); margin-block: 6px; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 20px; }
.footer__nav a { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--on-dark-2); transition: color .4s; }
.footer__nav a:hover { color: var(--on-dark); }
.footer__credit { margin-top: 26px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(241, 238, 228, .45); }

/* ---------- Responsivo ---------- */
@media (max-width: 1040px) {
  .nav__inner { grid-template-columns: auto 1fr auto; }
  .nav__rsvp { display: none; }
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 22px; background: var(--forest); color: var(--on-dark); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
  .nav__links a { font-family: var(--script); font-size: 46px; font-weight: 400; letter-spacing: 0; text-transform: none; opacity: 1; padding: 0; }
  .nav__links a::after { display: none; }
  .nav__links-rsvp { display: block; }
  .nav.is-open { color: var(--on-dark); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .invite { grid-template-columns: 1fr; text-align: center; }
  .doors { grid-template-columns: 1fr; }
  .route { flex-direction: column; align-items: center; }
  .route__stop { flex: none; width: 100%; max-width: 300px; }
  .route__leg { flex: none; margin: 14px 0; min-height: 70px; width: 100%; }
  .route__leg::before { left: 50%; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 1px dotted var(--olive); }
  .route__leg span { margin: 0; align-self: center; padding: 4px 10px; background: var(--ivory); position: relative; }
  .places { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; text-align: center; }
  .duo__text { display: grid; justify-items: center; }
  .rule { width: 100%; }
}
@media (max-width: 720px) {
  body { font-size: 18px; }
  .wrap { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .hero { background-position: 64% 70%; padding-bottom: 110px; }
  .count { gap: 12px; margin-top: 36px; }
  .count__item { --w: 70px; }
  .count__item small { font-size: 9.5px; letter-spacing: .2em; top: calc(100% + 10px); }
  .chapter, .chapter--flip { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 20px; }
  .chapter--flip .cartouche { order: 0; }
  .chapter--flip .chapter__text { text-align: center; }
  .chapter .cartouche { --w: 104px; }
  .words { grid-template-columns: 1fr; gap: 0; }
  .word { padding: 26px 0; }
  .word + .word { border-left: 0; border-top: 1px solid var(--line-l); }
  .rules { grid-template-columns: 1fr; gap: 44px; }
  .form__row { grid-template-columns: 1fr; }
  .week { grid-template-columns: repeat(7, 40px); }
  .week b { height: 40px; font-size: 20px; }
  .seg button { padding: 10px 14px; letter-spacing: .16em; font-size: 11.5px; }
  .invite { outline-offset: -8px; }
  .detail p:not(.detail__big) { font-size: 17px; }
  .temps i { height: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
}

/* ==========================================================
   Ajustes v6: convite à moda das referências, textos alinhados,
   guia com submenu, fotos e o carrinho na estrada
   ========================================================== */
.sec--paper { background: var(--paper); }
.display { font-family: var(--serif); font-weight: 500; text-transform: uppercase; font-size: clamp(32px, 4.2vw, 58px); line-height: 1.1; letter-spacing: .04em; color: var(--ink); }

/* Convite: título no alto, igreja em traço à esquerda, detalhes à direita */
.invitation { overflow: hidden; }
.invitation__head { max-width: 900px; margin-inline: auto; text-align: center; display: grid; justify-items: center; }
.invitation__head .display { margin-top: 14px; }
.invitation__lead { max-width: 34em; margin-top: 22px; font-size: 20px; text-align: center; }
.invitation__body { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, .85fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(48px, 6vw, 80px); }
.invitation__art { min-width: 0; margin-left: min(0px, calc((var(--max) - 100vw) / 2 - 24px)); }
.invitation__art .ill { -webkit-mask-position: left bottom; mask-position: left bottom; }
.invitation__info { min-width: 0; display: grid; gap: 34px; text-align: center; }
.invitation__info .subtitle { font-size: 34px; margin-bottom: 4px; }
.invitation__info p { font-size: 18px; line-height: 1.55; }
.invitation__info strong { font-weight: 600; color: var(--ink); }
.invitation__info .more { margin-top: 12px; }
.venue .orn { margin-bottom: 18px; }

/* Textos corridos justificados, sem viúvas */
.chapter__text p:not(.label):not(.quote) { text-align: justify; text-align-last: left; hyphens: auto; -webkit-hyphens: auto; }
.chapter--flip .chapter__text p:not(.label):not(.quote) { text-align-last: right; }
.duo__text p:not(.label):not(.plaque):not(.closing) { text-align: justify; text-align-last: left; hyphens: auto; -webkit-hyphens: auto; }
.place__body p:not(.label) { hyphens: auto; -webkit-hyphens: auto; }

/* Submenus (manual e guia) */
.seg button { white-space: nowrap; }
.panel[hidden] { display: none; }

/* Lugares com foto */
.places { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 36px); row-gap: clamp(40px, 5vw, 64px); }
.places li.place { border-top: 0; padding: 0; display: flex; flex-direction: column; }
.ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.14) saturate(.92) contrast(1.02); transition: transform 1.4s var(--ease-out); }
.place:hover .ph img { transform: scale(1.04); }
.ph.is-empty img { display: none; }
.ph.is-empty { background-image: linear-gradient(180deg, rgba(36, 33, 16, .35), rgba(36, 33, 16, .6)), url("assets/serra.jpg"); background-size: cover; background-position: var(--bp, 70% 60%); }
.ph.is-empty::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34px; aspect-ratio: 441 / 655; translate: -50% -50%; background: rgba(241, 238, 228, .82); -webkit-mask: url("assets/brasao.png") center / contain no-repeat; mask: url("assets/brasao.png") center / contain no-repeat; }
.place:nth-child(3n+2) .ph { --bp: 20% 70%; }
.place:nth-child(3n) .ph { --bp: 92% 55%; }
.place__body { padding-top: 22px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.place__body h3 { margin-top: 6px; font-size: 27px; font-weight: 500; line-height: 1.2; color: var(--ink); }
.place__body p:not(.label) { margin-top: 8px; font-size: 18px; line-height: 1.55; }
.place__body .more { margin-top: auto; padding-top: 14px; border-bottom: 0; }
.place__body .more::after { content: ""; display: block; height: 1px; margin-top: 4px; background: var(--line-strong); }

/* Viagem: a estrada e o carrinho */
.trip { position: relative; display: grid; gap: 18px; }
.road { position: relative; height: 72px; }
.road__line { position: absolute; left: var(--a, 0px); width: var(--len, 0px); top: 50%; height: 26px; translate: 0 -50%; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
  background: repeating-linear-gradient(90deg, rgba(110, 107, 73, .55) 0 10px, transparent 10px 22px) center / 100% 1px no-repeat; }
.car { position: absolute; left: 0; top: 50%; width: 92px; height: auto; translate: -50% -50%; rotate: var(--rot, 0deg); transition: opacity .6s var(--ease); z-index: 2; overflow: visible; }
.car.is-hidden { opacity: 0; }
.car__shadow { fill: rgba(42, 38, 19, .08); }
.car__body { fill: var(--ivory); stroke: var(--forest); stroke-width: 1.6; }
.car__cabin { fill: var(--jade); fill-opacity: .35; stroke: var(--forest); stroke-width: 1.2; stroke-linejoin: round; }
.car__glass, .car__rack, .car__line { fill: none; stroke: var(--forest); stroke-width: 1.2; stroke-linecap: round; }
.car__rack { stroke-opacity: .55; }
.car__wheel { fill: var(--forest); }
.car__lamp { fill: #E9D9A6; stroke: var(--forest); stroke-width: 1; }
.car__mirror { fill: var(--forest); }
.route__stop .cartouche { transition: color .6s var(--ease), transform .8s var(--ease-out); }
.route__stop.is-here .cartouche { color: var(--forest); transform: scale(1.08); }
.route__stop > div { display: grid; justify-items: center; }
.route { align-items: flex-start; }
.route__leg { margin-top: 44px; }
.route__leg::before { display: none; }
.route__leg span { margin-top: 0; }

@media (max-width: 1040px) {
  .invitation__body { grid-template-columns: 1fr; }
  .invitation__art { margin-inline: -24px; }
  .invitation__art .ill { -webkit-mask-position: center bottom; mask-position: center bottom; }
  .places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo__text p:not(.label):not(.plaque):not(.closing) { text-align-last: center; }
  .trip { grid-template-columns: 64px minmax(0, 1fr); gap: 8px; }
  .road { height: auto; }
  .road__line { left: 50%; width: 26px; top: var(--a, 0px); height: var(--len, 0px); translate: -50% 0; border: 0; border-left: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong);
    background: repeating-linear-gradient(180deg, rgba(110, 107, 73, .55) 0 10px, transparent 10px 22px) center / 1px 100% no-repeat; }
  .car { left: 50%; top: 0; width: 66px; --rot: 90deg; }
  .route { flex-direction: column; align-items: stretch; }
  .route__stop { flex: none; width: 100%; max-width: none; display: flex; align-items: center; gap: 18px; text-align: left; }
  .route__stop > div { justify-items: start; }
  .route__stop .cartouche { margin: 0; --w: 64px; }
  .route__stop--main .cartouche { --w: 72px; margin: 0; }
  .route__leg { flex: none; min-height: 0; margin: 10px 0 10px 82px; width: auto; display: block; }
  .route__leg span { padding: 0; background: none; display: block; text-align: left; }
}
@media (max-width: 720px) {
  .places { grid-template-columns: 1fr; }
  .seg--wide { display: grid; grid-template-columns: 1fr 1fr; border-radius: 26px; }
  .seg--wide .seg__pill { border-radius: 22px; }
  .seg--wide button { padding: 11px 8px; }
  .chapter__text p:not(.label):not(.quote), .chapter--flip .chapter__text p:not(.label):not(.quote) { text-align-last: center; }
  .duo__text p:not(.label):not(.plaque):not(.closing) { text-align-last: center; }
  .invitation__lead { font-size: 19px; }
}
.invitation__info .detail { padding: 0; border: 0; }
.invitation__lead, .head__text, .venue__text, .page-lead, .door__text, .temps__note, .note { text-wrap: balance; }
.credits { margin-top: 56px; text-align: center; font-style: italic; font-size: 14.5px; color: var(--muted); opacity: .8; }

/* ==========================================================
   v9 · Mais delicado, mais Minas
   Capa: a Igreja Matriz de Nazaré no alto do morro, cercada
   pela mata, com as serras, o Itacolomi e a névoa ao fundo.
   Tipografia menor, ícones em gravura do mockup aprovado.
   ========================================================== */

/* Escala tipográfica mais delicada */
body { font-size: 17.5px; line-height: 1.65; }
.label { font-size: 11px; letter-spacing: .3em; }
.title { font-size: clamp(38px, 4.2vw, 58px); }
.title--sm { font-size: clamp(34px, 3.3vw, 46px); }
.subtitle { font-size: 30px; }
.page-title { font-size: clamp(48px, 6.4vw, 88px); }
.page-lead { font-size: 18.5px; max-width: 32em; }
.display { font-size: clamp(25px, 2.9vw, 40px); letter-spacing: .07em; line-height: 1.18; }
.more { font-size: 11px; letter-spacing: .24em; }
.head__text { font-size: 17.5px; }
.nav__links a { font-size: 11px; letter-spacing: .28em; }
.nav__rsvp { font-size: 16.5px; padding: 8px 22px 9px; }
.seg button { font-size: 11px; }
.invitation__lead { font-size: 18px; max-width: 36em; }
.invitation__info .subtitle { font-size: 27px; }
.invitation__info p { font-size: 16.5px; }
.venue .title { font-size: clamp(52px, 6vw, 84px); }
.venue__text { font-size: 18px; }
.chapter__text .quote { font-size: 19.5px; }
.word h3 { font-size: clamp(46px, 4.8vw, 68px); }
.word p { font-size: 16.5px; }
.verse blockquote { font-size: clamp(25px, 2.8vw, 36px); }
.letter p { font-size: 17.5px; }
.letter__big { font-size: clamp(21px, 2.2vw, 27px) !important; }
.rules__n { width: 42px; height: 42px; font-size: 16px; }
.rules h3 { font-size: 31px; }
.rules p { font-size: 16.5px; }
.savedate__date { font-size: clamp(44px, 7vw, 92px); }
.route__stop h3 { font-size: 21px; }
.route__stop p:not(.label) { font-size: 16px; }
.note { font-size: 17px; }
.place__body h3, .places h3 { font-size: 22px; }
.place__body p:not(.label), .places p:not(.label) { font-size: 16.5px; }
.temps b { font-size: clamp(58px, 7vw, 96px); }
.field input, .field textarea { font-size: 18px; }
.choice span { font-size: 16.5px; }
.btn { font-size: 19px; padding: 11px 48px 13px; }
.form__msg { font-size: 17px; }
.footer__nav a, .footer__credit { font-size: 11px; }
.sec { padding-block: clamp(80px, 10vw, 136px); }

/* Ornamento de natureza: o ramo da gravura no lugar do ornamento barroco */

/* Ícones em gravura */
.icon { display: inline-block; background-color: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.icon--aliancas { --m: url("assets/icones/aliancas.png"); width: 74px; aspect-ratio: 840 / 438; }
.icon--cidade { --m: url("assets/icones/cidade.png"); width: 116px; aspect-ratio: 1058 / 468; }
.icon--flordelis { --m: url("assets/icones/flordelis.png"); height: 60px; aspect-ratio: 486 / 642; }

/* Pagina de cenas: as serras de Minas no fundo */
.scene { background-image: linear-gradient(180deg, rgba(28, 32, 16, .72), rgba(28, 32, 16, .6) 45%, rgba(28, 32, 16, .82)), url("assets/capa-desk.jpg"); background-position: center 42%; }
.scene--band { background-image: linear-gradient(180deg, rgba(28, 32, 16, .84), rgba(28, 32, 16, .78)), url("assets/capa-desk.jpg"); background-position: center 30%; }

/* ---------- Capa ---------- */
.hero {
  background-color: #1f2312;
  background-image:
    linear-gradient(90deg, rgba(22, 26, 12, .84) 0%, rgba(22, 26, 12, .66) 30%, rgba(22, 26, 12, .26) 56%, rgba(22, 26, 12, 0) 72%),
    linear-gradient(180deg, rgba(22, 26, 12, .55) 0%, rgba(22, 26, 12, 0) 18%, rgba(22, 26, 12, 0) 76%, rgba(22, 26, 12, .55) 100%),
    url("assets/capa-desk.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, 70% 50%;
  padding: 100px 0 96px;
}
.crest { width: clamp(78px, 6.4vw, 96px); margin-bottom: 22px; }
.hero__date { font-size: clamp(16.5px, 1.35vw, 19px); letter-spacing: .02em; }
.hero__names { width: min(600px, 86vw); margin: 10px 0 16px; }
.hero .label { font-size: 10.5px; letter-spacing: .38em; }
.hero__rule { display: flex; align-items: center; gap: 10px; width: 150px; margin-top: 16px; color: var(--jade); }
.hero__rule::before, .hero__rule::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .55; }
.hero__rule i { width: 5px; height: 5px; border: 1px solid currentColor; transform: rotate(45deg); }
.count { margin-top: clamp(30px, 5vh, 46px); gap: clamp(12px, 2.2vw, 30px); }
.count__item { --w: clamp(56px, 5vw, 72px); }
.count__item small { font-size: 9.5px; letter-spacing: .26em; top: calc(100% + 10px); }
.count__item b { font-weight: 400; }
@media (min-width: 1041px) {
  .hero { place-items: center start; }
  .hero__inner { width: min(640px, 50vw); margin-left: max(24px, calc((100vw - 1240px) / 2)); padding-inline: 0; }
  .hero__cue { left: calc(max(24px, calc((100vw - 1240px) / 2)) + min(640px, 50vw) / 2); }
}
@media (max-width: 1040px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(22, 26, 12, .8) 0%, rgba(22, 26, 12, .55) 30%, rgba(22, 26, 12, .12) 46%, rgba(22, 26, 12, .1) 62%, rgba(22, 26, 12, .66) 80%, rgba(22, 26, 12, .82) 100%),
      url("assets/capa-mob.jpg");
    background-size: cover, cover;
    background-position: center, center 50%;
    place-items: stretch center; padding: 86px 0 78px;
  }
  .hero__inner { min-height: calc(100svh - 164px); }
  .hero .count { margin-top: auto; }
}
@media (max-width: 720px) {
  .crest { width: 62px; margin-bottom: 14px; }
  .hero__date { font-size: 15.5px; }
  .hero__names { width: 84vw; margin: 6px 0 10px; }
  .hero .label { font-size: 9.5px; letter-spacing: .32em; }
  .hero__rule { width: 110px; margin-top: 12px; }
  .count { gap: 12px; }
  .count__item { --w: 54px; }
  .count__item small { font-size: 8.5px; letter-spacing: .18em; }
}

/* ---------- Atalhos (mockup aprovado) ---------- */
.paths { background: var(--ivory); border-bottom: 1px solid var(--line); }
.paths__inner {
  max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.path {
  display: grid; justify-items: center; align-content: start; gap: 0; text-align: center; text-decoration: none;
  padding: clamp(40px, 5vw, 60px) clamp(14px, 2vw, 28px) clamp(38px, 4.6vw, 54px); color: var(--olive); position: relative;
}
.path + .path::before { content: ""; position: absolute; left: 0; top: 26%; bottom: 26%; width: 1px; background: var(--line); }
.path .icon { transition: transform .9s var(--ease-out), color .5s; height: 62px; width: auto; }
.path .icon--aliancas { height: auto; width: 74px; }
.path .icon--cidade { height: auto; width: 118px; }
.path__iconbox { display: grid; place-items: center; height: 70px; }
.path__title { margin-top: 18px; font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--ink); }
.path__title::after { content: ""; display: block; width: 26px; height: 1px; margin: 12px auto 0; background: var(--jade); }
.path__text { margin-top: 12px; max-width: 17em; font-style: italic; font-size: 15.5px; line-height: 1.5; color: var(--muted); text-wrap: balance; }
.path:hover .icon { transform: translateY(-3px); color: var(--forest); }
@media (max-width: 860px) {
  .paths__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path:nth-child(3)::before { display: none; }
  .path:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .path { padding-inline: 8px; }
  .path__title { font-size: 10px; letter-spacing: .2em; }
  .path__text { font-size: 14.5px; }
}

/* ---------- Capítulos: numeral delicado com o ramo ---------- */
.mark { display: grid; justify-items: center; gap: 10px; color: var(--olive); justify-self: center; }
.mark i { font-size: 40px; font-weight: 400; line-height: 1; letter-spacing: .06em; color: var(--ink); }
.chapter { grid-template-columns: 110px minmax(0, 1fr); }
.chapter--flip { grid-template-columns: minmax(0, 1fr) 110px; }
.chapter--flip .mark { order: 2; }
@media (max-width: 720px) {
  .chapter, .chapter--flip { grid-template-columns: 1fr; }
  .chapter--flip .mark { order: 0; }
  .mark i { font-size: 34px; }
}

/* ---------- Roteiro: paradas em círculo fino, sem a moldura ---------- */
.route__stop .cartouche, .cartouche { --w: 54px; width: var(--w); aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; }
.route__stop .cartouche::after { content: ""; position: absolute; inset: 4px; border: 1px solid currentColor; border-radius: 50%; opacity: .35; }
.cartouche__frame { display: none; }
.cartouche__num { top: 0; font-size: 18px; font-weight: 500; }
.route__stop--main .cartouche { --w: 64px; margin-top: 0; }
@media (max-width: 1040px) { .hero__cue { display: none; } }
.path { color: var(--forest); }
.path .icon { opacity: .85; }
.footer { background-image: linear-gradient(180deg, rgba(28, 32, 16, .9), rgba(28, 32, 16, .94)), url("assets/capa-desk.jpg"); background-size: cover; background-position: center 70%; }

/* ==========================================================
   v10 · Um traço só
   Toda a paisagem em bico de pena, no mesmo traço da igreja:
   de dia (papel marfim e tinta verde) na capa e, à noite
   (traço claro sobre o verde) nos topos das páginas.
   ========================================================== */

/* Cenas escuras: a mesma gravura, em versão noturna */
.scene { background-color: #232817; background-image: linear-gradient(180deg, rgba(24, 28, 14, .5), rgba(24, 28, 14, .28) 45%, rgba(24, 28, 14, .66)), url("assets/gravura-noite.jpg"); background-size: cover; background-position: center 38%; }
.scene--band { background-image: linear-gradient(180deg, rgba(24, 28, 14, .72), rgba(24, 28, 14, .64)), url("assets/gravura-noite.jpg"); background-position: center 70%; }
.footer { background-color: #1d2112; background-image: linear-gradient(180deg, rgba(24, 28, 14, .82), rgba(24, 28, 14, .9)), url("assets/gravura-noite.jpg"); background-size: cover; background-position: center 80%; }

/* A festa: de volta à foto real da Vila Galé */
.scene.venue {
  background-color: #2a2e1c;
  background-image: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(30, 27, 12, .5), rgba(30, 27, 12, 0) 75%), linear-gradient(180deg, rgba(36, 33, 16, .58), rgba(36, 33, 16, .72)), url("assets/fotos/vila-gale-jardim.jpg");
  background-size: cover, cover, cover; background-position: center, center, center 62%;
}

/* ---------- Capa: a igreja e o horizonte em gravura noturna ---------- */
.hero {
  background-color: #1f2312;
  background-image:
    linear-gradient(90deg, rgba(25, 29, 15, .78) 0%, rgba(25, 29, 15, .6) 30%, rgba(25, 29, 15, .18) 52%, rgba(25, 29, 15, 0) 64%),
    linear-gradient(180deg, rgba(25, 29, 15, .45) 0%, rgba(25, 29, 15, 0) 16%, rgba(25, 29, 15, 0) 80%, rgba(25, 29, 15, .55) 100%),
    url("assets/capa-desk.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, 70% 50%;
}
@media (max-width: 1040px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(25, 29, 15, .35) 0%, rgba(25, 29, 15, 0) 30%),
      url("assets/capa-mob.jpg");
    background-size: cover, cover;
    background-position: center, 82% bottom;
    place-items: start center; padding: 92px 0 60px;
  }
  .hero__inner { min-height: 0; }
  .hero .count { margin-top: 30px; }
}

/* ---------- Onde Minas nasceu ---------- */
.origem__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.origem__photo { min-width: 0; }
.origem__arch { display: block; position: relative; padding: 10px; border: 1px solid rgba(110, 107, 73, .5); border-radius: 999px 999px 0 0; }
.origem__arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 32% 50%; border-radius: 999px 999px 0 0; }
.origem__photo figcaption { margin-top: 14px; text-align: center; font-style: italic; font-size: 16px; color: var(--olive); }
.origem__text { min-width: 0; }
.origem__text .title { margin-top: 6px; }
.origem__lead { margin-top: 16px; font-size: 18.5px; max-width: 32em; }
.timeline { margin-top: 34px; position: relative; display: grid; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 1px; background: var(--line-strong); }
.timeline li { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: baseline; padding-left: 26px; }
.timeline li::before { content: ""; position: absolute; left: 1px; top: .62em; width: 7px; height: 7px; border: 1px solid var(--olive); background: var(--ivory); transform: rotate(45deg); }
.timeline b { font-weight: 500; font-style: italic; font-size: 21px; color: var(--olive); letter-spacing: .02em; }
.timeline p { font-size: 16.5px; line-height: 1.5; }
.timeline__us::before { background: var(--olive) !important; }
.timeline__us b, .timeline__us p { color: var(--ink); }
@media (max-width: 860px) {
  .origem__grid { grid-template-columns: 1fr; }
  .origem__photo { width: min(420px, 100%); margin-inline: auto; }
  .origem__text header { text-align: center; }
  .origem__lead { margin-inline: auto; }
}
@media (max-width: 420px) {
  .timeline li { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding-left: 22px; }
  .timeline b { font-size: 19px; }
  .timeline p { font-size: 15.5px; }
}
@media (max-width: 860px) { .origem__photo { width: min(340px, 100%); } .origem__arch img { aspect-ratio: 4 / 4.6; } }

/* ==========================================================
   v11 · O mesmo layout da página Nossa história em todo o site
   ========================================================== */
.sec--stone, .sec--paper { background: var(--ivory); }
.sec--ivory + .sec--ivory, .panel > .sec--ivory:first-child + .sec--ivory { border-top: 1px solid var(--line); }
.origem--guia { border-top: 1px solid var(--line); }

/* Moldura barroca nos botões (no lugar do oval) */
.nav__rsvp, .btn { position: relative; border: 0 !important; border-radius: 0 !important; background: none !important; isolation: isolate; }
.nav__rsvp { padding: 12px 34px 13px; font-size: 18px; }
.btn { padding: 14px 64px 16px; }
.nav__rsvp > span, .btn > span { position: relative; z-index: 1; }
.frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.frame path { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill .45s var(--ease); }
.frame__in { opacity: .45; }
.nav__rsvp:hover, .btn:hover { color: var(--forest) !important; }
.nav__rsvp:hover .frame__out { fill: var(--on-dark); }
.nav.is-solid .nav__rsvp:hover { color: var(--ivory) !important; }
.nav.is-solid .nav__rsvp:hover .frame__out { fill: var(--forest); }
.btn:hover { color: var(--ivory) !important; }
.btn:hover .frame__out { fill: var(--forest); }
.attire__art--stone { background: var(--ivory); }

/* v11.1 · A mesma gravura da capa (igreja e horizonte) em todos os topos, faixas e rodapé */
.scene { background-color: #1f2312; background-image: radial-gradient(ellipse 55% 60% at 50% 48%, rgba(25, 29, 15, .62), rgba(25, 29, 15, 0) 72%), linear-gradient(180deg, rgba(25, 29, 15, .55), rgba(25, 29, 15, .2) 40%, rgba(25, 29, 15, .55)), url("assets/capa-desk.jpg"); background-size: cover; background-position: center, center, center 62%; }
.page-head.scene, .rsvp.scene { background-position: center, center, 70% 66%; }
.scene--band { background-image: linear-gradient(180deg, rgba(25, 29, 15, .74), rgba(25, 29, 15, .66)), url("assets/capa-desk.jpg"); background-position: center, 30% 70%; }
.footer { background-image: linear-gradient(180deg, rgba(25, 29, 15, .86), rgba(25, 29, 15, .9)), url("assets/capa-desk.jpg"); background-size: cover; background-position: center, center 78%; }
@media (max-width: 1040px) {
  .page-head.scene, .rsvp.scene { background-image: linear-gradient(180deg, rgba(25, 29, 15, .55), rgba(25, 29, 15, .35) 50%, rgba(25, 29, 15, .5)), url("assets/capa-mob.jpg"); background-size: cover; background-position: center, 82% 78%; }
}
.page-head.scene, .rsvp.scene { background-image: radial-gradient(ellipse 46% 62% at 50% 50%, rgba(25, 29, 15, .8), rgba(25, 29, 15, .35) 70%, rgba(25, 29, 15, 0) 100%), linear-gradient(180deg, rgba(25, 29, 15, .5), rgba(25, 29, 15, .15) 40%, rgba(25, 29, 15, .5)), url("assets/capa-desk.jpg"); background-size: cover; background-position: center, center, 70% 66%; }
@media (max-width: 1040px) {
  .page-head.scene, .rsvp.scene { background-image: linear-gradient(180deg, rgba(25, 29, 15, .2), rgba(25, 29, 15, .55) 30%, rgba(25, 29, 15, .55) 70%, rgba(25, 29, 15, .15)), url("assets/capa-mob.jpg"); background-size: cover; background-position: center, 70% 30%; }
}


/* ==========================================================
   v12 · Mais sofisticado, na linha do site de referência
   Capa com as folhas se abrindo, contagem em números finos,
   faixa de detalhes, renda e polaroides.
   ========================================================== */
:root { --sage: #5F6242; --lace: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2260%22%20height%3D%2260%22%20viewBox%3D%220%200%2060%2060%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%238C8964%22%20stroke-width%3D%221%22%3E%3Cpath%20d%3D%22M0%2010%20A5%205%200%200%201%2010%2010%20M10%2010%20A5%205%200%200%201%2020%2010%20M20%2010%20A5%205%200%200%201%2030%2010%20M30%2010%20A5%205%200%200%201%2040%2010%20M40%2010%20A5%205%200%200%201%2050%2010%20M50%2010%20A5%205%200%200%201%2060%2010%20M0%2050%20A5%205%200%200%200%2010%2050%20M10%2050%20A5%205%200%200%200%2020%2050%20M20%2050%20A5%205%200%200%200%2030%2050%20M30%2050%20A5%205%200%200%200%2040%2050%20M40%2050%20A5%205%200%200%200%2050%2050%20M50%2050%20A5%205%200%200%200%2060%2050%20M10%200%20A5%205%200%200%200%2010%2010%20M10%2010%20A5%205%200%200%200%2010%2020%20M10%2020%20A5%205%200%200%200%2010%2030%20M10%2030%20A5%205%200%200%200%2010%2040%20M10%2040%20A5%205%200%200%200%2010%2050%20M10%2050%20A5%205%200%200%200%2010%2060%20M50%200%20A5%205%200%200%201%2050%2010%20M50%2010%20A5%205%200%200%201%2050%2020%20M50%2020%20A5%205%200%200%201%2050%2030%20M50%2030%20A5%205%200%200%201%2050%2040%20M50%2040%20A5%205%200%200%201%2050%2050%20M50%2050%20A5%205%200%200%201%2050%2060%22/%3E%3Crect%20x%3D%2218.5%22%20y%3D%2218.5%22%20width%3D%2223%22%20height%3D%2223%22/%3E%3C/g%3E%3Cg%20fill%3D%22%238C8964%22%3E%3Ccircle%20cx%3D%225%22%20cy%3D%2214.5%22%20r%3D%221.1%22/%3E%3Ccircle%20cx%3D%225%22%20cy%3D%2245.5%22%20r%3D%221.1%22/%3E%3Ccircle%20cx%3D%2214.5%22%20cy%3D%225%22%20r%3D%221.1%22/%3E%3Ccircle%20cx%3D%2245.5%22%20cy%3D%225%22%20r%3D%221.1%22/%3E%3Ccircle%20cx%3D%2215%22%20cy%3D%2214.5%22%20r%3D%221.1%22/%3E%3Ccircle%20cx%3D%2215%22%20cy%3D%2245.5%22%20r%3D%221.1%22/%3E%3Ccircle%20cx%3D%2214.5%22%20cy%3D%2215%22%20r%3D%221.1%22/%3E%3Ccircle%20cx%3D%2245.5%22%20cy%3D%2215%22%20r%3D%221.1%22/%3E%3Ccircle%20cx%3D%2225%22%20cy%3D%2214.5%22%20r%3D%221.1%22/%3E%3Ccircle%20cx%3D%2225%22%20cy%3D%2245.5%22%20r%3D%221.1%22/%3E%3Ccircle%20cx%3D%2214.5%22%20cy%3D%2225%22%20r%3D%221.1%22/%3E%3Ccircle%20cx%3D%2245.5%22%20cy%3D%2225%22%20r%3D%221.1%22/%3E%3Ccircle%20cx%3D%2235%22%20cy%3D%2214.5%22%20r%3D%221.1%22/%3E%3Ccircle%20cx%3D%2235%22%20cy%3D%2245.5%22%20r%3D%221.1%22/%3E%3Ccircle%20cx%3D%2214.5%22%20cy%3D%2235%22%20r%3D%221.1%22/%3E%3Ccircle%20cx%3D%2245.5%22%20cy%3D%2235%22%20r%3D%221.1%22/%3E%3Ccircle%20cx%3D%2245%22%20cy%3D%2214.5%22%20r%3D%221.1%22/%3E%3Ccircle%20cx%3D%2245%22%20cy%3D%2245.5%22%20r%3D%221.1%22/%3E%3Ccircle%20cx%3D%2214.5%22%20cy%3D%2245%22%20r%3D%221.1%22/%3E%3Ccircle%20cx%3D%2245.5%22%20cy%3D%2245%22%20r%3D%221.1%22/%3E%3Ccircle%20cx%3D%2255%22%20cy%3D%2214.5%22%20r%3D%221.1%22/%3E%3Ccircle%20cx%3D%2255%22%20cy%3D%2245.5%22%20r%3D%221.1%22/%3E%3Ccircle%20cx%3D%2214.5%22%20cy%3D%2255%22%20r%3D%221.1%22/%3E%3Ccircle%20cx%3D%2245.5%22%20cy%3D%2255%22%20r%3D%221.1%22/%3E%3C/g%3E%3C/svg%3E"); }

/* Renda */
.lace { border: 20px solid transparent !important; border-image: var(--lace) 20 round !important; outline: 0 !important; }

/* ---------- Convite ---------- */
.convite__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.convite__text { text-align: center; display: grid; justify-items: center; }
.convite__text .orn { margin-bottom: 16px; }
.convite__text .title { margin-top: 4px; }
.convite__lead { margin-top: 16px; font-size: 18.5px; max-width: 30em; }
.convite__sign { width: min(300px, 70%); margin-top: 26px; color: var(--olive); }
.convite__art .ill { color: var(--olive); }
@media (max-width: 860px) { .convite__grid { grid-template-columns: 1fr; } .convite__art { order: -1; width: min(460px, 100%); margin-inline: auto; } }

/* ---------- Faixa de detalhes ---------- */
.infoband { background: var(--sage); color: var(--on-dark); text-align: center; }
.infoband p { color: var(--on-dark-2); }
.info3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info3 article { padding: 6px clamp(18px, 3vw, 40px); min-width: 0; display: grid; justify-items: center; align-content: start; gap: 6px; }
.info3 article + article { border-left: 1px solid var(--line-l); }
.info3 h3 { font-family: var(--script); font-weight: 400; font-size: clamp(40px, 4vw, 54px); line-height: 1.2; color: var(--on-dark); margin-bottom: 4px; }
.info3 strong { color: var(--on-dark); font-weight: 600; }
@media (max-width: 860px) { .info3 { grid-template-columns: 1fr; gap: 34px; } .info3 article + article { border-left: 0; border-top: 1px solid var(--line-l); padding-top: 30px; } }
.giftsband .orn { margin-bottom: 14px; }
.giftsband__text { max-width: 30em; margin: 14px auto 0; font-size: 19px; }

/* ---------- Dúvidas ---------- */
.faq__card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; max-width: 980px; margin: 0 auto; padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 56px); background: #F7F5EE; }
.faq__word { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--serif); font-weight: 500; font-size: clamp(54px, 7vw, 96px); letter-spacing: .12em; text-transform: uppercase; line-height: 1; color: var(--olive) !important; opacity: .85; }
.faq__body .title { margin-top: 2px; }
.faq__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; margin: 22px 0 6px; }
.faq__list dt { font-style: italic; font-size: 20px; color: var(--ink); }
.faq__list dd { margin: 4px 0 0; font-size: 16.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 760px) { .faq__card { grid-template-columns: 1fr; text-align: center; } .faq__word { writing-mode: horizontal-tb; transform: none; font-size: 44px; } .faq__list { grid-template-columns: 1fr; } }

/* ---------- Nossa história: linha do tempo ---------- */
.chapters { position: relative; max-width: 1040px; }
.chapters::before { content: ""; position: absolute; left: 50%; top: 40px; bottom: 40px; width: 1px; background: var(--line-strong); }
.chapter, .chapter--flip { grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr) !important; border-top: 0 !important; padding-block: clamp(30px, 4vw, 56px); }
.chapter .mark { grid-column: 2; grid-row: 1; background: var(--ivory); padding-block: 12px; position: relative; }
.chapter .chapter__text { grid-column: 3; grid-row: 1; text-align: left; }
.chapter--flip .chapter__text { grid-column: 1; text-align: right; }
.chapter--flip .mark { order: 0; }
@media (max-width: 720px) {
  .chapters::before { left: 28px; }
  .chapter, .chapter--flip { grid-template-columns: 56px minmax(0, 1fr) !important; gap: 18px; }
  .chapter .mark { grid-column: 1; align-self: start; }
  .chapter .chapter__text, .chapter--flip .chapter__text { grid-column: 2; text-align: left; }
}

/* ---------- Manual: renda nas cartas e nas ilustrações ---------- */
.letter { border: 20px solid transparent !important; border-image: var(--lace) 20 round !important; outline: 0 !important; background: #F7F5EE !important; }
.attire__art { border: 20px solid transparent; border-image: var(--lace) 20 round; background: #F7F5EE !important; }

/* ---------- Guia: fotos em polaroide ---------- */
.ph { aspect-ratio: auto !important; overflow: visible !important; background: #FBFAF6 !important; padding: 10px 10px 34px; box-shadow: 0 14px 28px -18px rgba(42, 38, 19, .6), 0 0 0 1px rgba(42, 38, 19, .06); transform: rotate(-1.4deg); transition: transform .8s var(--ease-out); }
.ph img { aspect-ratio: 4 / 3; height: auto !important; }
.place:nth-child(even) .ph { transform: rotate(1.2deg); }
.place:nth-child(3n) .ph { transform: rotate(-.6deg); }
.place:hover .ph { transform: rotate(0) translateY(-4px); }
.place__body { margin-top: 18px; }

/* ---------- Presença ---------- */
.sec.rsvp { min-height: 0; padding-block: clamp(70px, 9vw, 120px); text-align: left; }
.rsvp .form { max-width: 720px; margin: 0 auto; background: #F7F5EE; padding: clamp(28px, 4vw, 52px); }
.form__title { text-align: center; }
.field input, .field textarea { background: rgba(188, 184, 147, .14); border: 0; border-bottom: 1px solid var(--line-strong); padding: 10px 12px; }
.giftsband { text-align: center; }

/* ==========================================================
   v13 · Ajustes: capa aprovada, detalhes no verde da capa,
   carrinho com os noivos, fotos e ilustrações em proporção
   ========================================================== */
:root { --sage: #2A2F1D; }

/* Capa aprovada: igreja à direita, texto e contagem à esquerda */
.hero {
  background-color: #1f2312;
  background-image:
    linear-gradient(90deg, rgba(25, 29, 15, .78) 0%, rgba(25, 29, 15, .6) 30%, rgba(25, 29, 15, .18) 52%, rgba(25, 29, 15, 0) 64%),
    linear-gradient(180deg, rgba(25, 29, 15, .45) 0%, rgba(25, 29, 15, 0) 16%, rgba(25, 29, 15, 0) 80%, rgba(25, 29, 15, .55) 100%),
    url("assets/capa-desk.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, 70% 50%;
}
@media (max-width: 1040px) {
  .hero {
    background-image: linear-gradient(180deg, rgba(25, 29, 15, .35) 0%, rgba(25, 29, 15, 0) 30%), url("assets/capa-mob.jpg");
    background-size: cover, cover; background-position: center, 82% bottom;
  }
}

/* Detalhes e presentes: o mesmo verde escuro da capa */
.infoband { background: var(--sage); }
.infoband h3 { color: var(--on-dark); }

/* Convite: proporções */
.convite__art { max-width: 560px; justify-self: center; width: 100%; }

/* Carrinho com os noivos */
.road { height: 120px; }
.road__line { top: 74%; }
.car { top: 74%; width: clamp(130px, 13vw, 170px); height: auto; translate: -50% -88%; rotate: 0deg; }
@media (max-width: 1040px) {
  .road { height: auto; }
  .road__line { top: var(--a, 0px); }
  .car { top: 0; left: 50%; width: 104px; translate: -50% -50%; rotate: 90deg; }
}

/* Onde Minas nasceu: foto menor e no tom do site */
.origem__grid { grid-template-columns: minmax(0, .72fr) minmax(0, 1.1fr); }
.origem__photo { width: 100%; max-width: 360px; justify-self: center; }
.origem__arch img { aspect-ratio: 4 / 5; filter: sepia(.28) saturate(.7) contrast(.98) brightness(.98); }
@media (max-width: 860px) {
  .origem__grid { grid-template-columns: 1fr; }
  .origem__photo { max-width: 260px; }
  .origem__arch img { aspect-ratio: 4 / 4.8; }
}

/* Ilustrações das crianças: inteiras e em tamanho confortável */
.duo { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.duo__art { display: grid; place-items: center; padding: clamp(20px, 3vw, 36px); border: 20px solid transparent; border-image: var(--lace) 20 round; background: #F7F5EE !important; }
.duo__art img { width: auto !important; max-width: 100%; height: auto; max-height: min(520px, 62vh); object-fit: contain; margin: 0 auto; }
@media (max-width: 1040px) {
  .duo { grid-template-columns: 1fr; }
  .duo__art { width: min(380px, 100%); margin-inline: auto; }
  .duo__art img { max-height: 380px; }
}

/* Ilustrações dos trajes dos adultos: altura controlada */
.attire__art img { max-height: 620px; width: auto; max-width: 100%; margin-inline: auto; object-fit: contain; }
.attire__art { display: grid; place-items: center; }
.origem__arch img { height: auto !important; }
@media (max-width: 1040px) {
  .page-head.scene { background-image: linear-gradient(180deg, rgba(25, 29, 15, .3), rgba(25, 29, 15, .72) 28%, rgba(25, 29, 15, .72) 78%, rgba(25, 29, 15, .35)), url("assets/capa-mob.jpg"); background-position: center, 70% 30%; }
  .seg { background: rgba(25, 29, 15, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
}
.trip__car { display: none; }
@media (max-width: 1040px) {
  .trip { grid-template-columns: 1fr !important; gap: 26px; }
  .trip .road { display: none; }
  .trip__car { display: block; width: min(260px, 72vw); height: auto; margin: 0 auto 6px; animation: drive 2.6s ease-in-out infinite; }
  .route { max-width: 340px; margin-inline: auto; width: 100%; }
}
@keyframes drive { 0%, 100% { transform: translate(-6px, 0) rotate(0); } 50% { transform: translate(6px, -2px) rotate(-.6deg); } }
@media (prefers-reduced-motion: reduce) { .trip__car { animation: none; } }
.chapter__text p, .duo__text p, .letter p { text-align: inherit !important; text-align-last: auto !important; hyphens: manual; }
@media (max-width: 720px) { .chapter__text p { text-align: left !important; } }

/* ==========================================================
   v14 · Pedidos da noiva: letras maiores, sem a folhagem,
   ornamento barroco do brasão, pombas nos atalhos
   ========================================================== */

/* Ornamento barroco (o mesmo desenho do topo do brasão) no lugar do ramo */
.orn, .orn--base { width: 34px; aspect-ratio: 455 / 540; -webkit-mask: url("assets/ornamento-topo.svg") center / contain no-repeat; mask: url("assets/ornamento-topo.svg") center / contain no-repeat; }
.orn--base { margin-top: 26px; transform: rotate(180deg); }
.icon--pombas { --m: url("assets/icones/pombas.png"); width: 104px; aspect-ratio: 903 / 527; }
.path .icon--pombas { height: auto; width: 104px; }
.mark__gem { width: 7px; height: 7px; border: 1px solid currentColor; transform: rotate(45deg); }

/* Escala tipográfica maior e mais confortável */
body { font-size: 19px; line-height: 1.65; }
.label { font-size: 12.5px; letter-spacing: .28em; }
.title { font-size: clamp(44px, 4.8vw, 66px); }
.title--sm { font-size: clamp(40px, 3.8vw, 54px); }
.subtitle { font-size: 34px; }
.page-title { font-size: clamp(54px, 7vw, 96px); }
.page-lead { font-size: 20.5px; }
.more { font-size: 12.5px; }
.head__text { font-size: 19.5px; }
.nav__links a { font-size: 12.5px; letter-spacing: .24em; }
.nav__rsvp { font-size: 18px; }
.seg button { font-size: 12.5px; }
.hero__date { font-size: clamp(19px, 1.5vw, 22px); }
.hero .label { font-size: 12px; }
.count__item { --w: clamp(62px, 5.4vw, 78px); }
.count__item small { font-size: 11px; }
.path__title { font-size: 12.5px; letter-spacing: .26em; }
.path__text { font-size: 18px; }
.convite__lead, .origem__lead { font-size: 20px; }
.venue__text { font-size: 20px; }
.info3 p { font-size: 18.5px; }
.chapter__text p:not(.label) { font-size: 19px; }
.chapter__text .quote { font-size: 21px; }
.word p, .rules p { font-size: 18px; }
.letter p { font-size: 19.5px; }
.route__stop h3 { font-size: 23px; }
.route__stop p:not(.label), .route__leg span { font-size: 17.5px; }
.note { font-size: 18.5px; }
.place__body h3, .places h3 { font-size: 25px; }
.place__body p:not(.label), .places p:not(.label) { font-size: 18px; }
.timeline b { font-size: 23px; }
.timeline p { font-size: 18px; }
.faq__list dt { font-size: 22px; }
.faq__list dd { font-size: 18px; }
.field span, .choice legend { font-size: 12.5px; }
.field input, .field textarea { font-size: 19px; }
.choice span { font-size: 18px; }
.btn { font-size: 20px; }
.footer__nav a, .footer__credit { font-size: 12.5px; }
.giftsband__text { font-size: 20px; }
.credits { font-size: 15.5px; }

@media (max-width: 1040px) {
  /* Menu do celular: legível, sem espaçamento entre as letras */
  .nav__links a { font-family: var(--script) !important; font-size: 44px !important; letter-spacing: 0 !important; text-transform: none !important; line-height: 1.3; opacity: 1; }
  .nav__links { gap: 14px; background: #262B19; }
}
@media (max-width: 720px) {
  body { font-size: 18.5px; }
  .label { font-size: 12px; letter-spacing: .24em; }
  .hero .label { font-size: 11px; }
  .hero__date { font-size: 18px; }
  .count__item { --w: 60px; }
  .count__item small { font-size: 10px; letter-spacing: .16em; }
  .path__title { font-size: 11.5px; letter-spacing: .2em; }
  .path__text { font-size: 16.5px; }
  .page-lead { font-size: 19px; }
  .head__text, .convite__lead, .origem__lead, .venue__text { font-size: 18.5px; }
  .chapter__text p:not(.label) { font-size: 18px; }
  .seg button { font-size: 11.5px; }
}

/* Crianças: desenho inteiro, com a cabeça sempre visível */
.duo__art { overflow: visible; }
.duo__art img { max-height: min(560px, 70vh); }
@media (max-width: 1040px) { .duo__art img { max-height: 440px; } }
