:root {
    --font: #191919;
    --cinza: #B4B4B4;
    --amarelo: #FF9808;
    --laranja: #FB7000;
    --laranja2: #F44900;
    --fundo: #F0F0F0;
    --branco: #FFFFFF;

    --plyr-color-main: var(--laranja);
    --plyr-control-icon-size: 20px;
    --plyr-video-background: var(--font);

    --padding_page: 7rem;
}

::selection {
    background-color: var(--laranja2);
    color: var(--branco);
}


@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Variable.woff2') format('woff2'),
        url('../fonts/Inter-Variable.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: auto;
    scrollbar-color: var(--laranja) var(--branco);
}

[data-aos] {
    will-change: transform, opacity;
}


/* --------------------------------------- */
/* --------------------------------------- */
/* --------------------------------------- */

::-webkit-scrollbar-track {
    background: var(--branco);
    /* Cor do fundo da trilha */
}

::-webkit-scrollbar-thumb {
    background-color: var(--laranja);
    /* Cor do botão de rolagem */
    border-radius: 6px;
    /* Bordas arredondadas */
    border: 2px solid var(--laranja);
    /* Espaço entre o botão e a trilha */
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--laranja2);
    /* Cor ao passar o mouse */
}

/* --------------------------------------- */
/* --------------------------------------- */
/* --------------------------------------- */


html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--fundo);
    color: var(--font);
    font-family: 'Inter', sans-serif;
    position: relative;
}

.no-scroll {
    overflow: hidden !important;
}

p {
    overflow-wrap: break-word;
    word-break: normal;
    letter-spacing: 0.01em;
}

h1 {
    font-weight: normal;
    font-size: 3rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase !important;
}

h2 {
    font-size: 1.3rem;
}

hr {
    margin: 0 var(--padding_page);
    border: 1px solid var(--cinza);
}


/*--------------------------------------------------*/
/*--------------------------------------------------*/
/*--------------------------------------------------*/


/* Botão flutuante */
#whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: all 0.5s ease;

    svg {
        width: 35px;
        height: 35px;

        path {
            fill: var(--branco);
        }
    }
}

#whatsapp-button:hover,
#whatsapp-button.active {
    background: var(--branco);
    animation: none !important;

    svg path {
        fill: #25d366;
    }
}

#whatsapp-button:hover::before,
#whatsapp-button.active::before {
    animation: none !important;
    opacity: 0 !important;
}

#whatsapp-button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: #25D366;
    /* cor do WhatsApp */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 1.5s infinite;
    opacity: 0.6;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}




/* Formulário */
#whatsapp-form {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    background: var(--branco);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 999;

    h3 {
        margin-bottom: 1rem;
        font-size: 1rem;
        text-align: center;
    }

    input {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        margin-top: 0.5rem;
        border: 1px solid #ddd;
        border-radius: 0.3rem;
    }

    button {
        justify-content: center;
        margin-top: 1.3rem;
        width: 100%;
        background: #25d366;
        color: #fff;
        font-size: 1rem;
    }

    button:hover {
        background: #1ebe5a;
    }
}

#whatsapp-form.hidden {
    display: none;
}


/*--------------------------------------------------*/
/*--------------------------------------------------*/
/*--------------------------------------------------*/


#backToTop {
    display: none;
    position: fixed;
    justify-content: center;
    align-items: center;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--font);
    color: var(--branco);
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
}

#backToTop:hover {
    background: var(--branco);
    color: var(--laranja);
}

#backToTop.show {
    opacity: 1;
    pointer-events: all;
}


/*--------------------------------------------------*/
/*--------------------------------------------------*/
/*--------------------------------------------------*/


.title_page {
    span {
        color: var(--laranja);
    }

    h1 {
        font-weight: bold !important;
        margin-bottom: 2rem;
    }
}

.sec_pg {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: var(--branco);

    h1 {
        font-weight: bold;
        color: var(--laranja);
        margin-bottom: 1rem;
    }
}


/*--------------------------------------------------*/
/*--------------------------------------------------*/
/*--------------------------------------------------*/


.carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;

    .carousel-track {
        display: flex;
        transition: transform 0.5s ease-in-out;

        .player-wrapper {
            border-radius: 10px;
            overflow: hidden;
            min-width: 100%;
            box-sizing: border-box;
        }
    }

    .carousel-btn {
        display: none;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: #fb7100a4;
        border: none;
        color: var(--branco);
        cursor: pointer;
        padding: 0.5rem 1rem;

        span {
            font-size: 2.3rem;
            line-height: 100%;
        }
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

}


/*--------------------------------------------------*/
/*--------------------------------------------------*/
/*--------------------------------------------------*/


.orange_filter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--laranja);
    opacity: 0.75;
    z-index: 0;
}

.black_filter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--font);
    opacity: 0.8;
    z-index: 0;
}

.redes_mb {
    display: flex;
    gap: 1rem;
    padding: 1rem;

    svg path {
        fill: var(--laranja);
    }
}


/*--------------------------------------------------*/
/*--------------------------------------------------*/
/*--------------------------------------------------*/


button {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: bold;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;
    cursor: pointer;
    transition: 0.3s ease;
}

/*--------------------------------------------------*/

.btn1 {
    background-color: var(--laranja);
    color: var(--branco);
}

.btn1:hover {
    background-color: var(--laranja2);
}

/*--------------------------------------------------*/

.btn2 {
    background-color: var(--fundo);
    color: var(--font);
}

.btn2:hover {
    background-color: var(--cinza);
}

/*--------------------------------------------------*/

.btn3 {
    background-color: var(--font);
    color: var(--branco);
}

.btn3:hover {
    background-color: var(--cinza);
    color: var(--font);
}


/*--------------------------------------------------*/
/*--------------------------------------------------*/
/*--------------------------------------------------*/

#error_banner {
    background-image: url('/assets/images/bn_err.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#error_page {
    flex-direction: column;
    gap: 4rem;
    text-align: center;
    padding-bottom: 0;

    svg {
        width: 10rem;
    }
}


/*--------------------------------------------------*/
/*--------------------------------------------------*/
/*--------------------------------------------------*/


.recaptcha-wrapper .g-recaptcha {
    margin: 0 auto 2rem;
}


/*--------------------------------------------------*/
/*--------------------------------------------------*/
/*--------------------------------------------------*/

/* Tela de carregamento (fundo) */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--fundo);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;

    svg {
        width: 100%;
        height: 8rem;
    }
}

#load {

    path {
        stroke-linecap: round;
        stroke-linejoin: round;
    }


    #left {
        stroke-dasharray: 100;
        stroke-dashoffset: 100;
        animation: lines 3s infinite;
    }

    #right {
        stroke-dasharray: 100;
        stroke-dashoffset: 100;
        animation: lines 3s infinite;
    }

    #logo #Subtract {
        opacity: 0;
        animation: circle 3s infinite;
    }
}

@keyframes lines {
    40% {
        stroke-dashoffset: 200;
    }

    60% {
        stroke-dashoffset: 200;
    }

    90% {
        stroke-dashoffset: 100;
    }
}

@keyframes circle {
    40% {
        opacity: 1;
    }

    60% {
        opacity: 1;
    }

    90% {
        opacity: 0;
    }
}


/*--------------------------------------------------*/
/*--------------------------------------------------*/
/*--------------------------------------------------*/

/* Popups */
.popup_dialog {
    text-align: center;
    min-width: 200px;
    border: none;
    border-radius: 0.5rem;
    box-shadow: 5px 5px 10px #00000063;
    padding: 1rem;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    outline: none;

    >span {
        font-size: 4rem;
        margin-bottom: 2rem;
    }

    h2 {
        margin-bottom: 1rem;
        font-size: 1.7rem;
    }

    button {
        margin-top: 2rem;
        width: 100%;
        justify-content: center;
    }
}

.popup_dialog::backdrop {
    background: #00000075 !important;
}

#popupMensagem_ok {
    span {
        color: var(--laranja);
    }
}

#popupMensagem_err {
    span {
        color: var(--font);
    }
}

#popupLoading {
    box-shadow: none;
    background: none;

    #loader {
        position: initial;
        background: none;

        #load_email {
            border: 6px solid var(--font);
            border-top: 6px solid var(--laranja);
            border-radius: 50%;
            width: 70px;
            height: 70px;
            animation: spin 1s linear infinite;
        }
    }
}

#formDialog {
    padding: 2rem !important;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------*/
/*--------------------------------------------------*/
/*--------------------------------------------------*/


/* Responsivo */
@media (max-width: 1200px) {
    :root {
        --padding_page: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --padding_page: 2rem;
    }

    h1 {
        font-size: 1.6rem !important;
    }

    .popup_dialog {
        min-width: unset !important;
        width: 100% !important;
    }

    #popupLoading {
        height: 100% !important;
    }

    #whatsapp-form {
        width: calc(100% - 35px) !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    #formDialog {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        border-radius: 0;
    }

    .carousel-btn {
        padding: 0.3rem !important;
    }
}