/*--------------------------------------VARIAVEIS DE CORES GLOBAL----------------------------------------------*/
:root {
    --ClaroP: #ecfde6;
    --EscuroP: #042201;
    --textEscuro: #060e01;
    --corBarra: #18500e;
    --accent: #A8BF27;
    --sombra: #325a11;
    --border: 0.1rem solid rgba(39, 75, 5, 0.616);
    font-size: 10px;
}

/*RESET*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*-------------------------------------------------MODO CLARO---------------------------------------------------*/
body {
    background: var(--ClaroP);
}

section {
    margin: 0 auto;
    max-width: 1200px;
}

/*----------------------------------------------BARRA DE NAVEGAÇÃO------------------------------------------*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    border-bottom: var(--border);
    background-color: var(--ClaroP);
}

.header section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
}

.barra {
    display: flex;
    align-items: center;
}

.barra a {
    color: var(--EscuroP);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 2rem;
    transition: transform 0.25s ease, font-weight 0.25s ease, color 0.25s ease;
}

.barra a:hover {
    transform: scale(1.07);
}

/*---------------------------------------------SOBRE NÓS------------------------------------------*/
.caixa3 {
    text-align: center;
    padding: 60px 20px;
    margin: 80px auto;
    width: 85%;
    border-radius: 25px;
}

.hSobre,
.hEquipe {
    font-size: 4em;
    color: var(--EscuroP);
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.txSobre {
    font-size: 2rem;
    color: var(--textEscuro);
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 50px;
    font-weight: 300;
    text-align: justify;
}

/*------------------------------CONHEÇA A EQUIPE - FOTOS ----------------------------------------- */
.equipe {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    justify-items: center;
    align-items: start;
}

@media (max-width: 1000px) {
    .equipe {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .equipe {
        grid-template-columns: 1fr;
    }
}

.membro {
    border-radius: 20px;
    padding: 25px 15px;
    width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.membro:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px var(--sombra);
}

.membro img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%
}


.membro img:hover {
    transform: scale(1.1);
}

.nome {
    margin-top: 15px;
    font-size: 2rem;
    color: var(--EscuroP);
    font-weight: 600;
}

.funcao {
    margin-top: 4px;
    font-size: 1.5rem;
    color: #0b5005;
    font-style: italic;
}

/*--------------------------------------------RODAPÉ--------------------------------------------------------------------*/
.rodape {
    background: linear-gradient(180deg, #060e01, #042201);
    color: var(--ClaroP);
    text-align: center;
    padding: 25px 10px;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    margin-top: 60px;
}

.rodape p {
    margin: 8px 0;
}

.rodape p:last-child {
    color: var(--accent);
    font-style: italic;
    font-size: 1.3rem;
}

/*-------------------------------MODO ESCURO----------------------------*/
body.dark .txSobre,
body.dark .nome,
body.dark h2,
body.dark .menu {
    color: #fff;
}

body.dark .funcao {
    color: #739e2d;
}

.header.dark {
    background-color: rgba(19, 19, 26, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
}

.barra.dark a {
    color: #fff;
}

body.dark {
    background-color: #042201;
}

/* BOTÃO MODO ESCURO E CLARO*/
.trilho {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 55px;
    height: 55px;
    background: linear-gradient(145deg, #1f5c0d, #2d7b10);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4), inset 0 0 5px rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    z-index: 100;
}

.trilho:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #2d7b10, 0 0 30px rgba(0, 255, 0, 0.3);
}

.trilho::before {
    content: "☀︎";
    color: #fff;
    font-size: 1.8rem;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.trilho.dark {
    background: linear-gradient(145deg, #e5f7d9, #cbe0b8);
    box-shadow: 0 0 10px #a8bf27, 0 0 25px rgba(168, 191, 39, 0.4);
}

.trilho.dark::before {
    content: "⏾";
    color: #000;
    transform: rotate(-20deg);
}

/*--------------------------------- MENU RESPONSIVO -----------------------------------*/

.menu {
    display: none;
    font-size: 3rem;
    color: var(--EscuroP);
    cursor: pointer;
}

@media (max-width:768px) {

    .barra a,
    .barra.dark a {
        color: #fff
    }

    .barra {
        position: absolute;
        top: 5rem;
        right: 2rem;
        background-color: rgba(4, 34, 1, .95);
        flex-direction: column;
        align-items: flex-start;
        border-radius: 10px;
        padding: 0rem 2rem;
        display: none
    }

    .barra a {
        margin: 1rem 0;
        font-size: 2rem;
        width: 100%
    }

    .menu {
        display: block
    }
}

.menu.dark {
    color: var(--ClaroP)
}

.barra.active {
    display: flex;
    animation: .3s fadeIn
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}