:root{--paper:#f8f6ef;--ink:#414a2d;--muted:#626858;--line:#d7d9cc;--green:#505b35;--serif:'Cormorant Garamond',Georgia,serif;--sans:'DM Sans',sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}header{height:90px;display:flex;align-items:center;justify-content:space-between;padding:0 6%;background:var(--paper)}.wordmark{font:italic 42px var(--serif);line-height:1;letter-spacing:-3px}.wordmark span{font-size:12px;vertical-align:top;margin-left:6px;letter-spacing:0}nav{display:flex;gap:36px;font-size:14px}nav a:hover{border-bottom:1px solid}.header-date{font-size:12px;letter-spacing:2px}.hero{min-height:690px;position:relative;background:#263127;color:white;display:flex;align-items:center;overflow:hidden}.hero-photo{position:absolute;inset:0;background-position:center;background-size:cover;opacity:.7}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,30,20,.8),rgba(18,30,20,.32) 60%,rgba(18,30,20,.1))}.hero-content{position:relative;z-index:1;margin:60px 10% 105px}.eyebrow{font-size:12px;letter-spacing:2.8px;font-weight:500;margin:0 0 24px}h1,h2,h3,p{margin-top:0}h1{font:400 clamp(70px,8.2vw,118px)/.87 var(--serif);letter-spacing:-3px;margin-bottom:32px}h1 em,h2 em{font-weight:400}h2{font:400 clamp(42px,4.6vw,65px)/1.06 var(--serif);letter-spacing:-1.5px;margin-bottom:24px}.hero-line{height:1px;width:58px;background:#c5cbbb;margin:30px 0 18px}.hero-date{font:400 25px var(--serif);margin-bottom:14px}.hero-copy{font-size:14px;line-height:1.8;color:#e3e7de;margin-bottom:28px}.button{display:inline-flex;align-items:center;justify-content:center;gap:26px;padding:15px 23px;border:1px solid transparent;font-size:14px;border-radius:2px;transition:background .2s,transform .2s}.button:hover{transform:translateY(-2px)}.light{background:var(--paper);color:var(--ink)}.dark{background:var(--green);color:white}.hero-foot{position:absolute;bottom:25px;left:6%;right:6%;z-index:1;display:flex;justify-content:space-between;font-size:10px;letter-spacing:2px}.section{padding:95px 8%;}.welcome{text-align:center;max-width:870px;margin:auto;padding-top:90px;padding-bottom:90px}.welcome>p:not(.eyebrow){color:var(--muted);max-width:570px;margin:0 auto 25px}.signature{font:italic 24px var(--serif)}.signature span{display:block;font:30px var(--serif);margin-top:23px}.day{background:#e8ebdf}.section-top{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:40px}.section-top h2{margin-bottom:0}.section-top>p{font-size:14px;color:var(--muted);margin-bottom:4px}.details{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #bfc6b3;border-bottom:1px solid #bfc6b3}.details article{padding:35px 25px 35px 0}.details article+article{border-left:1px solid #bfc6b3;padding-left:30px}.detail-number{font-size:11px;letter-spacing:2px;display:block;margin-bottom:22px}h3{font:400 30px/1.2 var(--serif);margin-bottom:9px}.details p{font-size:14px;margin-bottom:8px}.details strong{font-weight:500}.text-button{border:0;border-bottom:1px solid #909a81;padding:0 0 3px;margin-top:13px;background:none;color:var(--ink);font-size:13px}.text-button span{margin-left:20px}.countdown{display:flex;align-items:center;justify-content:space-between;margin-top:30px}.countdown>span{font-size:11px;letter-spacing:1.8px}.countdown p{margin:0;font:italic 25px var(--serif)}.countdown b{font-weight:500;font-size:35px}.countdown p span{margin-left:18px}.gift-note{display:flex;gap:12px;align-items:center;margin:0 0 33px;color:var(--muted);font-size:14px}.gift-note>span{font-size:27px}.gift-note p{margin:0}.gift-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.gift-card{border:1px solid var(--line);background:#faf9f4;display:flex;flex-direction:column}.gift-art{height:160px;display:flex;align-items:center;justify-content:center;background:#e7e8dc;font-size:54px}.gift-card:nth-child(3n+2) .gift-art{background:#ebe9db}.gift-card:nth-child(3n) .gift-art{background:#e0e5d5}.gift-art span{filter:grayscale(.25);transition:transform .3s}.gift-card:hover .gift-art span{transform:rotate(-6deg) scale(1.1)}.gift-body{padding:23px;display:flex;flex-direction:column;flex:1}.gift-category{font-size:10px;letter-spacing:1.8px;text-transform:uppercase;margin-bottom:10px;color:var(--muted)}.gift-body h3{font-size:28px}.gift-body>p{font-size:14px;color:var(--muted);line-height:1.65;margin-bottom:22px}.gift-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto}.price{font-size:17px}.gift-button{background:none;border:1px solid #a9b19f;padding:7px 12px;color:var(--ink);font-size:12px}.gift-button:hover{background:var(--green);color:white}.payment-note{text-align:center;font-size:13px;color:var(--muted);margin:30px 0 0}.closing{text-align:center;background:var(--green);color:#f4f3e9;padding:80px 20px}.closing .eyebrow{color:#ccd3c1}.closing-heart{font-size:34px;display:block;margin:10px 0 20px}.closing>p:last-child{font-size:14px;margin:0}footer{padding:30px 6%;display:flex;align-items:center;justify-content:space-between}footer p{font-size:12px;margin:0;color:var(--muted)}footer>span{font-size:11px;letter-spacing:1px}dialog{border:0;padding:40px;max-width:500px;width:calc(100% - 32px);background:var(--paper);color:var(--ink);text-align:center;max-height:90vh;overflow:auto}dialog::backdrop{background:#152015b8;backdrop-filter:blur(5px)}.close{position:absolute;right:13px;top:7px;border:0;background:none;color:var(--ink);font-size:32px}.dialog-symbol{font-size:52px;margin-bottom:20px}dialog .eyebrow{font-size:10px;letter-spacing:2px;margin-bottom:14px}dialog h2{font-size:42px}#dialog-description{font-size:15px;color:var(--muted)}.dialog-price{font-size:25px}.notice{background:#e8ebdf;padding:18px;text-align:left;font-size:14px;margin-bottom:25px}.notice p{font-size:13px;margin:8px 0 0}.close-button{width:100%}:focus-visible{outline:3px solid #b98647;outline-offset:5px}@media(max-width:760px){header{height:75px;padding:0 6%}.header-date{display:none}nav{gap:20px;font-size:12px}.wordmark{font-size:35px}.hero{min-height:660px}.hero-content{margin:60px 8% 100px}h1{font-size:85px}.hero-photo{background-position:60% center}.hero-foot{font-size:9px;right:8%;left:8%}.hero-foot span:last-child{display:none}.section{padding:65px 7%}.section-top{display:block}.section-top>p{margin-top:20px}.details{grid-template-columns:1fr}.details article{padding:24px 0}.details article+article{border-left:0;border-top:1px solid #bfc6b3;padding-left:0}.detail-number{margin-bottom:10px}.countdown{display:block}.countdown p{margin-top:12px}.gift-grid{grid-template-columns:repeat(2,1fr);gap:14px}.gift-art{height:125px;font-size:45px}.gift-body{padding:16px}.gift-body h3{font-size:25px}.gift-bottom{align-items:flex-start;flex-direction:column}.gift-button{width:100%;padding:10px}.gift-category{font-size:9px}.price{font-size:16px}.gift-body>p{font-size:13px}.closing{padding:65px 20px}footer{gap:20px;flex-wrap:wrap}footer>span{display:none}dialog{padding:35px 25px}dialog h2{font-size:36px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

h1>span{font-size:.55em;font-style:italic}.couple-names{font-size:11px;letter-spacing:2.2px;margin-top:-7px;margin-bottom:0}
.hero{background:#414a2d;min-height:740px}.hero-photo{left:52%;opacity:1}.hero-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 44%}.hero:after{display:none}.hero-content{width:45%;margin:65px 0 100px 8%}.hero h1{font-size:clamp(70px,7.5vw,110px)}.hero-foot{right:55%;left:8%;font-size:9px}.hero-foot span:last-child{display:none}.memories{padding-top:20px;padding-bottom:90px}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.photo-grid figure{margin:0;overflow:hidden;background:#e8ebdf}.photo-grid img{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover}@media(max-width:760px){.hero{display:flex;flex-direction:column;min-height:0;align-items:stretch}.hero-content{order:0;width:auto;margin:55px 8% 45px}.hero h1{font-size:85px}.hero-photo{position:relative;inset:auto;order:1;width:100%;height:auto;aspect-ratio:2/3}.hero-photo img{height:100%;object-position:center}.hero-foot{display:none}.memories{padding-top:10px;padding-bottom:65px}.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.photo-grid img{aspect-ratio:2/3}}

.wordmark{display:inline-flex;align-items:center;letter-spacing:0}.wordmark img{display:block;width:72px;height:56px}.hero{background:#414a2d}.closing{background:#414a2d}@media(max-width:760px){.wordmark img{width:59px;height:48px}}
.pix-area{border-top:1px solid var(--line);padding-top:18px}.pix-instruction{font-size:14px;line-height:1.6;margin-bottom:8px}#pix-qr{display:block;width:min(260px,100%);height:auto;margin:0 auto;background:#fff}.pix-receiver{font-size:13px;margin:10px 0 20px}.pix-area label{display:block;text-align:left;font-size:13px;margin-bottom:6px}#pix-code{width:100%;resize:none;border:1px solid var(--line);background:#fff;color:var(--ink);font:12px/1.5 monospace;padding:10px;border-radius:3px;overflow-wrap:anywhere}#copy-pix{width:100%;margin-top:10px}#copy-message{font-size:13px;margin:10px 0;min-height:22px}.pix-disclaimer{font-size:12px;color:var(--muted);line-height:1.6;margin:14px 0 24px}.close-button{background:transparent;color:var(--ink);border-color:var(--line)}#pix-message{font-size:14px}dialog:has(#pix-ready:not([hidden])){max-width:520px}dialog:has(#pix-ready:not([hidden])) .dialog-symbol{display:none}dialog:has(#pix-ready:not([hidden])) h2{font-size:34px;margin-bottom:12px}dialog:has(#pix-ready:not([hidden])) .dialog-price{margin-bottom:15px}
.gift-invitation{text-align:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:45px 20px}.gift-invitation>p{font:italic 29px/1.3 var(--serif);margin-bottom:24px}.gift-invitation>span{display:block;font-size:12px;color:var(--muted);margin-top:18px}#catalog-dialog{width:min(1080px,calc(100% - 32px));max-width:1080px;text-align:left;padding:34px;max-height:90vh}#catalog-title{font-size:45px;margin:0}#catalog-title:focus{outline:none}.catalog-header{position:relative;padding-right:30px}.catalog-header .eyebrow{margin-bottom:12px}.catalog-header .close{right:-13px;top:-22px}.catalog-intro{font-size:14px;margin:16px 0 24px;color:var(--muted)}#catalog-dialog .gift-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#catalog-dialog .gift-card{display:grid;grid-template-columns:90px minmax(0,1fr)}#catalog-dialog .gift-art{height:100%;font-size:36px}#catalog-dialog .gift-body{padding:17px}#catalog-dialog .gift-body h3{font-size:26px}#catalog-dialog .gift-body>p{font-size:13px;margin-bottom:14px}.catalog-footer{border-top:1px solid var(--line);margin-top:24px;padding-top:22px;text-align:center}.catalog-footer nav{justify-content:center;align-items:center;gap:20px}.catalog-footer nav>span{font-size:13px}.catalog-footer .text-button{font-size:12px}.gift-button:disabled{opacity:.4;cursor:default}.gift-button:disabled:hover{background:none;color:var(--ink)}body:has(dialog[open]){overflow:hidden}@media(max-width:760px){#catalog-dialog{padding:24px 18px;width:calc(100% - 20px)}#catalog-title{font-size:34px}#catalog-dialog .gift-grid{grid-template-columns:1fr}#catalog-dialog .gift-card{grid-template-columns:65px minmax(0,1fr)}#catalog-dialog .gift-art{font-size:30px}#catalog-dialog .gift-bottom{flex-direction:row;align-items:center}#catalog-dialog .gift-button{width:auto}#catalog-dialog .gift-body h3{font-size:26px}.catalog-footer nav{gap:12px}.catalog-footer nav>span{font-size:11px}.catalog-footer nav .gift-button{font-size:12px;padding:8px}.photo-grid figure{min-width:0;width:100%;margin:0}}
.hero-photo img{object-position:center top}.hero-content{margin-top:45px;margin-bottom:75px}.hero-countdown{display:flex;align-items:flex-start;gap:13px;margin:22px 0 29px;max-width:385px}.hero-countdown>div{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;border-top:1px solid #bac2a353;padding-top:13px}.hero-countdown span{font:400 clamp(27px,3.2vw,46px)/1.1 var(--sans);font-variant-numeric:tabular-nums;letter-spacing:-1.5px}.hero-countdown small{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:#d1d6c5;margin-top:9px}.hero-countdown i{font:400 24px var(--serif);color:#c0c8b1;padding-top:13px}.hero h1{margin-bottom:28px}.hero .hero-line{margin:25px 0 18px}@media(min-width:1600px){.hero-photo{height:100%}}@media(max-width:760px){.hero-countdown{max-width:390px;gap:8px;margin-bottom:28px}.hero-countdown span{font-size:34px}.hero-countdown small{font-size:9px;letter-spacing:1px}.hero-content{margin:44px 8% 40px}.hero-photo img{object-position:center top}}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.hero-secondary{background:transparent;border-color:#b5bba5;color:var(--paper)}.rsvp{display:grid;grid-template-columns:1fr 1fr;gap:70px;background:#e8ebdf}.rsvp-copy>p:not(.eyebrow){font-size:15px;color:var(--muted)}.rsvp-heart{font:48px var(--serif)}#rsvp-form{padding:32px;background:var(--paper);border:1px solid var(--line)}#rsvp-form>label,#party-size-field>label{display:block;font-size:14px;margin-bottom:8px}#rsvp-form input[type=text],#rsvp-form input:not([type]),#rsvp-form select{width:100%;padding:13px 14px;font:16px var(--sans);color:var(--ink);border:1px solid #b8bfab;background:#fff}#rsvp-form fieldset{border:0;padding:0;margin:24px 0}#rsvp-form legend{font-size:14px;margin-bottom:12px}.attendance-option{display:flex;align-items:center;gap:9px;font-size:14px;margin:10px 0;cursor:pointer}.attendance-option input{accent-color:var(--green);width:18px;height:18px}#rsvp-submit{width:100%;margin-top:24px}#rsvp-submit:disabled{opacity:.65;cursor:default}#rsvp-result{font-size:14px;margin:16px 0 0}#rsvp-result:empty{display:none}.hero{min-height:640px}.hero-content{margin-top:70px;margin-bottom:90px}.memories{padding-top:30px}@media(max-width:760px){.rsvp{grid-template-columns:1fr;gap:24px}#rsvp-form{padding:24px}.hero{min-height:0}.hero-content{margin:50px 8%}.hero-actions{gap:10px}.hero-actions .button{padding:13px 16px}nav{gap:14px;font-size:12px}}


@media(max-width:580px){header nav{gap:12px;font-size:11px}header{padding-left:5%;padding-right:5%}}

#catalog-dialog .product-card .gift-art{background:transparent;padding:8px;display:flex;align-items:center;justify-content:center}.gift-art img{display:block;width:100%;height:auto;max-height:200px;object-fit:contain}.product-reference{margin:0 0 16px;font-size:11px;line-height:1.6}.product-reference a{color:var(--green);text-decoration:underline;text-underline-offset:3px}.product-reference small{display:block;color:var(--muted);font-size:10px;margin-top:6px}.dialog-symbol img{width:100px;height:100px;object-fit:contain}#product-source>p{font-size:12px;line-height:1.5;margin-bottom:20px}#product-source .product-reference{margin-bottom:10px}

.gift-bottom a.gift-button{display:inline-flex;align-items:center;justify-content:center;text-align:center;white-space:nowrap}

.gift-actions{display:flex;flex-direction:column;gap:8px}.bought-button{color:var(--green)}.purchased-badge{font-size:12px;line-height:1.5;color:var(--green);padding:8px;background:#e8ebdf;text-align:center}.product-card:has(.purchased-badge) .gift-art{opacity:.55}#catalog-message{font-size:13px}#catalog-message:empty{display:none}#purchase-form{text-align:left}#purchase-form>label:first-child{display:block;margin:22px 0 8px;font-size:14px}#buyer-name{width:100%;font:16px var(--sans);padding:12px;border:1px solid var(--line);background:#fff;color:var(--ink)}#purchase-form small{display:block;font-size:11px;margin-top:6px;color:var(--muted)}.purchase-check{display:flex;gap:10px;align-items:center;margin:22px 0;font-size:14px}.purchase-check input{width:18px;height:18px;accent-color:var(--green)}#purchase-form .button{width:100%;margin-top:10px}#purchase-message{font-size:13px}#purchase-form button:disabled{opacity:.5;cursor:wait}

.gift-bottom{flex-wrap:wrap}.gift-actions{margin-left:auto}

.admin-link{font-size:11px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
/* Off-white, verde oliva e marrom: detalhes quentes sem perder a leveza. */
:root{--brown:#795640;--brown-dark:#60412f;--brown-soft:#c5ad96;--sand:#eee5d9;--line:#d8cdbd}
.section .eyebrow,.catalog-header .eyebrow,#purchase-dialog .eyebrow{color:var(--brown)}
.hero-line{background:var(--brown-soft)}
.gift-note{background:var(--sand);border-color:#d8c5b0;color:var(--brown-dark)}
.gift-note>span,.rsvp-heart{color:var(--brown)}
.gift-invitation{border-color:var(--brown-soft)}
.gift-button{border-color:#b59b83;color:var(--brown-dark);transition:background .2s,color .2s,border-color .2s}
.gift-button:hover{background:var(--brown);border-color:var(--brown);color:var(--paper)}
.gift-button:focus-visible{outline:2px solid var(--brown);outline-offset:3px}
.bought-button{color:var(--brown-dark)}
.gift-category{color:var(--brown)}
.photo-grid figure{background:var(--sand)}
footer{border-top:1px solid #cfb99f}footer p,footer .admin-link{color:var(--brown-dark)}
.closing-heart{color:#d7baa0}
#rsvp-form input:focus,#rsvp-form select:focus{outline-color:var(--brown)}

/* Datas de cada capítulo da galeria. */
.memory-chapter + .memory-chapter{margin-top:28px}
.memory-date{display:flex;align-items:center;justify-content:center;gap:20px;margin:24px auto 0;max-width:480px}
.memory-date::before,.memory-date::after{content:"";height:1px;flex:1;background:linear-gradient(90deg,transparent,var(--brown-soft))}
.memory-date::after{transform:rotate(180deg)}
.memory-date-badge{display:inline-flex;align-items:center;gap:12px;padding:9px 21px;border:1px solid var(--brown-soft);border-radius:50px;background:var(--sand)}
.memory-date-badge>span{font:25px/1 var(--serif);color:var(--green);transform:scaleX(1.2);transform-origin:center}
.memory-date time{font:500 14px/1.5 var(--sans);letter-spacing:2px;color:var(--brown-dark);font-variant-numeric:tabular-nums}
@media(max-width:760px){.memory-date{gap:12px;margin-top:20px}.memory-date-badge{padding:8px 16px}.memory-date time{font-size:13px}.memory-chapter+.memory-chapter{margin-top:32px}}

.wordmark img{object-fit:contain}

.wordmark img{width:96px;height:74px}
@media(max-width:760px){.wordmark img{width:80px;height:64px}}

/* Capa lado a lado também no celular. */
@media(max-width:760px){
 .hero{display:flex;flex-direction:row;align-items:center;min-height:0}
 .hero-photo{position:absolute;inset:0 0 0 52%;width:48%;height:100%;aspect-ratio:auto}
 .hero-photo img{height:100%;object-fit:cover;object-position:center top}
 .hero-content{width:42%;margin:36px 0 36px 6%}
 .hero .eyebrow{font-size:9px;letter-spacing:1.5px;margin-bottom:22px}
 .hero h1{font-size:clamp(39px,10.5vw,76px);letter-spacing:-1.5px;margin-bottom:22px}
 .hero-copy{font-size:12px;line-height:1.65}
 .hero-actions{flex-direction:column;align-items:stretch;gap:9px}
 .hero-actions .button{width:100%;padding:11px 6px;font-size:11px;text-align:center}
}

.rsvp-heart{display:block;width:max-content;margin:0 auto;text-align:center;line-height:1.2;transform:scaleX(1.2);transform-origin:center}

.closing-heart{width:max-content;margin:10px auto 0;transform:scaleX(1.2);transform-origin:center}

.gifts .gift-section-heading{margin-top:38px;margin-bottom:24px}

/* Hierarquia de leitura do convite para os presentes. */
.gifts>.section-top{justify-content:center;text-align:center;margin-bottom:24px}
.gifts .gift-section-heading{margin:24px 0 0}
.gift-invitation{padding:40px 24px}
.gift-invitation .gift-intro{max-width:650px;margin:0 auto 22px;font:400 clamp(29px,3.2vw,38px)/1.22 var(--serif);letter-spacing:-.5px;color:var(--ink)}
.gift-intro em{font-weight:400;color:var(--ink)}
.gift-invitation .gift-explanation{max-width:490px;margin:0 auto 10px;font:400 15px/1.8 var(--sans);color:var(--muted)}
.gift-invitation .gift-reassurance{margin:0 auto 28px;font:italic 500 24px/1.3 var(--serif);color:var(--brown)}
@media(max-width:760px){.gift-invitation{padding:32px 12px}.gift-invitation .gift-explanation{font-size:14px}.gift-invitation .gift-reassurance{font-size:23px}.gifts .gift-section-heading{font-size:10px;letter-spacing:2px}}

/* Uma seção por tela no celular, sem cortar conteúdo em telas menores. */
@media(max-width:760px){
 html{scroll-padding-top:0}
 .hero{min-height:calc(100svh - 75px);scroll-margin-top:75px}
 .rsvp.section,.gifts.section,.memories.section{min-height:100svh;padding:28px 7%;display:flex;flex-direction:column;justify-content:center}
 .rsvp.section{gap:18px}
 .rsvp .eyebrow{font-size:10px;letter-spacing:2px;margin-bottom:12px}
 .rsvp h2{font-size:36px;margin-bottom:14px}
 .rsvp-copy>p:not(.eyebrow){font-size:14px;margin-bottom:12px}
 .rsvp-heart{font-size:34px}
 #rsvp-form{padding:20px}
 #rsvp-form>label,#party-size-field>label,#rsvp-form legend{font-size:13px;margin-bottom:6px}
 #rsvp-form fieldset{margin:16px 0}
 .attendance-option{font-size:13px;margin:8px 0;min-height:28px}
 #rsvp-form input:not([type]),#rsvp-form select{padding:10px 12px}
 #rsvp-submit{margin-top:18px;padding:12px 16px}
 .gifts>.section-top{margin-bottom:20px}
 .gifts .gift-section-heading{margin-top:0}
 .gifts .payment-note{font-size:12px;margin-top:20px}
 .memories .section-top{margin-bottom:24px}
 .memories .eyebrow{font-size:10px;letter-spacing:2px;margin-bottom:12px}
 .memories h2{font-size:36px;margin-bottom:0}
 .memories .memory-date{margin-top:16px}
 .memories .memory-chapter+.memory-chapter{margin-top:24px}
}
@media(max-width:760px) and (max-height:700px){
 .rsvp.section,.gifts.section,.memories.section{padding-top:20px;padding-bottom:20px}
 .rsvp.section{gap:12px}
 .rsvp h2{font-size:30px;margin-bottom:10px}
 .rsvp-heart{font-size:28px}
 #rsvp-form{padding:16px}
 .gift-invitation{padding:24px 10px}
 .gift-invitation .gift-intro{font-size:26px;margin-bottom:16px}
 .gift-invitation .gift-reassurance{margin-bottom:20px}
 .memories h2{font-size:30px}
 .memories .section-top{margin-bottom:18px}
 .memories .memory-chapter+.memory-chapter{margin-top:16px}
 .memories .memory-date{margin-top:12px}
}

/* Rodapé compacto de ponta a ponta, dentro da seção das fotos. */
.memories.section{padding:0;background:#e8ebdf}
.gallery-content{padding:30px 8% 28px}
.gallery-footer{width:100%;min-height:124px;margin:0;padding:12px 8%;gap:16px;background:var(--green);color:var(--paper);border:0;flex-shrink:0}
.gallery-footer .wordmark img{width:48px;height:38px;filter:brightness(0) invert(1)}
.gallery-footer p{font-size:11px;color:var(--paper)}
.gallery-footer .admin-link{font-size:10px;color:var(--paper)}
@media(max-width:760px){
 .gallery-content{flex:1;display:flex;flex-direction:column;justify-content:center;padding:28px 7% 20px}
 .gallery-footer{min-height:100px;padding:10px 7%;gap:8px;flex-wrap:nowrap}
 .gallery-footer .wordmark img{width:38px;height:30px}
 .gallery-footer p{font-size:9px;line-height:1.5;max-width:130px;text-align:center}
 .gallery-footer .admin-link{font-size:9px;max-width:76px;text-align:right;line-height:1.5}
 .memories .photo-grid img{max-height:22svh}
 .memories .memory-chapter+.memory-chapter{margin-top:18px}
 .memories .memory-date{margin-top:12px}
}
@media(max-width:760px) and (max-height:700px){.gallery-content{padding-top:20px;padding-bottom:16px}}
.hero-photo img{object-position:44% top}

.gallery-footer .wordmark img{width:96px;height:74px;filter:brightness(0)}
.gallery-footer,.gallery-footer p,.gallery-footer .admin-link{color:#000}
@media(max-width:760px){.gallery-footer .wordmark img{width:80px;height:64px}}

.gallery-footer p{font-size:16px}
@media(max-width:760px){.gallery-footer p{font-size:12px}}

/* Acabamento da paleta, com prioridade para leitura e toque no celular. */
.hero .eyebrow{color:#e0c6ad}
.hero h1>span{color:#d9b99b}
.rsvp h2 em,.memories h2 em{color:var(--brown-dark)}
#rsvp-form{border:1px solid #d7d9cc;border-radius:8px;box-shadow:0 8px 24px #60412f08}
#rsvp-form>label,#rsvp-form legend,#party-size-field>label{color:var(--brown-dark)}
#rsvp-form input:not([type]),#rsvp-form select{border-color:var(--brown-soft);border-radius:4px}
#rsvp-form input[type=radio]{accent-color:var(--brown)}
.gift-invitation{border:0;background:linear-gradient(135deg,#eee5d94d,transparent 65%);border-radius:6px}
.gift-invitation>span{color:var(--brown-dark)}
.memory-date-badge{background:#e9ddce;border-color:#b59b83}
.memory-date-badge>span{color:var(--brown)}
.gallery-footer p{font-family:var(--serif);font-style:italic;font-size:23px;line-height:1.2}
@media(max-width:760px){
 .hero-content{width:42%;margin-left:6%}
 .hero .eyebrow{letter-spacing:1.3px}
 .hero-actions .button{min-height:44px;line-height:1.3;padding:10px 5px}
 #rsvp-form{width:100%}
 #rsvp-form input:not([type]),#rsvp-form select{min-height:44px}
 .attendance-option{min-height:36px}
 #rsvp-submit,#open-gifts{min-height:46px}
 .memories .photo-grid img{height:auto;max-height:19svh}
 .gallery-footer p{font-size:17px;max-width:145px}
 .gallery-footer .admin-link{display:inline-flex;align-items:center;justify-content:flex-end;min-height:44px}
}
@media(max-width:360px){
 .hero h1{font-size:clamp(32px,10.5vw,39px)}
 .hero-copy{font-size:11px}
 .hero-actions .button{font-size:10px}
 .gallery-footer{padding-left:5%;padding-right:5%}
 .gallery-footer .wordmark img{width:64px;height:52px}
 .gallery-footer p{font-size:16px}
 .memory-date time{font-size:12px;letter-spacing:1px}
}

/* Galeria em oliva, com rodapé claro e detalhes verdes. */
.memories.section{background:var(--ink);color:var(--paper)}
.memories h2 em{color:var(--paper)}
.memories .eyebrow{color:#e0c6ad}
.memories .memory-date-badge{background:var(--paper);border-color:transparent}
.memories .memory-date time,.memories .memory-date-badge>span{color:var(--ink)}
.memories .memory-date::before,.memories .memory-date::after{background:linear-gradient(90deg,transparent,#c5ad9680)}
.gallery-footer{background:var(--paper)}
.gallery-footer,.gallery-footer p,.gallery-footer .admin-link{color:var(--ink)}
header .wordmark,.gallery-footer .wordmark{position:relative;display:inline-flex}
header .wordmark img,.gallery-footer .wordmark img{opacity:0}
header .wordmark::after,.gallery-footer .wordmark::after{content:"";position:absolute;inset:0;background:var(--ink);-webkit-mask:url("monogram-lv.png") center/contain no-repeat;mask:url("monogram-lv.png") center/contain no-repeat;pointer-events:none}

/* Fotos maiores e datas mais afastadas no celular. */
@media(max-width:760px){
 .gallery-content{padding-left:12px;padding-right:12px;padding-bottom:24px}
 .gallery-content>.section-top{padding-left:calc(7vw - 12px);padding-right:calc(7vw - 12px)}
 .memories .photo-grid{gap:7px}
 .memories .photo-grid img{max-height:clamp(115px,calc((100svh - 390px)/2),240px)}
 .memories .memory-date{margin-top:36px;padding:0 12px}
 .memories .memory-chapter+.memory-chapter{margin-top:28px}
}
@media(max-width:760px) and (max-height:700px){
 .gallery-content{padding-bottom:16px}
 .memories .memory-date{margin-top:28px}
 .memories .memory-chapter+.memory-chapter{margin-top:24px}
}

/* Imagens dos presentes mais legíveis no celular. */
@media(max-width:760px){
 #catalog-dialog .product-card{grid-template-columns:clamp(96px,28vw,128px) minmax(0,1fr)}
 #catalog-dialog .product-card .gift-art{padding:6px}
 #catalog-dialog .product-card .gift-art img{max-height:240px}
 #catalog-dialog .product-card .gift-body{padding:16px 12px}
 #catalog-dialog .product-card .gift-body h3{font-size:24px}
}

.rsvp h2,.rsvp h2 em{color:var(--ink)}

/* Botões da capa em coluna, com mais espaço entre eles. */
.hero-actions{flex-direction:column;align-items:flex-start;gap:18px}
.hero-actions .button{width:220px;max-width:100%}
@media(max-width:760px){
 .hero-actions{align-items:stretch;gap:18px}
 .hero-actions .button{width:100%}
}

@media(max-width:760px){.hero-actions{transform:translateY(12px)}}

/* Enquadra o casal mais acima na capa em telas de desktop. */
@media(min-width:761px){.hero-photo img{object-position:44% 42%}}

/* Ícones vetoriais no celular, sem depender dos emojis do sistema. */
.mobile-icon{display:none}
@media(max-width:760px){
 .responsive-icon{display:inline-block;line-height:1;vertical-align:-.14em;flex-shrink:0}
 .responsive-icon>.desktop-glyph{display:none}
 .responsive-icon>.mobile-icon{display:block;width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
 .rsvp-heart>.responsive-icon,.memory-date-badge>span>.responsive-icon{vertical-align:0}
 .close .responsive-icon{font-size:.7em}
}
