@import url('https://fonts.googleapis.com/css2?family=Barlow: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=Barlow+Condensed: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');

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    font-weight: 400;
    font-style: normal;
}

html {
    position: relative;
    min-height: 100%;
}

.barlow-thin {
    font-family: "Barlow", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.barlow-extralight {
    font-family: "Barlow", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.barlow-light {
    font-family: "Barlow", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.barlow-regular {
    font-family: "Barlow", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.barlow-medium {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.barlow-semibold {
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.barlow-bold {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.barlow-extrabold {
    font-family: "Barlow", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.barlow-black {
    font-family: "Barlow", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.barlow-thin-italic {
    font-family: "Barlow", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.barlow-extralight-italic {
    font-family: "Barlow", sans-serif;
    font-weight: 200;
    font-style: italic;
}

.barlow-light-italic {
    font-family: "Barlow", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.barlow-regular-italic {
    font-family: "Barlow", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.barlow-medium-italic {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.barlow-semibold-italic {
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-style: italic;
}

.barlow-bold-italic {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.barlow-extrabold-italic {
    font-family: "Barlow", sans-serif;
    font-weight: 800;
    font-style: italic;
}

.barlow-black-italic {
    font-family: "Barlow", sans-serif;
    font-weight: 900;
    font-style: italic;
}

.barlow-condensed-thin {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.barlow-condensed-extralight {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.barlow-condensed-light {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.barlow-condensed-regular {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.barlow-condensed-medium {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.barlow-condensed-semibold {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.barlow-condensed-bold {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.barlow-condensed-extrabold {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.barlow-condensed-black {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.barlow-condensed-thin-italic {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.barlow-condensed-extralight-italic {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 200;
    font-style: italic;
}

.barlow-condensed-light-italic {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.barlow-condensed-regular-italic {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.barlow-condensed-medium-italic {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.barlow-condensed-semibold-italic {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 600;
    font-style: italic;
}

.barlow-condensed-bold-italic {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.barlow-condensed-extrabold-italic {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    font-style: italic;
}

.barlow-condensed-black-italic {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 900;
    font-style: italic;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/*HEADER*/


.titSite img {
    width: 100%;
    height: auto;
    padding: 0 0 1rem;
}


.menuSite .nav-item {
    padding: 0 2rem;
    background: #666;
}

    .menuSite .nav-item:hover {
        background: #333;
    }

.menuSite a.nav-link {
    color: #FFF !important;
    font-weight: 600;
    font-family: "Barlow", sans-serif;
}

/* Customização do menu Bonomi */
.custom-Bonomi-navbar {
    background: transparent; /* sem fundo fixo */
}

    /* Toggler com cor personalizada */
    .custom-Bonomi-navbar .navbar-toggler {
        border: none;
        background-color: #666;
        padding: 6px 10px;
        border-radius: 4px;
    }

    /* Ícone hambúrguer branco para contraste */
    .custom-Bonomi-navbar .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }

    /* Links no menu Bonomi */
    .custom-Bonomi-navbar .nav-link {
        color: #666;
        font-weight: 600;
    }

        .custom-Bonomi-navbar .nav-link:hover {
            color: #FFF;
        }

@media (max-width: 768px) {
    .custom-Bonomi-navbar button.navbar-toggler {
        position: absolute;
        left: .25rem !important;
        margin-top: -1.5rem;
    }

    .menuSite .navbar-collapse {
        margin: -1.5rem .5rem 0 0;
    }
}


.bdRight {
    border-right: 1px solid #FFF;
}

.btnVoltar a {
    float: right;
    color: #000 !important;
    border: 2px solid #999;
    background: #FFF;
    border-radius: 5rem;
    text-decoration: none;
    padding: .25rem 2rem;
    font-size: .9em;
    font-weight: 600;
}

    .btnVoltar a:hover {
        color: #ffffff !important;
        border: 2px solid #666;
        background: #666;
    }

/*BOTÃO HOME*/

.btn-custom {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 8px;
    border-radius: .25rem;
    background: #FFF;
    border: none;
    color: #652b41;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
    margin-top: 2rem;
}

    .btn-custom a {
        justify-content: start;
        width: 100%;
        text-decoration: none;
        color: #652b41;
    }

        .btn-custom a:hover {
            color: #FFF;
        }

    .btn-custom img {
        width: 100%;
        height: auto;
        border-radius: .25rem;
    }

    .btn-custom:hover {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    }

/*CONTENT*/

.img100 img, img.img100 {
    width: 100%;
    height: auto;
}

.maxIMG img {
    max-width: 360px;
    height: auto;
}

.imgRadius img {
    border-radius: .25rem;
}

.textHome {
    font-size: 1.1em;
    line-height: 137%;
    font-family: "Barlow Condensed", sans-serif !important;
    font-weight: 400;
}

    .textHome p {
        margin-bottom: .8em;
    }

.textIG {
    font-size: 1.35em;
    line-height: 128%;
    font-family: "Barlow Condensed", sans-serif !important;
    font-weight: 400;
}

    .textIG h1 {
        text-align: center;
        font-size: 1.75em;
        color: #666;
    }

    .textIG h2 {
        text-align: center;
        font-size: 1.35em;
        color: #FFF;
        background: #999;
        padding: .25rem 1rem;
        margin-bottom: 2rem;
        border-radius: .35rem;
    }

    .textIG h3 {
        background: #894B43;
        color: #FFF;
        padding: .25rem .75rem;
        margin-bottom: 3rem;
    }

    .textIG p {
        margin-bottom: 1.1rem;
    }

    .textIG a:hover {
        color: #999;
    }

.lineH {
    line-height: 125%;
}

.boxPage {
    background: rgba(0,0,0,0.075);
    border-radius: .35rem;
    overflow: hidden; /* garante que a imagem siga o border-radius */
}

.boxPage2 {
    background: rgba(255,255,255,1);
    border-radius: .35rem;
    overflow: hidden; /* garante que a imagem siga o border-radius */
}

.img-full-height {
    height: 100%;
    width: 100%;
}

    .img-full-height img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* faz a imagem preencher toda a área sem distorcer */
        display: block;
    }

@media (max-width: 767px) {
    .img-full-height {
        height: 300px; /* altura ajustada para mobile */
    }
}


.smallAss {
    font-size: .8em;
    font-weight: 700;
}

    .smallAss span {
        font-size: .9em;
        font-weight: 400;
    }

.legend {
    font-family: "Barlow Condensed", sans-serif !important;
    font-size: .95em;
    line-height: 135%;
    color: #666;
}

.legendSM {
    font-family: "Barlow Condensed", sans-serif !important;
    font-size: .85em;
    line-height: 135%;
    color: #666;
}

    .legendSM .fw-bold {
        font-size: 1.15em;
    }

    .legend span, legendSM span {
        font-weight: 600;
    }

.download {
    color: #666;
}

    .download a {
        text-decoration: none;
        color: #666;
    }

        .download a:hover {
            color: #000;
        }


/* Animação pulsar */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1.3);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.6);
    }

    100% {
        transform: translate(-50%, -50%) scale(1.3);
    }
}



/* ===== CARD ===== */
.card-custom {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.6s ease, opacity 0.6s ease;
    transform-origin: center center;
}

.textCard p {
    font-size: .9em;
    margin: 0;
}
/* Animação de zoom-in */
@keyframes zoomIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Estado inicial reduzido do card */
.card-custom {
    transform: scale(0.8);
    opacity: 0;
}

/* Keyframes de zoom-in */
@keyframes zoomIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Aplica a animação sempre que o card é atualizado */
.card-fade {
    animation: zoomIn 0.5s ease forwards;
}


    .card-custom.show {
        opacity: 1;
        transform: scale(1);
    }

    .card-custom.hide {
        opacity: 0;
        transform: scale(0.6);
    }

    .card-custom img {
        width: 30%;
        object-fit: cover;
    }

.card-body {
    flex: 1;
    padding: 20px;
}
.cardMB {
    min-height: 330px;
}

.cardMB .card-title {
    font-size: 1.75em;
    background: #919191;
    background: linear-gradient(90deg,rgba(145, 145, 145, 1) 0%, rgba(232, 232, 232, 1) 99%);
    color: #FFF;
    padding: .25rem 1rem;
    border-radius: .5rem;
    margin-bottom: 1rem;
}

.cardMB .card-text {
    font-size: .9em;
}

/* --- Estilos do card --- */
.card-custom {
    width: 100%;
    max-width: 1080px;
    margin: 2rem auto;
    opacity: 1;
    transition: opacity 0.5s ease, transform 5s ease;
}

.card-fade {
    opacity: 0;
    transform: scale(0.98);
}

/* --- Efeito de carregamento (spinner) --- */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader.show {
    display: block;
}
/* Keyframes para zoom-out e fade */
@keyframes zoomFadeOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0;
    }
}

/* Aplica zoom-in e fade-in ao mostrar */
@keyframes zoomFadeIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.card-fade-in {
    animation: zoomFadeIn 0.5s ease forwards;
}

.card-fade-out {
    animation: zoomFadeOut 0.3s ease forwards;
}
/* Keyframes de zoom + fade + levitar */
@keyframes zoomFadeLevitate {
    0% {
        transform: scale(0.9) translateY(10px);
        opacity: 0;
    }

    50% {
        transform: scale(1.02) translateY(-5px); /* leve sobe */
        opacity: 0.8;
    }

    100% {
        transform: scale(1) translateY(0); /* posição final */
        opacity: 1;
    }
}

/* Aplica a animação de entrada com levitar */
.card-fade-in {
    animation: zoomFadeLevitate 0.6s ease forwards;
}

/* A saída pode continuar igual (zoom-out + fade) */
@keyframes zoomFadeOut {
    0% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }

    100% {
        transform: scale(0.9) translateY(10px);
        opacity: 0;
    }
}

.card-fade-out {
    animation: zoomFadeOut 0.3s ease forwards;
}


/* ===== RESPONSIVO ===== */

@media (max-width: 768px) {
    .responsive-flex {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
    }

    .timeline {
        flex-direction: column;
        align-items: flex-start;
        border-top: none;
        border-left: 3px solid #444;
        padding-left: 20px;
        flex: 0 0 25%;
        left: 10px;
    }

        .timeline .year {
            text-align: left;
            margin: 10px 0;
            flex: none;
        }

            .timeline .year span {
                margin-top: 0;
            }

            .timeline .year.active span {
                margin-top: 0;
            }

            /* Bolinha (ativas e inativas) centralizada na linha VERTICAL */
            .timeline .year::before {
                top: 50%;
                left: -20px;
                transform: translate(-50%, -50%);
            }

            .timeline .year:hover::before {
                transform: translate(-50%, -50%) scale(1.2);
            }

            .timeline .year.active::before {
                transform: translate(-50%, -50%) scale(1.3);
                margin-top: 35%;
            }

    .content {
        flex: 1;
        margin-top: 0;
        margin-right: 15px;
    }

    .card-custom {
        flex-direction: column;
        margin-right: 15px;
    }

        .card-custom img {
            width: 100%;
            max-height: 200px;
        }
}

/*EFETIOS CARREGAMENTO DO CARD*/



/*VOLTAR AO TOPO DA PÁGINA*/

#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #666;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 9999; /* garante que fique na frente */

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

    #backToTop.show {
        opacity: 1;
        visibility: visible;
    }

/* Hover só para desktop */
@media (hover: hover) {
    #backToTop:hover {
        opacity: 0.85;
    }
}

/* Ajuste para telas pequenas */
@media (max-width: 576px) {
    #backToTop {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
        font-size: 16px;
    }
}

/*GALERIA DE FOTOS*/

/* Cards da galeria */
.card {
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    background: #fff;
    padding: 0;
}

    .card img {
        width: 100%;
        display: block;
        transition: transform 0.5s ease, filter 0.5s ease;
    }

    .card:hover img {
        transform: scale(1.08); /* Zoom suave sem rotação */
        filter: brightness(1.1) contrast(1.05);
    }

    .card:hover {
        transform: translateY(-5px); /* Leve levitação */
        box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    }

    /* Legendas */
    .card .legend {
        margin: 5px 0;
        font-size: .75em;
        color: #333;
        text-align: center;
        padding: 5px 10px;
    }

/*VÍDEO*/

/* Container responsivo para vídeo */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* proporção 16:9 */
    height: 0;
    overflow: hidden;
}

    /* Ajuste do iframe */
    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }