@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.cdnfonts.com/css/marykate');

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem; /* 16px */
    line-height: 1.6;
    background-color: #c6c6c6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Menu */
.navbar {
    background-color: #ffffff;
    padding: 1rem 2rem;
    width: 100%;
}

.navbar-nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
}

.navbar a {
    color: #f27127;
    text-decoration: none;
    font-size: 1.25rem; /* 20px */
    font-weight: 500;
    transition: color 0.2s, font-weight 0.2s;
}

.nav-link:hover {
    color: #f2a516;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 4px;
}

.logo {
    height: 80px;
    width: auto;
    max-width: 180px;
}

/* Conteúdo principal */
main {
    flex: 1;
    width: 100%;
}

/* Sobre */
#seção-sobre {
    background-color: #f2a516;
    width: 100%;
}

.bloco-sobre {
    color: white;
    width: 100%;
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bloco-sobre p {
    font-size: 2rem; /* 32px */
    text-shadow: 2px 2px 5px rgba(217, 73, 41, 0.6);
    margin-bottom: 2rem;
    text-align: center;
    max-width: 90%; 
}

.icones {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px; 
}

.bloco-icon {
    flex: 1 1 200px; 
    align-items: center;
    align-self: center;
    align-content: center;
    transition: transform 0.3s ease-in-out; /* animação suave */
}

.bloco-icon p {
    font-size: 2rem; /* 32px */
    font-weight: 700;
    margin-top: 1rem;
}

.bloco-icon:hover {
    transform: scale(1.1); /* aumenta 10% no hover */
}
/* Títulos */
.título {
    font-size: 3rem; /* 48px */
    font-weight: 700;
    text-shadow: 2px 2px 5px rgba(217, 73, 41, 0.6);
    margin-bottom: 1.5rem;
    text-align: center;
    width: 100%;
}

/* Download */
.bloco-download {
    background-color: #f27127;
    color: white;
    width: 100%;
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bloco-download p {
    font-size: 2.5rem; /* 40px */
    text-shadow: 2px 2px 5px rgba(217, 73, 41, 0.6);
    margin-bottom: 2rem;
    text-align: center;
    max-width: 100%; 
}

.bloco-download button {
    background-color: #f2a516;
    color: white;
    border: none;
    padding: 2rem 8rem;
    font-size: 1.5rem; /* 24px */
    border-radius: 70px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s ease-in-out;
    box-shadow: 2px 2px 5px rgba(217, 73, 41, 0.6);
}

.bloco-download button:hover {
    background-color: #f2921d;
    transform: scale(1.05); /* aumenta o botão em 5% */
}

#aviso-download {
    font-size: 20px;
    color: #fff;
    margin-top: 15px;
    text-align: center;
    padding: 0 10px;
    font-weight: 600;
}

/* Footer (Contatos) */
footer {
    background-color: #d94929;
    color: white;
    width: 100%;
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bloco-contato h4 {
    text-shadow: 2px 2px 5px rgba(131, 33, 11, 0.5);
}

.bloco-contato p {
    font-size: 1.5rem; /* 24px */
    text-shadow: 2px 2px 5px rgba(131, 33, 11, 0.5);
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 100%; 
}

.footer-icon {
    width: 150px;
    height: 150px;
    transition: transform 0.3s;
    margin: 0 1rem;
}

.footer-icon:hover {
    transform: scale(1.2);
}

/* Gráfico */
.img-grafico {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    width: 100%;
    margin: 0;
    padding-bottom: 4rem;
}

#img-mascote {
    max-width: 35%;
    height: auto;
}

.grafico-container {
    text-align: center;
    width: 100%;
}

#grafico1 {
    width: 100%;
    max-width: 380px;
    margin: 1rem auto;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative; /* importante para o canvas preencher */
    aspect-ratio: 4 / 3; /* mantém proporção */
}


.grafico-titulo {
    font-size: 1.25rem; /* 20px */
    font-weight: bold;
    margin-bottom: 1rem;
    color: #092A95;
    text-align: center;
}

#fonte-txt {
    font-size: 0.875rem; /* 14px */
    color: #d94929;
    margin-top: 1rem;
    text-align: center;
}

#fonte-txt a {
    color: #092A95;
    text-decoration: none;
}

#fonte-txt a:hover {
    color: #1746df;
}

/* Media Queries para Responsividade */
@media (max-width: 768px) {
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .bloco-sobre p, .bloco-download p {
        font-size: 1.5rem; /* 24px */
    }

    .título {
        text-align: center;
        font-size: 2rem; /* 32px */
    }

    .bloco-download button {
        font-size: 1.25rem; /* 20px */
        padding: 0.75rem 2rem;
    }

    .footer-icon {
        width: 120px;
        height: 120px;
    }

    .img-grafico {
        flex-direction: column;
        flex-wrap: wrap;
    }

    #img-mascote {
        width: 100%;
        max-width: 300px;
    }

    #grafico1 {
        width: 100%;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .bloco-sobre p, .bloco-download p {
        font-size: 1.5rem; /* 20px */
    }

    .título {
        font-size: 1.8rem; /* 28px */
    }

    .bloco-download button {
        font-size: 1.5rem; /* 16px */
        padding: 0.5rem 1.5rem;
    }

     .aviso-download {
        font-size: 10px;
    }

    .footer-icon {
        width: 120px;
        height: 120px;
    }

    #grafico1 {
        width: 100%;
        height: 400px;
    }

    .img-grafico{
        flex-wrap: wrap;
    }
}