@import url('https://fonts.googleapis.com/css2?family=Krona+One&family=Montserrat:wght@300;400;600;700&display=swap');

:root {
    --bg: #0f0f0f;
    --bg-soft: #161616;
    --text: #f5f5f5;
    --text-soft: #bdbdbd;
    --primary: #22D4FD;
    --border: #2a2a2a;

    --font-title: 'Krona One', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* HEADER */

.cabecalho {
    border-bottom: 1px solid var(--border);
}

.cabecalho__menu {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 24px 0;
}

.cabecalho__menu__link {
    text-decoration: none;
    color: var(--text-soft);
    font-weight: 500;
    transition: 0.3s ease;
    position: relative;
}

.cabecalho__menu__link:hover {
    color: var(--primary);
}

.cabecalho__menu__link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background: var(--primary);
    transition: 0.3s ease;
}

.cabecalho__menu__link:hover::after {
    width: 100%;
}

/* HERO */

.apresentacao {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    padding: 80px 0;
}

.apresentacao__conteudo {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.apresentacao__conteudo__titulo {
    font-family: var(--font-title);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.3;
}

.apresentacao__conteudo__titulo strong {
    color: var(--primary);
}

.apresentacao__conteudo__texto {
    font-size: 1.1rem;
    color: var(--text-soft);
    max-width: 550px;
}

.apresentacao__botoes {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.botao {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.botao--primary {
    background: var(--primary);
    color: #000;
}

.botao--primary:hover {
    transform: translateY(-3px);
}

.botao--outline {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.botao--outline:hover {
    background: var(--primary);
    color: #000;
}

/* IMAGEM */

.apresentacao__imagem {
    position: relative;
    flex: 1;
    max-width: 600px;
    width: 100%;
    border-radius: 16px;
    z-index: 2;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(34, 212, 253, 0.25);

    transition: 0.4s ease;
    position: relative;
    z-index: 2;
}

.apresentacao__imagem:hover {
    transform: scale(1.02);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.7),
        0 0 60px rgba(34, 212, 253, 0.4);
}

.apresentacao__imagem-wrapper {
    position: relative;
    flex: 1;
    max-width: 600px;
}

.apresentacao__imagem-wrapper::before {
    content: "";
    position: absolute;
    inset: -20px;
    border-radius: 24px;
    background: radial-gradient(circle at center,
        rgba(34, 212, 253, 0.15),
        transparent 70%);
    filter: blur(40px);
    z-index: 1;
}

/* REDES */

.redes {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.redes a {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: 0.3s ease;
}

.redes a:hover {
    border-color: var(--primary);
}

/* SEÇÕES */

.section {
    padding: 80px 0;
}

.section h1 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 32px;
}

.section p {
    color: var(--text-soft);
    margin-bottom: 16px;
    max-width: 700px;
}

/* CURRICULO GRID */


.grid-curriculo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.card {
    background: var(--bg-soft);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.card h3 {
    margin-bottom: 16px;
    color: var(--primary);
}

/* PROJETOS */

.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.projeto-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s ease;
}

.projeto-card:hover {
    transform: translateY(-6px);
}

.projeto-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.projeto-conteudo {
    padding: 24px;
}

.projeto-conteudo h3 {
    margin-bottom: 12px;
    color: var(--primary);
}

.projeto-conteudo p {
    color: var(--text-soft);
    margin-bottom: 16px;
}

.tecnologias {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tecnologias span {
    background: #111;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    border: 1px solid var(--border);
}

.projeto-botoes {
    display: flex;
    gap: 12px;
}

/* FOOTER */

.rodape {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border);
    color: var(--text-soft);
}

/* RESPONSIVO */

@media (max-width: 900px) {

    .apresentacao {
        flex-direction: column-reverse;
        text-align: center;
    }

    .apresentacao__conteudo__texto {
        max-width: 100%;
        padding: 1em;
    }

    .apresentacao__conteudo__titulo{
        text-align: center;
    }

    .apresentacao__botoes {
        justify-content: center;
        flex-wrap: wrap;
    }

    .redes {
        justify-content: center;
    }

}

@media (max-width: 768px) {

    .container {
        padding: 0 18px;
    }

    .apresentacao {
        padding: 40px 0;
    }

    .apresentacao__imagem {
        width: 100%;
        max-width: 100%;
    }

     .apresentacao__conteudo__texto {
        max-width: 100%;
        padding: 1em;
    }

     .apresentacao__conteudo__titulo{
        text-align: center;
    }

    .section {
        padding: 50px 0;
    }

    .card {
        padding: 20px;
    }

}