/* ============================================
   balão de fala
   ============================================ */
@keyframes balloonPop {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    10% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    15% { transform: translateY(0) scale(1.1); }
    20% { transform: translateY(0) scale(1); }
    85% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(0) scale(1);
    }
}
.balloon-pop-10s { animation: balloonPop 10s infinite ease-in-out; }
/* ============================================
   balanço
   ============================================ */
@-webkit-keyframes swing {
    15% {
        -webkit-transform: translateX(5px);
        transform: translateX(5px);
    }
    30% {
        -webkit-transform: translateX(-5px);
        transform: translateX(-5px);
    }
    50% {
        -webkit-transform: translateX(3px);
        transform: translateX(3px);
    }
    65% {
        -webkit-transform: translateX(-3px);
        transform: translateX(-3px);
    }
    80% {
        -webkit-transform: translateX(2px);
        transform: translateX(2px);
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}
@keyframes swing {
    15% { transform: translateX(5px); }
    30% { transform: translateX(-5px); }
    50% { transform: translateX(3px); }
    65% { transform: translateX(-3px); }
    80% { transform: translateX(2px); }
    100% { transform: translateX(0); }
}
/* ============================================
   aparições
   ============================================ */
@keyframes show1 {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes show2 {
    0% { opacity: 0; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes show3 {
    0% {
        opacity: 0;
        transform: scale(.95);
        bottom: -2.5%;
    }
    5% {
        opacity: 1;
        transform: scale(1);
        bottom: 0;
    }
    85% {
        opacity: 1;
        transform: scale(1);
        bottom: 0;
    }
    100% {
        opacity: 0;
        transform: scale(1);
        bottom: 0;
    }
}
@keyframes show4 {
    0% {
        opacity: 0;
        margin-top: 5%;
    }
    100% {
        opacity: 1;
        margin-top: 0;
    }
}
@keyframes show5 {
    0% {
        opacity: 0;
        margin-top: -5%;
    }
    100% {
        opacity: 1;
        margin-top: 0;
    }
}
/* ============================================
   revelação da esquerda para a direita
   ============================================ */
@keyframes revealLeftRight {
    0% {
        opacity: 1;
        clip-path: inset(0 100% 0 0);
    }
    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

.reveal-left-4s {
    animation: revealLeftRight 4s ease-out forwards;
}
.show1-2s { animation: show1 2s forwards; }
.show1-3s { animation: show1 3s forwards; }
.show1-5s { animation: show1 5s forwards; }
.show2-3s { animation: show2 3s forwards; }
.show3-10s { animation: show3 10s infinite ease-in-out; }
.show4-3s { animation: show4 3s forwards; }
.show5-3s { animation: show5 3s forwards; }
/* ============================================
   movimentos
   ============================================ */
@keyframes move1 {
    from {
        margin-left: -100%;
    }
    to {
        margin-left: 0;
    }
}
@keyframes move2 {
    from {
        opacity: 0;
        margin-top: 100px;
    }
    to {
        opacity: 1;
        margin-top: 0;
    }
}
@keyframes move3 {
    from {
        margin-right: -30%;
    }
    to {
        margin-right: 0;
    }
}
@keyframes move4 {
    from {
        margin-left: -30%;
    }
    to {
        margin-left: 0;
    }
}
@keyframes move5 {
    from {
        opacity: 0;
        margin-left: -30%;
    }
    to {
        opacity: 1;
        margin-left: 0;
    }
}
@keyframes move6 {
    0% {
        opacity: 0;
        bottom: -20%;
    }
    10% {
        opacity: 1;
        bottom: 0;
    }
    95% {
        opacity: 1;
        bottom: 0;
    }
    100% {
        opacity: 0;
        bottom: 0;
    }
}
.move1-2s { animation: move1 2s forwards; }
.move1-3s { animation: move1 3s forwards; }
.move2-2s { animation: move2 2s forwards; }
.move3-2s { animation: move3 2s forwards; }
.move4-2s { animation: move4 2s forwards; }
.move5-2s { animation: move5 2s forwards; }
.move5-2-5s { animation: move5 2.5s forwards; }
.move5-3s { animation: move5 3s forwards; }
.move6-10s { animation: move6 10s infinite ease-in-out; }
/* ============================================
   crescimento
   ============================================ */
@keyframes grow1 {
    0% { transform: scale(1); }
    50% { transform: scale(1); }
    55% { transform: scale(1.1); }
    60% { transform: scale(1); }
    65% { transform: scale(1.1); }
    70% { transform: scale(1); }
    100% { transform: scale(1); }
}
@keyframes grow2 {
    0% {
        opacity: 0;
        margin-top: 100px;
        transform: scale(1);
    }
    3% {
        opacity: 1;
        margin-top: 0;
    }
    50% { transform: scale(1); }
    55% { transform: scale(1.1); }
    60% { transform: scale(1); }
    65% { transform: scale(1.1); }
    70% { transform: scale(1); }
    90% {
        opacity: 1;
        margin-top: 0;
        transform: scale(1);
    }
    93% {
        opacity: 0;
        transform: scale(.5);
    }
    100% { opacity: 0; }
}
.grow1 { animation: grow1 15s infinite linear; }
.grow2 { animation: grow2 10s infinite linear; }
/* ============================================
   entrada lateral
   ============================================ */
@keyframes slidein {
    0% {
        opacity: 0;
        margin-left: 100%;
        width: 300%;
    }
    20% {
        opacity: 0;
        margin-left: 80%;
    }
    80% {
        opacity: 0.5;
        margin-left: 80%;
    }
    100% {
        opacity: 1;
        margin-left: 0;
        width: 100%;
    }
}
/* ============================================
   slogan
   ============================================ */
@keyframes slogan {
    from {
        opacity: 0;
        margin-top: 100px;
    }
    to {
        opacity: 1;
        margin-top: 0;
    }
}
/* ============================================
   efeitos de entrada
   ============================================ */
@keyframes ping1 {
    0% {
        opacity: 0;
        margin-top: -500px;
    }
    2% {
        opacity: 0;
        margin-top: -500px;
    }
    3% {
        opacity: 0.5;
        margin-top: -100px;
    }
    5% {
        opacity: 1;
        margin-top: 0;
    }
    99% { opacity: 1; }
    100% { opacity: 0; }
}
@keyframes ping2 {
    0% {
        opacity: 0;
        margin-top: -10%;
    }
    2% {
        opacity: 0;
        margin-top: -10%;
    }
    3% {
        opacity: 0.5;
        margin-top: -10%;
    }
    5% {
        opacity: 1;
        margin-top: 0;
    }
    99% { opacity: 1; }
    100% { opacity: 1; }
}
.ping1 { animation: ping1 15s infinite linear; }
.ping2 { animation: ping2 10s infinite ease-in-out; }
/* ============================================
   zoom
   ============================================ */
@keyframes zoom1 {
    0% { opacity: 0; }
    3% { opacity: 0; }
    4% {
        opacity: 1;
        transform: scale(.25);
    }
    5% {
        opacity: 1;
        transform: scale(1);
    }
    99% {
        opacity: 1;
        transform: scale(1);
    }
    100% { opacity: 0; }
}
@keyframes zoom2 {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    20% {
        opacity: 0;
        transform: scale(0);
    }
    98% {
        opacity: 0.9;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
.zoom1 { animation: zoom1 15s infinite linear; }
.zoom2 { animation: zoom2 3s ease-in-out forwards; }
.zoom2-2s { animation: zoom2 2s ease-in-out forwards; }
.zoom2-4s { animation: zoom2 4s ease-in-out forwards; }
/* ============================================
   rotação
   ============================================ */
@keyframes spin2 {
    0% { transform: rotate(0deg); }
    2% { transform: rotate(200deg); }
    4% { transform: rotate(300deg); }
    6% { transform: rotate(360deg); }
    100% { transform: rotate(360deg); }
}
/* ============================================
   fim dos efeitos
   ============================================ */
