/* =============================================
   PAGINAS: presentes, pagamento, confirmacao de presenca, padrinhos e familia.
   Mesma paleta do theme.css (grafite, prata, papel). Carregado por ultimo.
   ============================================= */

:root {
  --ink: var(--color-dark, #292a2e);
  --ink-soft: #3a3b40;
  --silver: var(--color-silver, #a7a9ae);
  --line: var(--color-line, #dedfe2);
  --paper: #fbfbfc;
  --mist: #f0f1f3;
  --tile-a: #f6f7f8;
  --tile-b: #e7e8eb;
  --ok: #1f7a4d;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-card: 0 1px 2px rgba(20, 20, 24, .04), 0 8px 24px rgba(20, 20, 24, .06);
  --shadow-lift: 0 2px 4px rgba(20, 20, 24, .05), 0 18px 40px rgba(20, 20, 24, .10);
}

/* ---------- Cabecalho compacto de pagina ---------- */
.pg-head { padding: 72px 0 36px; text-align: center; background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%); }
.pg-head .eyebrow { font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--silver); font-weight: 600; }
.pg-head h1 { font-family: var(--font-heading); font-weight: 500; font-size: clamp(2.6rem, 7vw, 4.4rem); margin: 10px 0 12px; color: var(--ink); }
.pg-head .lead-sm { color: #686a70; font-size: .95rem; max-width: 560px; margin: 0 auto; }
.pg-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.pg-perk { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .74rem; color: var(--ink-soft); }
.pg-perk i { color: var(--silver); font-size: .95rem; }

/* ---------- Barra de filtros (fixa sob o menu) ---------- */
.gift-toolbar { position: sticky; top: 66px; z-index: 20; background: rgba(251, 251, 252, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.gift-toolbar .container { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; justify-content: center; padding-top: 12px; padding-bottom: 12px; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1 1 100%; justify-content: center; padding: 2px; }
.chip-row::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-soft); font: 500 .74rem var(--font-body); cursor: pointer; transition: all .18s; text-decoration: none; white-space: nowrap; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .count { font-size: .64rem; opacity: .6; }
.tool-search { position: relative; width: 340px; flex: 0 0 auto; }
.tool-search i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--silver); }
.tool-search input { width: 100%; padding: 10px 14px 10px 36px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .82rem; outline: none; transition: border-color .15s, box-shadow .15s; }
.tool-search input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(41, 42, 46, .08); }
.tool-sort { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; padding: 9px 30px 9px 14px; font-size: .78rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23686a70' fill='none' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; color: var(--ink-soft); }
@media (max-width: 991.98px) {
  .gift-toolbar { top: 62px; }
  .chip-row { order: 3; justify-content: flex-start; }
  .tool-search { flex: 1; width: auto; }
}

/* ---------- Grade de presentes ---------- */
.gift-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1199.98px) { .gift-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.gtile { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #e8e9ec; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-card); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.gtile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); color: inherit; }
.gtile:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.gtile-art { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; background: radial-gradient(120% 90% at 30% 20%, #ffffff 0%, var(--tile-a) 45%, var(--tile-b) 100%); overflow: hidden; }
.gtile-art::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(41, 42, 46, .06); border-radius: 12px; pointer-events: none; }
.gtile-art > i { font-size: clamp(2.2rem, 4vw, 3rem); color: var(--ink-soft); opacity: .78; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.gtile:hover .gtile-art > i { transform: scale(1.12) rotate(-4deg); }
.gtile-art img { width: 100%; height: 100%; object-fit: cover; }
.gtile-tag { position: absolute; left: 12px; top: 12px; z-index: 1; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; background: rgba(255, 255, 255, .9); border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px; color: #686a70; }
.gtile-star { position: absolute; right: 12px; top: 12px; z-index: 1; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .72rem; line-height: 1; }
.gtile-star i { font-size: .72rem; opacity: 1; }
.gtile-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.gtile-name { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 500; line-height: 1.15; margin: 0 0 6px; color: var(--ink); }
.gtile-desc { font-size: .76rem; line-height: 1.5; color: #7a7c82; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gtile-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gtile-price { font-weight: 600; font-size: .95rem; color: var(--ink); white-space: nowrap; }
.gtile-price small { display: block; font-weight: 500; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--silver); }
.gtile-go { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: all .2s; flex: 0 0 auto; }
.gtile:hover .gtile-go { background: var(--ink); border-color: var(--ink); color: #fff; }
.gtile.is-soldout { opacity: .55; pointer-events: none; }
.gtile.is-soldout .gtile-go { display: none; }
@media (max-width: 767.98px) {
  .gtile-body { padding: 12px 12px 14px; }
  .gtile-name { font-size: 1.12rem; }
  .gtile-desc { display: none; }
  .gtile-go { width: 32px; height: 32px; }
}
.gift-empty { text-align: center; padding: 60px 0; color: #7a7c82; }
.gift-count-line { text-align: center; color: #7a7c82; font-size: .78rem; margin: 26px 0 6px; }

/* Faixa "valor livre" no fim da lista */
.free-band { margin-top: 48px; border-radius: 24px; background: var(--ink); color: #fff; padding: 38px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.free-band::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); }
.free-band::after { content: ""; position: absolute; width: 260px; height: 260px; right: -40px; top: -90px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); }
.free-band h3 { font-family: var(--font-heading); font-size: 2rem; margin: 6px 0; color: #fff; }
.free-band p { color: #c8c9cc; margin: 0; font-size: .9rem; }
.free-band .eyebrow { color: #a7a9ae; font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; }
.btn-light-pill { position: relative; z-index: 1; background: #fff; color: var(--ink); border-radius: 999px !important; padding: 13px 26px; font-weight: 600; letter-spacing: .1em; font-size: .72rem; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.btn-light-pill:hover { background: #e9eaec; color: #000; }
@media (max-width: 767.98px) { .free-band { grid-template-columns: 1fr; padding: 28px; } }

/* ---------- Checkout ---------- */
.co-wrap { padding: 36px 0 80px; }
.co-back { display: inline-flex; align-items: center; gap: 6px; color: #686a70; font-size: .8rem; text-decoration: none; margin-bottom: 18px; }
.co-back:hover { color: var(--ink); }
.co-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px; align-items: start; }
@media (max-width: 991.98px) { .co-grid { grid-template-columns: 1fr; gap: 20px; } }

.co-summary { position: sticky; top: 96px; background: #fff; border: 1px solid #e8e9ec; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-card); }
.co-summary .gtile-art { aspect-ratio: 16 / 11; }
.co-summary .gtile-art > i { font-size: 4.2rem; }
.co-summary-body { padding: 24px 26px 26px; }
.co-summary h1 { font-family: var(--font-heading); font-size: 2.3rem; font-weight: 500; margin: 6px 0 8px; line-height: 1.05; }
.co-summary p { color: #7a7c82; font-size: .88rem; margin-bottom: 18px; }
.co-price-row { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 16px; }
.co-price-row span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--silver); }
.co-price-row strong { font-family: var(--font-heading); font-size: 2rem; font-weight: 500; }
.co-trust { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.co-trust li { display: flex; gap: 10px; align-items: flex-start; font-size: .78rem; color: #686a70; }
.co-trust i { color: var(--ink-soft); font-size: 1rem; line-height: 1.2; }
@media (max-width: 991.98px) {
  .co-summary { position: static; display: grid; grid-template-columns: 120px 1fr; border-radius: 18px; }
  .co-summary .gtile-art { aspect-ratio: auto; height: 100%; min-height: 120px; }
  .co-summary .gtile-art::after { inset: 8px; }
  .co-summary .gtile-art > i { font-size: 2.4rem; }
  .co-summary-body { padding: 16px; }
  .co-summary h1 { font-size: 1.5rem; }
  .co-summary p, .co-trust { display: none; }
  .co-price-row { border: 0; padding: 0; }
  .co-price-row strong { font-size: 1.35rem; }
}

.co-card { background: #fff; border: 1px solid #e8e9ec; border-radius: 24px; box-shadow: var(--shadow-card); overflow: hidden; }
.co-steps { display: flex; gap: 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.co-steps div { flex: 1; display: flex; align-items: center; gap: 10px; padding: 16px 22px; font-size: .74rem; color: #9a9ca1; letter-spacing: .04em; }
.co-steps div b { width: 24px; height: 24px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-size: .7rem; font-weight: 600; }
.co-steps div.on { color: var(--ink); }
.co-steps div.on b { background: var(--ink); border-color: var(--ink); color: #fff; }
.co-steps div.done { color: var(--ok); }
.co-steps div.done b { background: var(--ok); border-color: var(--ok); color: #fff; }
.co-section { padding: 24px 28px; border-bottom: 1px solid #efeff1; }
.co-section:last-of-type { border-bottom: 0; }
.co-section h2 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--silver); font-weight: 600; margin: 0 0 16px; }
@media (max-width: 575.98px) { .co-section { padding: 20px 18px; } .co-steps div { padding: 14px 12px; font-size: .68rem; } }

.fld { position: relative; }
.fld label { display: block; font-size: .78rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 6px; }
.fld label .opt { color: var(--silver); font-weight: 400; }
.fld .form-control { border-radius: 12px !important; border: 1px solid var(--line); padding: 12px 14px; font-size: .92rem; transition: border-color .15s, box-shadow .15s; }
.fld .form-control:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(41, 42, 46, .08); }
.fld .form-control.is-invalid { border-color: #b3261e; box-shadow: none; background-image: none; }
.fld .err { color: #b3261e; font-size: .74rem; margin-top: 6px; display: flex; gap: 6px; align-items: center; }
.fld .hint { color: #9a9ca1; font-size: .72rem; margin-top: 6px; }
.char-count { position: absolute; right: 12px; bottom: 10px; font-size: .66rem; color: var(--silver); }

/* Valor sugerido */
.amount-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.amount-chip { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 16px; font: 600 .86rem var(--font-body); color: var(--ink-soft); cursor: pointer; transition: all .15s; }
.amount-chip:hover { border-color: var(--ink); }
.amount-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.money-input { position: relative; }
.money-input span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #7a7c82; font-weight: 600; font-size: .9rem; }
.money-input .form-control { padding-left: 44px !important; font-weight: 600; font-size: 1.05rem !important; }

/* Quantidade */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 44px; height: 44px; border: 0; background: #fff; font-size: 1.2rem; color: var(--ink); }
.qty button:hover { background: var(--mist); }
.qty input { width: 56px; border: 0; text-align: center; font-weight: 600; font-size: 1rem; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Forma de pagamento */
.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 575.98px) { .pay-options { grid-template-columns: 1fr; } }
.pay-opt { position: relative; display: block; border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 16px 16px 52px; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; background: #fff; margin: 0; }
.pay-opt:hover { border-color: #b9bbc0; }
.pay-opt input { position: absolute; opacity: 0; }
.pay-opt .dot { position: absolute; left: 18px; top: 18px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #b9bbc0; transition: all .15s; }
.pay-opt strong { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--ink); }
.pay-opt small { display: block; color: #7a7c82; font-size: .74rem; margin-top: 3px; line-height: 1.4; }
.pay-opt .pill { font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; background: var(--mist); color: #686a70; border-radius: 999px; padding: 3px 8px; font-weight: 600; }
.pay-opt:has(input:checked) { border-color: var(--ink); background: #fafafb; box-shadow: 0 0 0 4px rgba(41, 42, 46, .06); }
.pay-opt:has(input:checked) .dot { border-color: var(--ink); box-shadow: inset 0 0 0 5px var(--ink); }
.pay-opt:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }

/* Rodape do formulario com total */
.co-total { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px; background: var(--paper); border-top: 1px solid var(--line); }
.co-total .lbl { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--silver); }
.co-total .val { font-family: var(--font-heading); font-size: 2.1rem; line-height: 1; }
.btn-pay { border: 0; border-radius: 999px !important; background: var(--ink); color: #fff; padding: 16px 28px; font: 600 .78rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; transition: transform .15s, background .15s; }
.btn-pay:hover { background: #000; transform: translateY(-1px); }
.btn-pay:disabled { opacity: .6; transform: none; }
@media (max-width: 575.98px) {
  .co-total { position: sticky; bottom: 0; padding: 14px 16px; box-shadow: 0 -8px 24px rgba(20, 20, 24, .08); z-index: 5; }
  .co-total .val { font-size: 1.6rem; }
  .btn-pay { padding: 14px 18px; font-size: .7rem; }
}
.co-alert { margin: 20px 28px 0; border-radius: 12px; padding: 12px 16px; background: #fdf2f1; color: #8c1d18; font-size: .82rem; display: flex; gap: 10px; align-items: center; }

/* ---------- Pagamento / agradecimento ---------- */
.pay-wrap { padding: 36px 0 80px; }
.pay-hero { text-align: center; margin-bottom: 28px; }
.pay-hero .badge-ok { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-grid; place-items: center; font-size: 1.6rem; box-shadow: 0 0 0 10px var(--mist); }
.pay-hero .badge-ok.is-paid { background: var(--ok); box-shadow: 0 0 0 10px #e3f2ea; }
.pay-hero h1 { font-family: var(--font-heading); font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 500; margin: 22px 0 6px; }
.pay-hero p { color: #686a70; margin: 0; }
.progress-steps { display: flex; justify-content: center; align-items: center; gap: 0; margin: 26px auto 34px; max-width: 520px; }
.progress-steps .st { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .68rem; letter-spacing: .06em; color: #9a9ca1; min-width: 90px; }
.progress-steps .st b { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; background: #fff; font-size: .78rem; }
.progress-steps .st.done { color: var(--ok); }
.progress-steps .st.done b { background: var(--ok); border-color: var(--ok); color: #fff; }
.progress-steps .st.on { color: var(--ink); }
.progress-steps .st.on b { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 0 0 5px rgba(41, 42, 46, .1); }
.progress-steps .bar { flex: 1; height: 1.5px; background: var(--line); margin: 0 -16px 22px; }
.progress-steps .bar.done { background: var(--ok); }

.pay-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 28px; align-items: start; }
@media (max-width: 991.98px) { .pay-grid { grid-template-columns: 1fr; } }
.pay-panel { background: #fff; border: 1px solid #e8e9ec; border-radius: 24px; box-shadow: var(--shadow-card); overflow: hidden; }
.pay-tabs { display: flex; border-bottom: 1px solid var(--line); background: var(--paper); }
.pay-tabs button { flex: 1; border: 0; background: transparent; padding: 18px 12px; font: 600 .76rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: #9a9ca1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-bottom: 2px solid transparent; }
.pay-tabs button.on { color: var(--ink); border-bottom-color: var(--ink); background: #fff; }
.pay-body { padding: 28px; }
@media (max-width: 575.98px) { .pay-body { padding: 20px 16px; } }
.pix-grid { display: grid; grid-template-columns: 230px 1fr; gap: 28px; align-items: center; }
@media (max-width: 767.98px) { .pix-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.qr-frame { position: relative; padding: 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.qr-frame img { display: block; width: 200px; height: 200px; image-rendering: pixelated; }
.qr-frame::before, .qr-frame::after { content: ""; position: absolute; width: 26px; height: 26px; border: 2px solid var(--ink); }
.qr-frame::before { left: -6px; top: -6px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.qr-frame::after { right: -6px; bottom: -6px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.pix-amount-lbl { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--silver); }
.pix-amount-val { font-family: var(--font-heading); font-size: 2.8rem; line-height: 1; margin: 4px 0 16px; }
.pix-howto { list-style: none; counter-reset: s; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.pix-howto li { counter-increment: s; display: flex; gap: 10px; align-items: center; font-size: .82rem; color: #55575c; text-align: left; }
.pix-howto li::before { content: counter(s); width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: var(--mist); color: var(--ink); font-size: .68rem; font-weight: 700; display: grid; place-items: center; }
.copy-field { display: flex; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper); margin-top: 18px; }
.copy-field input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 13px 14px; font: .74rem ui-monospace, Consolas, monospace; color: #55575c; outline: none; }
.copy-field button { border: 0; background: var(--ink); color: #fff; padding: 0 18px; font: 600 .7rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.copy-field button.copied { background: var(--ok); }
.copy-label { display: block; text-align: left; font-size: .7rem; color: #7a7c82; margin-top: 16px; margin-bottom: -10px; }
.card-cta { text-align: center; padding: 10px 0; }
.card-cta .brands { display: flex; justify-content: center; gap: 10px; font-size: 1.6rem; color: var(--ink-soft); margin: 6px 0 14px; }
.card-cta p { color: #686a70; font-size: .88rem; max-width: 420px; margin: 0 auto 20px; }
.test-note { margin-top: 14px; font-size: .72rem; color: #8a6d00; background: #fff8e1; border-radius: 10px; padding: 8px 12px; display: inline-flex; gap: 6px; }
.state-box { text-align: center; padding: 26px 10px; }
.state-box i { font-size: 2.4rem; }
.state-box h3 { font-family: var(--font-heading); font-size: 1.9rem; margin: 12px 0 6px; }
.state-box p { color: #686a70; margin: 0 auto; max-width: 420px; }

.order-card { background: #fff; border: 1px solid #e8e9ec; border-radius: 24px; padding: 24px; box-shadow: var(--shadow-card); position: sticky; top: 96px; }
.order-card .code { font: 600 .82rem ui-monospace, Consolas, monospace; letter-spacing: .06em; background: var(--mist); border-radius: 8px; padding: 4px 10px; display: inline-block; }
.order-line { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid #efeff1; }
.order-line .ic { width: 46px; height: 46px; border-radius: 12px; flex: 0 0 46px; background: radial-gradient(120% 90% at 30% 20%, #fff 0%, var(--tile-a) 45%, var(--tile-b) 100%); display: grid; place-items: center; color: var(--ink-soft); font-size: 1.2rem; }
.order-line .nm { flex: 1; font-size: .86rem; color: var(--ink); }
.order-line .am { font-weight: 600; font-size: .86rem; }
.order-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; }
.order-total strong { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 500; }
.order-msg { margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--paper); font-style: italic; color: #55575c; font-size: .86rem; }
@media (max-width: 991.98px) { .order-card { position: static; } }

/* ---------- Confirmacao de presenca ---------- */
.rsvp-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 900px; margin: 0 auto; }
@media (max-width: 767.98px) { .rsvp-choices { grid-template-columns: 1fr; } }
.rsvp-choice { position: relative; display: flex; flex-direction: column; gap: 10px; text-align: left; padding: 28px; border-radius: 24px; border: 1px solid #e8e9ec; background: #fff; box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; cursor: pointer; overflow: hidden; }
.rsvp-choice:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); color: var(--ink); }
.rsvp-choice .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; background: var(--mist); color: var(--ink); }
.rsvp-choice.is-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.rsvp-choice.is-dark:hover { color: #fff; }
.rsvp-choice.is-dark .ico { background: rgba(255, 255, 255, .1); color: #fff; }
.rsvp-choice.is-dark p { color: #c8c9cc; }
.rsvp-choice h3 { font-family: var(--font-heading); font-size: 1.9rem; font-weight: 500; margin: 6px 0 0; }
.rsvp-choice p { color: #686a70; font-size: .86rem; margin: 0; }
.rsvp-choice .go { margin-top: 10px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.rsvp-choice .go i { transition: transform .2s; }
.rsvp-choice:hover .go i { transform: translateX(4px); }
.rsvp-choice.is-dark::after { content: ""; position: absolute; width: 240px; height: 240px; right: -80px; bottom: -120px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); }

.attend { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 575.98px) { .attend { grid-template-columns: 1fr; } }
.attend label { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px; border: 1.5px solid var(--line); cursor: pointer; background: #fff; transition: all .15s; margin: 0; }
.attend input { position: absolute; opacity: 0; }
.attend .em { font-size: 1.6rem; }
.attend strong { display: block; font-size: .95rem; }
.attend small { color: #7a7c82; font-size: .74rem; }
.attend label:has(input:checked) { border-color: var(--ink); background: #fafafb; box-shadow: 0 0 0 4px rgba(41, 42, 46, .06); }
.attend label:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.companions-box { border-radius: 16px; background: var(--paper); border: 1px dashed var(--line); padding: 18px; }

/* ---------- Padrinhos e familia ---------- */
.fam-section { padding: 70px 0; }
.fam-head { text-align: center; margin-bottom: 38px; }
.fam-head .eyebrow { font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--silver); font-weight: 600; }
.fam-head h2 { font-family: var(--font-heading); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 500; margin: 8px 0 8px; }
.fam-head p { color: #686a70; max-width: 560px; margin: 0 auto; font-size: .92rem; }
.fam-divider { display: flex; align-items: center; gap: 16px; justify-content: center; color: var(--silver); margin: 14px 0 0; }
.fam-divider::before, .fam-divider::after { content: ""; width: 60px; height: 1px; background: var(--line); }

.parents { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 980px; margin: 0 auto; }
@media (max-width: 767.98px) { .parents { grid-template-columns: 1fr; } }
.parents-card { border-radius: 28px; background: #fff; border: 1px solid #e8e9ec; box-shadow: var(--shadow-card); padding: 30px 26px; text-align: center; }
.parents-card .side { font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--silver); font-weight: 600; }
.parents-card .people { display: flex; justify-content: center; gap: 22px; margin-top: 20px; flex-wrap: wrap; }

.person { display: flex; flex-direction: column; align-items: center; text-align: center; }
.avatar { width: 128px; height: 128px; border-radius: 50%; overflow: hidden; position: relative; background: radial-gradient(120% 100% at 30% 20%, #fff 0%, var(--tile-a) 45%, var(--tile-b) 100%); display: grid; place-items: center; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar .ini { font-family: var(--font-heading); font-size: 2.6rem; color: var(--ink-soft); letter-spacing: .02em; }
.person .nm { font-family: var(--font-heading); font-size: 1.45rem; margin: 16px 0 2px; line-height: 1.1; }
.person .rl { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--silver); font-weight: 600; }
.person .bio { font-size: .8rem; color: #686a70; margin: 8px 0 0; max-width: 240px; }
.person .ig { margin-top: 8px; font-size: .74rem; color: var(--ink-soft); text-decoration: none; }
.person .ig:hover { color: #000; }

.people-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 20px; }
.people-grid > * { flex: 0 1 calc((100% - 60px) / 4); }
@media (max-width: 991.98px) { .people-grid > * { flex-basis: calc((100% - 40px) / 3); } }
@media (max-width: 575.98px) { .people-grid { gap: 24px 12px; } .people-grid > * { flex-basis: calc((100% - 12px) / 2); } .avatar { width: 104px; height: 104px; } .person .nm { font-size: 1.2rem; } }
.pcard { padding: 26px 14px 22px; border-radius: 22px; background: #fff; border: 1px solid #efeff1; transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.side-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.fam-empty { text-align: center; max-width: 520px; margin: 0 auto; padding: 40px 28px; border-radius: 24px; border: 1px dashed var(--line); color: #686a70; }
.fam-empty i { font-size: 2rem; color: var(--silver); }

.gift-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 767.98px) { .gift-grid.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.opt-lower { text-transform: none; letter-spacing: 0; color: var(--silver); font-weight: 400; }

.pay-options:has(> .pay-opt:only-child) { grid-template-columns: 1fr; }
.link-quiet { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-size: .74rem; }
.link-quiet:hover { color: #000; }

/* Galeria com poucas fotos: centralizada */
.gallery-grid.is-few { columns: 2 260px; max-width: 640px; margin: 0 auto; }
/* Playlist: rotulo do topo sem fundo */
.playlist-hero .section-tag { background: none !important; color: #c8c9cc !important; }
/* Confirmacao enviada e paginas simples */
.done-wrap { padding: 80px 0 90px; text-align: center; }
.done-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.btn-ghost { border: 1px solid var(--line); border-radius: 999px !important; padding: 15px 26px; font: 600 .74rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; background: #fff; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
a.btn-pay { text-decoration: none; }
a.btn-pay:hover { color: #fff; }

/* Contato */
.contact-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.contact-card { flex: 0 1 380px; background: #fff; border: 1px solid #e8e9ec; border-radius: 24px; padding: 28px; box-shadow: var(--shadow-card); text-align: center; }
.contact-card .avatar { width: 96px; height: 96px; margin: 0 auto; }
.contact-card .avatar .ini { font-size: 2rem; }
.contact-card h3 { font-family: var(--font-heading); font-size: 1.7rem; margin: 16px 0 2px; }
.contact-card .rl { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--silver); font-weight: 600; }
.contact-card p { color: #686a70; font-size: .86rem; margin: 12px 0 18px; }
.contact-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.btn-wa { background: #1f7a4d; color: #fff; border-radius: 999px !important; padding: 12px 20px; font: 600 .72rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.btn-wa:hover { background: #17603c; color: #fff; }
.links-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 991.98px) { .links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .links-grid { grid-template-columns: 1fr; } }
.link-card { background: #fff; border: 1px solid #e8e9ec; border-radius: 18px; padding: 20px; text-decoration: none; color: inherit; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 6px; }
.link-card .tp { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); font-weight: 600; }
.link-card h4 { font-family: var(--font-heading); font-size: 1.35rem; margin: 0; }
.link-card p { font-size: .8rem; color: #686a70; margin: 0; }

/* Mural de recados */
.gb-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
@media (max-width: 991.98px) { .gb-grid { grid-template-columns: 1fr; } }
.gb-form { position: sticky; top: 96px; }
@media (max-width: 991.98px) { .gb-form { position: static; } }
.file-pick { display: flex; align-items: center; gap: 12px; border: 1px dashed var(--line); border-radius: 14px; padding: 14px; cursor: pointer; background: var(--paper); }
.file-pick:hover { border-color: var(--ink); }
.file-pick i { font-size: 1.4rem; color: var(--ink-soft); }
.file-pick span { font-size: .82rem; color: #55575c; }
.file-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gb-wall { columns: 2 260px; column-gap: 18px; }
.gb-note { break-inside: avoid; margin: 0 0 18px; background: #fff; border: 1px solid #efeff1; border-radius: 20px; padding: 22px; box-shadow: var(--shadow-card); }
.gb-note blockquote { font-family: var(--font-heading); font-size: 1.3rem; line-height: 1.35; margin: 0 0 16px; color: var(--ink); }
.gb-note .who { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: #686a70; }
.gb-note .who img, .gb-note .who .ini { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--mist); display: grid; place-items: center; font-weight: 600; color: var(--ink); font-size: .8rem; }
.gb-note .photo { width: 100%; border-radius: 14px; margin-bottom: 14px; }

/* Cartoes da mesma linha com a mesma altura */
.gift-grid > * { display: flex; }
.gift-grid > * > .gtile { flex: 1; }

/* ---------- Menu "O grande dia" ---------- */
.wedding-navbar .dropdown-toggle::after { border: 0; content: "\F282"; font-family: "bootstrap-icons"; font-size: .6rem; vertical-align: 0; margin-left: 5px; transition: transform .2s; }
.wedding-navbar .dropdown-toggle.show::after { transform: rotate(180deg); }
.day-menu { border: 1px solid #e8e9ec; border-radius: 16px; padding: 8px; box-shadow: var(--shadow-lift); min-width: 250px; margin-top: 8px !important; }
.day-menu .dropdown-item { display: flex; align-items: center; gap: 12px; border-radius: 10px; padding: 10px 12px; font-size: .84rem; color: var(--ink-soft); }
.day-menu .dropdown-item i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--mist); color: var(--ink-soft); font-size: .9rem; flex: 0 0 30px; }
.day-menu .dropdown-item:hover, .day-menu .dropdown-item:focus { background: var(--paper); color: var(--ink); }
.day-menu .dropdown-item.active, .day-menu .dropdown-item:active { background: var(--ink); color: #fff; }
.day-menu .dropdown-item.active i { background: rgba(255, 255, 255, .12); color: #fff; }
@media (max-width: 991.98px) {
  .day-menu { border: 0; box-shadow: none; padding: 0 0 6px 8px; margin: 0 !important; background: transparent; }
  .day-menu .dropdown-item { padding: 8px 10px; }
}

/* Rodape: separador entre links */
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 6px; }
.footer-nav a + a::before { content: "\00B7"; display: inline-block; margin: 0 .6rem; color: rgba(255, 255, 255, .3); }

/* ---------- Atalhos de informacao ---------- */
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.info-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; margin-left: auto; margin-right: auto; }
@media (max-width: 991.98px) { .info-grid, .info-grid.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479.98px) { .info-grid, .info-grid.is-3 { grid-template-columns: 1fr; } }
.info-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 20px; border-radius: 20px; background: #fff; border: 1px solid #e8e9ec; box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); color: var(--ink); }
.info-card .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--mist); font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 6px; }
.info-card strong { font-family: var(--font-heading); font-size: 1.45rem; font-weight: 500; line-height: 1.1; }
.info-card .txt { font-size: .8rem; color: #686a70; padding-right: 22px; }
.info-card .go { position: absolute; right: 20px; top: 24px; color: var(--silver); transition: transform .2s, color .2s; }
.info-card:hover .go { transform: translateX(4px); color: var(--ink); }

/* ---------- Cronograma ---------- */
.tl { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; position: relative; }
.tl::before { content: ""; position: absolute; left: 150px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(180deg, transparent, var(--line) 6%, var(--line) 94%, transparent); }
.tl-item { display: grid; grid-template-columns: 124px 52px minmax(0, 1fr); gap: 0; align-items: start; padding-bottom: 22px; }
.tl-time { text-align: right; padding: 16px 16px 0 0; font-family: var(--font-heading); font-size: 1.7rem; line-height: 1; color: var(--ink); }
.tl-dot { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.15rem; color: var(--ink-soft); box-shadow: 0 0 0 6px var(--paper); transition: background .2s, color .2s; }
.tl-item:first-child .tl-dot, .tl-item:hover .tl-dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.tl-card { margin-left: 18px; background: #fff; border: 1px solid #e8e9ec; border-radius: 20px; padding: 18px 22px; box-shadow: var(--shadow-card); }
.tl-card h2 { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 500; margin: 0; line-height: 1.1; }
.tl-card p { margin: 8px 0 0; color: #686a70; font-size: .86rem; }
.tl-place { display: flex; gap: 6px; align-items: center; margin-top: 6px; font-size: .74rem; letter-spacing: .04em; color: #7a7c82; }
.tl-time-sm { display: none; }
@media (max-width: 575.98px) {
  .tl::before { left: 22px; }
  .tl-item { grid-template-columns: 44px minmax(0, 1fr); }
  .tl-time { display: none; }
  .tl-dot { width: 44px; height: 44px; font-size: 1rem; }
  .tl-card { margin-left: 12px; padding: 16px 18px; }
  .tl-time-sm { display: block; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--silver); font-weight: 600; margin-bottom: 4px; }
  .tl-time-sm:empty { display: none; }
}

/* ---------- Como chegar ---------- */
.place-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.place-grid:has(> .place-card:only-child) { grid-template-columns: minmax(0, 640px); justify-content: center; }
@media (max-width: 991.98px) { .place-grid { grid-template-columns: 1fr; } }
.place-card { background: #fff; border: 1px solid #e8e9ec; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.place-map { aspect-ratio: 16 / 9; background: var(--mist); }
.place-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) contrast(1.02); }
.place-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.place-step { display: flex; align-items: center; gap: 10px; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--silver); font-weight: 600; }
.place-step b { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .72rem; letter-spacing: 0; flex: 0 0 26px; }
.place-body h2 { font-family: var(--font-heading); font-size: 2rem; font-weight: 500; margin: 12px 0 6px; line-height: 1.05; }
.place-body address { color: #686a70; font-size: .88rem; margin-bottom: 14px; }
.place-note { display: flex; gap: 8px; font-size: .8rem; color: #55575c; background: var(--paper); border-radius: 12px; padding: 10px 12px; }
.place-actions { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.place-actions .btn-pay, .place-actions .btn-ghost { padding: 12px 18px; font-size: .68rem; }
.btn-ghost.copied { border-color: var(--ok); color: var(--ok); }
button.btn-ghost { cursor: pointer; }

.tip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 980px; margin: 0 auto; }
@media (max-width: 767.98px) { .tip-grid { grid-template-columns: 1fr; } }
.tip-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid #e8e9ec; border-radius: 20px; padding: 20px 22px; }
.tip-card .ico { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px; display: grid; place-items: center; background: var(--mist); color: var(--ink-soft); font-size: 1.15rem; }
.tip-card h3 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 500; margin: 2px 0 4px; }
.tip-card p { margin: 0; font-size: .84rem; color: #686a70; }
.link-card { display: flex; flex-direction: column; gap: 6px; transition: transform .25s, box-shadow .25s; }
a.link-card[href]:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: inherit; }
.link-card .go { margin-top: auto; padding-top: 6px; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Perguntas frequentes ---------- */
.faq-wrap { max-width: 820px; }
.faq-search { width: 100%; max-width: 460px; margin: 0 auto 30px; }
.faq-group { margin-bottom: 30px; }
.faq-group[hidden], .faq-item[hidden] { display: none; }
.faq-group-title { font-family: var(--font-body); font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--silver); font-weight: 600; margin: 0 0 12px 4px; }
.faq-item { background: #fff; border: 1px solid #e8e9ec; border-radius: 18px; margin-bottom: 10px; transition: box-shadow .2s, border-color .2s; }
.faq-item[open] { border-color: #d3d4d8; box-shadow: var(--shadow-card); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 500; font-size: .95rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); font-size: .8rem; transition: transform .25s, background .2s, color .2s; }
.faq-item[open] summary i { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq-item summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 18px; }
.faq-answer { padding: 0 22px 20px; color: #55575c; font-size: .9rem; line-height: 1.65; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-cta { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 26px 28px; border-radius: 24px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.faq-cta::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -150px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); pointer-events: none; }
.faq-cta h3 { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 500; margin: 0; color: #fff; }
.faq-cta p { margin: 4px 0 0; color: #c8c9cc; font-size: .88rem; }
.faq-cta .btn-pay { background: #fff; color: var(--ink); position: relative; z-index: 1; }
a.faq-cta:hover { color: #fff; }
a.faq-cta:hover .btn-pay { background: #e9eaec; }
.faq-cta .btn-wa { position: relative; z-index: 1; }

/* ---------- Album de fotos ---------- */
.album-lock { max-width: 440px; margin: 0 auto; }
.album-lock h2 { font-family: var(--font-heading); font-size: 1.9rem; letter-spacing: 0; text-transform: none; color: var(--ink); margin-bottom: 4px; }
.album-lock-ico { width: 60px; height: 60px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--mist); font-size: 1.4rem; color: var(--ink-soft); }
.album-send { max-width: 720px; margin: 0 auto 40px; }
.album-drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 30px 20px; border: 1.5px dashed #c9cace; border-radius: 18px; background: var(--paper); cursor: pointer; transition: border-color .2s, background .2s; }
.album-drop:hover, .album-drop:focus-within { border-color: var(--ink); background: #fff; }
.album-drop i { font-size: 2rem; color: var(--ink-soft); }
.album-drop strong { font-size: .95rem; color: var(--ink); }
.album-drop span { font-size: .74rem; color: #7a7c82; }
.album-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.album-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin-top: 12px; }
.album-previews:empty { display: none; }
.album-previews img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.album-grid { columns: 2; column-gap: 12px; }
@media (min-width: 576px) { .album-grid { columns: 3; } }
@media (min-width: 992px) { .album-grid { columns: 4; } }
.album-item { position: relative; break-inside: avoid; margin-bottom: 12px; cursor: pointer; border-radius: 14px; overflow: hidden; display: block; padding: 0; border: 0; background: none; width: 100%; }
.album-item img { width: 100%; display: block; transition: transform .35s; }
.album-item:hover img { transform: scale(1.03); }
.album-item .by { position: absolute; left: 8px; bottom: 8px; background: rgba(20, 20, 24, .6); color: #fff; font-size: .64rem; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(6px); }

/* Grade de links centralizada quando sobra espaco na linha */
.links-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.links-grid > * { flex: 0 1 calc((100% - 36px) / 3); }
@media (max-width: 991.98px) { .links-grid > * { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 575.98px) { .links-grid > * { flex-basis: 100%; } }

/* Celular: rodape sem separador (as linhas quebram) e botao do menu sempre no topo */
@media (max-width: 767.98px) {
  .footer-nav { column-gap: 14px; }
  .footer-nav a + a::before { display: none; }
}
@media (max-width: 991.98px) {
  .wedding-navbar .navbar-brand { order: 1; }
  .wedding-navbar .navbar-toggler { order: 2; }
  .wedding-navbar #navContent { order: 3; }
}

/* ---------- Presente reservado / presenteado ---------- */
.gtile.is-given, .gtile.is-reserved { cursor: default; }
.gtile.is-given:hover, .gtile.is-reserved:hover { transform: none; box-shadow: none; }
.gtile.is-given .gtile-art > i, .gtile.is-given .gtile-art img { opacity: .12; filter: grayscale(1); }
.gtile.is-reserved .gtile-art > i, .gtile.is-reserved .gtile-art img { opacity: .2; }
.gtile.is-given .gtile-name, .gtile.is-given .gtile-desc { color: #9a9ca1; }
.gtile-state { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font: 600 .66rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 6px 18px rgba(20, 20, 24, .12); }
.gtile-state.is-given { background: var(--ok); color: #fff; }
.gtile-state.is-reserved { background: #fff; color: var(--ink-soft); border: 1px solid var(--line); }
.gtile-note { font-size: .74rem; color: #7a7c82; font-style: italic; }
.gtile.is-given .gtile-note { color: var(--ok); font-style: normal; font-weight: 500; }
@media (max-width: 767.98px) { .gtile-state { padding: 6px 10px; font-size: .56rem; letter-spacing: .1em; } }
.pg-perk.is-given { border-color: #cfe6d9; background: #eef7f2; color: var(--ok); }
.pg-perk.is-given i { color: var(--ok); }

/* Pagamento: centavos identificadores e aviso "ja fiz o Pix" */
.cents-note { display: flex; gap: 8px; align-items: flex-start; font-size: .76rem; color: #55575c; background: var(--paper); border: 1px dashed var(--line); border-radius: 12px; padding: 10px 12px; margin: -6px 0 16px; text-align: left; }
.cents-note i { color: var(--ink-soft); font-size: 1rem; line-height: 1.1; }
.report-box { margin-top: 22px; padding-top: 20px; border-top: 1px solid #efeff1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; align-items: center; }
.report-box > div:first-child { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 2px; }
.report-box strong { font-size: .95rem; color: var(--ink); }
.report-box > div:first-child span { font-size: .8rem; color: #686a70; }
.report-box .file-pick { position: relative; padding: 11px 14px; }
.report-box .fld { grid-column: 1 / -1; }
@media (max-width: 575.98px) { .report-box { grid-template-columns: 1fr; } .report-box .btn-pay { justify-content: center; } }
.pix-again { margin: 0 28px 26px; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.pix-again summary { cursor: pointer; font-size: .82rem; font-weight: 500; color: var(--ink-soft); }
@media (max-width: 575.98px) { .pix-again { margin: 0 16px 20px; } }

/* ---------- Manual do convidado (titulo grande) ---------- */
.manual-title { font-family: var(--font-heading); font-weight: 500; font-size: clamp(2.8rem, 7vw, 4.6rem); line-height: 1; margin: 0; color: var(--ink); }
.manual-section .rules { max-width: 960px; gap: 0 48px; }
.manual-section .rule { font-size: 1.05rem; padding: 16px 4px; }
@media (max-width: 650px) { .manual-section .rule { font-size: .98rem; padding: 14px 2px; } }

/* ---------- Confirmacao de presenca so pelo WhatsApp, ampliada ---------- */
.confirm-title { font-family: var(--font-heading); font-weight: 500; font-size: clamp(2.8rem, 7vw, 4.6rem); line-height: 1; margin: 10px 0 18px; color: #fff; }
.rsvp-cta-text { font-size: clamp(1.05rem, 2.4vw, 1.35rem); line-height: 1.5; max-width: 620px; margin: 0 auto 26px; }
.confirm-section .rsvp-cta-text { color: #e4e5e7; }
.confirm-section .rsvp-cta-text strong { color: #fff; }
.btn-wa-xl { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: #1f7a4d; color: #fff; border-radius: 999px; padding: 20px 40px; font: 600 .95rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; box-shadow: 0 10px 30px rgba(31, 122, 77, .35); transition: transform .15s, background .15s; }
.btn-wa-xl i { font-size: 1.6rem; letter-spacing: 0; }
.btn-wa-xl:hover { background: #17603c; color: #fff; transform: translateY(-2px); }
.rsvp-cta-fine { margin: 18px auto 0; font-size: .82rem; color: #8a8c91; }
.confirm-section .rsvp-cta-fine { color: #a7a9ae; }
.rsvp-solo { max-width: 720px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid #e8e9ec; border-radius: 28px; padding: 48px 32px; box-shadow: var(--shadow-card); }
.rsvp-solo .rsvp-cta-text { color: var(--ink-soft); }
@media (max-width: 575.98px) { .btn-wa-xl { width: 100%; padding: 18px 20px; font-size: .82rem; } .rsvp-solo { padding: 34px 20px; } }

/* Botao "Confirmar presenca" do menu continua legivel quando e a pagina atual */
.wedding-navbar .nav-link.btn-confirm, .wedding-navbar .nav-link.btn-confirm.active, .wedding-navbar .nav-link.btn-confirm:hover { color: #fff !important; }

/* ---------- Textos do editor (Paginas e textos) ---------- */
.rich-text > :last-child { margin-bottom: 0; }
.rich-text p { margin-bottom: .6em; }
.rich-text ul, .rich-text ol { text-align: left; display: inline-block; margin: 0 0 .6em; padding-left: 1.2em; }
.rich-text a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.rich-text blockquote { border-left: 2px solid var(--line); padding-left: 14px; font-style: italic; margin: 0 0 .6em; }
.rich-text h2, .rich-text h3, .rich-text h4 { font-family: var(--font-heading); font-weight: 500; margin: .4em 0 .3em; }
.lead-sm.rich-text { max-width: 620px; }
.confirm-section .rich-text a, .faq-cta .rich-text a, .free-band .rich-text a { color: #fff; }
.faq-cta .rich-text p, .free-band .rich-text p { margin: 4px 0 0; color: #c8c9cc; font-size: .88rem; }
.hero-lead.rich-text p { margin-bottom: .4em; }

/* ---------- Pagamento Pix em 3 passos ---------- */
.pixflow { padding: 26px 28px 30px; }
.pix-amount-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: 18px; padding: 18px 22px; }
.pix-amount-bar .lbl { display: block; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: #a7a9ae; }
.pix-amount-bar .val { font-family: var(--font-heading); font-weight: 500; font-size: 2.6rem; line-height: 1.05; }
.pix-amount-bar .btn-chip { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; }
.pix-amount-bar .btn-chip:hover { background: rgba(255, 255, 255, .2); }
.btn-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 16px; font: 600 .7rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.btn-chip:hover { border-color: var(--ink); }
.btn-chip.copied { border-color: var(--ok); color: var(--ok); background: #eef7f2; }
.pixflow .cents-note { margin: 12px 0 0; }
.pay-steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 0; }
.pay-step { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid #efeff1; }
.pay-step:first-child { border-top: 0; padding-top: 4px; }
.pay-step .num { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .9rem; }
.pay-step h3 { font-family: var(--font-heading); font-weight: 500; font-size: 1.6rem; margin: 2px 0 8px; line-height: 1.1; }
.pay-step p { color: #55575c; font-size: .86rem; margin: 0 0 12px; }
.pay-ways { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; }
.way { border: 1px solid #e8e9ec; border-radius: 18px; padding: 16px; background: var(--paper); }
.way-tag { display: inline-block; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--silver); margin-bottom: 6px; }
.way-qr { text-align: center; }
.qr-frame.sm { display: inline-block; padding: 10px; }
.qr-frame.sm img { width: 168px; height: 168px; }
.qr-frame.sm::before, .qr-frame.sm::after { width: 20px; height: 20px; }
.pix-more { margin-top: 10px; }
.pix-more summary { cursor: pointer; font-size: .78rem; font-weight: 500; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.pix-more .copy-field { margin-top: 8px; }
.key-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.key-row .lbl { display: block; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); }
.key-row code { color: var(--ink); font-size: .82rem; word-break: break-all; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; align-items: baseline; font-size: .88rem; color: #55575c; }
.check-list i { color: var(--ok); font-size: 1rem; }
.report-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.report-form .file-pick { position: relative; padding: 13px 14px; }
.report-form .fld { grid-column: 1 / -1; }
@media (max-width: 767.98px) {
  .pixflow { padding: 18px 16px 22px; }
  .pix-amount-bar .val { font-size: 2.2rem; }
  .pay-ways { grid-template-columns: 1fr; }
  .way-qr { display: none; }
  .report-form { grid-template-columns: 1fr; }
  .pay-step { grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
  .pay-step .num { width: 30px; height: 30px; font-size: .8rem; }
  .pay-step h3 { font-size: 1.4rem; }
}

/* Resumo da direita: presente + identificador + total */
.order-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.order-sum { margin: 14px 0 0; display: grid; gap: 10px; }
.order-sum > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.order-sum dt { font-weight: 400; font-size: .84rem; color: #686a70; }
.order-sum dd { margin: 0; font-weight: 600; font-size: .9rem; color: var(--ink); white-space: nowrap; }
.order-sum .is-cents dt, .order-sum .is-cents dd { color: #8a6d00; }
.order-sum .is-cents i { font-size: .8rem; cursor: help; }
.order-sum .is-total { border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 4px; }
.order-sum .is-total dt { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); font-weight: 600; }
.order-sum .is-total dd { font-family: var(--font-heading); font-weight: 500; font-size: 2rem; }
.hold-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--paper); border: 1px solid #efeff1; font-size: .78rem; color: #55575c; }
.hold-note i { color: var(--ink-soft); }

/* ---------- Fonte e tamanho escolhidos no editor do painel ---------- */
.fs[data-font="titulo"] { font-family: 'Cormorant Garamond', serif; }
.fs[data-font="texto"] { font-family: 'Montserrat', sans-serif; }
.fs[data-font="playfair"] { font-family: 'Playfair Display', serif; }
.fs[data-font="lato"] { font-family: 'Lato', sans-serif; }
.fs[data-font="manuscrita"] { font-family: 'Great Vibes', cursive; }
.fs[data-size="xs"] { font-size: .75em; }
.fs[data-size="sm"] { font-size: .88em; }
.fs[data-size="md"] { font-size: 1em; }
.fs[data-size="lg"] { font-size: 1.25em; }
.fs[data-size="xl"] { font-size: 1.6em; line-height: 1.2; }
.fs[data-size="xxl"] { font-size: 2.1em; line-height: 1.15; }

/* ---------- Arte do presente de valor livre (monograma do casal) ---------- */
.gtile-art:has(.open-art) { background: radial-gradient(120% 100% at 20% 0%, #4a4b50 0%, var(--ink) 55%, #141518 100%); }
.gtile-art:has(.open-art)::after { border-color: rgba(255, 255, 255, .10); }
.open-art { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; }
.open-art-ring { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .03), 0 0 0 10px rgba(255, 255, 255, .03); }
.open-art-mono { position: relative; font-family: var(--font-heading); font-weight: 500; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; letter-spacing: .04em; }
.open-art-mono i { font-style: italic; font-weight: 400; font-size: .55em; color: #c8c9cc; margin: 0 .12em; vertical-align: .12em; }
.open-art-line { position: relative; width: 38px; height: 1px; background: rgba(255, 255, 255, .35); }
.open-art-label { position: relative; font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: #a7a9ae; }
.gtile:hover .open-art-mono { transform: none; }
.co-summary .open-art-mono { font-size: 4.2rem; }

/* ---------- Checkout compacto: cabe na tela sem rolar na maioria dos casos ---------- */
.co-wrap { padding: 18px 0 40px; }
.co-back { margin-bottom: 10px; }
.co-grid { gap: 22px; }
.co-steps div { padding: 10px 18px; font-size: .7rem; }
.co-section { padding: 14px 22px 16px; }
.co-section h2 { margin-bottom: 8px; }
.co-section .row.g-3 { --bs-gutter-y: .6rem; }
.fld label { margin-bottom: 4px; font-size: .76rem; }
.fld .form-control { padding: 9px 12px; font-size: .9rem; }
.fld .hint { margin-top: 4px; font-size: .7rem; }
.co-alert { margin: 12px 22px 0; padding: 9px 12px; }
.pay-opt { padding: 11px 14px 11px 46px; }
.pay-opt .dot { top: 13px; left: 14px; }
.pay-opt small { margin-top: 1px; }
.co-total { padding: 12px 22px; }
.co-total .val { font-size: 1.7rem; }
.btn-pay { padding: 13px 22px; }
.co-summary .gtile-art { aspect-ratio: 16 / 8; }
.co-summary .open-art-mono { font-size: 3.2rem; }
.co-summary-body { padding: 16px 20px 18px; }
.co-summary h1 { font-size: 1.9rem; margin: 4px 0 4px; }
.co-summary p { margin-bottom: 10px; font-size: .84rem; }
.co-price-row { padding-top: 10px; }
.co-price-row strong { font-size: 1.6rem; }
.co-trust { margin-top: 12px; gap: 6px; }
.co-trust li { font-size: .74rem; }
.gtile-price small { margin-bottom: 2px; }
.pay-only { display: flex; align-items: center; gap: 8px; font-size: .74rem; color: #686a70; }
.pay-only i { font-size: 1rem; color: var(--ink-soft); }

/* ---------- Reservado: tom dourado, diferente de "Presenteado" (verde) ---------- */
:root { --gold: #b08d4f; --gold-deep: #8a6a2f; --gold-soft: #fbf4e6; --gold-line: #e9d9b8; }
.gtile.is-reserved { border-color: var(--gold-line); }
.gtile.is-reserved .gtile-art { background: radial-gradient(120% 90% at 30% 20%, #fffdf8 0%, #f6ecd8 100%); }
.gtile.is-reserved .gtile-art::after { border-color: rgba(176, 141, 79, .18); }
.gtile.is-reserved .gtile-art > i, .gtile.is-reserved .gtile-art img { opacity: .22; color: var(--gold-deep); filter: none; }
.gtile-state.is-reserved { background: var(--gold); color: #fff; border: 0; box-shadow: 0 6px 18px rgba(176, 141, 79, .35); }
.gtile-state.is-reserved i { animation: hourglass 2.4s ease-in-out infinite; }
@keyframes hourglass { 0%, 70%, 100% { transform: rotate(0); } 85% { transform: rotate(180deg); } }
.gtile.is-reserved .gtile-tag { background: #fff; color: var(--gold-deep); border-color: var(--gold-line); }
.gtile.is-reserved .gtile-note { color: var(--gold-deep); font-style: normal; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.gtile.is-reserved .gtile-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(176, 141, 79, .2); }

/* Avisos do site (ex.: "Alguem esta presenteando...") no visual do site */
main > .container > .alert { border: 0; border-radius: 16px; padding: 14px 44px 14px 18px; font-size: .9rem; display: flex; gap: 12px; align-items: flex-start; box-shadow: var(--shadow-card); margin-top: 18px; }
main > .container > .alert .alert-ico { font-size: 1.15rem; line-height: 1.3; }
main > .container > .alert-info { background: var(--gold-soft); color: var(--gold-deep); border-left: 4px solid var(--gold); }
main > .container > .alert-success { background: #eef7f2; color: #1f5c3b; border-left: 4px solid var(--ok); }
main > .container > .alert-danger { background: #fdf2f1; color: #8c1d18; border-left: 4px solid #b3261e; }
main > .container > .alert .btn-close { top: 50%; transform: translateY(-50%); right: 14px; padding: 8px; opacity: .5; }

.report-form.is-simple { grid-template-columns: 1fr; }
.report-form.is-simple .btn-pay { width: 100%; }
@media (min-width: 576px) { .report-form.is-simple .btn-pay { width: auto; justify-self: start; } }
