
/* CONFIGURAÇÕES GERAIS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #080D18;
    color: #FFFFFF;
}

/* CABEÇALHO */

header {
    width: 100%;
    padding: 25px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0D1424;
    border-bottom: 1px solid #1B2940;
}

header h1 {
    font-size: 25px;
    letter-spacing: 1px;
}

header h1 span {
    color: #38BDF8;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #CBD5E1;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover {
    color: #38BDF8;
}

/* SEÇÃO INICIAL */

#inicio {
    min-height: 75vh;
    padding: 120px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: radial-gradient(circle at 80% 40%, #122C50, #080D18 55%);
}

#inicio p:first-child {
    color: #38BDF8;
    letter-spacing: 3px;
    margin-bottom: 25px;
    font-size: 13px;
}

#inicio h2 {
    font-size: clamp(38px, 5vw, 65px);
    max-width: 800px;
    line-height: 1.15;
    margin-bottom: 25px;
}

#inicio h2 span {
    color: #38BDF8;
}

#inicio p:nth-of-type(2) {
    color: #94A3B8;
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 35px;
}

#inicio a {
    display: inline-block;
    background-color: #0284C7;
    color: white;
    padding: 16px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

#inicio a:hover {
    background-color: #38BDF8;
    transform: translateY(-3px);
}

/* DEMAIS SEÇÕES */

section:not(#inicio) {
    padding: 80px 10%;
    min-height: 180px;
}

section h2 {
    font-size: 32px;
}

/* RODAPÉ */

footer {
    background-color: #0D1424;
    border-top: 1px solid #1B2940;
    padding: 25px;
    text-align: center;
    color: #64748B;
}

/* TÍTULOS DAS SEÇÕES */

.titulo-secao {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.subtitulo {
    color: #38BDF8;
    letter-spacing: 3px;
    font-size: 13px;
    margin-bottom: 15px;
}

.titulo-secao h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.titulo-secao > p:last-child {
    color: #94A3B8;
    line-height: 1.7;
}

/* GRADE DE SERVIÇOS */

.grade-servicos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.cartao-servico {
    background-color: #101B2E;
    border: 1px solid #1E3452;
    border-radius: 14px;
    padding: 30px 24px;
    transition: 0.3s;
}

.cartao-servico:hover {
    transform: translateY(-8px);
    border-color: #38BDF8;
    box-shadow: 0 10px 35px #0284C733;
}

.icone {
    font-size: 35px;
    margin-bottom: 22px;
}

.cartao-servico h3 {
    font-size: 19px;
    margin-bottom: 15px;
}

.cartao-servico p {
    color: #94A3B8;
    font-size: 14px;
    line-height: 1.8;
}

/* PORTFÓLIO DE PROJETOS */

.grade-projetos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.cartao-projeto {
    background-color: #101B2E;
    border: 1px solid #1E3452;
    border-radius: 14px;
    overflow: hidden;
    transition: 0.3s;
}

.cartao-projeto:hover {
    transform: translateY(-6px);
    border-color: #38BDF8;
}

.imagem-projeto {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.imagem-projeto span {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 3px;
    text-shadow: 0 3px 15px #000000;
}

.barbearia {
    background: linear-gradient(135deg, #30251D, #8B633A, #17120F);
}

.padaria {
    background: linear-gradient(135deg, #5D321C, #C18A52, #24150F);
}

.academia {
    background: linear-gradient(135deg, #071B35, #0878A8, #07111F);
}

.petshop {
    background: linear-gradient(135deg, #164B48, #399D85, #102B38);
}

.info-projeto {
    padding: 25px;
}

.categoria {
    color: #38BDF8;
    font-size: 11px;
    letter-spacing: 2px;
}

.info-projeto h3 {
    font-size: 23px;
    margin: 12px 0;
}

.info-projeto p {
    color: #94A3B8;
    line-height: 1.7;
    margin-bottom: 20px;
}

.info-projeto a {
    color: #38BDF8;
    text-decoration: none;
    font-weight: bold;
}

.info-projeto a:hover {
    color: white;
}

/* ÁREA DE CONTATO */

#contato {
    padding: 100px 10%;
}

.area-contato {
    background: linear-gradient(135deg, #10233E, #0B1424);
    border: 1px solid #23466B;
    border-radius: 20px;
    padding: 70px 30px;
    text-align: center;
}

.area-contato h2 {
    font-size: clamp(30px, 4vw, 45px);
    max-width: 700px;
    margin: 20px auto;
}

.area-contato > p:not(.subtitulo) {
    color: #94A3B8;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 30px;
}

.botao-contato {
    display: inline-block;
    background-color: #0284C7;
    color: white;
    padding: 17px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.botao-contato:hover {
    background-color: #38BDF8;
    transform: translateY(-3px);
}

/* RESPONSIVIDADE - TABLETS E CELULARES */

@media (max-width: 900px) {

    .grade-servicos {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* CELULARES */

@media (max-width: 600px) {

    header {
        flex-direction: column;
        gap: 20px;
        padding: 22px 5%;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }

    nav a {
        font-size: 14px;
    }

    #inicio {
        min-height: 65vh;
        padding: 80px 7%;
    }

    #inicio h2 {
        font-size: 38px;
    }

    section:not(#inicio) {
        padding: 65px 7%;
    }

    .titulo-secao h2 {
        font-size: 28px;
    }

    .grade-servicos {
        grid-template-columns: 1fr;
    }

    .grade-projetos {
        grid-template-columns: 1fr;
    }

    .imagem-projeto {
        height: 190px;
    }

    .area-contato {
        padding: 50px 20px;
    }

    .botao-contato {
        padding: 15px 20px;
        font-size: 14px;
    }

}
