/* ------------NAVBAR------------ */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* backdrop-filter: blur(100px); */
    padding-top: 3.75rem !important;
}

.nav-link {
    color: #fff !important;
}

.container-fluid {
    max-width: 100%;
    padding: 0px !important;
    width: 100%;
    padding-left: 6.25rem !important;
    padding-right: 6.25rem !important;
    padding-top: 5rem;
}

.dropdown-item:focus,
.dropdown-item:active {
    background-color: orange !important;
    color: white !important;
}

.navbar .container-fluid {
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin: 0 100px;
    border-bottom: 1px solid #fff;

}

.container-fluid.nav-estilo {
    border-radius: var(--Border-Radius-FBR, 9999px);
    transition: all 0.4s ease-in-out;
    background: rgba(255, 255, 255, 0.35);
}


.navbar.sem-blur {
    backdrop-filter: none !important;
    transition: all 0.3s ease;
}

.navbar #btnEspecial {
    padding: 8px 16px !important;
    font-size: 16px !important;
    color: #000 !important;
}

.navbar #btnEspecial i {
    color: #000 !important;
    fill: #000 !important;
}


.blur-background {
    background: rgba(77, 69, 69, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.3s ease;
}

/* ------------BANNER PRINCIPAL------------ */
.bg-comum {
    background-image:
        linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1)),
        url("img/background.png"), 
        linear-gradient(180deg, rgba(2, 0, 36, 1) 0%, rgba(30, 25, 51, 1) 50%, rgba(42, 23, 60, 1) 100%);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.hero-container,
.history-section {
    background: transparent;
    color: rgba(255, 255, 255, 0);
}

.logo-carousel-wrapper {
    height: 7.25rem;
    overflow: hidden;
    padding: 12px;
    margin: 0 100px;
    border-radius: var(--Border-Radius-FBR, 9999px);
    background: rgba(255, 255, 255, 0.35);
    position: relative;
    display: flex;
    align-items: center;
}

.logo-carousel-track {
    display: flex;
    gap: 3rem;
    animation: scrollInfinite 30s linear infinite;
    align-items: center;
    height: 100%;
}

.logo-carousel-track img {
    height: 60px;
    width: auto;
    flex-shrink: 0;
    user-select: none;
    pointer-events: none;
    object-fit: contain;
}

.container .py-5 {
    padding-bottom: 2.8rem;
}

@keyframes scrollInfinite {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

.container .py-5 {
    margin: 0 100px !important;
}

.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.image-modal .modal-content {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

.image-modal .close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 32px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 6px 12px;
    cursor: pointer;
    z-index: 10000;
    transition: background 0.3s;
}

.image-modal .close-modal:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.ampliar-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    font-size: 14px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
    cursor: pointer;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(8px);
    transition: background 0.3s;
}

.ampliar-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.navbar .glass-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}


@keyframes zoomIn {
    from {
        transform: scale(0.7);
    }

    to {
        transform: scale(1);
    }
}

/* ----------------GALERIA----------------- */
.btn-navegador {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.galeria-wrapper {
    overflow-x: hidden;
    scroll-behavior: smooth;
    white-space: nowrap;
}

.galeria-inner {

    display: flex;
    gap: 1rem;
    height: 500px;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
}

.galeria-item {
    flex: 0 0 auto;
    width: 500px;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    border: 0.5px solid rgb(255, 255, 255);
    box-shadow: 0px 2px 10px 0px rgba(255, 255, 255, 0.25);

}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .galeria-inner {
        height: 300px;
    }

    .galeria-item {
        width: 280px;
        height: 300px;
    }
}

/* -----------------VÍDEO----------------- */
.video {
    padding: 0;
    margin: 0;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ---------------CATEGORIA--------------- */
.categoria {
    height: 800px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.categoria-container {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 100px;
    overflow: hidden;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 1;
}

.categoria-container>* {
    position: relative;
    z-index: 1;
}

.categoria-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: stretch;
    margin-bottom: 40px;
}

.categoria-title {
    color: var(--white, white);
    font-size: 32px;
    font-weight: 400;
    line-height: 39px;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}


.categoria-subtitle {
    color: var(--white, white);
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
}

.categoria-selection {
    display: flex;
    flex-direction: row;
    align-self: stretch;
    justify-content: space-between;
    margin-bottom: 20px;
}

.bike-options {
    display: flex;
    gap: 40px;
}

.bike-option {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.bike-image {
    width: 80px;
    height: 80px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    margin-bottom: 8px;
}

.bike-image.active-bike {
    background: linear-gradient(180deg, var(--accent, #FF8700) 0%, #D79300 100%);
}

.gender.active-gender {
    background: linear-gradient(180deg, var(--accent, #FF8700) 0%, #D79300 100%);
    color: var(--text, #171717);
}


.bike-label {
    color: var(--white, white);
    font-size: 16px;

    font-weight: 400;
    line-height: 19px;
}

.gender-options {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
}

.gender {
    padding: 12px 20px;
    overflow: hidden;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    backdrop-filter: blur(2px);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: rgba(255, 135, 0, 0.25);
    color: var(--white, white);
}

.info {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    align-self: stretch;
    justify-content: flex-start;
}

.info-left {
    display: inline-flex;
    flex-direction: column;
    gap: 20px;
}

.info-title {
    color: var(--white, white);
    font-size: 60px;
    font-weight: 500;
    line-height: 72px;
}

.info-subtitle {
    color: var(--white, white);
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
}

.info-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-self: stretch;
}

.info-label {
    color: var(--white, white);
    font-size: 24px;
    font-weight: 400;
    line-height: 29px;
}

.info-box {
    background: var(--accent, #FF8700);
    padding: 8px 12px;
    border-radius: 12px;
    backdrop-filter: blur(17.5px);
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.info-box div {
    color: var(--text, #171717);
    font-size: 24px;
    font-weight: 400;
    line-height: 29px;
}

.info-text {
    width: 347px;
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    color: white;
}

.info-text .link {
    color: var(--accent, #FF8700);
    text-decoration: underline;
}

/* ------------SLIDER NOTICIAS------------ */
#carouselNoticias {
    width: 100%;
    max-width: 100%;
}

.carousel-item {
    min-height: 350px;
    background-color: #000;
    overflow: hidden;
}

.noticias {
    height: 100%;
    display: flex;
    background-image: url(./img/background.png);
}

.noticias .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.noticia-caption {
    position: absolute;
    bottom: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100%;
    text-align: left !important;
    opacity: 1 !important;
    transition: none !important;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.caption-inner {
    max-width: 90%;
    margin: 0 auto;
}

.carousel-indicators-custom {
    bottom: 15px;
    justify-content: center;
    gap: 8px;
}

.bg-atleta {
    position: relative;
    color: #fafafa;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: background-image 0.6s ease-in-out background-size 0.6s ease-in-out, background-position 0.6s ease-in-out;
    padding: 6.25rem !important;
}

.bg-atleta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent);
    z-index: 0;
}

.bg-atleta .container {
    margin: 0 !important;
    padding: 0 !important;
}

.bg-atleta>.container {
    position: relative;
    z-index: 1;
}

.carousel-inner {}

/* ------------CTA------------ */
.bg-cta {
    background-image: url("img/fotoSerra.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 8rem 0 !important;
    color: white;
    display: flex;
    justify-content: center;
    height: 450px;
}

.bg-cta .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    gap: 20px !important;
    margin: 0 !important;
}

.bg-cta .container>* {
    margin: 0 !important;
}

/* ------------FOOTER------------ */
footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    align-items: flex-start;
    gap: 40px;
    padding: 20px 100px;
    position: relative;
    flex: 0 0 auto;
}

footer .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;

}

.redesIcons {
    padding: 8px;
    border: 1px solid black;
    border-radius: 8px;
    margin: 10px;
}

footer .container {
    margin-top: 8rem;
}

.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.noticia-caption h5 {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
}

.noticia-caption p {
    font-size: clamp(1rem, 2vw, 1.2rem);
}

/* ------------MODAL------------ */
.modal-content {
    background: #141424 !important;
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
}

.btn-close {
    background-color: #fff !important;
}

.documento-card {
    background-color: #1e1e2f;
    color: #fff;
    padding: 15px 20px;
    margin-bottom: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: background 0.3s ease;
}

.documento-card:hover {
    background-color: #2a2a3f;
}

.documento-icon {
    height: 30px;
    width: 30px;
    flex-shrink: 0;
}

.documento-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.documento-link:hover {
    text-decoration: underline;
}

/*ARQUIVOS - RESULTADOS*/
.accordion {
    background-color: transparent;
}

.accordion-item {
    background-color: #141424;
    border: none !important;
    overflow: hidden;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.accordion-button {
    background-color: #1e1e2f;
    color: #fff;
    font-weight: 600;
    padding: 1rem 1.25rem;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.accordion-button.collapsed {
    background-color: #1e1e2f;
    color: #fff;
}

.accordion-button:not(.collapsed) {
    background-color: #D79300 !important;
    color: #fff !important;
}

.accordion-button::after {
    filter: brightness(150%);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-collapse {
    background-color: #141424;
}

.accordion-body {
    padding: 1rem 1.25rem;
}

.arquivo-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #1e1e2f;
    padding: 12px 16px;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 10px;
    gap: 12px;
    transition: background-color 0.3s ease;
}

.arquivo-item:hover {
    background-color: #2a2a3f;
    color: #fff;
}

.arquivo-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

#lista-arquivos {
    background-color: #2a2a3f !important;
    padding: 20px !important;
    border-radius: 10px !important;
}

.container-fluid.results {
    border-radius: var(--Border-Radius-FBR, 9999px);
    transition: all 0.4s ease-in-out;
    background: rgba(255, 255, 255, 0.35);
}