.mast{background:var(--cru);border-bottom:1px solid var(--oliva);padding-block:7px;pointer-events:auto}
section[id]{scroll-margin-top:62px}
#historia{padding:clamp(52px,7vw,110px) 8vw;background:var(--mata);color:var(--cru)}
.folio-head,.folio-nav{display:flex;align-items:center;justify-content:space-between;gap:1rem;font:15px/1.4 Overpass,sans-serif}
.folio-head{padding-bottom:1.1rem;border-bottom:1px solid var(--oliva)}
#historia h2{font:400 clamp(38px,4.8vw,76px)/1.07 var(--serif);max-width:18ch;margin:1em 0 .55em}
.chapter-sheet{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,24%);align-items:center;gap:8%;min-height:min(400px,50vw)}
.chapter-sheet[hidden]{display:none}.chapter-sheet h3{font:400 clamp(26px,2.5vw,44px)/1.1 var(--serif);margin:0 0 .65em}.chapter-sheet p{font:400 clamp(20px,1.8vw,29px)/1.42 var(--serif);max-width:46ch;margin:.65em 0}.chapter-sheet img{max-width:100%;max-height:260px;height:auto;width:auto;justify-self:center}.folios{touch-action:pan-y}
.folio-nav{border-top:1px solid var(--oliva);margin-top:2rem;padding-top:.5rem}.folio-nav button,.folio-head a{min-height:44px;display:inline-flex;align-items:center}.folio-nav button:disabled{opacity:.42}
.invite-art{width:min(100%,420px);height:auto;justify-self:center}
#informacoes,#convite,#presentes{grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);column-gap:8%;row-gap:1.4rem;align-items:center}
:is(#informacoes,#convite,#presentes)>.margem{grid-column:1;writing-mode:horizontal-tb;align-self:end}
:is(#informacoes,#convite,#presentes)>div{grid-column:1;align-self:start}
.section-art{grid-column:2;grid-row:1/3;width:100%;height:min(40vw,490px);object-fit:contain}
#convite::before,#presentes::before{content:none}
.footer-signature{width:clamp(150px,21vw,300px);height:auto;margin-top:1.1rem}
@media(max-width:700px){.chapter-sheet{grid-template-columns:1fr;gap:1rem}.chapter-sheet img{justify-self:end;max-width:54%;max-height:145px}.section-art{height:220px;width:62%;justify-self:end;grid-column:1;grid-row:auto}#informacoes,#convite,#presentes{grid-template-columns:1fr}.invite-art{width:min(85%,330px)}}
