:root{

    --cinza250: rgb(250,250,250);
    --cinza245: rgb(245,245,245);
    --cinza240: rgb(240,240,240);
    
    --cinza220: rgb(220,220,220);
    
    --cinza200: rgb(200,200,200);
    
    --cinza160: rgb(160,160,160);
    
    --cinza128: rgb(128,128,128);

    --cinza100: rgb(100,100,100);

    --cinza60: rgb(60,60,60);

    --corborda: rgb(220,220,220);

    --corbase: rgb(210, 0, 80);
    --corbasec: rgb(230, 0, 100);

    --pessego: rgb(230, 150, 110);
    --pessegoc: rgb(255, 190, 150);

    --azul: rgb(0,80,120);
    --azulc: rgb(0, 120, 160);

    --ciano: rgb(0,160,230);
    --cianoc: rgb(0,180,230);

    --dourado: rgb(195,160,45);
    --douradoc: rgb(236,189,55);

    --verde: rgb(100,180,80);
    --verdec: rgb(140,190,110);

    --radiuspadrao: 8px;
}

*, *::before, *::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;    
    scroll-behavior: smooth;    
    -webkit-tap-highlight-color: transparent;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: var(--cinza100);
    font-size: 1rem;
    line-height: 1.5; 
}

html{
    height: 100%;    
}

body{
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background-color: var(--cinza250);
}

/* Textos */

.fonteMaior{
    font-size: 5rem;
}

h1, h1 *{
    font-size: 1.8rem;    
}

h2, h2 *{
    font-size: 1.6rem;
}

h3, h3 *{
    font-size: 1.4rem;
}

h4, h4 *{
    font-size: 1.2rem;
}

h5, h5 *{
    font-size: 1.1rem;
}

a{
    color: var(--azul);
    text-decoration: none;
    transition: color 0.5s;
}

a:hover{
    color: var(--azulc);    
}

.fonteDestaque{    
    font-family: "Delius Swash Caps", cursive;
    font-weight: 400;
    font-style: normal;
    line-height: 1.2;
}

/* Cores de texto */

.textoBase{
    color: var(--corbase);
}

.textoDourado{
    color: var(--dourado);
}

.textoCiano{
    color: var(--ciano);
}

.textoVerde{
    color: var(--verde);
}

/* cores de linhas para SVG */

.linhaBase{
    stroke: var(--corbase);
}

.linhaDourada{
    stroke: var(--dourado);
}

.linhaCiano{
    stroke: var(--ciano);
}

.linhaVerde{
    stroke: var(--verde);
}

/* Outros gerais e genéricos */

img{
    display: block;
}

svg *{
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: fill 0.5s, stroke 0.5s;
}

.imgFit{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.centralizarDiv{
    padding: 2rem 5%;
}

/* Botões */

button{
    border: 0;
    background-color: transparent;
    cursor: pointer;    
    transition: color 0.5s;
}

button:hover{
    color: var(--corbasec);
}

.botao{
    background-color: var(--corbase);
    padding: 0.4rem 0.6rem;
    color: white;
    border-radius: var(--radiuspadrao);
    transition: background 0.5s, color 0.5s;
}

.botao:hover{
    background-color: var(--corbasec);
    color: white;
}

/* Header e Footer */

header{
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    box-shadow: 0 10px 10px rgba(128,128,128,0.1); 
    z-index: 2;  
}

header .esquerdo{
    height: 100%;
}

header .logo,
footer .logo{
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0.5rem;
}

footer .logo{
    height: auto;
}

header .logo .nome,
footer .logo .nome{
    transition: color 0.5s;
}

header .logo:hover .nome,
footer .logo:hover .nome{
    color: var(--corbase);
}

header .logo img,
footer .logo img{
    height: 2.5rem;    
}

header a, footer a{
    color: var(--cinza100);
}

header a:hover, footer a:hover{
    color: var(--corbase);
}

header .direito{
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

header nav{
    height: 100%;
    display: flex;
    align-items: center;
}

header nav .topoMenu{
    margin-bottom: 1.2rem;
    display: none; 
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

header nav .rodapeNav{
    margin-top: 1.8rem;
    display: none;
}

header nav a{
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.4rem;
    transition: color 0.5s, padding 0.5s, background 0.5s;
}

header nav a img,
header nav a svg{
    width: 1.2rem;
    display: none;
}

header nav a svg *{
    fill: none;
    stroke: var(--cinza100);    
    stroke-width: 8px;
}

header nav a:hover svg *{
    stroke: var(--corbase);
}

header nav a::before,
header nav a::after{
    content: "";
    position: absolute;
    background-color: var(--corbase);
}

header nav a::before{   
    width: 100%;
    bottom: 0;
    left: 0;  
    height: 0;
    transition: height 0.5s;
}

header nav a:hover::before{
    height: 0.4rem;
}

#pagAtual{
    color: var(--azulc);
}

#pagAtual:hover{
    color: var(--corbase);
}

header nav a::after{
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    transition: width 0.5s;
    display: none;
}

header nav a:hover::after{    
    width: 0.5rem;   
}

header .botaoMenu{
    width: 2.5rem;
    height: 2.5rem; 
    border-radius: var(--radiuspadrao);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;    
}

header .botaoMenu > div{
    background-color: var(--cinza100);
    width: 55%;
    height: 2px;
    border-radius: 100px;
    transition: background 0.5s;
}


header .botaoMenu:hover > div{
    background-color: var(--corbase);
}

header .botaoPerfil{
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;  
    border: 1px solid var(--corborda);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s, border 0.5s;
}

header .botaoPerfil:hover{
    border: 1px solid var(--corbase);
    transform: scale(105%);
}

/* Footer */

footer{
    margin-top: auto;
    padding: 1.5rem 5%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    box-shadow: 0 -10px 10px rgba(128,128,128,0.1);
}

footer nav{
    width: 100%;
    border-top: 1px solid var(--corborda);
    border-bottom: 1px solid var(--corborda);
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 0.5rem;
}

/* Container componentes grid */

.containerGrid{
    container: containerGrid / inline-size;
}

.componentesGrid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.componentesGrid .componente{ 
    padding: 1.5rem;
    border-radius: var(--radiuspadrao);
    transition: background 0.5s;
}

.componentesGrid .componente:hover{
    background-color: white;
}

@container containerGrid (max-width: 1200px){

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

}

@container containerGrid (max-width: 650px){

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

    .componentesGrid .componente{
        padding: 1rem 1.5rem;
    }
    
}


@media screen and (max-width: 950px){

    /* Ajuste de fontes */

    h1, h1 *{
        font-size: 1.6rem;
    }
    
    h2, h2 *{
        font-size: 1.4rem;
    }  
    
    h3, h3 *{
        font-size: 1.3rem;
    }
    
    h4, h4 *{
        font-size: 1.2rem;
    }

    /* Genéricos */

    .centralizarDiv{
        padding: 1.5rem 5%;
    }

    /* Header */

    header nav a img,
    header nav a svg,
    header nav a::after,
    header nav .rodapeNav{     
        display: block;
    } 

    header .botaoMenu,
    header nav .topoMenu{
        display: flex;   
    }

    header nav a::before{
        display: none;
    }

    header nav{
        position: fixed;
        height: auto;
        top: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        background-color: var(--cinza250);
        display: block;
        padding: 4rem 10%;
        transition: right 0.5s;     
    }

    .menuFechado{
        right: -100%;
    }

    .menuAberto{
        right: 0;
    }

    header nav a{  
        height: auto;        
        padding: 1rem;
        border-bottom: 1px solid var(--corborda);
    }

    #pagAtual{
        color: var(--cinza100);
    }  

    header nav a:hover{
        padding: 1rem 0 1rem 2rem;
        background-color: white;        
    }    

}

@media screen and (max-width: 300px){

    header .logo .nome,
    footer .logo .nome{
        display: none;
    }

}