/* Vitrine conceito (moda e acessórios).
 *
 * Cores de MARCA como var(--jg-<hex>, #<hex>): o veludo das cortinas; fachada
 * grafite, madeira, as peças da coleção, luz e dourado em hex direto. Nunca
 * azul. Nenhum preço na vitrine.
 *
 * Contrato:
 *  - Estado FINAL por classe estática ou @keyframes … forwards.
 *  - Movimento reduzido: cada coisa para num estado VISÍVEL.
 *  - Spots, fachos e cortinas são JS. Camadas: interior (manequins) → placa no
 *    cavalete (HTML) → frente (cortinas, fachos, spots, fachada).
 *  - Posições em % do palco: viewBox 160×110 no mesmo 16:11 do palco. Manequim
 *    central em x = 80 (50%).
 */

.vc__palco {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 16 / 11;
    border-radius: 14px;
    overflow: hidden;
    background: #1F1F1F;
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .55);
    user-select: none;
    font-family: Arial, sans-serif;
}
.vc__cena, .vc__frente { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vc__frente { z-index: 3; pointer-events: none; }

.vc__rotulo {
    position: absolute;
    left: 2%; bottom: 1.5%;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--jg-14532d, #14532d);
    border: 1px solid #C9A227;
    font: 700 10px/1 Arial, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #FFF3C4;
    white-space: nowrap;
    z-index: 8;
}
.vc__rotulo img { width: 12px; height: 12px; }

.vc__letreiro { font: 700 6px/1 Georgia, 'Times New Roman', serif; letter-spacing: 2.2px; fill: #E0C46A; text-anchor: middle; }

/* ---------------- spots e fachos ---------------- */

.vc__lampada { fill: #6B6B6B; }
.vc__spot--on .vc__lampada { fill: #FFF6DA; filter: drop-shadow(0 0 1.5px #FFF6DA); }
.vc__cone { fill: url(#vcCone); opacity: 0; }
.vc--premiou .vc__cone--centro { fill: url(#vcConeOuro); }

/* ---------------- placa luminosa no cavalete (só no prêmio) ---------------- */

.vc__cavalete {
    position: absolute;
    left: 50%; top: 50%;
    width: 36%;
    transform: translate(-50%, 0);
    opacity: 0;
    z-index: 2;
}
.vc--destaque .vc__cavalete { opacity: 1; }
/* pernas do cavalete até o piso da vitrine */
.vc__cavalete > i { position: absolute; left: 50%; top: 96%; width: 46%; height: 55%; transform: translateX(-50%);
                    background: linear-gradient(90deg, transparent 0 8%, #6B5B45 8% 13%, transparent 13% 87%, #6B5B45 87% 92%, transparent 92%); }
.vc__placa-luz {
    position: relative;
    display: flex; align-items: center; gap: 6%;
    padding: 5% 6%;
    border-radius: 8px;
    background: radial-gradient(ellipse at 50% 30%, #2A2214, #14100A);
    border: 2px solid #F4C430;
    box-shadow: 0 0 0 1px #8A6D1F, 0 0 12px 3px rgba(255, 214, 90, .75), inset 0 0 10px rgba(255, 214, 90, .35);
    color: #FFE9A0;
}
.vc__placa-luz img { width: 36%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; border: 1.5px solid #F4C430; background: #fff; flex: none; }
.vc__placa-luz div { min-width: 0; font: 700 clamp(10px, 2.8vw, 14px)/1.2 Georgia, 'Times New Roman', serif; color: #FFF6D0; text-shadow: 0 0 6px rgba(255, 214, 90, .8); }
.vc__placa-luz small { display: block; font: 700 clamp(7px, 1.8vw, 9px)/1.2 Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #F4C430; margin-bottom: 2px; text-shadow: none; }
.vc__placa-luz span { display: block; overflow-wrap: anywhere; }
.vc--premiou .vc__placa-luz { animation: vc-acende 1.6s ease-in-out infinite; }
@keyframes vc-acende {
    0%, 100% { box-shadow: 0 0 0 1px #8A6D1F, 0 0 12px 3px rgba(255, 214, 90, .75), inset 0 0 10px rgba(255, 214, 90, .35); }
    50%      { box-shadow: 0 0 0 1px #8A6D1F, 0 0 20px 6px rgba(255, 214, 90, .95), inset 0 0 14px rgba(255, 214, 90, .5); }
}

.vc__brilhos { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.vc__brilhos i {
    position: absolute;
    width: 4%; aspect-ratio: 1;
    background: #FFF6C9;
    clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
    filter: drop-shadow(0 0 3px rgba(255, 214, 90, .95));
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}
.vc--premiou .vc__brilhos i { animation: vc-estrela 1s ease-out forwards; }
@keyframes vc-estrela {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0) rotate(0deg); }
    45%  { opacity: 1; transform: translate(-50%, -50%) scale(1.25) rotate(30deg); }
    100% { opacity: .95; transform: translate(-50%, -50%) scale(.9) rotate(45deg); }
}

/* ---------------- botão e mensagem ---------------- */

.vc__botao {
    display: block;
    width: 100%;
    max-width: 480px;
    margin: 10px auto 0;
    padding: 12px 10px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, var(--jg-2aa152, #2AA152), var(--jg-0a7a00, #0A7A00));
    color: #fff;
    font: 700 15px/1.2 Arial, sans-serif;
    letter-spacing: .02em;
    cursor: pointer;
    touch-action: manipulation;
    box-shadow: 0 6px 14px -6px rgba(var(--jg-rgb-0a7a00, 10,122,0), .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.vc__botao:hover:not(:disabled) { filter: brightness(1.06); }
.vc__botao:disabled { opacity: .55; cursor: default; }

.vc__msg {
    max-width: 480px;
    min-height: 56px;
    margin: 10px auto 0;
    padding: 8px 12px;
    box-sizing: border-box;
    display: flex; align-items: center; justify-content: center;
    border-radius: 9px;
    text-align: center;
    font: 700 clamp(11px, 3vw, 14px)/1.35 Arial, sans-serif;
    color: #46564c;
    background: var(--jg-eef4ef, #EEF4EF);
    border: 1px solid var(--jg-dce6de, #DCE6DE);
}
.vc__msg--premiado { background: var(--jg-e3f5e6, #E3F5E6); border-color: var(--jg-9fd8ab, #9FD8AB); color: var(--jg-14532d, #14532d); }
.vc__msg--consolo  { background: #F1F3F1; border-color: #CDD5CE; color: #4F5A52; }
.vc__msg b { color: var(--jg-0a7a00, #0A7A00); }
.vc__msg--consolo b { color: #5C6B60; }

/* ---------------- vitrine (lista de prêmios) ---------------- */

.vc__premios {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
    margin: 14px auto 0; max-width: 640px;
}
.vc__titulo {
    width: 100%; text-align: center;
    font: 700 13px/1.3 Arial, sans-serif; color: var(--jg-14532d, #14532d); margin-bottom: 2px;
}
.vc__premio { width: 74px; text-align: center; font: 600 10px/1.2 Arial, sans-serif; color: #46564c; }
.vc__premio img { width: 100%; border-radius: 6px; display: block; margin-bottom: 3px; }

/* ---------------- movimento reduzido ---------------- */
@media (prefers-reduced-motion: reduce) {
    .vc--premiou .vc__placa-luz { animation: none; }
    .vc--premiou .vc__brilhos i { animation: none; opacity: .95; transform: translate(-50%, -50%) scale(.9) rotate(45deg); }
}
