/* 1 RESET E VARIÁVEIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #12122a;
    --text-primary: #e0e0ff;
    --text-secondary: #a0a0c0;
    --accent-color: #6c63ff;
    --accent-hover: #8b83ff;
    --accent-glow: rgba(108, 99, 255, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-hover: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(108, 99, 255, 0.4);
    --font-principal: 'Poppins', sans-serif;
    --transition-padrao: 0.3s ease;
    --transition-lenta: 0.5s ease;
}
/* Fim bloco 1 RESET E VARIÁVEIS */

/* 2 ESTILOS GERAIS */
body {
    font-family: var(--font-principal);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: 90px; /* Compensa altura do header fixo */
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Classes utilitárias */
.ativa {
    display: flex !important;
}
/* Fim bloco 2 ESTILOS GERAIS */

/* 3 TIPOGRAFIA E LINKS */
a {
    text-decoration: none;
    color: inherit;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-color), #a342ff);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
    transition: transform var(--transition-padrao), box-shadow var(--transition-padrao);
    border: none;
    cursor: pointer;
    font-family: var(--font-principal);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.6);
}
/* Fim bloco 3 TIPOGRAFIA E LINKS */

/* 4 HEADER E NAVEGAÇÃO */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    flex-wrap: nowrap;
    background: transparent;
    transition: all 0.4s ease;
    height: auto;
    min-height: 70px;
}

/* Classe adicionada via JS quando a página é rolada */
header.rolado {
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(108, 99, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding: 10px 5%;
    min-height: 60px;
}

#logo {
    z-index: 10;
    display: flex;
    align-items: center;
    transition: transform 0.4s ease;
    flex-shrink: 0;
}

#logo:hover {
    transform: scale(1.05);
}

#logo-img {
    height: 130px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    transition: height 0.4s ease, filter 0.4s ease;
    /* Sombreamento para visibilidade */
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.8))
            drop-shadow(0 0 20px rgba(0, 0, 0, 0.5))
            drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6))
            brightness(1.1);
}

header.rolado #logo-img {
    height: 64px;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.7))
            drop-shadow(0 0 15px rgba(0, 0, 0, 0.4))
            drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5))
            brightness(1.05);
}

/* 4.1 Menu Desktop */
#menu-desktop {
    display: flex;
    gap: 30px;
    flex-shrink: 0;
}

.nav-link {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-principal);
    font-size: 1rem;
    cursor: pointer;
    transition: color var(--transition-padrao), transform 0.2s;
    padding-bottom: 5px;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-padrao);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--text-primary);
    transform: translateY(-2px);
}
.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}
/* Fim sub-bloco 4.1 Menu Desktop */
/* Fim bloco 4 HEADER E NAVEGAÇÃO */

/* 5 OVERLAY DO MENU MOBILE */
#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#menu-overlay.ativo {
    opacity: 1;
    visibility: visible;
}
/* Fim bloco 5 OVERLAY DO MENU MOBILE */

/* 6 MENU MOBILE - DESIGN PREMIUM */
#menu-mobile {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, rgba(18, 18, 42, 0.98) 0%, rgba(10, 10, 26, 0.98) 100%);
    backdrop-filter: blur(30px);
    border-left: 1px solid rgba(108, 99, 255, 0.15);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    z-index: 30;
    display: flex;
    flex-direction: column;
    padding: 0;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#menu-mobile.aberto {
    right: 0;
}

/* 6.1 Cabeçalho do menu mobile */
.menu-mobile-header {
    padding: 30px 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.menu-mobile-titulo {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}
/* Fim sub-bloco 6.1 Cabeçalho */

/* 6.2 Links do menu mobile */
.menu-mobile-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 15px;
    gap: 5px;
}

.nav-link-mobile {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--text-secondary);
    font-family: var(--font-principal);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link-mobile::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--accent-color);
    border-radius: 0 3px 3px 0;
    transition: height 0.3s ease;
}

.nav-link-mobile:hover {
    background: rgba(108, 99, 255, 0.08);
    border-color: rgba(108, 99, 255, 0.15);
    color: var(--text-primary);
    transform: translateX(5px);
}

.nav-link-mobile:hover::before {
    height: 60%;
}

.nav-link-mobile:active {
    background: rgba(108, 99, 255, 0.15);
    transform: scale(0.98);
}

.nav-icone {
    font-size: 1.2rem;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-link-mobile:hover .nav-icone {
    background: rgba(108, 99, 255, 0.2);
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.2);
}

.nav-texto {
    font-weight: 500;
}
/* Fim sub-bloco 6.2 Links */

/* 6.3 Footer do menu mobile */
.menu-mobile-footer {
    padding: 20px 15px 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.menu-cta-mobile {
    display: block;
    text-align: center;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--accent-color), #a342ff);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.menu-cta-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.5);
}

.menu-cta-mobile:active {
    transform: scale(0.97);
}
/* Fim sub-bloco 6.3 Footer */
/* Fim bloco 6 MENU MOBILE */

/* 7 BOTÃO HAMBURGUER */
#menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    cursor: pointer;
    z-index: 40;
    gap: 6px;
    transition: all 0.3s ease;
}

#menu-toggle:hover {
    background: rgba(108, 99, 255, 0.1);
    border-color: rgba(108, 99, 255, 0.2);
}

#menu-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

/* Animação do ícone hambúrguer */
#menu-toggle.ativo {
    background: rgba(108, 99, 255, 0.15);
    border-color: rgba(108, 99, 255, 0.3);
}

#menu-toggle.ativo .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

#menu-toggle.ativo .bar:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

#menu-toggle.ativo .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
/* Fim bloco 7 BOTÃO HAMBURGUER */

/* 8 SEÇÕES DE CONTEÚDO */
.secao-conteudo {
    display: none;
    width: 100%;
    animation: fadeSlideIn 0.6s ease-out;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 5% 2rem;
    min-height: calc(100vh - 160px);
}
/* Fim bloco 8 SEÇÕES DE CONTEÚDO */

/* 9 SEÇÃO HERO */
#hero {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

#ola-texto {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    min-height: 5rem;
}

.subtitulo {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

#foto-container {
    flex: 0.5;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 9.1 Container dos anéis orbitais */
.foto-orbit {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 340px;
    height: 340px;
}

/* 9.2 Container do swap foto/habilidades */
.skills-swap-container {
    position: relative;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 9.3 Itens do swap (foto e habilidades) */
.swap-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Foto */
.foto-item {
    width: 260px;
    max-width: 100%;
    border-radius: 50%;
    z-index: 2;
    opacity: 1;
    box-shadow: 
        0 0 30px rgba(108, 99, 255, 0.4),
        0 0 60px rgba(108, 99, 255, 0.2);
    transition: opacity 0.6s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.foto-item:hover {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 
        0 0 40px rgba(108, 99, 255, 0.6),
        0 0 80px rgba(108, 99, 255, 0.3),
        0 0 120px rgba(162, 66, 255, 0.2);
}

/* Classe para esconder a foto */
.foto-item.hidden {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

/* Habilidades */
.skill-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 
        0 0 20px var(--accent-glow),
        0 0 40px var(--accent-color);
    background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, rgba(10, 10, 26, 0.6) 70%);
    border: 2px solid rgba(108, 99, 255, 0.3);
    box-shadow: 
        inset 0 0 30px rgba(108, 99, 255, 0.1),
        0 0 40px rgba(108, 99, 255, 0.2);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6);
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 1;
}

/* Classe para mostrar a habilidade */
.skill-item.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    z-index: 3;
}

/* 9.4 Anéis orbitais */
.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid transparent;
    animation: orbitRotate linear infinite;
}

/* Anel 1 - Mais próximo */
.orbit-ring-1 {
    width: 300px;
    height: 300px;
    border-top-color: rgba(108, 99, 255, 0.5);
    border-right-color: rgba(108, 99, 255, 0.2);
    border-bottom-color: rgba(162, 66, 255, 0.1);
    border-left-color: rgba(108, 99, 255, 0.3);
    animation-duration: 6s;
}

/* Anel 2 - Médio */
.orbit-ring-2 {
    width: 340px;
    height: 340px;
    border-top-color: rgba(162, 66, 255, 0.1);
    border-right-color: rgba(162, 66, 255, 0.4);
    border-bottom-color: rgba(108, 99, 255, 0.3);
    border-left-color: rgba(162, 66, 255, 0.1);
    animation-duration: 10s;
    animation-direction: reverse;
}

/* Anel 3 - Mais distante */
.orbit-ring-3 {
    width: 380px;
    height: 380px;
    border-top-color: rgba(108, 99, 255, 0.15);
    border-right-color: rgba(108, 99, 255, 0.05);
    border-bottom-color: rgba(162, 66, 255, 0.2);
    border-left-color: rgba(108, 99, 255, 0.08);
    animation-duration: 14s;
    border-style: dashed;
    border-width: 1px;
}

/* 9.5 Animação de rotação dos anéis */
@keyframes orbitRotate {
    from { 
        transform: translate(-50%, -50%) rotate(0deg); 
    }
    to { 
        transform: translate(-50%, -50%) rotate(360deg); 
    }
}

/* 9.6 Pontos de luz nos anéis */
.orbit-ring::before,
.orbit-ring::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 
        0 0 8px var(--accent-color),
        0 0 20px var(--accent-color),
        0 0 40px var(--accent-color);
}

/* Pontos no Anel 1 */
.orbit-ring-1::before {
    width: 8px;
    height: 8px;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-ring-1::after {
    width: 5px;
    height: 5px;
    bottom: -3px;
    right: 30%;
}

/* Pontos no Anel 2 */
.orbit-ring-2::before {
    width: 10px;
    height: 10px;
    top: -6px;
    left: 25%;
    background: #a342ff;
    box-shadow: 
        0 0 8px #a342ff,
        0 0 20px #a342ff,
        0 0 40px #a342ff;
}

.orbit-ring-2::after {
    width: 6px;
    height: 6px;
    bottom: -4px;
    right: 20%;
}

/* Ponto no Anel 3 (apenas 1) */
.orbit-ring-3::before {
    width: 6px;
    height: 6px;
    top: -4px;
    right: 35%;
    background: rgba(108, 99, 255, 0.6);
    box-shadow: 
        0 0 5px rgba(108, 99, 255, 0.6),
        0 0 15px rgba(108, 99, 255, 0.4);
}

.orbit-ring-3::after {
    display: none;
}
/* Fim sub-bloco 9.6 */
/* Fim bloco 9 SEÇÃO HERO */

/* 10 SEÇÃO PROJETOS */
#projetos {
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
}

.projetos-header {
    text-align: center;
    margin-bottom: 3rem;
}

.projetos-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.projetos-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #a342ff);
    border-radius: 2px;
}

.projetos-subtitulo {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

#grid-projetos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
}

.card-projeto {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-lenta);
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.card-projeto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent-glow), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-lenta);
    z-index: 0;
    pointer-events: none;
}

.card-projeto:hover::before {
    opacity: 0.15;
}

.card-projeto:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px var(--accent-glow);
}

.card-projeto-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.card-projeto-corpo {
    padding: 25px;
    position: relative;
    z-index: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-projeto-titulo {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.card-projeto-descricao {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-projeto-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.card-projeto-tag {
    background: rgba(108, 99, 255, 0.15);
    color: var(--accent-hover);
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(108, 99, 255, 0.2);
    white-space: nowrap;
}

.card-projeto-visitar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap var(--transition-padrao);
}

.card-projeto:hover .card-projeto-visitar {
    gap: 12px;
}

.card-projeto-visitar::after {
    content: '↗';
    transition: transform var(--transition-padrao);
}

.card-projeto:hover .card-projeto-visitar::after {
    transform: translate(4px, -4px);
}

/* 10.1 CTA da seção projetos */
.projetos-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    transition: border-color var(--transition-padrao), box-shadow var(--transition-padrao);
}

.projetos-cta:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.15);
}

.projetos-cta p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}
/* Fim sub-bloco 10.1 CTA */
/* Fim bloco 10 SEÇÃO PROJETOS */

/* 11 SEÇÃO SOBRE */
#sobre {
    justify-content: center;
}

#sobre-content {
    max-width: 800px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
}

#sobre-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

#sobre-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

#sobre-content p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

#sobre-content ul {
    list-style-type: none;
    padding-left: 20px;
}

#sobre-content ul li {
    margin-bottom: 10px;
}

#sobre-content ul li::before {
    content: "▹";
    color: var(--accent-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* 11.1 CTA da seção sobre */
.sobre-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.sobre-cta p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}
/* Fim sub-bloco 11.1 CTA */
/* Fim bloco 11 SEÇÃO SOBRE */

/* 12 FOOTER */
footer {
    text-align: center;
    padding: 20px 5%;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

footer span {
    color: var(--accent-color);
    font-weight: 600;
}
/* Fim bloco 12 FOOTER */

/* 13 RESPONSIVIDADE */
@media (max-width: 900px) {
    /* 13.1 Ajustes gerais mobile */
    body {
        padding-top: 70px;
    }

    header {
        padding: 10px 4%;
        min-height: 60px;
    }

    header.rolado {
        padding: 8px 4%;
        min-height: 50px;
    }

        #logo-img {
        height: 70px;
        max-width: 240px;
        filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.7))
                drop-shadow(0 0 15px rgba(0, 0, 0, 0.4))
                drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5))
                brightness(1.1);
    }

    header.rolado #logo-img {
        height: 40px;
        filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.6))
                drop-shadow(0 0 12px rgba(0, 0, 0, 0.3))
                drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    }
    /* Fim sub-bloco 13.1 Ajustes gerais mobile */

    /* 13.2 Ocultar menu desktop, mostrar hamburguer */
    #menu-desktop {
        display: none;
    }

    #menu-toggle {
        display: flex;
    }
    /* Fim sub-bloco 13.2 Menu */

    /* 13.3 Hero */
    #hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 1rem;
    }
    #ola-texto {
        font-size: 2.5rem;
    }

    /* Ajuste dos anéis para mobile */
    .foto-orbit {
        width: 250px;
        height: 250px;
        margin-bottom: 1rem;
    }

    .skills-swap-container {
        width: 180px;
        height: 180px;
    }

    .foto-item {
        width: 180px;
    }

    .skill-item {
        width: 180px;
        height: 180px;
        font-size: 2.5rem;
    }

    .orbit-ring-1 {
        width: 210px;
        height: 210px;
    }

    .orbit-ring-2 {
        width: 240px;
        height: 240px;
    }

    .orbit-ring-3 {
        width: 270px;
        height: 270px;
    }
    /* Fim sub-bloco 13.3 Hero */

    /* 13.4 Grid de projetos */
    #grid-projetos {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .projetos-header h2 {
        font-size: 2rem;
    }
    /* Fim sub-bloco 13.4 Grid */

    /* 13.5 Ajustes para telas muito pequenas */
    @media (max-width: 400px) {
        body {
            padding-top: 60px;
        }

        header {
            padding: 8px 3%;
            min-height: 50px;
        }

        header.rolado {
            padding: 6px 3%;
            min-height: 45px;
        }

                #logo-img {
            height: 60px;
            max-width: 200px;
            filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.7))
                    drop-shadow(0 0 12px rgba(0, 0, 0, 0.4))
                    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5))
                    brightness(1.1);
        }

        header.rolado #logo-img {
            height: 35px;
            filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.6))
                    drop-shadow(0 0 10px rgba(0, 0, 0, 0.3))
                    drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
        }

        #menu-toggle {
            width: 36px;
            height: 36px;
        }

        #ola-texto {
            font-size: 2rem;
        }

        .subtitulo {
            font-size: 1rem;
        }

        /* Ajuste dos anéis para telas muito pequenas */
        .foto-orbit {
            width: 210px;
            height: 210px;
        }

        .skills-swap-container {
            width: 150px;
            height: 150px;
        }

        .foto-item {
            width: 150px;
        }

        .skill-item {
            width: 150px;
            height: 150px;
            font-size: 2rem;
        }

        .orbit-ring-1 {
            width: 175px;
            height: 175px;
        }

        .orbit-ring-2 {
            width: 200px;
            height: 200px;
        }

        .orbit-ring-3 {
            width: 225px;
            height: 225px;
        }
    }
    /* Fim sub-bloco 13.5 Telas muito pequenas */
}
/* Fim bloco 13 RESPONSIVIDADE */