/* Pop-up de boas-vindas com o cupom BEMVINDO (welcome-coupon.js) */
.wc { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .22s ease; }
/* O fundo só escurece: cliques passam direto para a página (ex.: o botão COMPRAR AGORA); só a caixa do pop-up recebe cliques. */
.wc.is-on { opacity: 1; pointer-events: none; }
.wc.is-on .wc__caixa { pointer-events: auto; }
.wc__fundo { position: absolute; inset: 0; background: rgba(8, 14, 30, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.wc__caixa { position: relative; width: min(100%, 400px); padding: 32px 26px 24px; border-radius: 28px; background: #fff; color: #111; text-align: center; box-shadow: 0 30px 80px rgba(8, 14, 30, .35); transform: translateY(14px) scale(.97); transition: transform .3s cubic-bezier(.22, 1, .36, 1); overflow: hidden; }
.wc.is-on .wc__caixa { transform: none; }
.wc__caixa::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 120px; background: radial-gradient(120% 100% at 50% 0, rgba(22, 119, 244, .16), rgba(22, 119, 244, 0)); pointer-events: none; }
.wc__x { position: absolute; top: 12px; right: 12px; z-index: 1; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .06); color: #555; font-size: 22px; line-height: 1; cursor: pointer; }
.wc__x:hover { background: rgba(0, 0, 0, .1); }
.wc__tag { position: relative; margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #1677f4; }
.wc__titulo { position: relative; margin: 0 0 10px; font-size: 28px; line-height: 1.1; letter-spacing: -.03em; font-weight: 700; }
.wc__texto { position: relative; margin: 0 0 20px; font-size: 16px; line-height: 1.45; color: #555; }
.wc__texto strong { color: #111; }
.wc__cupom { position: relative; display: grid; gap: 4px; justify-items: center; margin: 0 0 20px; padding: 16px 14px; border: 2px dashed rgba(22, 119, 244, .55); border-radius: 18px; background: #edf5ff; }
.wc__cupom-rotulo { font-size: 12px; font-weight: 600; color: #5b6b82; }
.wc__cupom-codigo { font-size: 30px; letter-spacing: .08em; font-weight: 800; color: #1264cf; }
.wc__cupom-off { font-size: 13px; font-weight: 700; color: #fff; background: #1677f4; padding: 3px 12px; border-radius: 999px; }
.wc__botao { position: relative; width: 100%; min-height: 54px; border: 0; border-radius: 16px; background: #1677f4; color: #fff; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; box-shadow: 0 12px 22px rgba(22, 119, 244, .28); transition: background .15s, transform .15s; }
.wc__botao:hover { background: #1264cf; }
.wc__botao:active { transform: scale(.98); }
.wc__nota { position: relative; margin: 14px 0 0; font-size: 12.5px; color: #7a7a7a; }
.wc__x:focus-visible, .wc__botao:focus-visible { outline: 3px solid rgba(22, 119, 244, .45); outline-offset: 2px; }

.wc-toast { position: fixed; z-index: 2100; left: 50%; bottom: 96px; transform: translateX(-50%); max-width: min(92vw, 420px); padding: 12px 18px; border-radius: 14px; background: #111; color: #fff; font-size: 14px; font-weight: 500; text-align: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); animation: wc-toast-in .3s ease both; transition: opacity .5s; }
.wc-toast.is-out { opacity: 0; }
@keyframes wc-toast-in { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

html[data-theme="dark"] .wc__caixa { background: #1b1d23; color: #f1f3f6; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .08); }
html[data-theme="dark"] .wc__x { background: rgba(255, 255, 255, .08); color: #c8ced8; }
html[data-theme="dark"] .wc__texto { color: #b3bac6; }
html[data-theme="dark"] .wc__texto strong { color: #fff; }
html[data-theme="dark"] .wc__tag { color: #6db0ff; }
html[data-theme="dark"] .wc__cupom { background: rgba(22, 119, 244, .14); border-color: rgba(109, 176, 255, .55); }
html[data-theme="dark"] .wc__cupom-rotulo { color: #9fb0c7; }
html[data-theme="dark"] .wc__cupom-codigo { color: #8fc0ff; }
html[data-theme="dark"] .wc__nota { color: #8b93a1; }
html[data-theme="dark"] .wc-toast { background: #f1f3f6; color: #111; }

@media (prefers-reduced-motion: reduce) { .wc, .wc__caixa, .wc__botao, .wc-toast { transition: none; animation: none; } }

/* Convite para o grupo de ofertas no WhatsApp (etapa 2, welcome-coupon.js) */
.wg { position: fixed; z-index: 1900; right: 20px; bottom: 20px; width: min(380px, calc(100vw - 24px)); padding: 18px 18px 16px; border-radius: 22px; background: #fff; color: #111; font-family: var(--font-gt-standard, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif); box-shadow: 0 18px 50px rgba(8, 14, 30, .22), 0 0 0 1px rgba(15, 23, 42, .06); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.wg.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wg__x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .06); color: #555; font-size: 19px; line-height: 1; cursor: pointer; }
.wg__x:hover { background: rgba(0, 0, 0, .1); }
.wg__topo { display: flex; align-items: center; gap: 12px; padding-right: 30px; }
.wg__icone { display: grid; flex: none; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #25d366; color: #fff; }
.wg__icone svg { width: 26px; height: 26px; }
.wg__tag { margin: 0 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #1da851; }
.wg__titulo { margin: 0; font-size: 17px; line-height: 1.2; font-weight: 650; letter-spacing: -.02em; }
.wg__texto { margin: 12px 0 14px; font-size: 14px; line-height: 1.45; color: #555; }
.wg__acoes { display: flex; align-items: center; gap: 8px; }
.wg__botao { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 13px; background: #25d366; color: #063b1a; font-size: 15px; font-weight: 700; text-decoration: none; box-shadow: 0 8px 18px rgba(37, 211, 102, .3); transition: background .15s, transform .12s; }
.wg__botao:hover { background: #1fbd5a; }
.wg__botao:active { transform: scale(.98); }
.wg__depois { min-height: 44px; padding: 0 14px; border: 0; border-radius: 13px; background: transparent; color: #6b7280; font: inherit; font-size: 14px; font-weight: 550; cursor: pointer; }
.wg__depois:hover { background: rgba(0, 0, 0, .05); color: #111; }
.wg__x:focus-visible, .wg__botao:focus-visible, .wg__depois:focus-visible { outline: 3px solid rgba(37, 211, 102, .5); outline-offset: 2px; }
@media (max-width: 760px) { .wg { right: 12px; left: 12px; width: auto; bottom: 96px; } }
html[data-theme="dark"] .wg { background: #1b1d23; color: #f1f3f6; box-shadow: 0 18px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08); }
html[data-theme="dark"] .wg__x { background: rgba(255, 255, 255, .08); color: #c8ced8; }
html[data-theme="dark"] .wg__texto { color: #b3bac6; }
html[data-theme="dark"] .wg__tag { color: #4ade80; }
html[data-theme="dark"] .wg__depois { color: #9aa3b2; }
html[data-theme="dark"] .wg__depois:hover { background: rgba(255, 255, 255, .08); color: #fff; }
@media (prefers-reduced-motion: reduce) { .wg { transition: none; } }
