/* =========================================
   ANA - Associação Núcleo de Atletismo
   Identidade visual
   ========================================= */

:root {
    --azul-marinho: #092D55;
    --azul-celeste: #87CEEB;
    --vermelho: #D92732;
    --branco: #FFFFFF;
    --cinza-claro: #F5F7FA;
    --texto: #263648;
}


/* =========================================
   CONFIGURAÇÕES GERAIS
   ========================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--texto);
    background-color: var(--branco);
    line-height: 1.6;
}

a {
    text-decoration: none;
}


/* =========================================
   CABEÇALHO
   ========================================= */

header {
    min-height: 90px;

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

    padding: 20px 7%;

    background-color: var(--branco);

    border-bottom: 1px solid #eeeeee;
}

header > div {
    display: flex;
    flex-direction: column;
}

header strong {
    color: var(--azul-marinho);
    font-size: 30px;
}

header span {
    color: var(--azul-marinho);
    font-size: 12px;
}


/* MENU */

nav {
    display: flex;
    gap: 35px;
}

nav a {
    color: var(--azul-marinho);
    font-weight: 600;
    transition: 0.2s;
}

nav a:hover {
    color: var(--vermelho);
}


/* BOTÃO DO CABEÇALHO */

header > a {
    background-color: var(--vermelho);
    color: var(--branco);

    padding: 13px 22px;

    border-radius: 7px;

    font-weight: bold;

    transition: 0.2s;
}

header > a:hover {
    background-color: #b91f29;
}


/* =========================================
   HERO / DESTAQUE PRINCIPAL
   ========================================= */

#inicio {
    min-height: 560px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;

    padding: 70px 7%;

    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 55%,
        #f0faff 100%
    );
}


/* TEXTO */

.hero-conteudo {
    max-width: 650px;
}

.hero-tag {
    color: #399bc5;

    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;

    margin-bottom: 20px;
}

#inicio h1 {
    color: var(--azul-marinho);

    font-size: 56px;
    line-height: 1.05;

    margin-bottom: 25px;
}

.hero-descricao {
    font-size: 19px;
    line-height: 1.7;

    max-width: 580px;

    margin-bottom: 32px;
}


/* BOTÕES */

.hero-botoes {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-botoes a {
    display: inline-block;

    padding: 14px 24px;

    border-radius: 7px;

    font-weight: bold;

    transition: 0.2s;
}

.hero-botoes a:first-child {
    background-color: var(--vermelho);
    color: var(--branco);
}

.hero-botoes a:first-child:hover {
    background-color: #b91f29;
}

.hero-botoes a:last-child {
    color: var(--azul-marinho);

    border: 2px solid var(--azul-marinho);
}

.hero-botoes a:last-child:hover {
    background-color: var(--azul-marinho);
    color: var(--branco);
}


/* IMAGEM */

.hero-imagem {
    width: 100%;
}

.hero-imagem img {
    display: block;

    width: 100%;
    height: 430px;

    object-fit: cover;

    border-radius: 18px;

    box-shadow:
        0 15px 40px rgba(9, 45, 85, 0.18);
}

/* =========================================
   PILARES
   ========================================= */

.pilares {
    background-color: var(--azul-marinho);
    color: var(--branco);

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    padding: 35px 8%;
}

.pilar {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 16px;
    padding: 10px 30px;
}

/* Linha de separação entre os pilares */

.pilar + .pilar {
    border-left: 1px solid rgba(255, 255, 255, 0.25);
}

/* Ícones */

.pilar-icone {
    color: var(--azul-celeste);

    font-size: 28px;

    min-width: 35px;
    text-align: center;
}

/* Títulos */

.pilar strong {
    display: block;

    color: var(--branco);

    font-size: 20px;

    margin-bottom: 3px;
}

/* Descrição */

.pilar p {
    color: rgba(255, 255, 255, 0.8);

    font-size: 14px;

    margin: 0;
}


/* =========================================
   QUEM SOMOS
   ========================================= */

#quem-somos {
    padding: 90px 8%;

    background-color: var(--branco);

    display: grid;
    grid-template-columns: 1.3fr 0.7fr;

    gap: 70px;
    align-items: center;
}


/* CONTEÚDO */

.quem-somos-conteudo {
    max-width: 700px;
}

.secao-tag {
    color: #399bc5;

    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;

    margin-bottom: 15px;
}

#quem-somos h2 {
    color: var(--azul-marinho);

    font-size: 42px;
    line-height: 1.15;

    margin-bottom: 25px;
}

.quem-somos-conteudo > p:not(.secao-tag) {
    font-size: 18px;
    line-height: 1.7;

    margin-bottom: 18px;
}


/* DESTAQUE */

.quem-somos-destaque {
    min-height: 260px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 40px;

    background-color: var(--azul-marinho);

    border-radius: 18px;

    box-shadow:
        0 15px 35px rgba(9, 45, 85, 0.16);
}

.quem-somos-destaque strong {
    color: var(--branco);

    font-size: 70px;
    line-height: 1;

    margin-bottom: 20px;
}

.quem-somos-destaque p {
    color: var(--azul-celeste);

    font-size: 17px;
    font-weight: bold;

    margin: 0;
}


/* =========================================
   PROJETO
   ========================================= */

#projeto {
    background-color: var(--cinza-claro);

    padding: 90px 8%;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


/* TÍTULO DA SEÇÃO */

.projeto-titulo {
    grid-column: 1 / -1;

    text-align: center;

    max-width: 750px;

    margin: 0 auto 25px;
}

.projeto-titulo .secao-tag {
    margin-bottom: 12px;
}

.projeto-titulo h2 {
    color: var(--azul-marinho);

    font-size: 42px;
    line-height: 1.15;

    margin-bottom: 18px;
}

.projeto-titulo > p:last-child {
    font-size: 18px;
    line-height: 1.7;

    color: var(--texto);
}


/* CARDS */

#projeto article {
    background-color: var(--branco);

    padding: 40px 30px;

    border-radius: 14px;

    text-align: center;

    box-shadow:
        0 5px 20px rgba(9, 45, 85, 0.08);

    border-bottom: 4px solid transparent;

    transition:
        transform 0.2s,
        box-shadow 0.2s,
        border-color 0.2s;
}

#projeto article:hover {
    transform: translateY(-6px);

    box-shadow:
        0 12px 30px rgba(9, 45, 85, 0.14);

    border-bottom-color: var(--vermelho);
}

/* ÍCONES */

.card-icone {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 22px;

    background-color: #eaf8fd;

    border-radius: 50%;

    font-size: 32px;
}

/* TÍTULOS DOS CARDS */

#projeto h3 {
    color: var(--azul-marinho);

    font-size: 24px;

    margin-bottom: 12px;
}

/* TEXTOS DOS CARDS */

#projeto article p {
    font-size: 16px;
    line-height: 1.7;
}

    /* =========================================
    DIRETORIA E CONSELHEIROS
    ========================================= */

    #diretoria {
        padding: 90px 8%;
        background-color: var(--branco);
    }

    /* TÍTULO PRINCIPAL */

    .diretoria-titulo {
        max-width: 750px;
        margin: 0 auto 50px;
        text-align: center;
    }

    .diretoria-titulo h2 {
        color: var(--azul-marinho);
        font-size: 42px;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .diretoria-titulo > p:last-child {
        font-size: 18px;
        line-height: 1.7;
        color: var(--texto);
    }


    /* =========================================
    CARDS DA DIRETORIA
    ========================================= */

    .diretoria-cards {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
        margin-bottom: 70px;
    }


    /* CARD INDIVIDUAL */

    .membro {
        background-color: var(--cinza-claro);

        padding: 35px 20px;

        border-radius: 16px;

        text-align: center;

        border-bottom: 4px solid var(--azul-marinho);

        box-shadow:
            0 5px 20px rgba(9, 45, 85, 0.08);

        transition: transform 0.3s, box-shadow 0.3s;
    }

    .membro:hover {
        transform: translateY(-6px);

        box-shadow:
            0 12px 30px rgba(9, 45, 85, 0.15);
    }


    /* ESPAÇO PARA FOTOGRAFIA */

    .membro-foto {
        width: 120px;
        height: 120px;

        margin: 0 auto 25px;

        border-radius: 50%;

        background-color: #dcecf5;

        border: 4px solid var(--azul-celeste);

        display: flex;
        align-items: center;
        justify-content: center;

        overflow: hidden;
    }


    /* FOTOGRAFIA FUTURA */

    .membro-foto img {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }


    /* NOME */

    .membro h3 {
        color: var(--azul-marinho);

        font-size: 19px;
        line-height: 1.4;

        margin-bottom: 10px;
    }


    /* CARGO */

    .membro p {
        color: var(--vermelho);

        font-size: 15px;
        font-weight: bold;

        text-transform: uppercase;
        letter-spacing: 1px;
    }


    /* =========================================
    CONSELHEIROS
    ========================================= */

    .conselho {
        padding-top: 50px;

        border-top: 1px solid #e5eaf0;

        text-align: center;
    }

    .conselho > h3 {
        color: var(--azul-marinho);

        font-size: 32px;

        margin-bottom: 15px;
    }

    .conselho > p {
        max-width: 650px;

        margin: 0 auto 40px;

        font-size: 17px;
        line-height: 1.7;
    }


    /* CARDS DOS CONSELHEIROS */

    .conselho-cards {
        display: grid;

        grid-template-columns: repeat(3, minmax(0, 280px));

        justify-content: center;

        gap: 25px;
    }

/* =========================================
   FAÇA PARTE DA ANA
   ========================================= */

#participar {
    padding: 90px 8%;

    background:
        linear-gradient(
            135deg,
            #eaf8fd,
            #c7edfa
        );

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 420px));
    justify-content: center;

    gap: 25px;
}

/* TÍTULO - FAÇA PARTE DA ANA */

.participar-titulo {
    grid-column: 1 / -1;
    max-width: 750px;
    margin: 0 auto 25px;
    text-align: center;
}

.participar-titulo h2 {
    color: var(--azul-marinho);
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 18px;
}

.participar-titulo > p:last-child {
    font-size: 18px;
    line-height: 1.7;
}
#participar article {
    background-color: var(--branco);

    padding: 35px;

    border-radius: 12px;

    text-align: center;

    box-shadow:
        0 5px 18px rgba(9, 45, 85, 0.08);
}

#participar h3 {
    color: var(--azul-marinho);

    font-size: 23px;

    margin-bottom: 12px;
}

#participar p {
    margin-bottom: 25px;
}


/* BOTÕES */

#participar a {
    display: inline-block;

    background-color: var(--vermelho);

    color: var(--branco);

    padding: 12px 22px;

    border-radius: 6px;

    font-weight: bold;
}

#participar a:hover {
    background-color: #b91f29;
}


/* =========================================
   CONTATO
   ========================================= */

#contato {
    padding: 80px 8%;

    text-align: center;

    background-color: var(--branco);
}

#contato h2 {
    color: var(--azul-marinho);

    font-size: 38px;

    margin-bottom: 20px;
}

#contato p {
    margin-bottom: 10px;
}


/* =========================================
   RODAPÉ
   ========================================= */

footer {
    background-color: var(--azul-marinho);

    color: var(--branco);

    text-align: center;

    padding: 40px 20px;
}

footer p {
    margin: 7px 0;
}


/* =========================================
   CELULAR / TABLET
   ========================================= */

@media (max-width: 800px) {

    #inicio {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    #inicio h1 {
        font-size: 40px;
    }

    .hero-imagem img {
        height: 320px;
    }

    header {
        flex-direction: column;
        gap: 20px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    #inicio {
        padding: 60px 6%;
        min-height: auto;
    }

    #inicio h1 {
        font-size: 40px;
    }

    #inicio > p:nth-of-type(2) {
        font-size: 17px;
    }

    .pilares {
        grid-template-columns: 1fr;
        padding: 25px 7%;
    }

    .pilar {
        justify-content: flex-start;
        padding: 20px 10px;
    }

    .pilar + .pilar {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.25);
    }

    #projeto {
        grid-template-columns: 1fr;
    }

    #participar {
        grid-template-columns: 1fr;
    }

    /* QUEM SOMOS - MOBILE */

    #quem-somos {
        grid-template-columns: 1fr;
        gap: 35px;

        padding: 60px 7%;
    }

    #quem-somos h2 {
        font-size: 32px;
    }

    .quem-somos-conteudo > p:not(.secao-tag) {
        font-size: 16px;
    }

    .quem-somos-destaque {
        min-height: 200px;
        padding: 30px;
    }

    .quem-somos-destaque strong {
        font-size: 55px;
    }


    #quem-somos h2,
    #projeto > h2,
    #participar > h2 {
        font-size: 32px;
    }
}

/* LOGOTIPO */

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    display: block;
    width: 180px;
    height: auto;
}

/* =========================================
   DIRETORIA - TABLET
   ========================================= */

@media (max-width: 1100px) {

    .diretoria-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .conselho-cards {
        grid-template-columns: repeat(2, minmax(0, 280px));
    }

}


/* =========================================
   DIRETORIA - CELULAR
   ========================================= */

@media (max-width: 600px) {

    #diretoria {
        padding: 60px 7%;
    }

    .diretoria-titulo h2 {
        font-size: 32px;
    }

    .diretoria-titulo > p:last-child {
        font-size: 16px;
    }

    .diretoria-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 50px;
    }

    .conselho-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .membro {
        padding: 30px 20px;
    }

    .membro-foto {
        width: 110px;
        height: 110px;
    }

    .conselho > h3 {
        font-size: 28px;
    }

}