/* Kit de Boas-vindas TCS
   Estrutura da marca TCS em preto e branco (logo branco sobre preto, sem alteração, mínimo 100 px).
   A alegria mora nos produtos, na caixa, nos números e nas comemorações. */

@font-face { font-family: 'Basis'; src: url(/fontes/BasisGrotesqueArabicPro-Light.woff2) format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Basis'; src: url(/fontes/BasisGrotesqueArabicPro-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Basis'; src: url(/fontes/BasisGrotesqueArabicPro-Medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Basis'; src: url(/fontes/BasisGrotesqueArabicPro-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Houschka'; src: url(/fontes/HouschkaRoundedAlt-Light.woff2) format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Houschka'; src: url(/fontes/HouschkaRoundedAlt-Medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --preto: #000; --tinta: #0d0d0e; --carvao: #161618; --grafite: #232326; --g3: #333337; --g5: #6b6b71; --g6: #8e8e94; --g7: #b5b5ba;
  --papel: #f6f3ee; --papel-2: #efebe4; --linha: #e5e0d8; --branco: #fff; --texto: #121212; --mudo: #6d685f;
  --laranja: #FF7A1A; --amarelo: #FFC531; --menta: #2BC48A; --azul: #3EA6FF; --violeta: #7B5CFF; --rosa: #E8457C;
  --arco: linear-gradient(90deg, var(--laranja) 0 16.6%, var(--amarelo) 0 33.3%, var(--menta) 0 50%, var(--azul) 0 66.6%, var(--violeta) 0 83.3%, var(--rosa) 0);
  --f-texto: 'Basis', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --f-disp: 'Houschka', 'Basis', ui-rounded, system-ui, sans-serif;
  --raio: 1.5rem; --raio-m: 1.125rem; --raio-p: .75rem;
  --sombra: 0 1px 2px rgba(30, 22, 10, .05), 0 10px 30px -12px rgba(30, 22, 10, .18);
  --sombra-forte: 0 2px 4px rgba(0, 0, 0, .06), 0 24px 60px -20px rgba(0, 0, 0, .35);
  --suave-mov: cubic-bezier(.2, .8, .2, 1); --mola: cubic-bezier(.34, 1.56, .64, 1);
  --topo-h: 4.5rem; --gutter: clamp(1rem, 4vw, 2.5rem);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; background: var(--papel); }
body { margin: 0; background: var(--papel); color: var(--texto); font: 400 1rem/1.5 var(--f-texto); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; min-height: 100dvh; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--f-disp); font-weight: 500; letter-spacing: -.01em; line-height: 1.08; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; border-radius: .5rem; }
.mudo { color: var(--mudo); }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.pular-conteudo { position: absolute; left: -999px; top: .5rem; z-index: 100; background: var(--preto); color: #fff; padding: .75rem 1rem; border-radius: .75rem; }
.pular-conteudo:focus { left: .5rem; }
#app { min-height: 100dvh; }

/* carregando */
.carregando { min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 1.5rem; background: var(--preto); }
.carregando img { width: 7.5rem; height: auto; }
.carregando-barra { width: 7.5rem; height: 4px; border-radius: 4px; background: var(--arco); background-size: 200% 100%; animation: arco 1.2s linear infinite; }
@keyframes arco { to { background-position: -200% 0; } }

/* ---------- botões ---------- */
.bt { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 2.875rem; padding: .7rem 1.35rem; border-radius: 999px; border: 0;
  font-weight: 500; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap; transition: transform .18s var(--suave-mov), background-color .18s, box-shadow .18s, opacity .18s; position: relative; }
.bt:active:not(:disabled) { transform: scale(.97); }
.bt:disabled { opacity: .45; cursor: not-allowed; }
.bt-preto { background: var(--preto); color: #fff; }
.bt-preto:hover:not(:disabled) { background: var(--g3); }
.bt-branco { background: #fff; color: var(--preto); }
.bt-branco:hover:not(:disabled) { background: #ececec; }
.bt-claro { background: rgba(0, 0, 0, .06); color: var(--texto); }
.bt-claro:hover:not(:disabled) { background: rgba(0, 0, 0, .1); }
.bt-perigo { background: #c62f5e; color: #fff; }
.bt-grande { min-height: 3.5rem; padding: 1rem 1.75rem; font-size: 1.0625rem; }
.bt-peq { min-height: 2.25rem; padding: .45rem .9rem; font-size: .875rem; }
.bt-cheio { width: 100%; }
.bt .ic { width: 1.15em; height: 1.15em; }
.bt.ocupado { color: transparent !important; }
.bt.ocupado::after { content: ''; position: absolute; width: 1.25rem; height: 1.25rem; border-radius: 50%; border: 2.5px solid currentColor; border-color: #fff #fff transparent transparent; animation: gira .7s linear infinite; }
.bt-branco.ocupado::after, .bt-claro.ocupado::after { border-color: #000 #000 transparent transparent; }
@keyframes gira { to { transform: rotate(1turn); } }
.link-forte { display: inline-flex; align-items: center; gap: .35rem; font-weight: 500; text-decoration: none; }
.link-forte:hover { text-decoration: underline; }

/* ---------- campos ---------- */
.campo { display: grid; gap: .4rem; min-width: 0; align-content: start; }
.campo-rotulo { font-size: .875rem; font-weight: 500; color: var(--texto); }
.campo input, .campo select, .campo textarea { width: 100%; min-height: 3.125rem; padding: .75rem 1rem; border-radius: var(--raio-p); border: 1.5px solid var(--linha); background: #fff;
  font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.campo textarea { min-height: 7rem; resize: vertical; }
.campo input:hover, .campo select:hover { border-color: #cfc8bd; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--preto); box-shadow: 0 0 0 4px rgba(0, 0, 0, .08); }
.campo-ajuda { font-size: .8125rem; color: var(--mudo); }
.campo-erro { font-size: .8125rem; color: #c62f5e; font-weight: 500; min-height: 0; }
.campo-erro:empty { display: none; }
.com-erro input, .com-erro select { border-color: #c62f5e; }

/* ---------- avisos ---------- */
.avisos { position: fixed; z-index: 90; left: 50%; bottom: max(1.25rem, env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; gap: .5rem; width: min(26rem, calc(100% - 2rem)); pointer-events: none; }
.modo-associado .avisos { bottom: calc(6.25rem + env(safe-area-inset-bottom)); }
.aviso { display: flex; align-items: center; gap: .75rem; padding: .9rem 1.1rem; border-radius: 1rem; background: var(--preto); color: #fff; box-shadow: var(--sombra-forte); font-weight: 500; font-size: .9375rem;
  animation: aviso-entra .35s var(--mola); }
.aviso-ponto { width: .6rem; height: .6rem; border-radius: 50%; background: var(--menta); flex: none; }
.aviso-erro .aviso-ponto { background: var(--rosa); }
.aviso.saindo { animation: aviso-sai .3s ease forwards; }
@keyframes aviso-entra { from { opacity: 0; transform: translateY(1rem) scale(.96); } }
@keyframes aviso-sai { to { opacity: 0; transform: translateY(.5rem); } }

/* ---------- diálogos ---------- */
.dlg { border: 0; padding: 0; background: transparent; max-width: min(34rem, calc(100% - 2rem)); width: 100%; max-height: calc(100dvh - 2rem); overflow: visible; color: var(--texto); }
.dlg::backdrop { background: rgba(8, 8, 8, .55); backdrop-filter: blur(6px); animation: fundo .25s ease; }
.dlg-corpo { position: relative; background: #fff; border-radius: 1.75rem; box-shadow: var(--sombra-forte); max-height: calc(100dvh - 2rem); overflow: auto; overscroll-behavior: contain; animation: dlg-entra .32s var(--mola); }
.dlg.fechando .dlg-corpo { animation: dlg-sai .22s ease forwards; }
.dlg.fechando::backdrop { opacity: 0; transition: opacity .22s; }
.dlg-x { position: absolute; top: .9rem; right: .9rem; z-index: 2; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .06); display: grid; place-items: center; transition: background .15s; }
.dlg-x:hover { background: rgba(0, 0, 0, .12); }
.dlg-pequeno { max-width: min(26rem, calc(100% - 2rem)); }
@keyframes fundo { from { opacity: 0; } }
@keyframes dlg-entra { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes dlg-sai { to { opacity: 0; transform: translateY(8px) scale(.98); } }
@media (max-width: 40em) {
  .dlg:not(.dlg-pequeno) { max-width: 100%; margin: auto 0 0; max-height: 92dvh; }
  .dlg:not(.dlg-pequeno) .dlg-corpo { border-radius: 1.75rem 1.75rem 0 0; max-height: 92dvh; padding-bottom: env(safe-area-inset-bottom); animation: folha-sobe .38s var(--suave-mov); }
  .dlg:not(.dlg-pequeno).fechando .dlg-corpo { animation: folha-desce .22s ease forwards; }
  .dlg:not(.dlg-pequeno) .dlg-corpo::before { content: ''; display: block; width: 2.75rem; height: 5px; border-radius: 5px; background: rgba(0, 0, 0, .14); margin: .6rem auto 0; }
}
@keyframes folha-sobe { from { transform: translateY(100%); } }
@keyframes folha-desce { to { transform: translateY(100%); } }
.confirma { padding: 2rem 1.75rem 1.5rem; }
.confirma h2 { font-size: 1.5rem; padding-right: 2.5rem; }
.confirma p { margin-top: .6rem; color: var(--mudo); }
.confirma-acoes { display: flex; gap: .6rem; justify-content: flex-end; margin-top: 1.5rem; flex-wrap: wrap; }
.confete { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 95; }

/* ---------- topo (marca TCS) ---------- */
.topo { position: sticky; top: 0; z-index: 40; background: var(--preto); color: #fff; }
.topo-in { max-width: 80rem; margin: 0 auto; height: var(--topo-h); padding: 0 var(--gutter); display: flex; align-items: center; gap: 1.25rem; }
.topo-marca { display: flex; padding: .5rem 0; border-radius: .5rem; }
.logo-tcs { width: 6.5rem; min-width: 100px; height: auto; } /* guia TCS: mínimo de 100 px */
.topo-sep { width: 1px; height: 1.75rem; background: rgba(255, 255, 255, .22); }
.topo-produto { font-weight: 500; font-size: .9375rem; letter-spacing: .01em; color: rgba(255, 255, 255, .86); white-space: nowrap; }
.topo-nav { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.topo-nav a { text-decoration: none; padding: .55rem .9rem; border-radius: 999px; font-size: .9375rem; font-weight: 500; color: rgba(255, 255, 255, .75); transition: color .15s, background .15s; white-space: nowrap; }
.topo-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.topo-nav a.ativo { color: #000; background: #fff; }
.topo-eu { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; margin-left: .35rem; background: var(--arco); padding: 2px; flex: none; }
.topo-eu span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--carvao); font-weight: 500; font-size: .8125rem; letter-spacing: .02em; }
@media (max-width: 40em) { .topo-sep, .topo-produto { display: none; } .topo-nav a { padding: .5rem .7rem; font-size: .875rem; } .topo-in { gap: .5rem; } }
@media (max-width: 22.5em) { .topo-nav a:not(.ativo) { display: none; } }
.menu-eu { padding: 1.5rem 1.25rem 1.25rem; }
.menu-eu-cab { display: flex; gap: .9rem; align-items: center; padding: 0 2.75rem 1.1rem 0; border-bottom: 1px solid var(--linha); margin-bottom: .6rem; }
.menu-eu-cab div { display: grid; min-width: 0; }
.menu-eu-cab b { font-weight: 500; }
.menu-eu-cab span { font-size: .8125rem; color: var(--mudo); overflow-wrap: anywhere; }
.menu-eu-av { width: 3rem; height: 3rem; border-radius: 50%; background: var(--preto); color: #fff; display: grid; place-items: center; font-weight: 500; flex: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--amarelo); }
.menu-eu-item { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .85rem .75rem; border: 0; background: none; border-radius: .9rem; text-align: left; font-weight: 500; }
.menu-eu-item:hover { background: var(--papel); }

/* ---------- entrar ---------- */
.entrar { min-height: 100dvh; display: grid; background: var(--preto); }
@media (min-width: 60em) { .entrar { grid-template-columns: 1.1fr 1fr; } }
.entrar-arte { position: relative; overflow: hidden; color: #fff; padding: clamp(1.5rem, 5vw, 4rem) var(--gutter); display: flex; flex-direction: column; min-height: 26rem; }
.entrar-arte-in { position: relative; z-index: 2; max-width: 42rem; }
.entrar-logo { width: 7.5rem; margin-bottom: clamp(2.5rem, 8vh, 6rem); }
.entrar-titulo { font-size: clamp(2.25rem, 4.4vw, 4rem); font-weight: 500; line-height: 1.04; }
.entrar-destaque { background: var(--arco) bottom / 100% .12em no-repeat; padding-bottom: .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.entrar-sub { margin-top: 1.25rem; font-size: clamp(1rem, 1.6vw, 1.1875rem); color: rgba(255, 255, 255, .72); max-width: 28rem; }
.entrar-orbita { position: relative; flex: 1; min-height: 12rem; margin-top: 2rem; }
.orb { position: absolute; width: clamp(5rem, 11vw, 9rem); aspect-ratio: 1; border-radius: 2rem; background: var(--cor); display: grid; place-items: center; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6);
  animation: flutua 6s ease-in-out infinite; animation-delay: calc(var(--d, 0) * -1s); }
.orb img { width: 82%; }
.orb-0 { left: 2%; top: 8%; --d: 0; rotate: -8deg; }
.orb-1 { left: 26%; top: 38%; --d: 1.5; rotate: 6deg; width: clamp(6rem, 13vw, 10.5rem); }
.orb-2 { left: 52%; top: 4%; --d: 3; rotate: -4deg; }
.orb-3 { left: 74%; top: 34%; --d: 2.2; rotate: 9deg; }
.orb-4 { left: 8%; top: 62%; --d: 4; rotate: 7deg; }
.orb-5 { left: 50%; top: 66%; --d: .8; rotate: -10deg; }
.orb-6 { left: 82%; top: 76%; --d: 3.6; rotate: -6deg; width: clamp(4rem, 8vw, 6.5rem); }
.orb-7 { left: 88%; top: 2%; --d: 5; rotate: 12deg; width: clamp(4rem, 8vw, 6.5rem); }
@keyframes flutua { 50% { transform: translateY(-14px); } }
@media (max-width: 59.99em) { .entrar-orbita { min-height: 11rem; } .orb { width: 5.25rem; border-radius: 1.4rem; } .orb-1 { width: 6rem; } .orb-6, .orb-7 { width: 4.25rem; } .entrar-logo { margin-bottom: 2.5rem; } }
.entrar-form-lado { background: var(--papel); display: grid; place-items: center; padding: 2rem var(--gutter) 3rem; border-radius: 2rem 2rem 0 0; }
@media (min-width: 60em) { .entrar-form-lado { border-radius: 2.5rem 0 0 2.5rem; } }
.entrar-cartao { width: min(100%, 26rem); }
.entrar-cartao h2 { font-size: 2.25rem; }
.entrar-cartao-sub { color: var(--mudo); margin: .6rem 0 1.75rem; }
.entrar-cartao form { display: grid; gap: 1.1rem; }
.entrar-cartao form .bt { margin-top: .35rem; }
.entrar-demo { margin-top: 1.25rem; padding: 1rem 1.1rem; border-radius: 1.1rem; background: #fff; border: 1.5px dashed #d8d1c5; display: grid; gap: .3rem; font-size: .9375rem; }
.entrar-demo b { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rosa); }
.entrar-demo button { border: 0; background: none; padding: 0; font-weight: 500; text-decoration: underline; text-decoration-color: var(--amarelo); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.entrar-demo-link .bt { margin-top: .6rem; }
.entrar-equipe { display: block; margin-top: 2rem; text-align: center; font-size: .875rem; color: var(--mudo); }
.entrar-enviado { display: grid; gap: .75rem; text-align: center; justify-items: center; animation: dlg-entra .4s var(--mola); }
.entrar-enviado .entrar-cartao-sub { margin: 0 0 .5rem; }
.entrar-enviado .entrar-demo { text-align: left; width: 100%; margin: 0 0 .25rem; }
.envelope { width: 5rem; height: 5rem; border-radius: 1.6rem; background: var(--amarelo); display: grid; place-items: center; margin-bottom: .5rem; animation: pula 2s var(--mola) infinite; }
.envelope .ic { width: 2.4rem; height: 2.4rem; }
@keyframes pula { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-8px) rotate(-6deg); } }

/* equipe */
.equipe-entrar { min-height: 100dvh; background: var(--preto); display: grid; place-items: center; padding: 2rem var(--gutter); color: #fff; }
.equipe-cartao { width: min(100%, 24rem); }
.equipe-logo { width: 7rem; margin-bottom: 3rem; }
.equipe-cartao h1 { font-size: 2.25rem; }
.equipe-cartao > p { color: var(--g7); margin: .5rem 0 2rem; }
.equipe-cartao form { display: grid; gap: 1.1rem; }
.equipe-cartao .campo-rotulo { color: #fff; }
.equipe-cartao .campo input { background: var(--carvao); border-color: var(--g3); color: #fff; }
.equipe-cartao .campo input:focus { border-color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.equipe-cartao .campo-erro { color: #ff7ea6; }
.equipe-voltar { display: inline-flex; align-items: center; gap: .4rem; margin-top: 2rem; color: var(--g7); text-decoration: none; font-size: .9375rem; }
.equipe-voltar:hover { color: #fff; }

/* ---------- presente (abertura e comemoração) ---------- */
.presente { position: relative; width: 15rem; height: 14rem; margin: 0 auto; }
.presente-corpo { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; height: 8.5rem; border-radius: .5rem .5rem 1.1rem 1.1rem; background: linear-gradient(180deg, #1d1d20, #0b0b0c); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); overflow: hidden; z-index: 2; }
.presente-tampa { position: absolute; left: 0; right: 0; bottom: 9rem; height: 3rem; border-radius: .9rem; background: linear-gradient(180deg, #2a2a2e, #141416); z-index: 4; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .6); overflow: visible; }
.fita-v { position: absolute; left: 50%; top: 0; bottom: 0; width: 2.25rem; translate: -50% 0; background: linear-gradient(90deg, var(--laranja) 0 16.6%, var(--amarelo) 0 33.3%, var(--menta) 0 50%, var(--azul) 0 66.6%, var(--violeta) 0 83.3%, var(--rosa) 0); }
.presente-tampa .fita-v { border-radius: 0; }
.fita-h { position: absolute; left: 0; right: 0; top: 2.25rem; height: .5rem; background: rgba(255, 255, 255, .08); }
.presente-tampa::before, .presente-tampa::after { content: ''; position: absolute; bottom: 100%; left: 50%; width: 3.25rem; height: 2.25rem; border: .55rem solid var(--rosa); border-radius: 60% 60% 10% 60%; margin-bottom: -.35rem; }
.presente-tampa::before { translate: -100% 0; rotate: -12deg; }
.presente-tampa::after { rotate: 12deg; border-radius: 60% 60% 60% 10%; }
.presente-sombra { position: absolute; left: 1.5rem; right: 1.5rem; bottom: .25rem; height: 1.25rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .45), transparent); z-index: 1; }
.presente-itens { position: absolute; left: 50%; bottom: 5rem; width: 0; height: 0; z-index: 3; }
.presente-itens img { position: absolute; width: 6.5rem; height: 6.5rem; left: -3.25rem; top: -3.25rem; opacity: 0; scale: .2; transition: transform .9s var(--mola), opacity .3s, scale .9s var(--mola);
  --a: calc((var(--i) - (var(--n) - 1) / 2) * 26deg); filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .45)); max-width: none; }
.abertura .presente { animation: balanca 2.6s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes balanca { 0%, 70%, 100% { rotate: 0deg; } 76% { rotate: -4deg; } 82% { rotate: 4deg; } 88% { rotate: -2deg; } 94% { rotate: 1deg; } }
.presente.aberto { animation: none; }
.presente.aberto .presente-tampa { transition: transform .7s var(--suave-mov), opacity .5s .35s; transform: translate(4rem, -9rem) rotate(28deg); opacity: 0; }
.presente.aberto .presente-itens img { opacity: 1; scale: 1; transition-delay: calc(.12s + var(--i) * .05s);
  transform: translate(calc(sin(var(--a)) * var(--raio-leque)), calc(cos(var(--a)) * var(--raio-leque) * -.62 - 2.5rem)) rotate(calc(var(--a) * .6)); }
.presente { --raio-leque: clamp(8.5rem, 34vw, 14rem); }
@media (max-width: 40em) { .presente.aberto .presente-itens img { width: 5rem; height: 5rem; left: -2.5rem; top: -2.5rem; } .abertura:has(.aberto) .ab-titulo { opacity: .15; transition: opacity .4s; } }

.abertura { position: fixed; inset: 0; z-index: 60; background: radial-gradient(80% 60% at 50% 45%, #1c1c1f 0%, #000 70%); color: #fff; display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  animation: fundo .5s ease; }
.abertura.saindo { animation: sai-escala .45s ease forwards; }
@keyframes sai-escala { to { opacity: 0; transform: scale(1.04); } }
.ab-topo { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem var(--gutter); }
.ab-pular { border: 0; background: rgba(255, 255, 255, .1); color: #fff; padding: .55rem 1.1rem; border-radius: 999px; font-weight: 500; }
.ab-pular:hover { background: rgba(255, 255, 255, .18); }
.ab-palco { display: grid; justify-items: center; align-content: center; gap: 1.25rem; text-align: center; padding: 0 var(--gutter) 3rem; }
.ab-ola { font-size: clamp(1rem, 2.4vw, 1.25rem); color: rgba(255, 255, 255, .7); animation: sobe .7s .1s var(--suave-mov) both; }
.ab-titulo { font-size: clamp(2.5rem, 7vw, 5rem); animation: sobe .7s .25s var(--suave-mov) both; margin-bottom: 1.5rem; }
.ab-palco .presente { animation: sobe .8s .4s var(--mola) both, balanca 2.6s 1.4s ease-in-out infinite; }
.ab-pontos { font-size: clamp(1.0625rem, 2.6vw, 1.375rem); color: rgba(255, 255, 255, .82); animation: sobe .7s .6s var(--suave-mov) both; margin-top: .5rem; }
.ab-pontos b { font-family: var(--f-disp); font-weight: 500; font-size: 1.6em; color: var(--amarelo); font-variant-numeric: tabular-nums; }
.ab-palco > .bt { animation: sobe .7s .75s var(--suave-mov) both; }
@keyframes sobe { from { opacity: 0; transform: translateY(18px); } }

/* ---------- vitrine ---------- */
.heroi-kit, .heroi-status { background: var(--preto); color: #fff; }
.heroi-in { max-width: 80rem; margin: 0 auto; padding: clamp(1.75rem, 5vw, 3.5rem) var(--gutter) clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1.75rem; align-items: end; }
@media (min-width: 52em) { .heroi-kit .heroi-in { grid-template-columns: 1fr minmax(18rem, 24rem); } }
.olho { font-size: .8125rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.olho .urgente { color: var(--amarelo); }
.heroi-in h1 { font-size: clamp(2.25rem, 5.6vw, 4rem); margin-top: .75rem; }
.destaque { background: var(--arco) bottom / 100% .1em no-repeat; padding-bottom: .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.heroi-sub { margin-top: 1rem; color: rgba(255, 255, 255, .72); font-size: clamp(1rem, 1.5vw, 1.125rem); max-width: 36rem; }
.heroi-sub a { color: #fff; font-weight: 500; }
.heroi-medidor { background: var(--carvao); border-radius: 1.75rem; padding: 1.4rem 1.5rem 1.5rem; display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: .6rem; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.hm-rotulo { grid-column: 1 / -1; font-size: .8125rem; color: rgba(255, 255, 255, .6); font-weight: 500; }
.hm-num { font-family: var(--f-disp); font-weight: 500; font-size: clamp(3rem, 7vw, 4.25rem); line-height: 1; margin-top: .35rem; font-variant-numeric: tabular-nums; }
.hm-de { color: rgba(255, 255, 255, .55); font-size: 1rem; }
.heroi-medidor .medidor { grid-column: 1 / -1; margin-top: 1rem; }
.hm-pronto { grid-column: 1 / -1; display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; font-weight: 500; font-size: 1.125rem; }
.hm-pronto > .ic { width: 2.25rem; height: 2.25rem; padding: .45rem; border-radius: 50%; background: var(--menta); color: #000; }
.hm-pronto .bt { margin-left: auto; }

.medidor-trilho { display: flex; gap: 3px; height: .75rem; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.medidor-claro .medidor-trilho { background: var(--papel-2); }
.medidor-seg { flex: none; height: 100%; background: var(--c); border-radius: 3px; transition: width .5s var(--suave-mov); animation: seg-entra .5s var(--mola); transform-origin: left; }
.medidor-seg:first-child { border-radius: 999px 3px 3px 999px; }
@keyframes seg-entra { from { transform: scaleX(0); } }

.secao-cab { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.secao-cab h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.secao-cab p { color: var(--mudo); font-size: .9375rem; }

.sugestoes { max-width: 80rem; margin: 0 auto; padding: 2.25rem var(--gutter) 0; }
.trilho { display: flex; gap: .9rem; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding: .25rem var(--gutter) 1rem; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; overscroll-behavior-x: contain; }
.trilho::-webkit-scrollbar { display: none; }
.sug { flex: none; scroll-snap-align: start; width: 12.5rem; border: 0; padding: 1rem 1rem 1.1rem; border-radius: 1.5rem; background: #fff; text-align: left; display: grid; gap: .1rem; box-shadow: var(--sombra);
  transition: transform .25s var(--mola), box-shadow .25s; }
.sug:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: var(--sombra-forte); }
.sug-imgs { height: 6rem; background: var(--cor); border-radius: 1.1rem; margin-bottom: .75rem; position: relative; display: block; overflow: hidden; }
.sug-imgs img { position: absolute; width: 4.5rem; top: 50%; left: calc(12% + var(--i) * 19%); translate: 0 -50%; rotate: calc((var(--i) - 1.5) * 7deg); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .18)); transition: transform .3s var(--mola); }
.sug:hover .sug-imgs img { transform: translateY(-4px) scale(1.06); }
.sug-nome { font-family: var(--f-disp); font-weight: 500; font-size: 1.25rem; }
.sug-info { font-size: .875rem; color: var(--mudo); }

.loja { max-width: 80rem; margin: 0 auto; padding: 2.5rem var(--gutter) 8rem; display: grid; gap: 2rem; align-items: start; }
@media (min-width: 64em) { .loja { grid-template-columns: minmax(0, 1fr) 22.5rem; padding-bottom: 4rem; } }
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.75rem), 1fr)); gap: clamp(.75rem, 1.6vw, 1.25rem); }
@media (min-width: 40em) { .grade { grid-template-columns: repeat(auto-fill, minmax(11.25rem, 1fr)); } }

.prod { position: relative; background: var(--suave); border-radius: 1.75rem; padding: .6rem .6rem .9rem; display: flex; flex-direction: column; gap: .35rem; transition: transform .3s var(--mola), box-shadow .3s, outline-color .2s;
  outline: 3px solid transparent; outline-offset: -3px; container-type: inline-size; }
.prod:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(0, 0, 0, .35); }
.prod-foto { border: 0; background: none; padding: 0; aspect-ratio: 1; border-radius: 1.3rem; overflow: hidden; display: grid; place-items: center; }
.prod-foto img { width: 92%; transition: transform .45s var(--mola), filter .3s, opacity .3s; }
.prod:hover .prod-foto img { transform: scale(1.07) rotate(-3deg); }
.prod-info { padding: 0 .5rem; min-height: 2.6rem; }
.prod-info h3 { font-size: clamp(.9375rem, 7cqi, 1.0625rem); font-weight: 500; line-height: 1.25; }
.prod-var { font-size: .8125rem; color: color-mix(in srgb, var(--texto) 62%, var(--suave)); margin-top: .1rem; }
.prod-rodape { display: flex; align-items: center; justify-content: space-between; gap: .4rem; padding: .25rem .2rem 0 .5rem; margin-top: auto; }
.prod-pts { font-size: .8125rem; color: color-mix(in srgb, var(--texto) 70%, var(--suave)); white-space: nowrap; }
.prod-pts b { font-family: var(--f-disp); font-weight: 500; font-size: clamp(1.25rem, 11cqi, 1.5rem); color: var(--texto); margin-right: .1rem; font-variant-numeric: tabular-nums; }
.prod-bt { width: 2.875rem; height: 2.875rem; border-radius: 999px; border: 0; background: var(--preto); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; flex: none;
  transition: transform .25s var(--mola), background .2s, width .25s var(--suave-mov); }
.prod-bt:hover { transform: scale(1.08); }
.prod-bt:active { transform: scale(.92); }
.prod-bt .ic { width: 1.35rem; height: 1.35rem; }
.prod-bt-tirar { width: auto; padding: 0 .9rem 0 .7rem; background: var(--cor); color: #fff; font-weight: 500; font-size: .875rem; }
.prod-bt-tirar .ic { width: 1.1rem; height: 1.1rem; stroke-width: 3; }
.prod-qtd { display: flex; align-items: center; background: var(--preto); color: #fff; border-radius: 999px; height: 2.875rem; padding: 0 .2rem; }
.prod-qtd button { width: 2.375rem; height: 2.375rem; border: 0; background: none; color: #fff; border-radius: 50%; display: grid; place-items: center; }
.prod-qtd button:hover { background: rgba(255, 255, 255, .14); }
.prod-qtd span { min-width: 1.25rem; text-align: center; font-weight: 500; font-variant-numeric: tabular-nums; }
.prod-tag { font-size: .8125rem; font-weight: 500; padding: .5rem .75rem; border-radius: 999px; background: rgba(0, 0, 0, .07); color: rgba(0, 0, 0, .55); white-space: nowrap; }
.prod-selo { position: absolute; top: .9rem; right: .9rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--cor); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px var(--suave); animation: selo .45s var(--mola); }
.prod-selo .ic { width: 1.1rem; height: 1.1rem; stroke-width: 3; }
@keyframes selo { from { transform: scale(0) rotate(-90deg); } }
.prod.na-caixa { outline-color: var(--cor); }
.prod.nao-cabe .prod-foto img, .prod.esgotado .prod-foto img { opacity: .45; filter: grayscale(.5); }
.prod.nao-cabe:hover .prod-foto img { transform: none; }

/* caixa */
.lateral { position: sticky; top: calc(var(--topo-h) + 1.25rem); display: none; }
@media (min-width: 64em) { .lateral { display: block; } }
.caixa { background: #fff; border-radius: 1.75rem; padding: 1.4rem 1.25rem 1.25rem; box-shadow: var(--sombra); display: grid; gap: 1rem; }
.caixa-folha { box-shadow: none; padding: 1.25rem 1.25rem 1.5rem; }
.caixa-cab { display: flex; align-items: baseline; justify-content: space-between; padding-right: 0; }
.caixa-folha .caixa-cab { padding-right: 3rem; }
.caixa-cab h2 { font-size: 1.5rem; }
.caixa-n { font-size: .875rem; color: var(--mudo); }
.caixa-visual { position: relative; height: 9.5rem; border-radius: 1.25rem; background: var(--papel); overflow: hidden; }
.cv-fundo { position: absolute; left: 14%; right: 14%; bottom: 2.6rem; height: 3.5rem; background: #2c2c30; border-radius: .6rem .6rem 0 0; }
.cv-itens { position: absolute; left: 0; right: 0; bottom: 2.2rem; height: 6rem; display: flex; justify-content: center; align-items: flex-end; padding: 0 16%; }
.cv-itens img { max-width: none; width: 4.25rem; height: 4.25rem; margin: 0 -.85rem; rotate: calc((var(--i) - (var(--n) - 1) / 2) * 9deg); translate: 0 calc(mod(var(--i), 2) * .6rem); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); animation: cai .5s var(--mola) both; }
@keyframes cai { from { transform: translateY(-3rem); opacity: 0; } }
.cv-frente { position: absolute; left: 10%; right: 10%; bottom: .6rem; height: 3.4rem; background: linear-gradient(180deg, #1b1b1e, #000); border-radius: .4rem .4rem .9rem .9rem; overflow: hidden; }
.cv-fita { position: absolute; left: 0; right: 0; top: .55rem; height: .4rem; background: var(--arco); }
.cv-dica { position: absolute; inset: 0 0 4rem; display: grid; place-items: center; font-size: .875rem; color: var(--mudo); padding: 0 1rem; text-align: center; }
.caixa-visual.vazia .cv-fundo { opacity: .25; }
.caixa-visual.pulso .cv-frente, .bc-caixa.pulso { animation: amassa .45s var(--mola); }
@keyframes amassa { 30% { transform: scale(1.06, .92); } 60% { transform: scale(.97, 1.04); } }
.caixa-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; max-height: 17rem; overflow: auto; }
.caixa-folha .caixa-lista { max-height: none; }
.caixa-lista li { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: .65rem; padding: .35rem; border-radius: 1rem; animation: sobe .35s var(--suave-mov); }
.caixa-lista li:hover { background: var(--papel); }
.cl-img { width: 2.75rem; height: 2.75rem; border-radius: .85rem; background: var(--suave); display: grid; place-items: center; }
.cl-img img { width: 86%; }
.cl-txt { display: grid; min-width: 0; font-size: .9375rem; line-height: 1.25; }
.cl-txt b { font-weight: 500; }
.cl-var { border: 0; background: none; padding: .15rem 0 0; font-size: .8125rem; color: var(--mudo); display: inline-flex; align-items: center; gap: .3rem; text-align: left; justify-self: start; }
.cl-var .ic { width: .85rem; height: .85rem; }
.cl-var.falta { color: #c62f5e; font-weight: 500; }
.cl-pts { font-family: var(--f-disp); font-weight: 500; font-variant-numeric: tabular-nums; }
.cl-x { width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: none; display: grid; place-items: center; color: var(--mudo); }
.cl-x:hover { background: rgba(0, 0, 0, .07); color: var(--texto); }
.cl-x .ic { width: 1rem; height: 1rem; }
.caixa-total { display: grid; gap: .55rem; padding-top: .25rem; }
.caixa-total-txt { display: flex; justify-content: space-between; gap: .5rem; font-size: .875rem; color: var(--mudo); flex-wrap: wrap; }
.caixa-total-txt b { color: var(--texto); font-family: var(--f-disp); font-weight: 500; font-size: 1.125rem; }
.caixa-total-txt .zerado { color: #12895c; font-weight: 500; }
.caixa-nota { font-size: .8125rem; color: var(--mudo); text-align: center; margin-top: -.35rem; }

.barra-caixa { position: fixed; z-index: 30; left: .5rem; right: .5rem; bottom: max(.5rem, env(safe-area-inset-bottom)); background: var(--preto); color: #fff; border-radius: 1.5rem; padding: .6rem .6rem .6rem .7rem;
  display: flex; align-items: center; gap: .75rem; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55); animation: sobe .4s var(--suave-mov); }
@media (min-width: 64em) { .barra-caixa { display: none; } }
.bc-caixa { position: relative; width: 3.25rem; height: 3.25rem; border-radius: 1.1rem; border: 0; background: var(--carvao); color: #fff; display: grid; place-items: center; flex: none; }
.bc-caixa .ic { width: 1.5rem; height: 1.5rem; }
.bc-n { position: absolute; top: -.3rem; right: -.3rem; min-width: 1.4rem; height: 1.4rem; padding: 0 .3rem; border-radius: 999px; background: var(--amarelo); color: #000; font-size: .75rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--preto); }
.bc-meio { flex: 1; min-width: 0; display: grid; gap: .35rem; }
.bc-meio .medidor-trilho { height: .5rem; }
.bc-txt { font-size: .8125rem; color: rgba(255, 255, 255, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-txt b { color: #fff; font-family: var(--f-disp); font-weight: 500; font-size: 1rem; }
.barra-caixa .bt { min-height: 3.25rem; padding: .7rem 1.1rem; }

.voando { position: fixed; z-index: 80; pointer-events: none; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .3)); }

/* detalhe do produto */
.dlg-produto { max-width: min(54rem, calc(100% - 2rem)); }
.det { display: grid; }
@media (min-width: 48em) { .det { grid-template-columns: 1fr 1fr; } }
.det-foto { background: var(--suave); display: grid; place-items: center; padding: 2rem; min-height: 15rem; }
@media (min-width: 48em) { .det-foto { border-radius: 1.75rem 0 0 1.75rem; } }
@media (max-width: 47.99em) { .det-foto { border-radius: 1.75rem 1.75rem 0 0; padding: 1rem 2rem; } .det-foto img { max-height: 15rem; } }
@media (max-width: 40em) { .det-foto { border-radius: 0; margin-top: -1.3rem; padding-top: 2rem; } }
.det-foto img { width: min(100%, 22rem); animation: dlg-entra .5s var(--mola); }
.det-info { padding: 2rem 1.75rem 1.75rem; display: flex; flex-direction: column; gap: .9rem; }
.det-pts { align-self: flex-start; padding: .35rem .85rem; border-radius: 999px; background: var(--suave); font-size: .875rem; }
.det-pts b { font-family: var(--f-disp); font-weight: 500; font-size: 1.125rem; }
.det-info h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); padding-right: 2rem; }
.det-info p { color: var(--mudo); }
.det-info .bt { margin-top: auto; }
.det-var { border: 0; padding: 0; margin: .25rem 0 .5rem; }
.det-var legend { font-size: .875rem; font-weight: 500; margin-bottom: .6rem; }
.det-var.chamar { animation: chacoalha .45s; }
@keyframes chacoalha { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-grid; place-items: center; min-width: 3rem; min-height: 2.75rem; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--linha); font-weight: 500; cursor: pointer; transition: all .15s; }
.chip:hover span { border-color: var(--texto); }
.chip input:checked + span { background: var(--preto); color: #fff; border-color: var(--preto); }
.chip input:focus-visible + span { outline: 3px solid var(--azul); outline-offset: 2px; }

/* ---------- revisar ---------- */
.revisar { max-width: 72rem; margin: 0 auto; padding: 1.75rem var(--gutter) 4rem; }
.voltar { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; color: var(--mudo); font-weight: 500; font-size: .9375rem; padding: .35rem 0; }
.voltar:hover { color: var(--texto); }
.revisar h1 { font-size: clamp(2rem, 5vw, 3rem); margin: .75rem 0 1.75rem; }
.revisar-grade { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 56em) { .revisar-grade { grid-template-columns: 1fr 1.15fr; } }
.painel { background: #fff; border-radius: 1.75rem; padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: var(--sombra); }
.painel h2 { font-size: 1.375rem; margin-bottom: 1rem; }
.painel-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.painel-cab h2 { margin: 0; }
.rev-lista { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .5rem; }
.rev-lista li { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; }
.rl-img { width: 3.75rem; height: 3.75rem; border-radius: 1.1rem; background: var(--suave); display: grid; place-items: center; }
.rl-img img { width: 86%; }
.rl-txt { display: grid; line-height: 1.3; }
.rl-txt b { font-weight: 500; }
.rl-txt span { font-size: .875rem; color: var(--mudo); }
.rl-pts { font-family: var(--f-disp); font-weight: 500; white-space: nowrap; }
.rev-total { display: grid; gap: .55rem; padding-top: 1rem; border-top: 1px solid var(--linha); }
.rev-dica { margin-top: 1rem; padding: .85rem 1rem; border-radius: 1rem; background: #FFF4D1; display: flex; gap: .6rem; align-items: center; font-size: .9375rem; flex-wrap: wrap; }
.rev-dica a { font-weight: 500; }
.rev-entrega-sub { display: flex; gap: .6rem; align-items: center; color: var(--mudo); margin: -.25rem 0 1.25rem; }
.form-end { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: 1rem; }
.form-end .c-cheio { grid-column: 1 / -1; }
.unidade-cartao { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem; border-radius: 1.25rem; background: #E6F0FF; }
.unidade-cartao > .ic { width: 2.75rem; height: 2.75rem; padding: .6rem; border-radius: .9rem; background: var(--preto); color: #fff; }
.unidade-cartao b { font-weight: 500; font-size: 1.0625rem; }
.unidade-cartao p { margin-top: .2rem; }
.rev-confirmar { display: grid; justify-items: center; gap: .75rem; margin-top: 2rem; text-align: center; }
.rev-confirmar .bt { min-width: min(100%, 22rem); }
.rev-confirmar p { color: var(--mudo); font-size: .9375rem; }

/* ---------- comemoração ---------- */
.festa { position: fixed; inset: 0; z-index: 70; background: radial-gradient(80% 60% at 50% 40%, #1c1c1f, #000 70%); color: #fff; display: grid; place-items: center; padding: 2rem var(--gutter); opacity: 0; transition: opacity .35s; overflow: auto; }
.festa.ativa { opacity: 1; }
.festa.saindo { opacity: 0; }
.festa-palco { display: grid; justify-items: center; gap: 1rem; text-align: center; max-width: 34rem; }
.festa .presente { margin-bottom: 1rem; }
.presente.fechando .presente-tampa { animation: tampa-desce .55s .95s var(--mola) both; }
.presente.fechando .presente-itens img { opacity: 1; scale: .85; animation: entra-caixa .7s calc(.15s + var(--i) * .1s) cubic-bezier(.5, 0, .75, 0) both;
  transform: translate(calc((var(--i) - (var(--n) - 1) / 2) * 1.6rem), 1.5rem); }
@keyframes entra-caixa { from { transform: translate(calc((var(--i) - (var(--n) - 1) / 2) * 3.2rem), -16rem) rotate(-25deg); opacity: 0; } 30% { opacity: 1; } }
@keyframes tampa-desce { from { transform: translateY(-12rem) rotate(-10deg); opacity: 0; } }
.presente.fechando .presente-tampa::before, .presente.fechando .presente-tampa::after { animation: laco .5s 1.45s var(--mola) both; }
@keyframes laco { from { scale: 0; } }
.festa-titulo, .festa-sub, .festa-cod, .festa .bt { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--suave-mov), transform .5s var(--suave-mov); }
.festa.pronta .festa-titulo, .festa.pronta .festa-sub, .festa.pronta .festa-cod, .festa.pronta .bt { opacity: 1; transform: none; }
.festa.pronta .festa-sub { transition-delay: .1s; } .festa.pronta .festa-cod { transition-delay: .18s; } .festa.pronta .bt { transition-delay: .26s; }
.festa-titulo { font-size: clamp(2.5rem, 8vw, 4.5rem); }
.festa-sub { color: rgba(255, 255, 255, .75); font-size: 1.0625rem; }
.festa-cod { font-size: .9375rem; color: rgba(255, 255, 255, .6); margin-bottom: .75rem; }
.festa-cod b { color: #fff; font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; font-weight: 500; }

/* ---------- meu kit ---------- */
.heroi-status { --st: var(--amarelo); }
.st-producao { --st: var(--laranja); } .st-enviado { --st: var(--azul); } .st-entregue { --st: var(--menta); }
.heroi-in-col { align-items: start; gap: 0; }
.heroi-status .olho { color: var(--st); }
.etapas { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 52rem; }
.etapas li { position: relative; display: grid; justify-items: center; text-align: center; gap: .45rem; padding: 0 .25rem; }
.etapas li::before { content: ''; position: absolute; top: 1.5rem; right: 50%; width: 100%; height: 3px; background: rgba(255, 255, 255, .14); z-index: 0; translate: 0 -50%; }
.etapas li:first-child::before { display: none; }
.etapas li.feita::before, .etapas li.atual::before { background: var(--st); }
.etapa-ic { position: relative; z-index: 1; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--tinta); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .45); }
.etapa-ic .ic { width: 1.35rem; height: 1.35rem; }
.feita .etapa-ic { background: var(--st); color: #000; box-shadow: none; }
.feita .etapa-ic .ic { stroke-width: 3; }
.atual .etapa-ic { background: #fff; color: #000; box-shadow: 0 0 0 4px color-mix(in srgb, var(--st) 45%, transparent); animation: brilha 2s ease-in-out infinite; }
@keyframes brilha { 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--st) 10%, transparent); } }
.etapa-nome { font-weight: 500; font-size: clamp(.8125rem, 2.4vw, .9375rem); color: rgba(255, 255, 255, .55); line-height: 1.2; }
.feita .etapa-nome, .atual .etapa-nome { color: #fff; }
.etapa-data { font-size: .75rem; color: rgba(255, 255, 255, .5); min-height: 1em; }
.meukit { max-width: 80rem; margin: 0 auto; padding: 2rem var(--gutter) 4rem; display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 60em) { .meukit { grid-template-columns: 1.5fr 1fr; } .mk-historico { grid-column: 1 / -1; } }
.mk-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 8.5rem), 1fr)); gap: .9rem; }
.mk-item { display: grid; gap: .2rem; font-size: .9375rem; line-height: 1.25; }
.mk-item b { font-weight: 500; }
.mk-item span:not(.mk-img) { font-size: .8125rem; color: var(--mudo); }
.mk-img { aspect-ratio: 1; border-radius: 1.25rem; background: var(--suave); display: grid; place-items: center; margin-bottom: .45rem; }
.mk-img img { width: 84%; }
.mk-lado { display: grid; gap: 1.25rem; }
.endereco { font-style: normal; display: flex; gap: .85rem; line-height: 1.5; }
.endereco > .ic { width: 2.5rem; height: 2.5rem; padding: .55rem; border-radius: .85rem; background: var(--papel); flex: none; }
.endereco b { font-weight: 500; }
.rastreio { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--linha); display: grid; gap: .6rem; }
.rastreio .mudo { font-size: .8125rem; }
.rastreio-linha { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.rastreio code { font: 500 1.125rem ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; }
.mk-acoes p { margin: -.5rem 0 1.1rem; }
.mk-bts { display: grid; gap: .6rem; }
.historico { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.historico li { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; padding: .7rem 0; border-top: 1px solid var(--linha); font-size: .9375rem; }
.historico li:first-child { border-top: 0; }
.historico b { font-weight: 500; }
.historico .mudo { font-size: .8125rem; white-space: nowrap; }
.h-ponto { width: .7rem; height: .7rem; border-radius: 50%; background: var(--linha); }
.historico li:first-child .h-ponto { background: var(--menta); box-shadow: 0 0 0 4px #d6f5e7; }

.falha { min-height: 70dvh; display: grid; place-content: center; justify-items: center; gap: 1rem; text-align: center; padding: 2rem; }
.falha h1 { font-size: 3rem; }

/* página do link mágico */
.pagina-token { background: var(--preto); color: #fff; }
.token-caixa { min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 1.5rem; text-align: center; padding: 2rem; }
.token-logo { width: 7.5rem; }
.token-giro { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .15); border-top-color: var(--amarelo); animation: gira .8s linear infinite; }
.token-caixa.falhou .token-giro { display: none; }
.token-caixa p { font-size: 1.125rem; max-width: 26rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
