/* ==============================
   SOLVING PUZZLE
   Estilo principal do site
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #050816;
    color: white;
}

/* ==============================
   CABEÇALHO
================================= */

header {
    width: 100%;
    padding: 22px 8%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(5, 8, 22, 0.9);

    border-bottom: 1px solid rgba(0, 140, 255, 0.2);

    position: fixed;
    top: 0;
    z-index: 1000;
}

header h2 {
    color: #ffffff;
    font-size: 20px;
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;

    transition: 0.3s;
}

nav a:hover {
    color: #00aaff;
}

/* ==============================
   INÍCIO
================================= */

#inicio {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 120px 20px 80px;

    background:
        radial-gradient(circle at center,
        rgba(0, 140, 255, 0.18),
        transparent 45%);
}

#inicio h1 {
    font-size: clamp(40px, 7vw, 85px);

    line-height: 1.05;

    letter-spacing: 2px;

    margin-bottom: 25px;
}

#inicio h1::first-line {
    color: #ffffff;
}

#inicio p {
    max-width: 650px;

    color: #aeb8cc;

    font-size: 19px;

    line-height: 1.6;

    margin-bottom: 35px;
}

/* ==============================
   BOTÃO
================================= */

button {
    padding: 15px 32px;

    border: none;
    border-radius: 8px;

    background: #008cff;

    color: white;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;

    box-shadow:
        0 0 20px rgba(0, 140, 255, 0.3);
}

button:hover {
    background: #00aaff;

    transform: translateY(-3px);

    box-shadow:
        0 0 30px rgba(0, 170, 255, 0.5);
}

.botao-contato {
    display: inline-block;
    padding: 15px 32px;
    border-radius: 8px;
    background: #008cff;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(0, 140, 255, 0.3);
}

.botao-contato:hover {
    background: #00aaff;
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 170, 255, 0.5);
}

/* ==============================
   SERVIÇOS
================================= */

#servicos {
    min-height: 80vh;

    padding: 100px 8%;

    text-align: center;

    background: #070b1c;
}

#servicos > h2 {
    font-size: 40px;

    margin-bottom: 60px;
}

#servicos > div {
    display: inline-block;

    vertical-align: top;

    width: 260px;
    min-height: 180px;

    margin: 15px;

    padding: 30px 20px;

    background: #0b1128;

    border: 1px solid rgba(0, 140, 255, 0.2);

    border-radius: 15px;

    transition: 0.3s;
}

#servicos > div:hover {
    transform: translateY(-8px);

    border-color: #008cff;

    box-shadow:
        0 10px 35px rgba(0, 140, 255, 0.15);
}

#servicos h3 {
    margin-bottom: 15px;

    font-size: 20px;
}

#servicos p {
    color: #9da8bd;

    line-height: 1.5;
}

/* ==============================
   PROJETOS
================================= */

#projetos {
    padding: 120px 8%;

    background:
        linear-gradient(rgba(5, 8, 22, 0.94), rgba(5, 8, 22, 0.98)),
        radial-gradient(circle at 85% 15%, rgba(0, 140, 255, 0.16), transparent 38%);
}

.projetos-cabecalho {
    max-width: 680px;
    margin: 0 auto 60px;
    text-align: center;
}

.projetos-cabecalho span {
    color: #008cff;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
}

.projetos-cabecalho h2 {
    margin: 18px 0;
    font-size: clamp(35px, 5vw, 60px);
    line-height: 1.1;
}

.projetos-cabecalho p {
    color: #9da8bd;
    font-size: 18px;
    line-height: 1.6;
}

.projetos-grid {
    max-width: 1180px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.projeto-card {
    position: relative;
    min-height: 285px;
    padding: 28px;
    overflow: hidden;
    background: #0b1128;
    border: 1px solid rgba(0, 140, 255, 0.2);
    border-radius: 15px;
    transition: 0.3s;
}

.projeto-card::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    right: -45px;
    bottom: -45px;
    border: 1px solid rgba(0, 140, 255, 0.2);
    border-radius: 50%;
}

.projeto-card:hover {
    transform: translateY(-8px);
    border-color: #008cff;
    box-shadow: 0 10px 35px rgba(0, 140, 255, 0.15);
}

.projeto-numero {
    margin-bottom: 28px;
    color: rgba(0, 170, 255, 0.6);
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.projeto-categoria {
    color: #00aaff;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.projeto-card h3 {
    margin: 10px 0 12px;
    font-size: 23px;
}

.projeto-card p {
    min-height: 72px;
    color: #9da8bd;
    line-height: 1.5;
}

.projeto-card a {
    display: inline-flex;
    gap: 8px;
    margin-top: 22px;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.projeto-card a:hover {
    color: #00aaff;
}

/* ==============================
   RODAPÉ
================================= */

footer {
    padding: 30px;

    text-align: center;

    background: #030510;

    color: #718096;

    border-top: 1px solid rgba(0, 140, 255, 0.15);
}

/* ==============================
   CELULAR
================================= */

@media (max-width: 700px) {

    header {
        padding: 18px 5%;

        flex-direction: column;

        gap: 15px;
    }

    nav {
        gap: 15px;
    }

    nav a {
        font-size: 13px;
    }

    #inicio h1 {
        font-size: 45px;
    }

    #inicio p {
        font-size: 16px;
    }

    #servicos {
        padding: 80px 5%;
    }

    #servicos > div {
        width: 90%;
        max-width: 320px;
    }

    #projetos {
        padding: 80px 5%;
    }

    #sobre {
        padding: 80px 5%;
    }

    .sobre-container {
        width: 100%;
    }

    .equipe {
        gap: 25px;
    }

    .projetos-grid {
        grid-template-columns: 1fr;
    }

    .projeto-card {
        min-height: 260px;
    }
}
header img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

/* ==============================
   SOBRE
================================= */

#sobre {
    min-height: 70vh;
    padding: 120px 8%;

    display: flex;
    align-items: center;

    background: #050816;
}

.sobre-container {
    max-width: 900px;
    margin: auto;
}

.sobre-texto > span {
    color: #008cff;

    font-size: 14px;
    font-weight: bold;

    letter-spacing: 3px;
}

.sobre-texto h2 {
    font-size: clamp(35px, 5vw, 60px);

    margin: 20px 0 30px;

    line-height: 1.1;
}

.sobre-texto p {
    color: #9da8bd;

    max-width: 700px;

    font-size: 18px;

    line-height: 1.7;

    margin-bottom: 15px;
}

/* ==============================
   EQUIPE
================================= */

.equipe {
    display: flex;

    gap: 60px;

    margin-top: 45px;
}

.equipe div {
    display: flex;
    flex-direction: column;
}

.equipe strong {
    font-size: 35px;

    color: #008cff;
}

.equipe small {
    color: #8c97ac;

    margin-top: 5px;
}

@media (max-width: 700px) {
    .equipe {
        gap: 25px;
    }
}

/* ==============================
   CONTATO
================================= */

#contato {
    padding: 120px 8%;
    background: #070b1c;
    border-top: 1px solid rgba(0, 140, 255, 0.12);
}

.contato-conteudo {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.contato-conteudo > span {
    color: #008cff;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
}

.contato-conteudo h2 {
    margin: 18px 0;
    font-size: clamp(35px, 5vw, 60px);
    line-height: 1.1;
}

.contato-conteudo > p {
    max-width: 650px;
    margin: 0 auto 45px;
    color: #9da8bd;
    font-size: 18px;
    line-height: 1.6;
}

.contato-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: left;
}

.contato-links a {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    padding: 24px;
    background: #0b1128;
    border: 1px solid rgba(0, 140, 255, 0.2);
    border-radius: 15px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.contato-links a:hover {
    transform: translateY(-5px);
    border-color: #008cff;
    box-shadow: 0 10px 35px rgba(0, 140, 255, 0.15);
}

.contato-label {
    grid-column: 1 / -1;
    color: #00aaff;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contato-links strong {
    overflow-wrap: anywhere;
    font-size: 15px;
}

.contato-links a > span:last-child {
    color: #00aaff;
    font-size: 20px;
}

@media (max-width: 700px) {
    #contato {
        padding: 80px 5%;
    }

    .contato-links {
        grid-template-columns: 1fr;
    }
}