@import url("base.css");

/*Index*/

main.container {
    max-width: 100%;
    padding: 0;
}

.hero {
    position: relative;
    width: 100%;
    height: 78vh;
    padding: 0 10px;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 10px;
    right: 10px;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 6px;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    color: white;
    max-width: 800px;
    z-index: 2;
}

.hero-content h1 {
    font-family: "Inter", sans-serif;
    font-size: 56px;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-content p {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    color: #eae9e9;
}

.hero-buttons .btn {
    margin-top: 8px;
    margin-right: 10px;
    padding: 10px 20px;
    font-weight: 500;
}

.btn-conhecer {
    background: linear-gradient(135deg, #4d91c9 0%, #306898 100%);
    border: none;
    color: white;
    padding: 10px 22px;
    border-radius: 16px;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-conhecer:hover {
    background: linear-gradient(135deg, #4d91c9 0%, #2a5d87 100%);
}

.btn-branco {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    border: none;
    border: 1px solid #d0d0d0;
    color: #333;
    padding: 10px 22px;
    border-radius: 16px;
    font-weight: 500;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.btn-branco:hover {
    background: linear-gradient(135deg, #ffffff 0%, #d6d6d6 100%);
    color: #333;
}

/*Sobre*/
.sobre {
    padding: 60px 20px;
}

.sobre-container {
    display: flex;
    gap: 40px;
    align-items: center;
    max-width: 1250px;
    margin: 0 auto;
}

.sobre-img img {
    width: 100%;
    max-width: 1000px;
    border-radius: 10px;
}

.sobre-conteudo {
    display: flex;
    flex-direction: column;
}

.sobre-conteudo h2 {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #2b4c7e;
}

.sobre-conteudo p {
    margin-top: 5px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-align: justify;
}


.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.stat {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #dbe7f3;
    padding: 18px;
    border-radius: 10px;
    color: #2c5aa0;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
}

.stat:hover {
    transform: translateY(-3px);
    transition: 0.2s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.stat img {
    width: 46px;
}

.btn-saiba-mais {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    background: linear-gradient(135deg, #4d91c9 0%, #306898 100%);
    color: white;
    border: none;


    padding: 16px 25px;
    font-size: 16px;

    border-radius: 6px;
    font-weight: 600;

    width: fit-content;

    justify-content: center;
    display: block;
    margin: 5px auto;
    text-decoration: none;
}

.btn-saiba-mais:hover {
    background: linear-gradient(135deg, #306898 0%, #4d91c9 100%);
    color: #fff;
    transform: translateY(-2px);
}

.btn-saiba-mais img {
    width: 28px;
    filter: brightness(0) invert(1);
}

.sobre-info {
    text-align: center;
}

/*Avisos*/

.avisos {
    background-color: #dbe9f6;
    padding: 30px 0;
}

.avisos h2 {
    font-family: 'Inter', sans-serif;
    color: #2a4d7a;
    font-weight: 700;
    font-size: 32px;
}

.avisos .card {
    background-color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.avisos .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.avisos .card-body {
    display: flex;
    flex-direction: column;
}

.avisos .card-title {
    font-family: 'Inter', sans-serif;
    color: #2a4d7a;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
    min-height: 50px;
}


.avisos .card-text {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    text-align: justify;
}

.avisos .card-data {
    font-size: 13px;
    color: #2a4d7a;
    font-weight: 600;
    text-align: right;
    margin-top: auto;
}

/*Noticias*/

.noticias h2 {
    font-family: 'Inter', sans-serif;
    color: #2a4d7a;
    font-weight: 700;
    font-size: 32px;
}

.noticias h2::after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background: #2a4d7a;
    margin: 8px auto 0;
}

.noticia-card {
    border: 2px solid #2f5d8a;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    background: #fff;
}

.noticia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.noticia-card img {
    height: 200px;
    object-fit: cover;
}

.noticia-card .card-body {
    padding: 20px;
    text-align: center;
}

.noticia-card .card-title {
    font-weight: 700;
    color: #1f3b64;
    font-size: 1.2rem;
    margin-bottom: 10px;

}

.noticia-card .card-text {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: justify;
}

.btn-noticia {
    background: #2f5d8a;
    color: #fff;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
    transition: 0.3s;
    border: none;
}

.btn-noticia:hover {
    background: #1f3b64;
    color: #fff;
}

.btn-saiba {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px auto 0;
    gap: 4px;

    background: linear-gradient(135deg, #4d91c9 0%, #306898 100%);
    color: white;
    border: none;

    padding: 16px 25px;
    border-radius: 10px;

    font-weight: 600;
    text-decoration: none;

    width: fit-content;
    transition: 0.3s;
}

.btn-saiba:hover {
    background: linear-gradient(135deg, #306898 0%, #4d91c9 100%);
    color: #fff;
    transform: translateY(-2px);
}

.btn-saiba img {
    width: 28px;
    filter: brightness(0) invert(1);
}

/*FAQ*/

.faq {
    padding: 30px 0;
}

.faq h2 {
    font-family: 'Inter', sans-serif;
    color: #2a4d7a;
    font-weight: 700;
    font-size: 32px;
}

.accordion-button {
    font-family: 'Inter', sans-serif;
    color: #2a4d7a;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

.accordion-body {
    color: #555;
}

/*SobreEscolaPagina*/

.historia {
    margin-top: 40px;
    margin-bottom: 40px;
}

.historia-header h2 {
    font-family: 'Inter', sans-serif;
    color: #2a4d7a;
    font-weight: 700;
    font-size: 45px;
    margin-bottom: 0px;
}

.historia-header p {
    color: #666;
    font-size: 14px;
    margin-top: -3px;
    margin-bottom: 5px;
}

.historia-header::before,
.historia-header::after {
    content: "";
    display: inline-block;
    width: 140px;
    height: 3px;
    background: #2f5d8a;
    vertical-align: middle;
}

.historia-bloco {
    margin-bottom: 60px;
}

.tituloSegundario {
    font-family: 'Inter', sans-serif;
    color: #2a4d7a;
    font-weight: 700;
    font-size: 32px;
}

.historia-bloco p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    text-align: justify;
}

.historia-img {
    width: 100%;
    border-radius: 10px;
}

.historia-img.pequena {
    max-height: 350px;
    object-fit: cover;
}

.historia-bg {
    background: #dbe9f6;
    padding: 25px;
    border-radius: 10px;
}

.timeline-item {
    border: 1px solid #2a4d7a;
    border-radius: 10px;
    padding: 20px;
    background: #fff;
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.timeline-item h4 {
    font-size: 32px;
    font-weight: bold;
    color: #2a4d7a;
    margin-bottom: 10px;
    position: relative;
}

.timeline-item p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;

}

.fundo-historia {
    background-color: #dbe9f6;
    padding: 30px 0;
}

.card-func {
    border: 1px solid #2a4d7a;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: 0.2s;
    height: 100%;
}

.card-func:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.foto-func {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;

    border: 2px solid #2a4d7a;

}

.titulo {
    font-weight: 600;
    color: #2c3e50;
}

.cargo {
    color: #7a7a7a;
    font-size: 14px;
}

/*clubes e projetos*/

.destaque-bg {
background-color: #dbe9f6;
    padding: 40px 0;
      width: 100%;
}

.destaque-card {
    display: flex;
    align-items: center;
    gap: 25px;
}

.destaque-img img {
    width: 500px;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

.destaque-texto {
    max-width: 500px;
}

.badge-destaque {
    background: #cfdbee;
    color: #2f5d8a;
    padding: 5px 10px;
    font-size: 0.75rem;
    border-radius: 6px;
    font-weight: 600;
}

.destaque-texto h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f3b64;
    margin: 10px 0;
}

.destaque-texto p {
    color: #555;
    font-size: 0.95rem;
}

.btn-destaque {
    display: inline-block;
    background: #2f5d8a;
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.btn-destaque:hover {
    background: #1f3b64;
    color: #fff;
}

.destaque-item {
    display: none;
}

.destaque-item.active {
    display: block;
}
.clube-card {
    display: flex;
    flex-direction: column;
}

.clubes h2 {
    font-family: 'Inter', sans-serif;
    color: #2a4d7a;
    font-weight: 700;
    font-size: 40px;
    margin-bottom: 0px;
}

.clubes p {
    color: #666;
    font-size: 14px;
    margin-top: -3px;
}

.clube-card {
    border: 2px solid #2f5d8a;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    background: #fff;
}

.clube-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.clube-card img {
    height: 200px;
    object-fit: cover;
}

.clube-card .card-body {
    padding: 20px;
    text-align: center;
}

.clube-card h5 {
    font-weight: 700;
    color: #1f3b64;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.clube-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: justify;
}

.btn-clube {
    background: #2f5d8a;
    color: #fff;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
    transition: 0.3s;
    border: none;
}

.btn-clube:hover {
    background: #1f3b64;
    color: #fff;
}

.pagination .page-link {
    color: #2f5d8a;
    border: 1px solid #2f5d8a;
}

.pagination .page-item.active .page-link {
    background-color: #2f5d8a;
    border-color: #2f5d8a;
    color: #fff;
}

.pagination .page-link:hover {
    background-color: #1f3b64;
    color: #fff;
    border-color: #1f3b64;
}

.pagination .page-item.disabled .page-link {
    color: #a0b3c5;
    border-color: #a0b3c5;
}

.clubes .sem-clube {
    color: #2a4d7a;
    font-weight: 600;
}

.titulo-projetos h2 {
    font-family: 'Inter', sans-serif;
    color: #2a4d7a;
    font-weight: 700;
    font-size: 40px;
    margin-bottom: 0px;
}

.titulo-projetos p {
    color: #666;
    font-size: 14px;
    margin-top: -3px;
}

.projeto-card {
    border: 2px solid #2f5d8a;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    background: #fff;
    padding: 10px;
}

.projeto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.img-projeto {
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.titulo-card {
    font-weight: 700;
    color: #1f3b64;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.descricao-card {
    font-size: 0.9rem;
    color: #666;
}

.btn-projeto {
    background: #2f5d8a;
    color: #fff;
    border-radius: 8px;
    padding: 6px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    width: fit-content;
}

.btn-projeto:hover {
    background: #1f3b64;
    color: #fff;
}

/*Eventos*/

.evento-card {
    background: #f4f7fb;
    border-radius: 10px;
    padding: 10px;
    gap: 10px;
    transition: 0.3s;
    border: 2px solid #2f5d8a;
    height: 100%;
}

.img-evento {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}

.evento-conteudo {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.evento-conteudo h6 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f3b64;
}

.evento-conteudo p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    text-align: justify;
}

.evento-conteudo a {
    font-size: 0.75rem;
    color: #2f5d8a;
    font-weight: 600;
    text-decoration: none;
}

.evento-conteudo a:hover {
    text-decoration: underline;
}

.card-evento {
    border-radius: 20px;
    background: #f8f9fa;
    border: none;
}

.img-carousel {
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
}

.titulo-evento {
     font-family: 'Inter', sans-serif;
    color: #2a4d7a;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 0px;
}

.categoria {
    color: #888;
    margin-bottom: 10px;
}

.descricao {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.btn-evento{
  background: #2f5d8a;
    color: #fff;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
    transition: 0.3s;
    border: none;
}
/*Contatos*/

.titulo-contato {
    font-family: 'Inter', sans-serif;
    color: #2a4d7a;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 0px;
}

.subtitulo {
    color: #666;
    font-size: 14px;
    margin-top: -3px;
}

.card-contato {
    background: #e1eefa;
    color: #346aa0;
    text-align: center;
    padding: 25px 15px;
    border-radius: 12px;
    transition: 0.3s;
    height: 100%;
}

.card-contato i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #346aa0;
}

.card-contato h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.card-contato p {
    font-size: 14px;
    margin: 0;
}

.card-contato:hover {
    transform: translateY(-5px);
}

.card-a {
    text-decoration: none;
    color: inherit;
}

.mapa-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.mapa-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/*login*/

.login-card {
    max-width: 1200px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 40px rgba(24, 67, 120, 0.15);
    position: relative;
}

.login-left {
    position: relative;
    padding: 10px;
    overflow: hidden;
}

.login-image {
    position: absolute;
    inset: 0;
    width: 1000px;
    height: 1000px;
    object-fit: cover;
    border-radius: 12px;
    z-index: 1;
}

.login-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2;
    border-radius: 12px;
}

.login-left::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
}

.login-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    z-index: 1;
}

.login-left-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 3;
    color: #fff;
}

.login-left-content h4 {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
}

.login-left-content p {
    font-size: 12px;
    opacity: 0.9;
    margin-top: -3px;
    margin: 0;
    line-height: 1.2;
}

.login-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.form-login {
    width: 100%;
    max-width: 350px;
}

.login-title {
    font-family: 'Inter', sans-serif;
    text-align: center;
    font-weight: 700;
    color: #184378;
    margin-bottom: 20px;

}

.no-break {
    white-space: nowrap;
}

.form-control {
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #dce3f0;
    transition: 0.3s;
}

.form-control:focus {
    border-color: #184378;
    box-shadow: 0 0 0 0.15rem rgba(24, 67, 120, 0.2);
}

.btn-login {
    background: linear-gradient(135deg, #4d91c9 0%, #306898 100%);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 10px;
    transition: 0.3s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(24, 67, 120, 0.2);
}

.login-links {
    margin-top: 8px;
    display: flex;
    gap: 4px;
    font-size: 0.9rem;
}

.login-links span {
    color: #888;
}

.link-recuperar {
    color: #184378;
    font-weight: 500;
    text-decoration: none;
}


/* Responsividade */

@media (max-width: 768px) {

    /* HERO */
    .hero {
        height: 60vh;
        padding: 0 5px;
    }

    .hero-content {
        left: 20px;
        right: 20px;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 14px;
    }

    /* STATS */
    .stats-container {
        flex-direction: column;
        gap: 15px;
    }

    /* SOBRE */
    .sobre-container {
        grid-template-columns: 1fr;
    }

    .sobre-img-grande img {
        width: 100%;
        height: auto;
    }

    .sobre-imagens-pequenas {
        grid-template-columns: 1fr 1fr;
    }

    .sobre-imagens-pequenas img {
        width: 100%;
        height: 150px;
    }

    .sobre-conteudo h2 {
        font-size: 24px;
        text-align: center;
    }

    .sobre-conteudo p {
        font-size: 16px;
    }

    /* CONTATO */
    .container-contatos {
        flex-direction: column;
    }

    .card-contato {
        padding: 20px;
    }

    .mapa-container iframe {
        height: 300px;
    }

    /* LOGIN */
    .login-card {
        flex-direction: column;
    }

    .login-left {
        height: 250px;
    }


}

@media (max-width: 1000px) {


    .sobre-container {
        grid-template-columns: 1fr;
    }

    .sobre-img-grande img {
        width: 100%;
        height: auto;
    }

    .sobre-imagens-pequenas {
        justify-content: center;
    }

    .sobre-imagens-pequenas img {
        width: 45%;
        height: auto;
    }

}

@media (max-width: 1024px) {

    .sobre-container {
        grid-template-columns: 1fr;
    }

    .sobre-img-grande img {
        width: 100%;
        height: auto;
    }

    .hero-content h1 {
        font-size: 40px;
    }


}

@media (min-width: 768px) and (max-width: 1024px) {


    .sobre-container {
        grid-template-columns: 1fr;
    }

    /* esconde todas */
    .sobre-imagens-pequenas img {
        display: none;
    }

    /* mostra só a terceira */
    .sobre-imagens-pequenas img:nth-child(3) {
        display: block;
        width: 100%;
        height: 220px;
        object-fit: cover;
        border-radius: 10px;
    }

    .sobre-imagens-pequenas {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    .sobre-conteudo h2 {
        text-align: center;
    }


}

@media (max-width: 600px) {


    .sobre-conteudo h2 {
        font-size: 24px;
        text-align: center;
    }

    .sobre-conteudo p {
        font-size: 16px;
    }

    .sobre-imagens-pequenas {
        grid-template-columns: 1fr;
    }

    .sobre-imagens-pequenas img {
        width: 100%;
    }


}

@media (max-width: 768px) {
    .sobre-container {
        flex-direction: column;
    }

    .stats {
        grid-template-columns: 1fr;
    }
}