/* ==========================================================================
   GANHANDO NA COMPRA 3D - ESTILOS RESPONSIVOS & ANIMAÇÕES
   ========================================================================== */
:root {
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: "Plus Jakarta Sans", "Inter", sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: var(--font-sans);
}

.font-display {
    font-family: var(--font-display);
}

/* Altura dinâmica 100dvh evita corte da barra do navegador no celular */
.app-shell {
    min-height: 100vh;
    min-height: 100dvh;
}

.bg-grid-3d {
    background-color: #091326;
    background-image:
        radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.35) 0%, rgba(9, 19, 38, 0.95) 70%),
        linear-gradient(to right, rgba(59, 130, 246, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(59, 130, 246, 0.08) 1px, transparent 1px);
    background-size: 100% 100%, 36px 36px, 36px 36px;
}

.vignette-overlay {
    background: radial-gradient(circle at 50% 48%, rgba(9, 19, 38, 0.30) 0%, rgba(9, 19, 38, 0.65) 100%);
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}
.animate-float {
    animation: floatSlow 4s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% {
        box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.55), 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 14px 30px -5px rgba(37, 211, 102, 0.75), 0 0 0 8px rgba(37, 211, 102, 0);
    }
}
.animate-cta-glow {
    animation: ctaGlow 2.4s infinite;
}

.view-transition {
    animation: fadeInScale 0.28s ease-out forwards;
}
@keyframes fadeInScale {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cards de promoções sobrepostos no fundo */
.promo-shot-card {
    position: absolute;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 22px 48px -10px rgba(0, 0, 0, 0.82), 0 0 0 1px rgba(255, 255, 255, 0.65);
    transform: rotate(var(--rot, 0deg)) scale(var(--scale, 1));
    animation: promoFloat 7s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    will-change: transform;
}

@keyframes promoFloat {
    0%, 100% { transform: rotate(var(--rot, 0deg)) scale(var(--scale, 1)) translateY(0px); }
    50% { transform: rotate(calc(var(--rot, 0deg) + 1.1deg)) scale(var(--scale, 1)) translateY(-6px); }
}

/* Acessibilidade: respeita usuários com sensibilidade a movimento */
@media (prefers-reduced-motion: reduce) {
    .animate-float, .animate-cta-glow, .promo-shot-card, .view-transition {
        animation: none !important;
    }
}