@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto+Slab:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

body {
    font-family: "Roboto Slab", serif;
    overflow-x: hidden;
    background: #fff;
}

:root {
    --black: #000000;
    --margin: 20px 10px 40px;
    --Azul: #040c4c;
    --Laranja: #fc6c04;
    --Branco: #fff;
    --Degrade-btn: linear-gradient(#fe9611, #aff5c00);
    --BrancoBonito: antiquewhite;
    --Amarelo: #FFFF00;
    --transition: all 0.3s ease;
}

.background-azul {
    background: var(--Azul);
}

.background-laranja {
    background: var(--Laranja);
}

/* Container Responsivo */
.container {
    max-width: 2500px;
    padding: 0 4%;
    margin: 0 auto;
    height: auto;
    min-height: 80px;
}

.container-main {
    max-width: 2500px;
}

/* Cabeçalho e Navegação */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--Azul);
    padding: 10px 0;
    align-items: center;
    min-height: 80px;
    height: 80px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.logo img {
    height: 50px;
}

.Titulo {
    flex-grow: 1;
    flex-shrink: 0;
}

.Titulo h1 {
    color: white;
    font-size: 1.5rem;
    font-family: "Verdana", sans-serif;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.menu-desktop {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-desktop li {
    margin: 0;
}

.menu-desktop a {
    color: var(--BrancoBonito);
    text-decoration: none;
    transition: var(--transition);
    padding: 8px 15px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.menu-desktop a:hover {
    color: var(--Laranja);
    background: rgba(255, 255, 255, 0.1);
}

/* CORREÇÃO ESPECÍFICA PARA O BOTÃO DE LOGIN */
.btn-login-container {
    display: flex;
    align-items: center;
}

.btn-login-container a {
    display: block;
    padding: 0;
    background: transparent;
}

.btn-login-container a:hover {
    background: transparent;
    transform: none;
}

.btn-gradient {
    padding: 10px 20px;
    color: #fff;
    border: none;
    cursor: pointer;
    background-color: var(--Laranja);
    font-family: "Verdana", sans-serif;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 30px;
    transition: var(--transition);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    display: inline-block;
    text-align: center;
}

.btn-gradient:hover {
    background-color: #F4A460;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

.ultimo button {
    background: var(--Laranja);
    color: var(--Branco);
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: "Verdana", sans-serif;
}

.ultimo button:hover {
    background-color: #F4A460;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Menu Mobile */
.menu-mobile-btn {
    display: none;
    background: none;
    border: none;
    color: var(--Branco);
    font-size: 1.8rem;
    cursor: pointer;
    flex-shrink: 0;
}

.menu-mobile-btn img {
    height: 30px;
}

.menu-mobile {
    display: flex;
    position: fixed;
    background: var(--Azul);
    top: 0;
    width: 100%;
    height: 100%;
    left: -100%;
    transition: 0.4s;
    flex-direction: column;
    justify-content: center;
    color: var(--BrancoBonito);
    align-items: center;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    z-index: 999;
    padding: 20px;
}

.menu-mobile.ativo {
    left: 0;
}

.menu-mobile ul {
    width: 100%;
    max-width: 300px;
}

.menu-mobile li {
    margin: 15px 0;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-mobile a {
    color: var(--BrancoBonito);
    text-decoration: none;
    display: block;
    transition: var(--transition);
    font-size: 1.1rem;
    padding: 8px 0;
}

.menu-mobile a:hover {
    color: var(--Laranja);
    transform: translateX(10px);
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--Branco);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Banner Principal */
.banner {
    background-image: url(../img/Equipe.jpg);
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 70vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
}

.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 12, 76, 0.5);
}

.frase-banner {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--Branco);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.3;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.frase-banner img {
    height: 40px;
    margin-left: 20px;
    vertical-align: middle;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}


/* Seção Quem Somos */
.diferenciais {
    background-color: #fffffe;
    padding: 60px 4% 40px;
}

.titulo-secao {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.titulo-secao h2 {
    color: var(--Laranja);
    font-size: 2.2rem;
    font-family: "Verdana", sans-serif;
    white-space: nowrap;
    margin-right: 20px;
}

.titulo-secao img {
    height: 30px;
    margin-right: 15px;
}

.linha-secao {
    width: 100%;
    height: 2px;
    background-color: var(--Laranja);
}

.descricao {
    color: var(--Azul);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 40px;
    text-align: justify;
    line-height: 1.6;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.card {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
    margin-bottom: 30px;
}

.card-topo {
    background-color: var(--Laranja);
    color: var(--Branco);
    border-radius: 5px;
    text-align: center;
    padding: 15px;
    font-size: 1.3rem;
    position: relative;
    font-family: "Verdana", sans-serif;
    z-index: 1;
    margin: 0 auto -15px;
    width: 90%;
}

.card-corpo {
    background-color: var(--Azul);
    font-family: 'Montserrat', sans-serif;
    color: var(--Branco);
    border-radius: 5px;
    text-align: center;
    padding: 40px 20px 20px;
    font-size: 1rem;
    position: relative;
    z-index: 0;
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Seção Participações */
.participacoes {
    background-color: var(--Azul);
    padding: 60px 4% 40px;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 50px auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--Laranja);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--Laranja);
    border: 3px solid var(--Azul);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -10px;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    position: relative;
    color: var(--Branco);
}

.timeline-content h3 {
    color: var(--Laranja);
    font-family: "Verdana", sans-serif;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-family: "Verdana", sans-serif;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.timeline-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

.timeline-content img{
    max-width: 100%;
    border-radius: 10px;
    margin-top: 15px;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
    object-fit: cover;
}


.year {
    color: var(--Laranja);
    font-family: "Verdana", sans-serif;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

/* Seção Patrocinadores */
.patrocinadores {
    background-color: #fffffe;
    padding: 60px 4% 40px;
}

.titulo-patrocinadores {
    color: var(--Laranja);
    font-size: 2rem;
    font-family: "Verdana", sans-serif;
    margin-bottom: 40px;
}

.logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.logo-item {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    height: 100px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.logo-item img {
    max-width: 100%;
    max-height: 70px;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
    object-fit: contain;
}

/* Rodapé */
.copyright {
    background-color: var(--Azul);
    color: var(--BrancoBonito);
    text-align: center;
    padding: 20px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

/* Carrossel */
.banner-carousel {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 400px;
    overflow: hidden;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

.slide.active {
    opacity: 1;
}

.banner-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 12, 76, 0.5);
    z-index: 1;
}

.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.prev-btn, .next-btn {
    background: rgba(252, 108, 4, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background: var(--Laranja);
    transform: scale(1.1);
}

.indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.indicator.active {
    background: var(--Laranja);
    transform: scale(1.2);
}

/* Media Queries para Responsividade */
@media (max-width: 1200px) {
    .frase-banner {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .menu-desktop {
        display: none;
    }

    .menu-mobile-btn {
        display: block;
    }

    .timeline-container::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 21px;
    }

    .card-topo {
        font-size: 1.2rem;
    }

    .card-corpo {
        padding: 40px 15px 20px;
        font-size: 0.95rem;
    }
    
    .frase-banner {
        font-size: 1.8rem;
        padding: 10px;
        top: 15px;
        left: 15px;
    }
}

@media (max-width: 768px) {
    .frase-banner {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 5px;
        text-align: center;
        max-width: 90%;
        left: 50%;
        transform: translateX(-50%);
        top: 10px;
    }

    .frase-banner img {
        display: none;
    }

    .titulo-secao h2 {
        font-size: 1.8rem;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
        max-width: 500px;
    }

    .logo-item {
        min-width: 120px;
        max-width: 150px;
    }

    .titulo-secao {
        flex-wrap: wrap;
    }

    .titulo-secao .linha-secao {
        margin-top: 10px;
        order: 3;
        width: 100%;
    }

    .logo {
        gap: 10px;
    }

    .Titulo h1 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .frase-banner {
        font-size: 1.2rem;
        padding: 8px;
    }

    .carousel-controls {
        bottom: 10px;
    }


    .titulo-secao {
        flex-direction: column;
        align-items: flex-start;
    }

    .titulo-secao h2 {
        margin-bottom: 10px;
        white-space: normal;
        font-size: 1.7rem;
    }

    .linha-secao {
        width: 100%;
    }

    .btn-gradient {
        min-width: 120px;
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-item::after {
        width: 15px;
        height: 15px;
    }

    .Titulo h1 {
        font-size: 1.2rem;
    }

    .logo img {
        height: 40px;
    }
}