/* Injeção de aditivo (postos de combustíveis).
 *
 * Cores de MARCA como var(--jg-<hex>, #<hex>): faixa da bomba, rótulo, check do
 * escudo e botões; fundo técnico grafite, combustível champanhe, aditivo verde
 * neon e ouro em hex direto. Nunca azul.
 *
 * Contrato:
 *  - Estado FINAL por classe estática ou @keyframes … forwards.
 *  - Movimento reduzido: cada coisa para num estado VISÍVEL.
 *  - Fluxo, gota, mistura e indicador são JS (atributos no SVG), pelo relógio;
 *    aqui a reação dourada, o escudo com "Performance premiada" e o cartão.
 *  - Posições em % do palco: viewBox 160×110 no mesmo 16:11. A gota cai na
 *    mangueira em (80,58) → 50% / 52,7%.
 */

.ad__palco {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 16 / 11;
    border-radius: 14px;
    overflow: hidden;
    background: var(--jg-0f1714, #0F1714);
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45);
    user-select: none;
    font-family: Arial, sans-serif;
}
.ad__cena { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.ad__rotulo {
    position: absolute;
    left: 2%; bottom: 2%;
    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;
}
.ad__rotulo img { width: 12px; height: 12px; }

/* ---------------- reação dourada, escudo e cartão (só no prêmio) ---------------- */

.ad__reacao {
    position: absolute;
    left: 50%; top: 52.7%;
    width: 40%; aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 246, 200, .95), rgba(244, 196, 48, .6) 35%, rgba(201, 142, 14, .25) 60%, rgba(201, 142, 14, 0) 72%);
    transform: translate(-50%, -50%) scale(.1);
    opacity: 0;
    z-index: 3;
    pointer-events: none;
}
.ad--premiou .ad__reacao { animation: ad-reacao .9s ease-out forwards; }
@keyframes ad-reacao { to { transform: translate(-50%, -50%) scale(4.2); opacity: .92; } }

.ad__escudo {
    position: absolute;
    left: 50%; top: 32%;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    transform: translate(-50%, -50%) scale(.3);
    opacity: 0;
    z-index: 5;
}
.ad__escudo svg { width: 64px; height: 74px; filter: drop-shadow(0 0 10px rgba(255, 246, 200, .9)); }
.ad__escudo b {
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(255, 250, 225, .9);
    box-shadow: 0 0 0 1.2px #C9A227;
    font: 700 clamp(12px, 3.4vw, 17px)/1.1 Georgia, 'Times New Roman', serif;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--jg-14532d, #14532d);
    text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
    white-space: nowrap;
}
.ad--premiou .ad__escudo { animation: ad-escudo .6s .35s cubic-bezier(.3, 1.4, .5, 1) forwards; }
@keyframes ad-escudo { to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }

.ad__cartao {
    position: absolute;
    left: 50%; top: 77%;
    width: 56%;
    display: flex; align-items: center; gap: 6%;
    padding: 2.4% 3%;
    box-sizing: border-box;
    border-radius: 10px;
    background: linear-gradient(180deg, #FFFDF4, #F7EBC2);
    border: 1.5px solid #C9A227;
    box-shadow: 0 12px 20px -8px rgba(0, 0, 0, .5);
    transform: translate(-50%, -50%) scale(.1);
    opacity: 0;
    z-index: 6;
}
.ad__cartao img { width: 28%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 2px solid #D4AF37; background: #fff; flex: none; }
.ad__cartao div { min-width: 0; font: 700 clamp(11px, 3vw, 15px)/1.2 Georgia, 'Times New Roman', serif; color: var(--jg-14532d, #14532d); }
.ad__cartao small { display: block; font: 700 clamp(8px, 2vw, 10px)/1.2 Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #8A6D1F; margin-bottom: 3px; }
.ad__cartao span { display: block; overflow-wrap: anywhere; }
.ad--premiou .ad__cartao { animation: ad-cartao .6s .7s cubic-bezier(.3, 1.3, .5, 1) forwards; }
@keyframes ad-cartao { to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }

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

.ad__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);
}
.ad__botao:hover:not(:disabled) { filter: brightness(1.06); }
.ad__botao:disabled { opacity: .55; cursor: default; }

.ad__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);
}
.ad__msg--premiado { background: var(--jg-e3f5e6, #E3F5E6); border-color: var(--jg-9fd8ab, #9FD8AB); color: var(--jg-14532d, #14532d); }
.ad__msg--consolo  { background: #F1F3F1; border-color: #CDD5CE; color: #4F5A52; }
.ad__msg b { color: var(--jg-0a7a00, #0A7A00); }
.ad__msg--consolo b { color: #5C6B60; }

/* ---------------- vitrine ---------------- */

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

/* ---------------- movimento reduzido ---------------- */
@media (prefers-reduced-motion: reduce) {
    .ad--premiou .ad__reacao { animation: none; transform: translate(-50%, -50%) scale(4.2); opacity: .92; }
    .ad--premiou .ad__escudo { animation: none; transform: translate(-50%, -50%) scale(1); opacity: 1; }
    .ad--premiou .ad__cartao { animation: none; transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
