/* Loja: pedido, portal e vitrine */
.shop { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; padding-bottom: 60px; }
@media (max-width: 960px) { .shop { grid-template-columns: 1fr; } }

.step-card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); margin-bottom: 18px; }
@media (max-width: 560px) { .step-card { padding: 20px; border-radius: 20px; } }
.step-card > header { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.step-card > header .num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--gold-hi); font-weight: 800; font-family: var(--font-title); flex: none; }
.step-card > header h2 { font-size: 1.45rem; margin: 0; letter-spacing: -.025em; }
.step-card > header p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }

/* escolha do produto */
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 10px; }
.pick label { margin: 0; cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick .opt-card { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid #d5dce8; border-radius: 16px; background: #fff; transition: border-color .15s, box-shadow .15s; height: 100%; }
.pick .opt-card .bauble { width: 38px; height: 38px; margin: 8px 0 0; font-size: 1rem; }
.pick .opt-card .bauble .ic { width: 19px; height: 19px; }
.pick .opt-card .bauble::before { width: 12px; height: 7px; top: -6px; }
.pick .opt-card .bauble::after { width: 7px; height: 7px; top: -12px; }
.pick b { display: block; font-size: .95rem; line-height: 1.2; }
.pick small { color: var(--muted); font-weight: 600; }
.pick input:checked + .opt-card { border-color: var(--night); box-shadow: 0 0 0 3px rgba(244, 183, 64, .5); }
.pick input:focus-visible + .opt-card { outline: 3px solid var(--gold); outline-offset: 2px; }

/* fotos */
.slot { border: 1.5px dashed #c5cddd; border-radius: 18px; padding: 16px; margin-bottom: 14px; background: var(--snow); }
.slot-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.slot-head b { display: block; }
.slot-head small { color: var(--muted); }
.slot .req { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
.slot .opt-tag { color: var(--muted); }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumb { position: relative; width: 86px; height: 86px; border-radius: 14px; overflow: hidden; background: #e6ebf4; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(11, 21, 51, .75); color: #fff; cursor: pointer; font-size: .9rem; }
.thumb .bar { position: absolute; left: 6px; right: 6px; bottom: 6px; height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .6); overflow: hidden; }
.thumb .bar i { display: block; height: 100%; width: 30%; background: var(--gold); animation: load 1s ease-in-out infinite alternate; }
@keyframes load { to { width: 90%; } }
.thumb.kept::after { content: "já enviada"; position: absolute; left: 0; right: 0; bottom: 0; background: rgba(11, 21, 51, .72); color: #fff; font-size: .68rem; font-weight: 800; text-align: center; padding: 3px; }
.add-photo { width: 86px; height: 86px; border-radius: 14px; border: 1.5px dashed #b9c3d6; display: grid; place-items: center; text-align: center; font-size: .75rem; font-weight: 800; color: var(--muted); cursor: pointer; background: #fff; padding: 6px; }
.add-photo:hover { border-color: var(--night-2); color: var(--ink); }
.add-photo span { display: block; font-size: 1.5rem; line-height: 1; color: var(--red); }

/* quando entregar */
.when { display: grid; gap: 10px; }
.when label { margin: 0; cursor: pointer; }
.when input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.when .w { display: flex; gap: 14px; align-items: center; border: 1px solid #d5dce8; border-radius: 16px; padding: 14px 16px; background: #fff; }
.when .w .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #b9c3d6; flex: none; position: relative; }
.when input:checked + .w { border-color: var(--night); box-shadow: 0 0 0 3px rgba(244, 183, 64, .5); }
.when input:checked + .w .dot { border-color: var(--night); }
.when input:checked + .w .dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--night); }
.when b { display: block; }
.when small { color: var(--muted); font-weight: 500; }
.when .rec { margin-left: auto; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--ink); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.when-date { display: grid; grid-template-columns: 1fr 140px; gap: 10px; margin-top: 10px; }

/* resumo */
.summary { position: sticky; top: 96px; }
.summary .box { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow-hi); }
.summary h3 { margin-bottom: 14px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: .97rem; }
.sum-line span:last-child { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sum-line .old { text-decoration: line-through; color: var(--muted); font-weight: 500; margin-right: 6px; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; }
.sum-total b { font-family: var(--font-title); font-size: 2rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bump { display: flex; gap: 12px; align-items: flex-start; border: 1.5px dashed var(--gold); background: var(--gold-soft); border-radius: 16px; padding: 12px 14px; margin: 10px 0; cursor: pointer; font-weight: 500; }
.bump input { width: 20px; height: 20px; accent-color: var(--red); margin-top: 2px; flex: none; }
.bump b { display: block; color: var(--ink); }
.bump small { color: var(--gold-ink); }
.bump .p { margin-left: auto; font-weight: 800; white-space: nowrap; color: var(--ink); }
.kit-nudge { display: block; width: 100%; text-align: left; border: 0; cursor: pointer; background: var(--night-bg); color: #fff; border-radius: 16px; padding: 14px 16px; margin: 6px 0 10px; font: inherit; }
.kit-nudge b { color: var(--gold-hi); }
.kit-nudge small { display: block; color: var(--frost); }
.trust { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: .88rem; color: var(--muted); }
.trust li { display: flex; gap: 8px; align-items: center; }
.trust li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--pine-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f6b4f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.trust-strip { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-size: .9rem; font-weight: 700; color: var(--muted); }
.trust-strip li { display: flex; gap: 8px; align-items: center; }
.trust-strip li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--pine-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f6b4f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.two-col .trust-strip { justify-content: flex-start; }
.mobile-pay { display: none; }
@media (max-width: 960px) {
  .summary { position: static; }
  .mobile-pay { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; gap: 12px; align-items: center; justify-content: space-between;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(16, 23, 43, .4); }
  .mobile-pay b { font-family: var(--font-title); font-size: 1.45rem; letter-spacing: -.03em; }
  .mobile-pay small { display: block; color: var(--muted); font-size: .75rem; }
  body.has-mobile-pay { padding-bottom: 86px; }
}

.deadline { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; background: var(--red); color: #fff; font-weight: 700; font-size: .92rem; padding: 10px 16px; text-align: center; }
.deadline b { background: rgba(255, 255, 255, .18); padding: 2px 10px; border-radius: 999px; }

/* portal */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.timeline li { text-align: center; font-size: .8rem; font-weight: 700; color: var(--muted); position: relative; padding-top: 34px; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; background: #e6ebf4; border: 2px solid #d5dce8; }
.timeline li::after { content: ""; position: absolute; top: 13px; left: calc(50% + 16px); right: calc(-50% + 16px); height: 2px; background: #d5dce8; }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310172b' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--gold); box-shadow: 0 0 12px rgba(244, 183, 64, .6); }
.timeline li.done::after { background: var(--gold); }
.timeline li.now::before { border-color: var(--red); box-shadow: 0 0 0 5px rgba(214, 40, 57, .15); animation: pulse2 1.6s ease-in-out infinite; }
@keyframes pulse2 { 50% { box-shadow: 0 0 0 9px rgba(214, 40, 57, 0); } }
@media (max-width: 560px) { .timeline li { font-size: .68rem; } }

.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: .82rem; background: rgba(255, 255, 255, .1); border: 1px solid var(--glass-line); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.media { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.media img, .media video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #0b1533; display: block; }
.media .audio { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 18px; background: radial-gradient(70% 70% at 30% 20%, rgba(244, 183, 64, .35), transparent 60%), linear-gradient(160deg, #d62839, #7d1020); }
.media .audio audio { width: 100%; }
.media .pdf { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--night-bg); color: #fff; font-weight: 800; }
.media .meta { padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.media .meta b { font-size: .95rem; }
.countdown-big { display: flex; gap: 10px; justify-content: center; margin: 18px 0 6px; }
.countdown-big div { background: var(--night); color: #fff; border-radius: 16px; padding: 12px 14px; min-width: 74px; text-align: center; }
.countdown-big b { display: block; font-family: var(--font-title); font-size: 2rem; color: var(--gold-hi); letter-spacing: -.03em; line-height: 1.1; }
.countdown-big small { font-size: .72rem; color: var(--frost); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

.viewer { position: fixed; inset: 0; z-index: 60; background: #050b1d; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; color: #fff; }
.viewer .stage { width: min(1100px, 100%); flex: 1; display: grid; place-items: center; min-height: 0; }
.viewer .stage img, .viewer .stage video { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.viewer .bar { display: flex; gap: 10px; align-items: center; margin-top: 16px; }
.viewer .close { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); }

/* Essa fase passa rápido */
.fase { text-align: center; }
.fase h2 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); margin: 0 auto 14px; max-width: 20ch; }
.fase p:not(.hand) { color: var(--muted); font-size: 1.12rem; max-width: 52ch; margin: 0 auto 24px; }
.fase .hand { display: block; margin-bottom: 12px; }

/* Pra quem é */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.who div { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); }
.who b { display: block; font-family: var(--font-title); font-weight: 700; font-size: 1.2rem; letter-spacing: -.015em; margin-bottom: 6px; }
.who p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .who { grid-template-columns: 1fr; } }
