@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body {
    font-size: 16px;
    color: #333;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    background: #EFEFF5;
}

body h1,
body h2,
body h3,
body h4 {
    font-family: "Inter", sans-serif;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
}

#logo-kabum {
    width: 140px;
}

.flex {
    clear: both;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.center {
    justify-content: center;
}

.gap {
    gap: 30px;
}

.wrap {
    flex-wrap: wrap;
}

.between {
    justify-content: space-between;
}

footer {
    background-color: #005AFF;
}

#footer-social {
    background: #002C87;
    padding: 30px 0;
}

#footer-social h2 {
    margin-bottom: 0.4rem;
    text-align: center;
}

#footer-social p {
    padding: 0;
    margin-bottom: 1rem;
}


#footer-social ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}


#logo-kabum-rodape {
    position: absolute;
    top: 45px;
    right: 0;
}

#footer-social li span {
    padding: 8px;
    background-color: #fff;
    border-radius: 50%;
    color: #2E2E2E;
    transition: all 0.3s;
}

#footer-social li span:hover {
    background-color: #fc6b0f;
    color: #fff;

}

footer p {
    color: #fff;
    font-size: 0.7rem;
    text-align: center;
    padding: 20px 0;
    text-wrap: balance;
}

nav li a {
    background: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    color: #132B58;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 0.8rem;
}

nav li a:hover {
    background: #fc6b0f;
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
    transition: all 0.3s;
    font-weight: 600;
}

section {
    padding: 30px 20px 50px;
    text-align: left;
}

main {
    margin: 0 auto;
    background: #EFEFF5 url(../img/bg-topo.jpg) center top no-repeat;
    background-size: cover;
    position: relative;
    padding: 10px 0 0;

}


    #ninja {
        max-height: 400px;
        aspect-ratio: 669 / 555;
    }
    
@keyframes float {
    0% {
        translate: 0 0;
        scale: 0.98;
    }

    50% {
        translate: 0 5px;
        scale: 1;
    }
}

.mensagem-sistema {
    font-size: 1.6rem; 
    font-weight: 600;
    color: #0283FC; 
    display: inline-block;
    line-height: 1.4;
}


@keyframes pulseLoading {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

.loading-anim {
    animation: pulseLoading 1.5s ease-in-out infinite;
}

.float {
    position: absolute;
    animation: float ease-in-out infinite;
    animation-duration: 2s;
    scale: 0.98;
    transition: all 1s;
}

.float:hover {
    transform: translateX(5px);
}

#float01 {
    bottom: 20%;
    left: 5%;
}

#float02 {
    top: 5%;
    left: 40%;
    animation-delay: 0.5s;
    max-width: 200px;
}

#float03 {
    top: 2%;
    right: 1%;
    filter: blur(3px);
    max-width: 150px;
}

#float04 {
    bottom: 10%;
    right: 5%;
    animation-delay: 0.3s;
}

main header {
    position: absolute;
    top: 20px;
    width: 100%;
}

h1 {
    color: #fff;
    text-wrap: balance;
    font-size: 2.6rem;
    line-height: 1;
    text-align: left;
    margin-bottom: 10px;

}

h1 strong {
    color: #FF6B17;
}

h1 span {
    font-size: 1.4rem;
    line-height: normal;
    display: block;
    text-align: center;
    padding-top: 15px;
    margin-top: 15px;
    border-top: solid 1px #fff;
}

h2#dialive {
    color: #0283FC;
    font-size: 2.4rem;
    text-align: center;
    font-weight: 700;
    margin-bottom: 20px;
}

h2#dialive strong {
    color: #FF6A00;
    display: inline;

}

#bannerslives {
    margin-bottom: 4rem;
}

#comoutilizar {
    background: #FF5900;
    text-align: center;
    padding: 10px;
    color: #fff;
    border-radius: 20px;
    margin-bottom: 30px;
    max-width: 1400px;
    margin: 0 auto 30px;
}

#comoutilizar h2 {
    font-size: 2.6rem;
}

#comoutilizar h2 strong {
    color: #fff;
    display: inline;
}

#comoutilizar .titulocomo {
    max-width: 300px;
    text-align: left;
    color: #fff;
}

#listacupons #comoutilizar p {
    color: #fff;
    text-align: left;
}

#comoutilizar .flex {
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    display: flex;
    margin: 30px 0;
    flex-wrap: wrap;
}

#listacupons #comoutilizar .flex .boxcomo img {
    width: 100%;
}

#listacupons #comoutilizar .flex .boxcomo {
    max-width: 240px;
    background: #002279;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: filter 0.2s;
    overflow: hidden;
    text-align: center;
}

#listacupons #comoutilizar .flex .boxcomo p {
    padding: 10px 20px 20px;
    font-size: 0.9rem;
    text-wrap: balance;
    text-align: center;
}


#comoutilizar .flex p span {
    border: 2px #fff solid;
    border-radius: 50%;
    padding: 15px;


}

p.chamada {
    color: #fff;
    text-align: left;
    width: 100%;
}

#breve p.chamada {
    margin-bottom: 2rem;
    color: #fff;
    text-align: left;
}

header .abas a {
    width: 300px;
    text-align: center;
    clip-path: polygon(90% 0, 100% 100%, 0 100%, 0 0);
    background: #fc6b0f;
    color: #fff;
    text-transform: uppercase;
    padding: 1rem;
    font-weight: 600;
    transition: all 0.3s;
}

header .abas a:nth-child(2) {
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 10% 0);
    background: #333;
}

header .abas a:hover {
    background: #fff;
    color: #fc6b0f;
}

h2 {
    color: #fff;
    text-align: left;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.cupons {
    gap: 1rem;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    margin-bottom: 4rem;
}

.cupom {
    box-sizing: border-box;
    width: 32%;
    background: #fff;
    padding: 10px;
    border-radius: 1rem;
    position: relative;
    color: #383838;
    min-width: 390px;
}


.cupom.apagado {
    display: none;
}




.cupom.encerrado {
    background: #6a6a6a;
}

.cupom.encerrado * {
    filter: grayscale(1);
    color: #333;
}


.cupom h2 {
    color: #383838;
    font-weight: 600;
}

.linkcupom {
    gap: 3px;
    align-items: stretch;
    margin-bottom: 10px;
}

#listacupons .cupom .nomecupom {
    background: #0283FC;
    border-radius: 0.5rem;
    padding: 0.5rem;
    color: #fff;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    flex-grow: 1;
    transition: all 0.3s;
}

#listacupons .cupom .nomecupom span {
    transition: 0.3s;
    display: inline-block;
}

.cupom.encerrado .nomecupom {
    cursor: auto;
    text-decoration: line-through;
}

.cupom .nomecupom::before {
    content: url(../img/copy.png);
    filter: brightness(100);
    position: absolute;
    top: 50%;
    translate: 0 -50%;
    right: 7px;
}

.cupom.cupom.encerrado .nomecupom::before {
    display: none;
}

#listacupons .cupom .vantagem {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4FA029;
    line-height: 1;
}

.cupom .descritivo {
    display: -webkit-box;
    line-clamp: 2; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px; 
}

hr {
    border-top: 5px #fff dotted;
    margin: 1rem 0;
    position: relative;
}

.cupom .cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    text-align: center;
    border-radius: 0.5rem;
    padding: 0.5rem;
    color: #fff;
    font-weight: bold;
    background: #FF6A00;
    transition: all 0.3s;
    font-size: 0.8rem;
}

.cupom .cta div {
    display: none;
    pointer-events: none;
    font-size: 0.8rem;
}

.cupom.cupom.encerrado .cta {
    pointer-events: none;
}

#listacupons .linkcupom:has(.cta:hover) :not(:hover) {
    flex-shrink: 1;
    flex-grow: 0;
    height: 25px;
    padding: 0.5rem 0;
}



#listacupons .linkcupom:has(.cta:hover) :not(:hover)::before {
    display: none;
}

#listacupons .linkcupom:has(.cta:hover) :not(:hover) span {
    display: none;
    padding: 0;
    width: 0;
    padding: 0;
}

.cupom .cta:hover {
    flex-grow: 1;
    flex-shrink: 0;
    height: 25px;
}

.cupom .cta:hover div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cupom .condicoes {
    color: #383838;
    display: block;
    text-decoration: underline;
    margin-bottom: 0rem;
    font-size: 0.8rem;
}

#listacupons p.cronometro {
    color: #383838;
    margin-bottom: 0rem;
    font-size: 0.8rem;
    gap: 3px;
}

.legal {
    background: #fff;
    padding: 40px;
    max-width: 450px;
    margin: 0 auto;
    translate: -8px 0;
    position: relative;
}

.legal h2 {
    font-size: 1rem;
    text-transform: uppercase;
    color: #fc6b0f;
    margin-bottom: 10px;
}

.legal p {
    font-size: 0.8rem;
}

.legal a {
    color: #fc6b0f;
}

#notificacao {
    text-align: center;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fc6b0f;
    border: dashed 2px #333;
    color: #fff;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

#notificacao p {
    font-weight: 600;
}

#notificacao.mostrar {
    opacity: 1;
}

#banner {
    background: 002C87;
    text-align: center;
    padding: 0 0 50px;
    position: relative;
}


#banner h2 {
    color: #fff;
    font-size: 1.4rem;
    max-width: 80%;
    margin: 0 auto 30px;
    text-wrap: balance;
    text-align: center;
}

#banner img {
    max-width: 80%;
    border-radius: 1rem;
}

.separacupom {
    gap: 10px;
    align-items: center;
}

.fotocupom {
    width: 150px;
    flex-shrink: 0;
    border-right: dashed #333 1px;
    padding-right: 10px;
}

.fotocupom img {
    border-radius: 1rem;
}

.dadoscupom {
    flex-grow: 1;
    line-height: 1.5;
}

#naoencontrou {
    background: #0066F5;
    padding: 50px 0;
    text-align: center;
}

#naoencontrou .chamada {
    max-width: 600px;
    text-align: left;
}

#naoencontrou h2 {
    color: #fff;
}

#naoencontrou p {
    color: #fff;
    text-wrap: balance;
    margin-bottom: 30px;
}

#naoencontrou a {
    display: inline-block;
    padding: 10px 30px;
    color: #fff;
    background: #fc6b0f;
    border-radius: 10px;
    transition: all 0.3s;
}

#naoencontrou a:hover {
    background: #fff;
    color: #fc6b0f;
}

#faq {
    background: #005AFF;
    padding: 50px 0;
    text-align: left;
}

#faq p {
    margin-bottom: 30px;
    color: #fff;
}

#faq li p {
    margin-bottom: 10px;
    font-size: 0.8rem;
}

#faq li,
#cupomencerrado li {
    background: #002C87;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: left
}

section #cupomencerrado li {
    background: rgba(0, 0, 0, 0.3);
}

#cupomencerrado {
    max-width: 1440px;
    margin: 0 auto;
}

#cupomencerrado h2 {
    margin-bottom: 0;
}

#faq li h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0px
}

#faq li a {
    color: #fc6b0f;
    font-weight: 600
}

#faq li .uk-accordion-title::before,
#cupomencerrado li .uk-accordion-title::before {
    background: url(../img/seta-faq.webp) center center no-repeat;
    background-size: contain;
    rotate: 180deg;
    transition: all .3s
}

#cupomencerrado li .uk-accordion-title::before {
    filter: grayscale(1);
}

#faq .uk-open .uk-accordion-title::before {
    rotate: 0deg
}

#listacupons p {
    text-align: center;
    color: #383838;
    font-size: 0.9rem;
}

#listacupons .cupom .vantagem,
#listacupons .cupom .descritivo {
    text-align: left;
}

h2:has(strong) {
    line-height: 1;
    gap: 20px;
}



h2 strong {
    color: #FF6B17;
    font-weight: 600;
    display: block;
}

#breve .cupom {
    background: #fff;
    pointer-events: none;
    user-select: none;
}

#breve .cupom .nomecupom span {
    filter: blur(4px);
}

#breve .cupom .nomecupom::before {
    display: none;
}


#breve .cupom .cta {
    display: none;
}

#breve .condicoes {
    display: none;
}

#breve:not(:has(.cupom)) {
    display: none;

}

#cupomencerrado:not(:has(.cupom)) {
    display: none;
}

.dobrablack {
    background: url(../img/bg-black-friday-topo.webp) center center no-repeat;
    background-size: cover;
    text-align: center;
    padding: 50px 30px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.logoblack {
    margin-bottom: 50px;
}

#gatilho {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

#gatilho::after {
    aspect-ratio: 379 / 60;
    display: block;
    animation-name: trocagatilho;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    width: 100%;
    background: url(../img/gatilho-01.webp) center center no-repeat;
    background-size: contain;
    content: "";
}

.dobrablack .chamada {
    max-width: 400px;
}

.textolegal {
    font-size: 0.8rem;
    color: #fff;
    text-align: center;
    padding: 10px 0;

}


@keyframes trocagatilho {
    0% {
        background: url(../img/gatilho-01.webp) center center no-repeat;
        background-size: contain;
    }

    33% {
        background: url(../img/gatilho-02.webp) center center no-repeat;
        background-size: contain;
    }

    66% {
        background: url(../img/gatilho-03.webp) center center no-repeat;
        background-size: contain;
    }
}





@media screen and (max-width: 1480px) {
    .container {
        margin: 0 30px;
    }

    .container.cupons {
        margin: 0 30px 4rem;
    }

    .float {
        display: none;
    }
}

@media screen and (max-width: 1090px) {
    #comoutilizar {
        flex-direction: column;
    }

    #comoutilizar .titulocomo {
        max-width: none;
        width: 100%;
    }

    #comoutilizar h2 strong {
        display: inline;
    }

    #naoencontrou .container {
        flex-direction: column;
        gap: 30px;
    }
}

@media screen and (max-width: 999px) {
    .separacupom {
        flex-direction: column;
    }

    .dadoscupom {
        border-top: 2px #fff dashed;
        border-left: none;
        padding-left: 0rem;
        padding-top: 0.5rem;
        width: 100%;
        text-align: center;
    }

    h1 {
        font-size: 2rem;
        text-align: center;
        margin: 0 20px;
    }

    main {
        max-height: 250px;
    }

    #ninja {
        height: 250px;
        aspect-ratio: 669 / 555;
    }


    .fotocupom {
        border-right: none;
        border-bottom: dashed #333 1px;
        padding: 0 0 10px;
    }

    #listacupons .cupom .vantagem,
    #listacupons .cupom .descritivo,
    #listacupons .cupom .nomecupom {
        text-align: center;
    }

}

@media screen and (max-width: 730px) {

    h2:has(strong)::before,
    h2:has(strong)::after {
        display: none;
    }

    h2:has(strong) {
        font-size: 1.4rem;
    }
}


@media screen and (max-width: 670px) {

    .cupom {
        width: 100%;
        text-align: center;
        min-width: auto;
    }

    .fotocupom {
        width: 100px;
    }


    main {
        background-size: cover;
        padding-bottom: 30px;
        max-height: none;
        text-align: center;
    }

    h2#dialive {
        font-size: 2rem;
    }





    .encerrado .fotocupom,
    .encerrado .cta {
        display: none;
    }

    .encerrado .dadoscupom {
        border: 0;
        padding-top: 0;
    }

    #ninja {
        display: none;
    }

    main header {
        position: static;
    }


    h1 {
        margin: 20px 0 0;
        font-size: 2rem;
        line-height: 1;
    }


    main .flex {
        flex-wrap: wrap;
        flex-direction: column;

    }

    header .abas a {
        width: 100%;
        clip-path: none;
    }

    header .abas a:nth-child(2) {
        clip-path: none;
    }

    .instrucoes {
        text-align: center;
    }

    #logo-kabum {
        margin-top: 30px;
    }

    h2 {
        font-size: 1.1rem;
    }





}

/* --- ALERTA DE NOVOS CUPONS (Estilo Twitter/X) --- */
#alerta-novos-cupons {
    position: fixed;
    top: -80px; /* Começa escondido para cima da tela */
    left: 50%;
    transform: translateX(-50%);
    background-color: #0283FC; /* Azul KaBuM! */
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 30px; /* Formato de pílula */
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    /* Transição com efeito elástico */
    transition: top 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    display: flex;
    align-items: center;
}

#alerta-novos-cupons.mostrar {
    top: 30px; /* Desce para a visão do usuário */
}

#alerta-novos-cupons:hover {
    background-color: #0066cc;
    scale: 1.05;
    transition: all 0.2s;
}

/* Garante que no mobile o alerta não encoste nas bordas caso fique muito grande */
@media screen and (max-width: 670px) {
    #alerta-novos-cupons {
        width: 80%;
        text-align: center;
        justify-content: center;
        top: -100px;
    }
}