@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:ital,wght@0,200;0,300;0,400;0,600;0,700;1,200;1,300;1,400;1,500&display=swap');

:root {
    --black: #010101;
    --white: #FFF;
    --text-white: #e4dcda;
    --text-black: #0c0c0c;
    --red: #FE2424;
    --red-light: #ff1010;
    --greyDark: #5e5a5a;
    --greyLight: #aca7a7;
}

* {
    padding: 0;
    margin: 0;
}

html {
    font-size: 16px;
    /* Base font-size */
}

#main-content {
    opacity: 0;
    transition: opacity 1s ease;
}

#main-content.visible-content {
    opacity: 1;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-white);
    background: var(--black);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

a {
    cursor: pointer;
    text-decoration: none;
}

ul {
    padding: 0;
}

.btn-1 {
    border: none;
    background-color: var(--red);
    padding: 12px 20px;
    color: var(--white);
    transition: background-color 0.8s ease, color 0.8s ease;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.btn-1:hover {
    color: var(--lilas);
    background-color: #FFFF;
}

.btn-primario {
    border: none;
    background-color: var(--red);
    padding: 12px 40px;
    color: var(--white);
    border-radius: 8px;
    font-weight: bold;
    letter-spacing: 0.08em;
    box-shadow: inset 0px 0px 15px rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.btn-primario.fade-in-element {
    transition: background-color 0.8s ease, color 0.8s ease, opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    transform: translateY(30px);
}

.btn-primario.fade-in {
    opacity: 1 !important;
    transform: translateY(0);
}

.btn-primario:hover {
    color: var(--text-black);
    background-color: var(--white);
}

.btn-secundario {
    border: 1px solid var(--text-white);
    box-sizing: border-box;
    height: 46px;
    background-color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    border-radius: 23px;
    width: 230px;
    font-size: 20px;
    margin: 40px auto;
    margin-top: 180px;
}

.btn-secundario:hover {
    color: var(--text-black);
    background-color: var(--text-white);
}

.btn-secundario i {
    margin-left: 10px;
    transform: translateY(2px);
}

.fade-top,
.fade-bottom {
    right: 0;
    width: 80%;
    height: 12%;
    position: absolute;
    z-index: 11;
}

.fade-top {
    top: 0;
    background: linear-gradient(to top, transparent, var(--black));
}

.fade-bottom {
    bottom: 0;
    background: linear-gradient(to bottom, transparent, var(--black));
}

.fade-in-slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.fade-in-slide-up.ativo {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-element {
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    transform: translateY(30px);
}

.fade-in {
    opacity: 1 !important;
    transform: translateY(0);
}

.fixed-alert {
    position: fixed;
    top: 20px;
    /* Distância do topo */
    right: 20px;
    /* Distância da direita */
    z-index: 9999;
}

main {
    padding-bottom: 100px;
    overflow: hidden;
}

section {
    padding: 80px 10%;
}

.titulo {
    margin-bottom: 60px;
}

.capa {
    position: relative;
    padding: 0;
    width: 100%;
    overflow: hidden;
    max-height: 100vh;
    /* Garante que o conteúdo que ultrapasse a área da seção seja ocultado */
}

#background {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.5;
    /* Mantém a proporção da imagem */
}

#time {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    /* Mantém a proporção da imagem */
}

#logo {
    position: absolute;
    left: 12.5%;
    top: 8%;
    height: 6%;
    max-height: 50px;
}

.capa .texto {
    position: absolute;
    top: 35%;
    left: 12.5%;
    max-width: 30%;
}

.capa .texto h2 {
    font-size: 2rem;
}

.capa .texto p {
    font-size: 1rem;
    color: #aca7a7;
}

.capa .btn-primario {
    position: absolute;
    top: 69%;
    left: 12.5%;
    z-index: 900;
}

.capa .redes-sociais {
    position: absolute;
    top: 92%;
    left: 13.5%;
    z-index: 1000;
}

.capa .redes-sociais a {
    background-color: var(--black);
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.16);
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.5s ease;
}

.capa .redes-sociais a i {
    font-size: 20px;
    color: var(--text-white);
    transition: all 0.5s ease;
}

.capa .redes-sociais a:hover {
    background-color: var(--white);
}

.capa .redes-sociais a:hover i {
    color: var(--black);
}

/* Proporção de tela entre 0.8 e 1.1 */
@media screen and (max-aspect-ratio: 11/10) {
    #logo {
        left: 8%;
        top: 4%;
        height: 4%;
    }

    #time {
        right: unset;
        left: 50%;
        transform: translateX(-52%);
        height: 58%;
    }

    .capa .texto {
        top: 15%;
        left: 50%;
        transform: translateX(-50%);
        min-width: 70%;
        max-width: 70%;
        text-align: center;
    }

    .capa .texto.fade-in-element {
        transform: translate(-50%, 30px);
    }

    .capa .texto.fade-in {
        transform: translate(-50%, 0);
    }

    .capa .btn-primario {
        top: unset;
        left: 50%;
        transform: translateX(-50%);
        bottom: 50px;
    }

    .capa .btn-primario.fade-in-element {
        transform: translate(-50%, 30px);
    }

    .capa .btn-primario.fade-in {
        transform: translate(-50%, 0);
    }

    .capa .redes-sociais {
        display: none;
    }

    .fade-top,
    .fade-bottom {
        width: 100%;
    }
}

/* Proporção de tela entre 1.1 e 1.8 */
@media screen and (min-aspect-ratio: 11/10) and (max-aspect-ratio: 18/10) {
    .capa .btn-primario {
        top: 70%;
    }
}

/* Proporção de tela entre 1.1 e 1.8 */
@media screen and (min-aspect-ratio: 11/10) and (max-aspect-ratio: 18/10) and (max-width: 1010px) {
    .capa .texto h2 {
        font-size: 1.6rem;
    }

    .capa .texto p {
        font-size: 0.9rem;
        color: #aca7a7;
    }
}

/* Proporção de tela entre 1.8 e 2.1 */
@media screen and (min-aspect-ratio: 18/10) and (max-aspect-ratio: 21/10) {
    .capa .btn-primario {
        top: 70%;
    }
}

@media(max-width: 500px) {

    .capa .texto h2 {
        font-size: 1.7rem;
    }

    .capa .texto p {
        font-size: 0.9rem;
    }
}

@media(max-width: 390px) {

    .capa .texto h2 {
        font-size: 1.6rem;
    }

    .capa .texto p {
        font-size: 0.8rem;
    }
}

.numeros {
    padding: 200px 0;
    min-height: 53px;
    color: var(--text-white);
    text-align: center;
}

.numeros .container {
    padding: 0 20px;
}

.numeros .row {
    justify-content: space-evenly;
}

.main-number {
    font-size: 78px;
    margin: 0 5px;
}

.numeros .top,
.numeros .bottom {
    padding: 0 50px;
}

.numero {
    margin-bottom: 60px;
}

.numeros .top {
    font-size: 38px;
    font-weight: bold;
}

.numeros .bottom {
    font-size: 15px;
    width: 100%;
    opacity: 0.7;
}

.sobre {
    position: relative;
    padding: 240px 50px;
    padding-top: 280px;
}

section h1 {
    position: absolute;
    white-space: nowrap;
    top: 40px;
    z-index: 1;
    font-size: 8rem;
    opacity: 0.12;
    /* Para ajudar a criar o efeito de fundo */
    font-weight: 600;
    transition: transform 0.1s ease;
}

.sobre h1 {
    left: 0;
}

.sobre p {
    position: relative;
    z-index: 2;
    font-size: 1.3em;
    line-height: 1.6em;
    margin-bottom: 30px;
}

.sobre p.fade-in-element {
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.cases {
    position: relative;
    padding: 180px 20px;
    padding-top: 500px;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

.cases h1 {
    top: 180px;
    left: 20px;
}

.cases h1.fade-in-element {
    transition: opacity 2.5s ease-in-out, transform 2.5s ease-in-out;
    transform: translateY(40px);
}

.cases h1.fade-in {
    opacity: 0.12 !important;
}

.carousel-section {
    margin-bottom: 100px;
}

.carousel-section h2 {
    color: var(--text-white);
    font-size: 24px;
    margin-bottom: 30px;
}

.carousel-section h2 span {
    margin-right: 10px;
}

.carousel-section h2 span img {
    height: 14px;
}

.custom-carousel {
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    height: 100%;
    display: flex;
    cursor: grab;
    /* Cursor padrão */
}

.custom-carousel::-webkit-scrollbar {
    display: none;
    /* Oculta a barra de rolagem horizontal */
}

.custom-carousel.active {
    cursor: grabbing;
    /* Cursor de mão segurando quando arrastando */
}

.custom-carousel-wrapper {
    display: flex;
    transition: transform 0.3s ease;
    will-change: transform;
    /* Melhora a performance */
    width: max-content;
}

.custom-carousel-item {
    flex: 0 0 auto;
    width: 300px;
    height: 533px;
    margin-right: 15px;
    background-color: #0c0c0c;
    cursor: pointer;
    filter: brightness(0.35);
    /* Aplica brilho reduzido por padrão */
    transition: filter 0.3s ease;
    position: relative;
    overflow: hidden;
}

.custom-carousel-item.ativo {
    filter: brightness(1);
    /* Remove o brilho reduzido quando ativo */
}

.custom-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
    transition: all 2s ease-out;
    /* Impede arrastar a imagem em navegadores WebKit */
}

.custom-carousel-item:hover img {
    transform: scale(1.1);
}

.custom-carousel-item .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: white;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: all 0.5s ease;
}

.custom-carousel-item:hover .play-icon {
    opacity: 1;
}

.custom-carousel-item .degrade {
    position: absolute;
    bottom: 0;
    height: 160px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
    opacity: 0;
    transition: all 0.5s ease;
    background: linear-gradient(to bottom, transparent, var(--black));
}

.custom-carousel-item:hover .degrade {
    opacity: 1;
}

.custom-carousel-item .degrade span {
    transform: translateY(30px);
}

/* Seção TIME */
.equipe {
    text-align: center;
    padding: 180px 0;
    padding-top: 300px;
    position: relative;
    color: var(--text-white);
}

.equipe h1 {
    left: 40px;
}

.equipe h1.fade-in-element {
    transition: opacity 2.5s ease-in-out, transform 2.5s ease-in-out;
    transform: translateY(40px);
}

.equipe h1.fade-in {
    opacity: 0.12 !important;
}

.team-member {
    margin-bottom: 40px;
}

.team-img-wrapper {
    position: relative;
    margin-top: 80px;
    margin-bottom: 40px;
}

.team-img {
    filter: grayscale(100%) brightness(50%);
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    transition: all 0.8s ease;
}

.team-img:hover {
    filter: grayscale(0) brightness(100%);
}

.equipe .fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 1));
    border-radius: 0 0 10px 10px;
}

.team-role {
    font-size: 16px;
    color: #888;
    margin-top: 10px;
}

/* Responsivo */
@media (max-width: 767px) {
    .team-member {
        text-align: center;
    }
}

/* Estilo da seção de clientes */
.clientes {
    background-color: #fff;
    padding: 120px 0;
    padding-top: 150px;
    text-align: center;
}

.brand-item {
    margin-bottom: 60px;
}

.brand-item img {
    width: 100%;
    max-width: 120px;
    filter: grayscale(100%);
    transition: all 0.3s ease-in-out;
}

.brand-item img:hover {
    transform: scale(1.05);
    filter: grayscale(0);
}

#contato {
    position: relative;
    padding-top: 260px;
    padding-bottom: 20px;
}

.contato h1 {
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
}

form {
    padding-top: 40px;
    max-width: 950px;
    margin: auto;
}

.form-control {
    border-radius: 0px;
    color: var(--greyLight);
    caret-color: var(--greyLight);
    border: 1px solid var(--greyDark);
    background-color: var(--black);
    cursor: pointer;
    margin-bottom: 25px;
}

.form-control::placeholder {
    color: var(--greyLight);
}

.form-control:hover {
    outline: none;
    box-shadow: none;
    background-color: var(--black);
}

.form-control:focus {
    outline: none;
    box-shadow: none;
    color: var(--greyLight);
    border: 1px solid var(--black);
    background-color: var(--black);
}

form label {
    color: var(--text-white);
    margin-bottom: 5px;
}

form .btn-primary {
    padding: 15px 20px;
    border: none;
    width: 100%;
    text-align: center;
    border-radius: 0px;
    background-color: var(--red);
    color: var(--white);
    transition: all 0.5s ease;
    font-weight: 600;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0px 0px 15px rgba(255, 255, 255, 0.5);
}

form .btn-primary:hover {
    color: var(--text-black);
    background-color: var(--white);
}

form .btn-primary i {
    color: var(--white);
    margin-left: 8px;
}

form .btn-primary:hover i {
    color: var(--text-black);
}

.select-container {
    position: relative;
    margin-bottom: 25px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
}

.selected-option {
    width: 100%;
    padding: 10px;
    transition: all 0.5s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--greyLight);
}

.selected-option:hover {
    background-color: rgb(25, 25, 25);
}

.selected-option.opened {
    background-color: rgb(25, 25, 25);
}

.selected-option svg {
    transition: transform 0.3s ease-in;
}

.selected-option.opened svg {
    transform: rotate(180deg);
}

.options-container {
    position: absolute;
    top: 100%;
    left: -1px;
    width: 100%;
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: none !important;
    background-color: rgb(15, 15, 15);
    padding: 5px 0;
}

.option {
    padding: 5px 10px;
}

.option:hover {
    background-color: rgb(25, 25, 25);
}

footer {
    text-align: center;
    padding: 0 8%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    font-size: 16px;
    color: rgb(150, 150, 150);
    background-color: rgb(30, 30, 30);
}

footer a {
    text-decoration: none;
    color: rgb(180, 180, 180);
}

footer a:hover {
    color: rgb(200, 200, 200);
}

/* Estilo do modal */
.modal {
    display: none;
    /* Oculto por padrão */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    /* Fundo transparente */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: transparent;
    padding: 10px 0;
    padding-bottom: 20px;
    width: 100%;
    position: relative;
}

.modal-body {
    display: flex;
    justify-content: center;
}

#logo-modal {
    position: absolute;
    left: 20px;
    top: 20px;
    height: 40px;
}

.close {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-white);
    z-index: 9999;
    opacity: 0.6;
    transition: all 0.8s ease;
}

.close:hover {
    opacity: 1;
    transform: scale(1.1);
}

#fundo-loader {
    width: 100%;
    height: 100vh;
    background-color: var(--black);
    position: fixed;
    top: 0;
    z-index: 9998;
}

#loader {
    width: 230px;
    height: 55px;
    background: var(--black) url("../img/logo.png") center no-repeat;
    background-size: contain;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

@media (max-width: 500px) {

    #loader {
        width: 150px;
        height: 40px;
    }

}

#loading img {
    width: 800px;
    transform: translateX(-20px);
}

video {
    width: 300px;
    height: auto;
    display: block;
    background-color: black;
}

/* Personalizar os controles de vídeo, como barra de progresso, botão de play/pause */
.custom-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    padding: 10px;
    background: linear-gradient(to bottom, transparent, var(--black));
}

.controls-container {
    margin: 0 10px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-bar {
    flex: 1;
    margin: 0 10px;
    height: 5px;
    background-color: #555;
    position: relative;
}

.progress-bar .progress {
    width: 0;
    height: 100%;
    background-color: var(--red-light);
    position: absolute;
}

.volume-btn,
.fullscreen-btn {
    cursor: pointer;
    color: white;
    font-size: 20px;
    background-color: transparent;
    border: none;
}

.play-pause-btn,
.volume-btn {
    margin-left: 15px;
}

.play-pause-btn {
    position: relative;
    width: fit-content;
    color: white;
    cursor: pointer;
    border: none;
    background-color: transparent;
}

.ring {
    transform: rotate(-90deg);
    position: relative;
}

.ring__circle {
    stroke-dasharray: 188.496;
    /* Circunferência do círculo completo (2 * π * raio) */
    stroke-dashoffset: 188.496;
    transition: stroke-dashoffset 0.6s;
    /* Ajuste o tempo da animação para 5 segundos */
}

.play-pause-btn i {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Força o body a esconder a barra de rolagem ao abrir o modal */
body.no-scroll {
    overflow-y: hidden;
}

main.no-scroll {
    filter: blur(5px);
}

@media (min-width: 820px) {
    .accordion-1 {
        width: 100%;
    }
}

@media (min-width: 500px) {
    .accordion-1 {
        width: 100%;
    }
}

@media (min-width: 1500px) {

    .capa .texto {
        max-width: 23%;
    }

    .capa .texto h2 {
        font-size: 2.5rem;
    }
    
    .capa .texto p {
        font-size: 1.5rem;
    }

    .main-number {
        font-size: 88px;
    }
    
    .numeros .top {
        font-size: 48px;
    }
    
    .numeros .bottom {
        font-size: 18px;
    }

}

@media (max-width: 1024px) {

    form {
        margin-top: 60px;
    }

}

@media(max-width: 550px) {

    section {
        padding-left: 8%;
        padding-right: 8%;
    }

    .capa .btn-primario.fade-in-element {
        transform: translate(-50%, 30px) scale(0.85);
    }

    .capa .btn-primario.fade-in {
        transform: translate(-50%, 0) scale(0.85);
    }

    .main-number {
        font-size: 68px;
        margin: 0 5px;
    }

    .numeros .top {
        font-size: 32px;
    }

    .numeros .bottom {
        font-size: 13px;
    }

    section h1 {
        opacity: 0.25;
        font-size: 5rem;
        white-space: initial;
    }

    .equipe h1.fade-in {
        opacity: 0.25 !important;
    }

    .cases h1.fade-in {
        opacity: 0.25 !important;
    }

    .contato h1 {
        font-size: 6rem;
        line-height: 1;
        text-align: center;
    }

    .contato h1 span {
        font-size: 5rem;
    }

    .sobre p {
        font-size: 1.1em;
    }

    .form-control,
    .form-control::placeholder {
        font-size: 14px;
    }

    footer {
        font-size: 13px;
    }

}

@media (max-width: 430px) {

    .contato h1 {
        font-size: 5rem;
    }

    .contato h1 span {
        font-size: 4rem;
    }

}

@media (max-width: 390px) {
    .contato h1 {
        font-size: 4.5rem;
    }

    .contato h1 span {
        font-size: 3.6rem;
    }

    .sobre h1,
    .cases h1,
    .equipe h1 {
        font-size: 4.5rem;
    }

    .cases {
        padding-top: 450px;
    }

    .equipe {
        padding-top: 250px;
    }

    #contato {
        padding-top: 220px;
    }

    .form-control,
    .form-control::placeholder {
        font-size: 13px;
    }
}


@media (max-height: 430px) {}

@media (max-height: 300px) {}