body {
    font-family: 'Roboto', Arial, sans-serif;
    background: #181a20;
    margin: 0;
    color: #e5e9f0;
}
.sidebar-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 64px;
    background: #23272f;
    border-radius: 0 24px 24px 0;
    box-shadow: 2px 0 16px rgba(0,0,0,0.12);
    transition: width 0.3s cubic-bezier(.4,0,.2,1);
    z-index: 1000;
    overflow-x: hidden;
}
.sidebar-menu:hover,
.sidebar-menu:focus-within {
    width: 220px;
}
.sidebar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2.5rem;
}
.sidebar-menu a {
    color: #e5e9f0;
    text-decoration: none;
    font-weight: 500;
    padding: 0.7rem 1.2rem;
    border-radius: 12px;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
}
.sidebar-menu a.active, .sidebar-menu a:hover {
    background: #3b4252;
    color: #88c0d0;
}
.menu-icon {
    font-size: 1.5rem;
    min-width: 32px;
    text-align: center;
}
.menu-text {
    opacity: 0;
    transition: opacity 0.2s;
}
.sidebar-menu:hover .menu-text,
.sidebar-menu:focus-within .menu-text {
    opacity: 1;
}
.portfolio-container {
    max-width: 900px;
    min-height: 90vh;
    margin: 2rem auto 2rem 0;
    margin-left: calc(50vw - 450px + 64px); /* Centraliza considerando sidebar retraída */
    padding: 2.5rem 2rem 2rem 2rem;
    background: #23272f;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.perfil {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    gap: 0.5rem;
}
.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #88c0d0;
    margin-bottom: 1rem;
    background: #181a20;
    object-fit: cover;
    box-shadow: 0 2px 12px rgba(136,192,208,0.10);
}
.perfil h1 {
    margin: 0.2rem 0 0.1rem 0;
    font-size: 2.2rem;
    font-weight: 700;
    color: #88c0d0;
    letter-spacing: 1px;
}
.profissao {
    color: #b0beca;
    font-size: 1.15rem;
    margin-bottom: 1rem;
    font-weight: 500;
}
.redes {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 0.5rem;
}
.icon-link {
    color: #88c0d0;
    background: #181a20;
    border-radius: 50%;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    font-size: 1.2rem;
    border: 2px solid transparent;
}
.icon-link:hover {
    background: #88c0d0;
    color: #23272f;
    border-color: #88c0d0;
    box-shadow: 0 4px 16px rgba(136,192,208,0.15);
}
.sobre {
    background: #181a20;
    border-radius: 18px;
    padding: 2rem 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    max-width: 600px;
    width: 100%;
    text-align: center;
}
.sobre h2 {
    margin-top: 0;
    color: #88c0d0;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}
.sobre p {
    font-size: 1.08rem;
    color: #b0beca;
    margin: 0.7rem 0 0 0;
}
.projetos {
    margin-bottom: 2rem;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.projetos h2 {
    color: #88c0d0;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}
.cards-projetos {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    width: 100%;
}
.card-projeto {
    background: #181a20;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 1.5rem 1.2rem;
    min-width: 220px;
    max-width: 270px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.2s;
    border: 1.5px solid #23272f;
    margin-bottom: 0.5rem;
}
.card-projeto:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 6px 24px rgba(136,192,208,0.10);
    border-color: #88c0d0;
}
.card-projeto h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.18rem;
    color: #88c0d0;
    letter-spacing: 0.5px;
}
.card-projeto p {
    margin: 0 0 1rem 0;
    color: #b0beca;
    font-size: 1.01rem;
}
.card-projeto a {
    margin-top: auto;
    color: #23272f;
    background: #88c0d0;
    border-radius: 8px;
    padding: 0.45rem 1.1rem;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    font-size: 1.01rem;
    letter-spacing: 0.2px;
}
.card-projeto a:hover {
    background: #23272f;
    color: #88c0d0;
    border: 1.5px solid #88c0d0;
}
.contato {
    background: #181a20;
    border-radius: 18px;
    padding: 2rem 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    max-width: 600px;
    width: 100%;
    text-align: center;
}
.contato h2 {
    margin-top: 0;
    color: #88c0d0;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}
.contato p {
    font-size: 1.08rem;
    color: #b0beca;
    margin: 0 0 1.5rem 0;
}
.formulario-contato {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}
.campo-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.campo-form label {
    color: #88c0d0;
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
}
.campo-form input,
.campo-form textarea {
    background: #23272f;
    border: 2px solid #3b4252;
    border-radius: 8px;
    padding: 0.8rem;
    color: #e5e9f0;
    font-size: 1rem;
    font-family: 'Roboto', Arial, sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.campo-form input:focus,
.campo-form textarea:focus {
    outline: none;
    border-color: #88c0d0;
    box-shadow: 0 0 0 3px rgba(136,192,208,0.1);
}
.campo-form input::placeholder,
.campo-form textarea::placeholder {
    color: #6b7280;
}
.btn-enviar {
    background: #88c0d0;
    color: #23272f;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    letter-spacing: 0.3px;
    margin-top: 0.5rem;
}
.btn-enviar:hover {
    background: #23272f;
    color: #88c0d0;
    border: 2px solid #88c0d0;
    box-shadow: 0 4px 16px rgba(136,192,208,0.15);
}
footer {
    background: #23272f;
    color: #e5e9f0;
    border-radius: 18px 18px 0 0;
    text-align: center;
    padding: 1.2rem 0 0.7rem 0;
    margin-top: 2rem;
    width: 100%;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.10);
}
.footer-content {
    font-size: 1rem;
    letter-spacing: 0.2px;
}
@media (max-width: 1100px) {
    .portfolio-container {
        margin-left: 80px;
    }
}
@media (max-width: 900px) {
    .portfolio-container {
        margin-left: 64px;
        max-width: 98vw;
        padding: 1.5rem 0.5rem;
    }
    .sobre, .projetos, .contato {
        max-width: 98vw;
    }
}
@media (max-width: 700px) {
    .portfolio-container {
        padding: 1rem 0.2rem;
        margin-left: 54px;
        min-height: unset;
    }
    .cards-projetos {
        flex-direction: column;
        gap: 1rem;
    }
    .card-projeto {
        max-width: 100%;
        min-width: 0;
    }
    .contato {
        padding: 1.5rem 1rem;
    }
    .formulario-contato {
        gap: 1.2rem;
    }
    .campo-form input,
    .campo-form textarea {
        padding: 0.7rem;
        font-size: 0.95rem;
    }
    .btn-enviar {
        padding: 0.7rem 1.2rem;
        font-size: 1rem;
    }
    .sidebar-menu {
        width: 48px;
    }
    .sidebar-menu:hover,
    .sidebar-menu:focus-within {
        width: 160px;
    }
}
