:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #01a0e1;
    --text-light: #666666;
    --overlay-dark: rgba(0, 0, 0, 0.6);
    --overlay-light: rgba(0, 0, 0, 0.3);
    --nav-h: 80px;
    --nav-h-mobile: 55px;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    overflow-x: hidden;
    overflow-y: hidden;
}

.scroll-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    will-change: transform;
}

/* =========================================================
   BACKGROUND DINÂMICO
   ========================================================= */
.dynamic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, 
        #e21e25 0%, 
        #009746 35%, 
        #01a0e1 70%, 
        #e21e25 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.dynamic-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(226, 30, 37, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 151, 70, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(1, 160, 225, 0.3) 0%, transparent 50%);
    animation: floatingOrbs 20s ease-in-out infinite;
}

.dynamic-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(226, 30, 37, 0.1) 0%, 
        rgba(0, 151, 70, 0.1) 50%, 
        rgba(1, 160, 225, 0.1) 100%);
    opacity: 0.8;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatingOrbs {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

@keyframes backgroundShift {
    0% { transform: translateX(-10px) translateY(-10px); }
    100% { transform: translateX(10px) translateY(10px); }
}

.section-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   NAVEGAÇÃO
   ========================================================= */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    height: var(--nav-h);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo img {
    max-height: 70px;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Estilos para links de redes sociais - ADICIONAR */
.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-link {
    color: var(--secondary-color);
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    color: var(--accent-color);
    background: rgba(255, 107, 53, 0.2);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    padding-top: 5px;
    max-height: 70px;
    max-width: 350px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.back-button {
    background: rgba(255, 107, 53, 0.9);
    color: var(--secondary-color);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-button:hover {
    background: rgba(229, 90, 43, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

/* =========================================================
   SEÇÕES GERAIS
   ========================================================= */
section {
    width: 100%;
    min-height: 100vh;
    padding: 120px 40px 80px 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#section-1,
#section-2,
#section-3,
#section-4,
#section-5 {
    color: var(--secondary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #FFF;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 3rem;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    margin-bottom: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   SEÇÃO 2 - APLICAÇÕES
   ========================================================= */
.applications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.application-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.application-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.application-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.application-card p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
    opacity: 0.95;
}

/* =========================================================
   SEÇÃO 3 - ESCOLAS & PERSONALIZAÇÃO
   ========================================================= */
#section-3 {
    background: linear-gradient(135deg, #2E8B57 0%, #228B22 100%);
    color: white;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 40px 0;
    box-sizing: border-box;
    overflow: hidden;
}

#section-3 .combined-content {
    display: flex;
    flex-direction: row;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
    width: 100%;
    height: 100%;
}

#section-3 .content-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#section-3 .content-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

#section-3 .content-icon i {
    font-size: 2rem;
    color: white;
}

#section-3 .content-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

#section-3 .content-text p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 12px;
    opacity: 0.9;
}

/* =========================================================
   SEÇÃO 4 - HABILIDADES DESENVOLVIDAS
   ========================================================= */
#section-4 {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, 
        rgba(1, 160, 225, 0.1) 0%, 
        rgba(138, 43, 226, 0.1) 50%, 
        rgba(30, 144, 255, 0.1) 100%);
    overflow: hidden;
}

#section-4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(1, 160, 225, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(138, 43, 226, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(30, 144, 255, 0.2) 0%, transparent 50%);
    animation: backgroundShift 8s ease-in-out infinite alternate;
    z-index: 1;
}

#section-4 .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

#section-4 h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

/* DESKTOP - 4 colunas */
#section-4 .skills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 16px;
    max-height: calc(100vh - 180px);
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
    justify-content: center;
    align-content: center;
}

/* Layout específico para organizar os 11 cards no desktop */
#section-4 .skill-card:nth-child(1) { grid-column: 1; grid-row: 1; }
#section-4 .skill-card:nth-child(2) { grid-column: 2; grid-row: 1; }
#section-4 .skill-card:nth-child(3) { grid-column: 3; grid-row: 1; }
#section-4 .skill-card:nth-child(4) { grid-column: 4; grid-row: 1; }
#section-4 .skill-card:nth-child(5) { grid-column: 1; grid-row: 2; }
#section-4 .skill-card:nth-child(6) { grid-column: 2; grid-row: 2; }
#section-4 .skill-card:nth-child(7) { grid-column: 3; grid-row: 2; }
#section-4 .skill-card:nth-child(8) { grid-column: 4; grid-row: 2; }
#section-4 .skill-card:nth-child(9) { grid-column: 1; grid-row: 3; }
#section-4 .skill-card:nth-child(10) { grid-column: 2 / span 2; grid-row: 3; }
#section-4 .skill-card:nth-child(11) { grid-column: 4; grid-row: 3; }

.skill-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.2rem 0.8rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-card:hover {
    transform: translateY(-5px) scale(1.02);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.skill-card i {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.skill-card:nth-child(1) i { color: #ff6b6b; }
.skill-card:nth-child(2) i { color: #4ecdc4; }
.skill-card:nth-child(3) i { color: #45b7d1; }
.skill-card:nth-child(4) i { color: #96ceb4; }
.skill-card:nth-child(5) i { color: #feca57; }
.skill-card:nth-child(6) i { color: #ff9ff3; }
.skill-card:nth-child(7) i { color: #54a0ff; }
.skill-card:nth-child(8) i { color: #5f27cd; }
.skill-card:nth-child(9) i { color: #00d2d3; }
.skill-card:nth-child(10) i { color: #ff6348; }
.skill-card:nth-child(11) i { color: #2ed573; }

.skill-card:hover i {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.skill-card p {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
    position: relative;
    z-index: 2;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Card 10 (central) com estilo especial */
.skill-card:nth-child(10) {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.skill-card:nth-child(10) p {
    font-size: 0.85rem;
    line-height: 1.2;
}

/* =========================================================
   SEÇÃO 5 - CTA
   ========================================================= */
#section-5 {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, 
        rgba(226, 30, 37, 0.1) 0%, 
        rgba(255, 107, 53, 0.1) 50%, 
        rgba(226, 30, 37, 0.1) 100%);
    text-align: center;
}

#section-5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(226, 30, 37, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 107, 53, 0.2) 0%, transparent 50%);
    animation: backgroundShift 6s ease-in-out infinite alternate;
    z-index: 1;
}

#section-5 .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

#section-5 h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color) 0%, #e55a2b 100%);
    color: var(--secondary-color);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, #e55a2b 0%, var(--accent-color) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

/* TABLET - 3 colunas para skills */
@media (max-width: 1024px) and (min-width: 769px) {
    #section-4 .skills {
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: repeat(4, 1fr);
        gap: 14px;
        max-width: 700px;
    }
    
    /* Layout para 3 colunas no tablet */
    #section-4 .skill-card:nth-child(1) { grid-column: 1; grid-row: 1; }
    #section-4 .skill-card:nth-child(2) { grid-column: 2; grid-row: 1; }
    #section-4 .skill-card:nth-child(3) { grid-column: 3; grid-row: 1; }
    #section-4 .skill-card:nth-child(4) { grid-column: 1; grid-row: 2; }
    #section-4 .skill-card:nth-child(5) { grid-column: 2; grid-row: 2; }
    #section-4 .skill-card:nth-child(6) { grid-column: 3; grid-row: 2; }
    #section-4 .skill-card:nth-child(7) { grid-column: 1; grid-row: 3; }
    #section-4 .skill-card:nth-child(8) { grid-column: 2; grid-row: 3; }
    #section-4 .skill-card:nth-child(9) { grid-column: 3; grid-row: 3; }
    #section-4 .skill-card:nth-child(10) { grid-column: 1 / span 2; grid-row: 4; }
    #section-4 .skill-card:nth-child(11) { grid-column: 3; grid-row: 4; }
}

/* MOBILE */
@media (max-width: 768px) {
    section {
        padding: 80px 20px 40px 20px;
        min-height: 100vh;
    }
    
    h2 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        margin-bottom: 2rem;
    }
    
    /* Seção 2 - Aplicações */
    .applications {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }
    
    .application-card {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .application-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .application-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Seção 3 - Escolas & Personalização */
    #section-3 {
        height: 100vh;
        padding: 10px 0;
        overflow: hidden;
    }
    
    #section-3 .combined-content {
        flex-direction: column;
        gap: 10px;
        height: 100%;
        justify-content: center;
        padding: 0 10px;
    }
    
    #section-3 .content-block {
        padding: 10px 8px;
        flex: 1;
        min-height: 0;
        justify-content: center;
    }
    
    #section-3 .content-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 8px;
    }
    
    #section-3 .content-icon i {
        font-size: 1.2rem;
    }
    
    #section-3 .content-text h3 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    #section-3 .content-text p {
        font-size: 0.7rem;
        line-height: 1.2;
        margin-bottom: 5px;
    }
    
    /* Seção 4 - Skills - 2 colunas */
    #section-4 .skills {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(6, 1fr);
        gap: 12px;
        max-height: calc(100vh - 160px);
        padding: 0.5rem;
        margin: 0 auto;
        justify-content: center;
        align-content: center;
        width: 100%;
        max-width: 500px;
    }
    
    /* Layout para 2 colunas no mobile */
    #section-4 .skill-card:nth-child(1) { grid-column: 1; grid-row: 1; }
    #section-4 .skill-card:nth-child(2) { grid-column: 2; grid-row: 1; }
    #section-4 .skill-card:nth-child(3) { grid-column: 1; grid-row: 2; }
    #section-4 .skill-card:nth-child(4) { grid-column: 2; grid-row: 2; }
    #section-4 .skill-card:nth-child(5) { grid-column: 1; grid-row: 3; }
    #section-4 .skill-card:nth-child(6) { grid-column: 2; grid-row: 3; }
    #section-4 .skill-card:nth-child(7) { grid-column: 1; grid-row: 4; }
    #section-4 .skill-card:nth-child(8) { grid-column: 2; grid-row: 4; }
    #section-4 .skill-card:nth-child(9) { grid-column: 1; grid-row: 5; }
    #section-4 .skill-card:nth-child(10) { grid-column: 1 / span 2; grid-row: 6; }
    #section-4 .skill-card:nth-child(11) { grid-column: 2; grid-row: 5; }
    
    #section-4 .skill-card {
        padding: 0.8rem 0.5rem;
        min-height: 85px;
        border-radius: 12px;
    }
    
    #section-4 .skill-card i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    #section-4 .skill-card p {
        font-size: 0.75rem;
        line-height: 1.2;
        font-weight: 600;
        text-align: center;
    }
    
    /* Ajustes específicos para cards problemáticos */
    #section-4 .skill-card:nth-child(9) {
        padding: 0.6rem 0.4rem;
    }
    
    #section-4 .skill-card:nth-child(9) p {
        font-size: 0.65rem;
        line-height: 1.1;
        font-weight: 700;
        word-break: break-word;
        hyphens: auto;
    }
    
    #section-4 .skill-card:nth-child(10) p {
        font-size: 0.7rem;
        line-height: 1.1;
    }
    
    #section-4 h2 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin-bottom: 1.5rem;
    }
}

/* MOBILE PEQUENO */
@media (max-width: 480px) {
    section {
        padding: 60px 15px 30px 15px;
    }
    
    h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
        margin-bottom: 1.5rem;
    }
    
    /* Seção 3 */
    #section-3 {
        padding: 8px 0;
    }
    
    #section-3 .combined-content {
        gap: 8px;
        padding: 0 8px;
    }
    
    #section-3 .content-block {
        padding: 8px 6px;
    }
    
    #section-3 .content-icon {
        width: 30px;
        height: 30px;
        margin-bottom: 6px;
    }
    
    #section-3 .content-icon i {
        font-size: 1rem;
    }
    
    #section-3 .content-text h3 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    #section-3 .content-text p {
        font-size: 0.75rem;
        line-height: 1.2;
        margin-bottom: 4px;
    }
    
    /* Seção 4 - Skills */
    #section-4 .skills {
        gap: 8px;
        max-height: calc(100vh - 140px);
        padding: 0.3rem;
        max-width: 400px;
    }
    
    #section-4 .skill-card {
        padding: 0.6rem 0.4rem;
        min-height: 75px;
        border-radius: 10px;
    }
    
    #section-4 .skill-card i {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    
    #section-4 .skill-card p {
        font-size: 0.65rem;
        line-height: 1.1;
        font-weight: 600;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }
    
    #section-4 .skill-card:nth-child(9) p {
        font-size: 0.55rem;
        line-height: 1.0;
        font-weight: 700;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    }
    
    #section-4 .skill-card:nth-child(10) p {
        font-size: 0.6rem;
        line-height: 1.0;
    }
    
    #section-4 h2 {
        font-size: clamp(1.5rem, 4vw, 2.2rem);
        margin-bottom: 1.5rem;
    }
    
    /* Seção 5 */
    #section-5 h2 {
        font-size: 1rem;
    }
}

/* Ajustes específicos para mobile - scroll nativo */
@media (max-width: 1024px) {
    /* SUBSTITUIR os media queries existentes por estes: */
    
    /* Responsividade para mobile */
    @media (max-width: 768px) {
        .top-nav {
            padding: 15px 20px;
            height: 70px;
        }
    
        .logo {
            font-size: 1.1rem;
        }
    
        .logo img {
            max-height: 60px !important;
            max-width: 280px !important;
        }
    
        .social-links {
            gap: 15px;
        }
    
        .social-link {
            padding: 6px;
        }
    
        .social-link svg {
            width: 16px;
            height: 16px;
        }
    
        .back-button {
            padding: 10px 20px;
            font-size: 0.8rem;
        }
    
        .container {
            padding: 100px 20px 40px 20px;
        }
    
        /* Correção para scroll mobile */
        body {
            overflow: auto !important;
            height: auto !important;
        }
        
        .scroll-container {
            height: auto !important;
            overflow: visible !important;
            position: static !important;
            transform: none !important;
        }
        
        section {
            height: auto !important;
            min-height: 100vh !important;
            position: relative !important;
        }
        
        /* Garantir visibilidade dos elementos */
        .skill-card,
        .application-card {
            opacity: 1 !important;
            transform: none !important;
        }
    }
    
    section {
        height: auto !important;
        min-height: 100vh !important;
        position: relative !important;
    }
    
    /* Garantir que os cards fiquem visíveis */
    .skill-card {
        margin-bottom: 1rem;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .applications .application-card {
        margin-bottom: 1rem;
        opacity: 1 !important;
        transform: none !important;
    }
}