@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;700&display=swap');

:root {
    --texto: #ffffff;
    --texto-suave: rgba(255, 255, 255, 0.7);
    --vidro: rgba(255, 255, 255, 0.04);
    --borda: rgba(255, 255, 255, 0.14);
    --brilho: 0 0 25px rgba(255, 255, 255, 0.12), 0 0 50px rgba(255, 255, 255, 0.06), 0 0 80px rgba(255, 255, 255, 0.03);
    --raio: 30px;
}

body {
    font-family: 'Sora', system-ui, sans-serif;
    color: var(--texto);
    background-color: #0b0b0b;
    background-image: url(assets/img/fundo.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    padding-bottom: 60px;
    position: relative;
}

/* fundo */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75));
    z-index: -1;
}

/* menu */
.nav {
    padding: 18px 0 0;
}

.nav-link {
    color: var(--texto);
    padding: 8px 22px;
    border: 1px solid var(--borda);
    border-radius: 999px;
    background: var(--vidro);
    backdrop-filter: blur(10px);
    transition: background-color 0.2s, box-shadow 0.2s;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--texto);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: var(--brilho);
}

/* containers */
.container {
    background-color: var(--vidro);
    border: 1px solid var(--borda);
    border-radius: var(--raio);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--brilho);
}

.container {
    max-width: 1500px;
    margin-top: 30px;
    padding: 50px 28px 56px;
    text-align: center;
}

/* topo */
.topo h1 {
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: clamp(2rem, 6vw, 3.25rem);
    margin-bottom: 12px;
}

.topo h3 {
    font-weight: 300;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--texto-suave);
    max-width: 36ch;
    margin: 0 auto 32px;
    line-height: 1.5;
}

.avatar {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: var(--raio);
    border: 1px solid var(--borda);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.18), 0 0 70px rgba(255, 255, 255, 0.07);
}

/* botões */
.botoes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 44px;
    padding-top: 44px;
    border-top: 1px solid var(--borda);
}

.botoes a {
    text-decoration: none;
}

.botoes button {
    width: 200px;
    height: 50px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, color 0.2s;
}

.botoes button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* row e col */
.sobre {
    margin-top: 44px;
    padding-top: 44px;
    border-top: 1px solid var(--borda);
    text-align: center;
}

.sobre > h2 {
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 28px;
}

.sobre .row {
    max-width: 720px;
    margin: 0 auto;
    align-items: center;
    text-align: left;
}

.sobre img {
    width: 200px;
    height: auto;
    border-radius: var(--raio);
    border: 1px solid var(--borda);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.sobre h3 {
    font-weight: 600;
    margin-bottom: 16px;
}

.sobre h4 {
    font-weight: 300;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--texto-suave);
    padding-left: 18px;
    border-left: 2px solid rgba(255, 255, 255, 0.35);
    max-width: 40ch;
}

/* acessibilidade */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}

/* celular */
@media (max-width: 767px) {
    .botoes button {
        width: 240px;
    }

    .container {
        margin-left: 12px;
        margin-right: 12px;
        padding: 36px 18px 40px;
    }

    .avatar {
        width: 220px;
        height: 220px;
    }

    .sobre .row {
        text-align: center;
        row-gap: 20px;
    }

    .sobre .col-5 {
        width: 100%;
    }

    .sobre h4 {
        margin: 0 auto;
        border-left: none;
        padding-left: 0;
    }
}