/* Site público do casamento */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body.wsite { margin: 0; background: var(--c-offwhite); color: var(--c-ink); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; display: block; }
.font-display { font-family: var(--font-display); }
.center { text-align: center; }
.w100 { width: 100%; }

/* Botões */
.wbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 1px solid transparent;
  border-radius: 999px; padding: .8rem 1.6rem; font: 500 .95rem var(--font-body); cursor: pointer;
  text-decoration: none; transition: transform .15s, background .2s, color .2s; letter-spacing: .02em;
}
.wbtn:hover { transform: translateY(-1px); }
.wbtn-gold { background: var(--c-gold); color: #fff; }
.wbtn-gold:hover { background: #a3834c; color: #fff; }
.wbtn-olive { background: var(--c-olive); color: #fff; }
.wbtn-olive:hover { background: var(--c-olive-dark); color: #fff; }
.wbtn-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.wbtn-ghost:hover { background: rgba(255,255,255,.15); color: #fff; }
.wbtn-ghost-dark { border-color: var(--c-olive); color: var(--c-olive-dark); background: transparent; }
.wbtn-ghost-dark:hover { background: var(--c-olive); color: #fff; }
.wbtn-sm { padding: .55rem 1.1rem; font-size: .88rem; }
.wbtn-lg { padding: 1rem 2.4rem; font-size: 1.05rem; }
.wbtn-disabled, .wbtn:disabled { background: var(--c-beige); color: var(--c-muted); cursor: not-allowed; transform: none; }

/* Menu */
.wnav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 64px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 1.2rem; transition: background .3s, box-shadow .3s; color: #fff;
}
.wnav.solid { background: rgba(250,247,242,.96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--c-line); color: var(--c-ink); }
.wnav-brand { font: 500 1.35rem var(--font-display); color: inherit; text-decoration: none; }
.wnav-links { display: flex; align-items: center; gap: 1.4rem; }
.wnav-links a { color: inherit; text-decoration: none; font-size: .88rem; letter-spacing: .04em; opacity: .92; }
.wnav-links a:hover { opacity: 1; color: var(--c-gold); }
.wnav-links .wnav-cta { background: var(--c-gold); color: #fff !important; padding: .5rem 1.1rem; border-radius: 999px; opacity: 1; }
.wnav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
.wnav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; transition: .25s; }
@media (max-width: 860px) {
  .wnav-toggle { display: flex; color: inherit; }
  .wnav-links {
    position: fixed; inset: 64px 0 auto 0; background: var(--c-offwhite); color: var(--c-ink); flex-direction: column;
    align-items: stretch; gap: 0; padding: .5rem 1.2rem 1.2rem; box-shadow: 0 12px 24px rgba(0,0,0,.12);
    transform: translateY(-120%); transition: transform .3s; max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .wnav-links.open { transform: none; }
  .wnav-links a { padding: .95rem .2rem; border-bottom: 1px solid var(--c-line); font-size: 1rem; }
  .wnav-links .wnav-cta { margin-top: .8rem; text-align: center; border: 0; }
  .wnav.open-menu { background: var(--c-offwhite); color: var(--c-ink); }
}

/* Slider */
.hero-slider { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; color: #fff; overflow: hidden; background: var(--c-olive-dark); }
.slides, .slide { position: absolute; inset: 0; }
.slide { background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.slide.active { opacity: 1; }
.slide-empty { background: linear-gradient(135deg, var(--c-olive-dark), var(--c-olive) 55%, var(--c-gold)); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.25) 45%, rgba(0,0,0,.55)); }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 6rem 1.2rem 5rem; max-width: 820px; }
.hero-tag { text-transform: uppercase; letter-spacing: .32em; font-size: .78rem; opacity: .95; }
.hero-content h1 { font-size: clamp(2.8rem, 11vw, 6rem); margin: .5rem 0 .6rem; line-height: 1.05; font-weight: 500; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero-date { font-size: clamp(1.05rem, 3.4vw, 1.4rem); letter-spacing: .06em; }
.hero-place { opacity: .9; margin-top: .2rem; }
.countdown { display: flex; justify-content: center; gap: .7rem; margin: 1.8rem 0; }
.countdown div { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(4px); border-radius: 14px; min-width: 66px; padding: .6rem .4rem; }
.countdown b { display: block; font: 500 1.8rem var(--font-display); line-height: 1.1; }
.countdown span { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; opacity: .9; }
.hero-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.slide-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.18); border: 0; color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; }
.slide-arrow:hover { background: rgba(255,255,255,.32); }
.slide-arrow.prev { left: 14px; } .slide-arrow.next { right: 14px; }
.slide-dots { position: absolute; z-index: 3; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.slide-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); padding: 0; cursor: pointer; }
.slide-dots button.active { background: #fff; transform: scale(1.3); }
@media (max-width: 600px) { .slide-arrow { display: none; } .countdown div { min-width: 58px; } .countdown b { font-size: 1.5rem; } }

/* Seções */
.wsec { padding: 5rem 1.2rem; }
.wsec-alt { background: var(--c-beige); background: linear-gradient(180deg, #f3ece0, #f7f2e9); }
.wsec-dark { background: linear-gradient(135deg, var(--c-olive-dark), #4a5238); color: #fff; }
.wcontainer { max-width: 1120px; margin: 0 auto; }
.wcontainer.narrow { max-width: 780px; }
.sec-head { text-align: center; margin-bottom: 2.6rem; }
.sec-eyebrow { text-transform: uppercase; letter-spacing: .26em; font-size: .74rem; color: var(--c-gold); }
.sec-head h2 { font-size: clamp(2rem, 6vw, 3rem); margin: .35rem 0 0; font-weight: 500; }
.sec-line { width: 64px; height: 2px; background: var(--c-gold); margin: 1rem auto; }
.sec-sub { color: var(--c-muted); max-width: 620px; margin: 0 auto; }
.sec-head.light .sec-sub { color: rgba(255,255,255,.85); }
.sec-head.light .sec-eyebrow { color: var(--c-champagne); }
.notice { background: var(--c-gold-soft); color: #8a6a2f; padding: .8rem 1rem; border-radius: 12px; text-align: center; margin-bottom: 1.5rem; }
.empty { text-align: center; color: var(--c-muted); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .slide { transition: none; } }

/* História */
.story-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: center; }
.story-grid.no-photo { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.story-photo img { width: 100%; border-radius: 200px 200px 18px 18px; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-md); }
.story-text { font-size: 1.08rem; color: #4b473f; }
@media (max-width: 800px) { .story-grid { grid-template-columns: 1fr; gap: 1.6rem; } .story-photo img { max-height: 420px; width: 100%; } }
.timeline { position: relative; max-width: 860px; margin: 3.5rem auto 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--c-champagne); transform: translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: 0 2.4rem 2.2rem 0; }
.tl-item.right { margin-left: 50%; padding: 0 0 2.2rem 2.4rem; }
.tl-dot { position: absolute; top: 1.2rem; right: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--c-gold); border: 3px solid var(--c-offwhite); }
.tl-item.right .tl-dot { right: auto; left: -7px; }
.tl-card { background: #fff; border: 1px solid var(--c-line); border-radius: 16px; padding: 1.1rem 1.2rem; box-shadow: var(--shadow-sm); }
.tl-card img { border-radius: 10px; margin-bottom: .8rem; width: 100%; max-height: 240px; object-fit: cover; }
.tl-date { font-size: .78rem; color: var(--c-gold); text-transform: uppercase; letter-spacing: .14em; }
.tl-card h3 { font-size: 1.25rem; margin: .2rem 0 .3rem; }
.tl-card p { margin: 0; color: var(--c-muted); font-size: .96rem; }
@media (max-width: 700px) {
  .timeline::before { left: 8px; }
  .tl-item, .tl-item.right { width: 100%; margin-left: 0; padding: 0 0 1.6rem 2rem; }
  .tl-dot, .tl-item.right .tl-dot { left: 1px; right: auto; }
}

/* Local */
.places { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.places.one { grid-template-columns: minmax(0, 620px); justify-content: center; }
@media (max-width: 800px) { .places { grid-template-columns: 1fr; } }
.place { background: #fff; border: 1px solid var(--c-line); border-radius: 20px; padding: 1.8rem 1.4rem; text-align: center; box-shadow: var(--shadow-sm); }
.place-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--c-gold-soft); color: var(--c-gold); display: grid; place-items: center; font-size: 1.3rem; margin: 0 auto .8rem; }
.place h3 { font-size: 1.6rem; margin: 0 0 .3rem; }
.place-when { color: var(--c-olive-dark); font-weight: 500; }
.place-name { font-size: 1.1rem; margin-top: .6rem; font-weight: 500; }
.place-addr { color: var(--c-muted); margin-bottom: 1rem; }
.map { margin-top: 1.1rem; border-radius: 14px; overflow: hidden; border: 1px solid var(--c-line); }
.map iframe { width: 100%; height: 240px; border: 0; display: block; }
.dress { display: flex; gap: 1rem; align-items: center; justify-content: center; background: #fff; border: 1px dashed var(--c-gold); border-radius: 16px; padding: 1.1rem 1.4rem; margin: 1.6rem auto 0; max-width: 620px; }
.dress i { color: var(--c-gold); font-size: 1.5rem; }

/* Galeria */
.gallery { columns: 3; column-gap: 12px; }
@media (max-width: 800px) { .gallery { columns: 2; } }
.g-item { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; background: none; cursor: zoom-in; break-inside: avoid; border-radius: 12px; overflow: hidden; }
.g-item img { width: 100%; transition: transform .5s; }
.g-item:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; background: rgba(15,15,12,.94); z-index: 300; display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 82vh; object-fit: contain; margin: 0 auto; border-radius: 6px; }
.lightbox figcaption { color: #ddd; margin-top: .6rem; font-size: .92rem; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.14); border: 0; color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; }
.lb-close { top: 16px; right: 16px; } .lb-nav.prev { left: 14px; } .lb-nav.next { right: 14px; }
.lb-nav { top: 50%; transform: translateY(-50%); }

/* Presentes */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1.6rem; }
.chip { border: 1px solid var(--c-line); background: #fff; border-radius: 999px; padding: .4rem 1rem; font: 500 .85rem var(--font-body); cursor: pointer; color: var(--c-ink); }
.chip.active { background: var(--c-olive); border-color: var(--c-olive); color: #fff; }
.gifts { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; }
.gift { background: #fff; border: 1px solid var(--c-line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s; }
.gift:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.gift.sold { opacity: .7; }
.gift-img { position: relative; aspect-ratio: 4/3; background: var(--c-gold-soft); display: grid; place-items: center; color: var(--c-gold); font-size: 2.6rem; }
.gift-img img { width: 100%; height: 100%; object-fit: cover; }
.gift-flag { position: absolute; top: 10px; left: 10px; background: var(--c-olive-dark); color: #fff; font-size: .75rem; padding: .25rem .7rem; border-radius: 999px; font-family: var(--font-body); }
.gift-body { padding: 1.1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.gift-cat { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--c-gold); }
.gift-body h3 { font-size: 1.2rem; margin: .2rem 0 .3rem; line-height: 1.25; }
.gift-body p { color: var(--c-muted); font-size: .92rem; margin: 0 0 .6rem; }
.gift-prog { margin: .2rem 0 .6rem; }
.gift-prog div { height: 7px; background: var(--c-beige); border-radius: 999px; overflow: hidden; }
.gift-prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--c-olive), var(--c-gold)); }
.gift-prog small { color: var(--c-muted); font-size: .78rem; }
.gift-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; padding-top: .6rem; }
.gift-price { font: 600 1.25rem var(--font-body); color: var(--c-olive-dark); }
.gift-price small { font-size: .74rem; font-weight: 400; color: var(--c-muted); }
.secure-note { text-align: center; color: var(--c-muted); font-size: .88rem; margin-top: 1.6rem; }
.secure-note.sm { font-size: .78rem; margin: .8rem 0 0; }

/* Modal presente */
.wmodal { position: fixed; inset: 0; background: rgba(20,20,15,.6); z-index: 250; display: flex; align-items: flex-end; justify-content: center; overflow-y: auto; }
@media (min-width: 640px) { .wmodal { align-items: center; padding: 1.5rem; } }
.wmodal-box { position: relative; background: #fff; width: 100%; max-width: 480px; border-radius: 22px 22px 0 0; padding: 1.5rem 1.3rem 1.6rem; max-height: 96vh; overflow-y: auto; animation: rise .3s ease; }
@media (min-width: 640px) { .wmodal-box { border-radius: 22px; } }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.wmodal-close { position: absolute; top: 10px; right: 10px; border: 0; background: var(--c-beige); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.gm-head { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; padding-right: 2rem; }
.gm-head img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.gm-head small { color: var(--c-muted); }
.gm-head h3 { margin: 0; font-size: 1.3rem; line-height: 1.2; }
.fld { display: block; margin-bottom: .9rem; }
.fld span { display: block; font-size: .8rem; font-weight: 500; color: var(--c-muted); margin-bottom: .25rem; }
.fld input, .fld textarea, .fld select { width: 100%; border: 1px solid var(--c-line); border-radius: 12px; padding: .7rem .85rem; font: 400 1rem var(--font-body); background: #fff; color: var(--c-ink); }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: 0; border-color: var(--c-gold); box-shadow: 0 0 0 3px rgba(184,150,90,.18); }
.fld small { color: var(--c-muted); font-size: .76rem; }
.fld .count { display: block; text-align: right; }
.check { display: flex; gap: .5rem; align-items: flex-start; font-size: .9rem; color: #4b473f; margin-bottom: .9rem; }
.check input { margin-top: .3rem; }
.gm-total { display: flex; justify-content: space-between; font-size: 1.05rem; padding: .7rem 0; border-top: 1px solid var(--c-line); margin-bottom: .6rem; }
.gm-total b { font-size: 1.35rem; color: var(--c-olive-dark); }
.form-msg { min-height: 0; margin-bottom: .6rem; font-size: .9rem; border-radius: 10px; }
.form-msg.err { background: var(--c-danger-soft); color: var(--c-danger); padding: .6rem .8rem; }
.form-msg.ok { background: var(--c-olive-soft); color: var(--c-olive-dark); padding: .6rem .8rem; }

/* Mural */
.wall-form { max-width: 620px; margin: 0 auto 2.4rem; background: #fff; border: 1px solid var(--c-line); border-radius: 20px; padding: 1.4rem; box-shadow: var(--shadow-sm); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.wall { columns: 3; column-gap: 16px; }
@media (max-width: 900px) { .wall { columns: 2; } }
@media (max-width: 600px) { .wall { columns: 1; } }
.note { break-inside: avoid; margin: 0 0 16px; background: #fffdf8; border: 1px solid var(--c-line); border-left: 3px solid var(--c-gold); border-radius: 14px; padding: 1.1rem 1.2rem; box-shadow: var(--shadow-sm); }
.note p { margin: 0 0 .6rem; font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: #4b473f; word-break: break-word; }
.note footer { font-size: .85rem; color: var(--c-gold); font-weight: 500; }
.note.extra { display: none; }
.wall.all .note.extra { display: block; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--c-line); border-radius: 14px; margin-bottom: .8rem; padding: 0 1.2rem; }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--c-gold); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq details > div { padding: 0 0 1.1rem; color: var(--c-muted); }

/* Rodapé */
.wfoot { background: #2d2d2d; color: #d8d3c8; text-align: center; padding: 2.6rem 1rem; }
.foot-names { font-size: 1.8rem; color: #fff; }
.foot-tag { color: var(--c-gold); margin-top: .3rem; letter-spacing: .06em; }

/* Página de retorno do pagamento */
.result-card { max-width: 520px; margin: 0 auto; background: #fff; border-radius: 22px; padding: 2.2rem 1.5rem; text-align: center; box-shadow: var(--shadow-md); border: 1px solid var(--c-line); }
.result-card .big-ico { font-size: 3rem; margin-bottom: .6rem; }
.result-card h1 { font-size: 1.9rem; margin: 0 0 .5rem; }
.result-card p { color: var(--c-muted); }
