@import url('https://fonts.googleapis.com/css2?family=Poetsen+One&family=Rakkas&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poetsen+One&family=Rakkas&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
}

p {
    font-family: 'Roboto', sans-serif;
}

body{
    margin: 0px;
}

html{
    scroll-behavior: smooth; /*faz com que sempre q você clique no link do nav a tela te leve de forma suave para a area*/
}

header{
    color: #8d8989;
    padding: 10px 20px;
    background-color: rgb(250, 250, 250);

    display: flex;
    align-items: center;
    justify-content: space-between; /*Para deixar lado a lado*/
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);/*Sombra*/

    position: sticky; /* faz o header ficar "grudado" no topo*/
    top: 0; /*definir que ele fique colado no topo*/
    z-index: 1000;/*Garantir que ele fique por cima das outras coisas*/
}

/* MENU HAMBURGUER — só aparece no mobile */
.menu-hamburguer {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #8d8989;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.2s;
}

.menu-hamburguer:hover {
    color: #353535;
}

.Links ul{
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.Links a{
    text-decoration: none;
    color: #a1a1a1;
    font-weight: bold;
    font-size: 19px;
}

#home{
    font-size: 20px;
    color: #353535;
    background-color: #f0efef;
    padding-top: 5px;
    display: flex;
    flex-wrap: nowrap;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 100px;
    min-height: 65vh;

    padding: 0 80px;
}

.content {
    max-width: 500px;
}

.btn{
    display: inline-block;
    background-color: #bdc3c9;
    color: white;
    padding: 12px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

#sobre{
    color: #353535;
    justify-content: space-between;
    background-color: #fcfcfc;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 80px;
    padding: 100px 80px;
    min-height: 85vh;
}

#sobre p {
    max-width: 800px;
    margin: 0 auto;   /* centraliza o bloco */
    text-align: center;
    margin-top: 70px;
}

#servicos{
    color: #353535;
    justify-content: space-between;
    background-color: #f0efef;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 80px;
    padding: 100px 80px;
    min-height: 85vh;
}

#servicos p {
    max-width: 800px;
    margin: 0 auto;   /* centraliza o bloco */
    text-align: center;
    margin-top: 70px;
}

#contato{
    color: #353535;
    justify-content: space-between;
    background-color: #fcfcfc;
    padding-top: 5px;
    margin-top: 40px;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 80px;
    padding: 100px 80px;
    min-height: 85vh;
}

#contato p{
    max-width: 800px;
    margin: 0 auto;   /* centraliza o bloco */
    text-align: center;
    margin-top: 70px;
}

.redes{
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.redes a {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-decoration: none;
    color: black;
}

.redes img{
    margin-bottom: 8px;
}

.caixa-insta, .caixa-linkedin, .caixa-github {
    background-color: white;
    padding: 20px;
    width: 150px;
    text-align: center;
    margin-top: 90px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.tecnologias{
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.Java, .css, .html, .Python, .JavaScript{
    background-color: white;
    padding: 20px;
    width: 150px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#projetos{
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap; /* já ajuda em telas médias */
}

.gerenciamento, .cafeAroma, .atendimento, .páginaLogin, .sistemaDeVendas{
    width: 350px;
    background: #f0efef;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

footer{
    background-color: #f0efef;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.atendimento:hover, .gerenciamento:hover, .cafeAroma:hover, .páginaLogin:hover, .sistemaDeVendas:hover{
    background-color: white;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.5);
    transform: translateY(-10px);
}

.Java:hover, .css:hover, .html:hover, .Python:hover, .JavaScript:hover, .caixa-linkedin:hover, .caixa-github:hover{
    background-color: #ebebeb;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.5);
    transform: translateY(-10px);
}

.caixa-insta:hover, .caixa-wpp:hover{
    background-color: #e4e4e4;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.5);
}

.btn:hover{
    background-color: #353535;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.5);
}

.Links a:hover{
    color: #353535;
}

.img-home:hover{
    box-shadow: 0px 4px 10px rgba(0,0,0,0.5);
}

/* ================================
   RESPONSIVIDADE — TABLET (≤ 1024px)
   ================================ */
@media (max-width: 1024px) {

    #home {
        gap: 50px;
        padding: 40px 40px;
    }

    #sobre,
    #servicos,
    #contato {
        padding: 80px 40px;
    }

    .gerenciamento, .cafeAroma, .atendimento, .páginaLogin, .sistemaDeVendas {
        width: 300px;
    }

    .gerenciamento img, .cafeAroma img, .atendimento img, .páginaLogin img, .sistemaDeVendas img {
        width: 100%;
        height: auto;
    }
}

/* ================================
   RESPONSIVIDADE — MOBILE (≤ 768px)
   ================================ */
@media (max-width: 768px) {

    /* Header: hamburguer ativo */
    header {
        flex-wrap: wrap;
        padding: 14px 20px;
        gap: 0;
    }

    header h1 {
        font-size: 18px;
        flex: 1;
    }

    .menu-hamburguer {
        display: block;
    }

    /* Nav fechado por padrão no mobile */
    .Links {
        display: none;
        width: 100%;
        order: 3;
        background-color: rgb(250, 250, 250);
        border-top: 1px solid #e5e5e5;
        padding: 10px 0;
    }

    /* Nav aberto via JS */
    .Links.open {
        display: block;
    }

    .Links ul {
        flex-direction: column;
        gap: 0;
        align-items: center;
    }

    .Links ul li {
        width: 100%;
        text-align: center;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .Links ul li:last-child {
        border-bottom: none;
    }

    .Links a {
        font-size: 17px;
    }

    /* Seção home */
    #home {
        flex-direction: column;
        gap: 32px;
        text-align: center;
        padding: 40px 20px;
        align-items: center;
        min-height: auto;
    }

    .content {
        max-width: 100%;
    }

    .img-home {
        display: flex;
        justify-content: center;
    }

    .img-home img {
        width: 100%;
        max-width: 340px;
        height: auto;
    }

    /* Seções internas */
    #sobre,
    #servicos,
    #contato {
        padding: 60px 20px;
        min-height: auto;
        margin-top: 0;
    }

    #sobre p,
    #servicos p,
    #contato p {
        margin-top: 30px;
        font-size: 15px;
    }

    /* Projetos */
    #projetos {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .gerenciamento, .cafeAroma, .atendimento, .páginaLogin, .sistemaDeVendas {
        width: 100%;
        max-width: 400px;
    }

    .gerenciamento img, .cafeAroma img, .atendimento img, .páginaLogin img, .sistemaDeVendas img {
        width: 100%;
        height: auto;
    }

    /* Redes sociais */
    .redes {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .caixa-insta, .caixa-linkedin, .caixa-github {
        margin-top: 20px;
        width: 180px;
    }

    /* Tecnologias */
    .tecnologias {
        gap: 20px;
    }

    .Java, .css, .html, .Python, .JavaScript {
        width: 120px;
        padding: 15px;
    }
}

/* ================================
   RESPONSIVIDADE — MOBILE PEQUENO (≤ 400px)
   ================================ */
@media (max-width: 400px) {

    header h1 {
        font-size: 15px;
    }

    #home h2 {
        font-size: 20px;
    }

    #home p {
        font-size: 15px;
    }

    .Java, .css, .html, .Python, .JavaScript {
        width: 100px;
        padding: 12px;
    }

    .gerenciamento, .cafeAroma, .atendimento, .páginaLogin, .sistemaDeVendas {
        max-width: 100%;
    }
}