/* ============================================
   VARIÁVEIS E RESET
   ============================================ */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary: #64748b;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   NAVEGAÇÃO
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    background: rgba(15, 23, 42, 0.98);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: transparent;
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
}

.theme-toggle:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--teal);
}

.theme-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.theme-icon.moon-icon {
    display: none;
}

body.light-theme .theme-icon.sun-icon {
    display: none;
}

body.light-theme .theme-icon.moon-icon {
    display: block;
}

/* Indicador de Progresso de Scroll */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--teal-light));
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--teal);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    background: var(--teal-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.6);
}

/* Animações Fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.25rem;
}

.logo-link:hover {
    transform: scale(1.1);
}

.logo-svg {
    width: 42px;
    height: 42px;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(6, 182, 212, 0.3));
}

.logo-link:hover .logo-svg {
    filter: drop-shadow(0 4px 8px rgba(6, 182, 212, 0.6));
    transform: rotate(-3deg) scale(1.05);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

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

.nav-link:hover {
    color: var(--teal);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
:root {
    --teal: #06b6d4;
    --teal-light: #22d3ee;
    --teal-dark: #0891b2;
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 2rem 4rem;
    background: var(--dark-bg);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: start;
    position: relative;
    z-index: 1;
    padding-top: 2rem;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-greeting {
    font-size: 0.95rem;
    font-weight: 500;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero-name {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--teal) 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 600px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.badge {
    padding: 0.625rem 1.25rem;
    background: var(--dark-card);
    color: white;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: var(--transition);
}

.badge:hover {
    border-color: var(--teal);
    background: rgba(6, 182, 212, 0.1);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--teal);
    color: white;
}

.btn-primary:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}


/* Card ATUALMENTE */
.hero-current-card {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(6, 182, 212, 0.2);
    animation: fadeInRight 0.8s ease;
    position: relative;
}

.current-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}

.current-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.current-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.current-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.current-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 0.95rem;
}

.current-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
}

.current-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.current-stat-box {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
}

.current-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--teal);
    margin-bottom: 0.25rem;
}

.current-stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Linha conectora interativa */
.hero-connector {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
    transition: var(--transition);
}

.connector-path-bg {
    opacity: 0.2;
    animation: pulsePathBg 4s ease-in-out infinite;
}

.connector-path {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: drawPath 5s ease-in-out forwards, pulsePath 3s ease-in-out 5s infinite;
    opacity: 0.7;
    transition: var(--transition);
}

.connector-dot {
    filter: drop-shadow(0 0 6px currentColor);
    transition: var(--transition);
}

.dot-1 {
    animation: dotPulse 2s ease-in-out infinite;
}

.dot-2 {
    animation: dotPulse 2.5s ease-in-out infinite 0.5s;
}

/* Animação de desenho do caminho */
@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

/* Animação de pulso do caminho de fundo */
@keyframes pulsePathBg {
    0%, 100% {
        opacity: 0.15;
    }
    50% {
        opacity: 0.3;
    }
}

/* Animação de pulso do caminho principal */
@keyframes pulsePath {
    0%, 100% {
        opacity: 0.7;
        stroke-width: 2.5;
    }
    50% {
        opacity: 1;
        stroke-width: 3;
    }
}

/* Animação dos pontos */
@keyframes dotPulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Efeito hover no card que interage com o caminho */
.hero-current-card {
    transition: var(--transition);
    cursor: pointer;
}

.hero-current-card:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.2);
}

.hero-current-card:hover ~ .hero-connector .connector-path,
.hero-container:hover .hero-connector .connector-path {
    stroke-width: 3.5;
    opacity: 1;
    filter: brightness(1.5) url(#glow);
    animation: drawPath 5s ease-in-out forwards, pulsePathStrong 2s ease-in-out 5s infinite;
}

.hero-current-card:hover ~ .hero-connector .connector-path-bg {
    opacity: 0.4;
}

.hero-current-card:hover ~ .hero-connector .connector-dot {
    r: 5;
    opacity: 1;
    filter: drop-shadow(0 0 10px currentColor);
}

/* Animação de pulso mais forte no hover */
@keyframes pulsePathStrong {
    0%, 100% {
        opacity: 1;
        stroke-width: 3.5;
    }
    50% {
        opacity: 1;
        stroke-width: 4;
    }
}

/* Efeito quando o mouse passa sobre o caminho (se pointer-events permitir) */
.hero-connector:hover .connector-path {
    stroke-width: 4;
    opacity: 1;
    filter: brightness(1.8) url(#glow);
}

/* ============================================
   SEÇÕES GERAIS
   ============================================ */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* ============================================
   SOBRE
   ============================================ */
.about {
    background: var(--dark-bg);
    color: white;
    padding: 6rem 0;
}

.about-header {
    margin-bottom: 4rem;
}

.about-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.about-label-line {
    width: 60px;
    height: 2px;
    background: var(--teal);
    margin-bottom: 1.5rem;
}

.about-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.about-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 800px;
}

.about-main-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
}

.about-left {
    position: relative;
}

.about-photo-container {
    position: relative;
}

.about-photo {
    width: 100%;
    max-width: 300px;
    height: 300px;
    border-radius: 16px;
    border: 4px solid var(--teal);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.3);
    object-fit: cover;
    display: block;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-text-content {
    color: rgba(255, 255, 255, 0.9);
}

.about-text-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.about-text-content p:last-child {
    margin-bottom: 0;
}

.about-text-content strong {
    color: var(--teal);
    font-weight: 600;
}

.about-skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.skill-card {
    background: var(--dark-card);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
    text-align: center;
}

.skill-card:hover {
    transform: translateY(-4px);
    border-color: var(--teal);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
}

.skill-icon {
    color: var(--teal);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.skill-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
}

.skill-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   EXPERIÊNCIA
   ============================================ */
.experience {
    background: var(--dark-bg);
    color: white;
    padding: 6rem 0;
    position: relative;
}

.experience-timeline-container {
    position: relative;
    padding: 2rem 0;
}

.experience-timeline-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        var(--teal) 0,
        var(--teal) 10px,
        transparent 10px,
        transparent 20px
    );
    opacity: 0.6;
    transform: translateY(-50%);
    z-index: 0;
}

.experience-timeline-items {
    display: flex;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.experience-card {
    background: var(--dark-card);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    padding: 2rem;
    max-width: 350px;
    transition: var(--transition);
    position: relative;
}

.experience-card.current {
    border-color: var(--teal);
    border-width: 2px;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
}

.experience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.3);
}

.experience-period {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.experience-role {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.experience-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0;
}

.experience-description strong {
    color: var(--teal);
    font-weight: 600;
}

/* ============================================
   EDUCAÇÃO
   ============================================ */
.education {
    background: var(--bg-secondary);
}

.education-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--primary);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.education-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.education-item.featured {
    border-left-width: 4px;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.education-item.featured .degree,
.education-item.featured .institution,
.education-item.featured .period {
    color: white;
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.degree {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.institution {
    font-size: 1.05rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.period {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.certificate-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.certificate-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.certificate-btn svg {
    flex-shrink: 0;
}

/* ============================================
   HABILIDADES
   ============================================ */
.skills {
    background: var(--dark-bg);
    color: white;
    padding: 6rem 0;
}

.skills-header {
    margin-bottom: 3rem;
}

.skills-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.skills-label-line {
    width: 60px;
    height: 2px;
    background: var(--teal);
    margin-bottom: 1.5rem;
}

.skills-title {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.skills-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 800px;
}

/* Barra de Pesquisa */
.skills-search {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--dark-card);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.skills-search:focus-within {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.skills-search svg {
    color: var(--teal);
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Filtros */
.skills-filters {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    background: var(--dark-card);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.filter-btn.active {
    background: var(--teal);
    border-color: var(--teal);
    color: white;
}

/* Cards de Tecnologias */
.skills-cards-container {
    margin-bottom: 3rem;
}

.skills-cards-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.skill-tech-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--dark-card);
    border: 2px solid rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    min-width: 140px;
}

.skill-tech-card:hover {
    border-color: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.2);
}

.skill-tech-card.active {
    border-color: var(--teal);
    background: rgba(6, 182, 212, 0.1);
}

.tech-logo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
}

.tech-logo svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
}
    background: rgba(6, 182, 212, 0.2);
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--teal);
    flex-shrink: 0;
}

.tech-name {
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
}

.show-more-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    color: var(--teal);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.show-more-btn:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--teal);
}

/* Card Expandido com Detalhes */
.skill-detail-card {
    background: var(--dark-card);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 2rem;
    animation: fadeInUp 0.4s ease;
    display: none;
}

.skill-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-detail-title-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.skill-detail-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--teal);
}

.skill-detail-name {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.skill-detail-experience {
    padding: 0.5rem 1rem;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 20px;
    color: var(--teal);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.skill-detail-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.skill-detail-knowledges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
}

.knowledges-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.knowledge-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Ocultar habilidades extras inicialmente */
.skill-tech-card.hidden {
    display: none;
}

/* Responsivo para habilidades */
@media (max-width: 768px) {
    .skills-cards-row {
        justify-content: center;
    }

    .skill-tech-card {
        min-width: 120px;
        padding: 0.875rem 1.25rem;
    }

    .skill-detail-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .skill-detail-knowledges {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PROJETOS
   ============================================ */
.projects-section {
    background: var(--dark-bg);
    padding: 6rem 0;
}

.projects-header {
    margin-bottom: 4rem;
}

.projects-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.projects-label-line {
    width: 60px;
    height: 2px;
    background: var(--teal);
    margin-bottom: 1.5rem;
}

.projects-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.projects-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 800px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: var(--dark-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--teal);
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.3);
}

.project-image {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(34, 211, 238, 0.1) 100%);
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    opacity: 0.5;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--teal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.project-link:hover {
    background: var(--teal-light);
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
}

.project-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.project-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.4rem 0.8rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--teal);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.projects-footer {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.btn-all-projects {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--teal);
    border: 2px solid var(--teal);
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-all-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--teal);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-all-projects:hover {
    color: white;
    border-color: var(--teal);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
}

.btn-all-projects:hover::before {
    left: 0;
}

.btn-all-projects svg {
    transition: var(--transition);
}

.btn-all-projects:hover svg {
    transform: rotate(360deg);
}

/* ============================================
   ESTATÍSTICAS GITHUB
   ============================================ */
.github-stats-section {
    background: var(--dark-bg);
    padding: 6rem 0;
}

.github-stats-header {
    margin-bottom: 4rem;
}

.github-stats-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.github-stats-label-line {
    width: 60px;
    height: 2px;
    background: var(--teal);
    margin-bottom: 1.5rem;
}

.github-stats-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.github-stats-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 800px;
}

.github-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.github-stat-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.github-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
    border-color: var(--teal);
}

.stat-icon {
    color: var(--teal);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.github-languages {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.languages-title-small {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.languages-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.language-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-name-bar {
    min-width: 100px;
    font-weight: 500;
    color: white;
    font-size: 0.9rem;
}

.language-progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.language-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--teal), var(--teal-light));
    border-radius: 4px;
    transition: width 1s ease;
}

.language-percentage {
    min-width: 50px;
    text-align: right;
    font-weight: 600;
    color: var(--teal);
    font-size: 0.9rem;
}

/* ============================================
   O QUE ESTOU APRENDENDO
   ============================================ */
.learning-section {
    background: var(--dark-bg);
    padding: 6rem 0;
}

.learning-header {
    margin-bottom: 4rem;
}

.learning-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.learning-label-line {
    width: 60px;
    height: 2px;
    background: var(--teal);
    margin-bottom: 1.5rem;
}

.learning-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.learning-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 800px;
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.learning-card {
    background: var(--dark-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: var(--transition);
}

.learning-card:hover {
    border-color: var(--teal);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.2);
}

.learning-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
}

.learning-icon svg {
    width: 48px;
    height: 48px;
    stroke: currentColor;
}

.learning-name {
    font-size: 1.35rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.learning-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* ============================================
   DEPOIMENTOS
   ============================================ */
.testimonials-section {
    background: var(--dark-bg);
    padding: 6rem 0;
}

.testimonials-header {
    margin-bottom: 4rem;
}

.testimonials-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.testimonials-label-line {
    width: 60px;
    height: 2px;
    background: var(--teal);
    margin-bottom: 1.5rem;
}

.testimonials-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.testimonials-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 800px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--dark-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
    border-color: var(--teal);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.quote-icon {
    color: var(--teal);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   FORMULÁRIO DE CONTATO
   ============================================ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-download {
    margin-top: 2rem;
}

.btn-download-cv {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--teal);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-download-cv:hover {
    background: var(--teal-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.contact-form-wrapper {
    background: var(--dark-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: white;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--teal);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-submit:hover {
    background: var(--teal-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================
   DIPLOMAS
   ============================================ */
.diplomas-section {
    background: var(--dark-bg);
    padding: 6rem 0;
    position: relative;
}

.diplomas-header {
    margin-bottom: 4rem;
}

.diplomas-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.diplomas-label-line {
    width: 60px;
    height: 2px;
    background: var(--teal);
    margin-bottom: 1.5rem;
}

.diplomas-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.diplomas-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 800px;
}

.diplomas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.diploma-card {
    background: var(--dark-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.diploma-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--teal-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.diploma-card:hover {
    border-color: var(--teal);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.3);
}

.diploma-card:hover::before {
    transform: scaleX(1);
}

.diploma-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
    transition: var(--transition);
}

.diploma-card:hover .diploma-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.5);
}

.diploma-name {
    font-size: 1.35rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.diploma-platform {
    font-size: 0.95rem;
    color: var(--teal);
    font-weight: 500;
    margin-bottom: 1rem;
}

.diploma-cert-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--teal);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-top: auto;
}

.diploma-cert-btn:hover {
    background: var(--teal);
    color: white;
    border-color: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.diploma-cert-btn svg {
    flex-shrink: 0;
}

/* ============================================
   IDIOMAS
   ============================================ */
.languages-section {
    background: var(--dark-bg);
    padding: 6rem 0;
    position: relative;
}

.languages-header {
    margin-bottom: 4rem;
}

.languages-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.languages-label-line {
    width: 60px;
    height: 2px;
    background: var(--teal);
    margin-bottom: 1.5rem;
}

.languages-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.languages-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 800px;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--dark-card);
    padding: 1.75rem;
    border-radius: 16px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.language-item:hover {
    border-color: var(--teal);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.2);
}

.language-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: white;
}

.language-level {
    font-size: 0.95rem;
    color: var(--teal);
    background: rgba(6, 182, 212, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

/* ============================================
   CONTATO
   ============================================ */
.contact {
    background: var(--dark-bg);
    padding: 6rem 0;
    position: relative;
}

.contact-header {
    margin-bottom: 4rem;
}

.contact-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.contact-label-line {
    width: 60px;
    height: 2px;
    background: var(--teal);
    margin-bottom: 1.5rem;
}

.contact-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.contact-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 800px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-card {
    background: var(--dark-card);
    padding: 2.5rem;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--teal-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    border-color: var(--teal);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.3);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card svg {
    color: var(--teal);
    margin-bottom: 0.5rem;
    transition: var(--transition);
    width: 32px;
    height: 32px;
}

.contact-card:hover svg {
    transform: scale(1.1);
    color: var(--teal-light);
}

.contact-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.contact-action {
    font-size: 0.85rem;
    color: var(--teal);
    font-weight: 500;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(5px);
    transition: var(--transition);
}

.contact-card:hover .contact-action {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-subtitle {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ============================================
   MODAL DE CERTIFICADO
   ============================================ */
.certificate-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.certificate-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--bg-primary);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    box-shadow: var(--shadow-xl);
    z-index: 2001;
    animation: slideUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
    z-index: 2002;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    padding-right: 3rem;
}

.modal-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.modal-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

/* ============================================
   ANIMAÇÕES
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-name {
        font-size: 3rem;
    }

    .hero-current-card {
        order: -1;
    }

    .about-main-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-photo {
        max-width: 250px;
        margin: 0 auto;
        display: block;
    }

    .about-skills-grid {
        grid-template-columns: 1fr;
    }

    .experience-timeline-line {
        display: none;
    }

    .experience-timeline-items {
        flex-direction: column;
        align-items: center;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .diplomas-title,
    .languages-title,
    .contact-title {
        font-size: 2.5rem;
    }

    .diplomas-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .languages-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   MODO CLARO
   ============================================ */
body.light-theme {
    background: var(--bg-primary);
    color: var(--text-primary);
}

body.light-theme .hero,
body.light-theme .about,
body.light-theme .skills,
body.light-theme .projects-section,
body.light-theme .learning-section,
body.light-theme .diplomas-section,
body.light-theme .languages-section,
body.light-theme .contact {
    background: var(--bg-primary) !important;
}

body.light-theme .hero-content,
body.light-theme .about-title,
body.light-theme .skills-title,
body.light-theme .projects-title,
body.light-theme .learning-title,
body.light-theme .diplomas-title,
body.light-theme .languages-title,
body.light-theme .contact-title {
    color: var(--text-primary);
}

body.light-theme .hero-description,
body.light-theme .about-subtitle,
body.light-theme .skills-subtitle,
body.light-theme .projects-subtitle,
body.light-theme .learning-subtitle,
body.light-theme .diplomas-subtitle,
body.light-theme .languages-subtitle,
body.light-theme .contact-subtitle {
    color: var(--text-secondary);
}

body.light-theme .dark-card,
body.light-theme .project-card,
body.light-theme .learning-card,
body.light-theme .diploma-card,
body.light-theme .language-item {
    background: white;
    border-color: var(--border);
}

/* Contato - Modo Claro - Estilos Completos */
body.light-theme .contact {
    background: var(--bg-primary) !important;
}

body.light-theme .contact-label {
    color: var(--teal) !important;
}

body.light-theme .contact-label-line {
    background: var(--teal) !important;
}

body.light-theme .contact-title {
    color: var(--text-primary) !important;
}

body.light-theme .contact-subtitle {
    color: var(--text-secondary) !important;
}

body.light-theme .contact-wrapper {
    background: transparent !important;
}

body.light-theme .contact-info {
    background: transparent !important;
}

body.light-theme .contact-card {
    background: white !important;
    border-color: var(--border) !important;
    color: var(--text-primary) !important;
}

body.light-theme .contact-card h3 {
    color: var(--text-primary) !important;
}

body.light-theme .contact-card p {
    color: var(--text-secondary) !important;
}

body.light-theme .contact-card svg {
    color: var(--teal) !important;
}

body.light-theme .contact-action {
    color: var(--teal) !important;
}

body.light-theme .contact-card:hover {
    border-color: var(--teal) !important;
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.2) !important;
}

body.light-theme .contact-card:hover .contact-action {
    color: var(--teal) !important;
}

body.light-theme .contact-download {
    background: transparent !important;
}

body.light-theme .btn-download-cv {
    background: var(--teal) !important;
    color: white !important;
    border: none !important;
}

body.light-theme .btn-download-cv:hover {
    background: var(--teal-light) !important;
    color: white !important;
}

body.light-theme .contact-form-wrapper {
    background: white !important;
    border-color: var(--border) !important;
}

body.light-theme .contact-form {
    background: transparent !important;
}

body.light-theme .form-group label {
    color: var(--text-primary) !important;
}

body.light-theme .form-group input,
body.light-theme .form-group textarea {
    background: var(--bg-secondary) !important;
    border-color: var(--border) !important;
    color: var(--text-primary) !important;
}

body.light-theme .form-group input:focus,
body.light-theme .form-group textarea:focus {
    background: white !important;
    border-color: var(--teal) !important;
    color: var(--text-primary) !important;
}

body.light-theme .form-group input::placeholder,
body.light-theme .form-group textarea::placeholder {
    color: var(--text-secondary) !important;
    opacity: 0.6;
}

body.light-theme .btn-submit {
    background: var(--teal) !important;
    color: white !important;
    border: none !important;
}

body.light-theme .btn-submit:hover {
    background: var(--teal-light) !important;
    color: white !important;
}

body.light-theme .form-message.success {
    background: rgba(34, 197, 94, 0.1) !important;
    color: #22c55e !important;
    border-color: rgba(34, 197, 94, 0.3) !important;
}

body.light-theme .form-message.error {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

body.light-theme .project-name,
body.light-theme .learning-name,
body.light-theme .diploma-name,
body.light-theme .language-name {
    color: var(--text-primary);
}

body.light-theme .project-description,
body.light-theme .learning-description,
body.light-theme .diploma-platform,
body.light-theme .language-level {
    color: var(--text-secondary);
}

body.light-theme .learning-icon {
    color: var(--teal) !important;
}

body.light-theme .learning-icon svg {
    stroke: var(--teal) !important;
}

body.light-theme .form-group input,
body.light-theme .form-group textarea {
    background: var(--bg-secondary);
    border-color: var(--border);
    color: var(--text-primary);
}

body.light-theme .form-group label {
    color: var(--text-primary);
}

/* Estatísticas GitHub - Modo Claro */
body.light-theme .github-stats-section {
    background: var(--bg-primary);
}

body.light-theme .github-stats-title,
body.light-theme .github-stats-subtitle {
    color: var(--text-primary);
}

body.light-theme .github-stats-subtitle {
    color: var(--text-secondary);
}

body.light-theme .github-stat-card {
    background: white;
    border-color: var(--border);
}

body.light-theme .stat-number {
    color: var(--text-primary);
}

body.light-theme .stat-label {
    color: var(--text-secondary);
}

body.light-theme .github-languages {
    background: white;
    border-color: var(--border);
}

body.light-theme .languages-title-small {
    color: var(--text-primary);
}

body.light-theme .language-name-bar {
    color: var(--text-primary);
}

body.light-theme .language-progress-bar {
    background: var(--bg-secondary);
}

body.light-theme .language-percentage {
    color: var(--teal);
}

/* Depoimentos - Modo Claro */
body.light-theme .testimonials-section {
    background: var(--bg-primary);
}

body.light-theme .testimonials-title,
body.light-theme .testimonials-subtitle {
    color: var(--text-primary);
}

body.light-theme .testimonials-subtitle {
    color: var(--text-secondary);
}

body.light-theme .testimonial-card {
    background: white;
    border-color: var(--border);
}

body.light-theme .testimonial-text {
    color: var(--text-primary);
}

body.light-theme .author-name {
    color: var(--text-primary);
}

body.light-theme .author-role {
    color: var(--text-secondary);
}

body.light-theme .author-avatar {
    background: var(--bg-secondary);
    border-color: var(--border);
}

/* Navbar - Modo Claro */
body.light-theme .navbar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(6, 182, 212, 0.2);
}

body.light-theme .navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

body.light-theme .nav-link {
    color: var(--text-primary);
}

body.light-theme .nav-link:hover {
    color: var(--teal);
}

/* Hero Section - Modo Claro */
body.light-theme .hero-name,
body.light-theme .hero-greeting,
body.light-theme .hero-description {
    color: var(--text-primary);
}

body.light-theme .hero-description {
    color: var(--text-secondary);
}

body.light-theme .hero-current-card {
    background: white;
    border-color: var(--border);
}

body.light-theme .current-label,
body.light-theme .current-title,
body.light-theme .current-subtitle,
body.light-theme .current-list li {
    color: var(--text-primary);
}

body.light-theme .current-subtitle {
    color: var(--text-secondary);
}

body.light-theme .current-stat-number {
    color: var(--teal);
}

body.light-theme .current-stat-label {
    color: var(--text-secondary);
}

/* Sobre - Modo Claro */
body.light-theme .about-text-content,
body.light-theme .about-text-content p {
    color: var(--text-primary);
}

body.light-theme .skill-card {
    background: white;
    border-color: var(--border);
}

body.light-theme .skill-card h4,
body.light-theme .skill-card p {
    color: var(--text-primary);
}

body.light-theme .skill-card p {
    color: var(--text-secondary);
}

/* Habilidades - Modo Claro */
body.light-theme .skills-search {
    background: white;
    border-color: var(--border);
}

body.light-theme .search-input {
    color: var(--text-primary);
}

body.light-theme .filter-btn {
    background: white;
    color: var(--text-primary);
    border-color: var(--border);
}

body.light-theme .filter-btn.active {
    background: var(--teal);
    color: white;
}

body.light-theme .skill-tech-card {
    background: white;
    border-color: var(--border);
}

body.light-theme .tech-name {
    color: var(--text-primary);
}

body.light-theme .skill-detail-card {
    background: white;
    border-color: var(--border);
}

body.light-theme .skill-detail-name,
body.light-theme .skill-detail-description,
body.light-theme .knowledge-item {
    color: var(--text-primary);
}

body.light-theme .skill-detail-description {
    color: var(--text-secondary);
}

body.light-theme .skill-detail-experience {
    color: var(--teal);
}

/* Botões - Modo Claro */
body.light-theme .btn-primary,
body.light-theme .btn-secondary {
    color: white;
}

body.light-theme .btn-all-projects {
    background: rgba(6, 182, 212, 0.1);
    color: var(--teal);
    border-color: var(--teal);
}

body.light-theme .btn-all-projects:hover {
    background: var(--teal);
    color: white;
}

/* Badges e Elementos do Hero - Modo Claro */
body.light-theme .badge {
    background: rgba(6, 182, 212, 0.1);
    color: var(--teal);
    border-color: rgba(6, 182, 212, 0.3);
}

body.light-theme .hero-badges .badge {
    background: rgba(6, 182, 212, 0.1);
    color: var(--teal);
}

/* Experiência - Modo Claro */
body.light-theme .experience-section {
    background: var(--bg-primary);
}

body.light-theme .experience-title,
body.light-theme .experience-subtitle {
    color: var(--text-primary);
}

body.light-theme .experience-subtitle {
    color: var(--text-secondary);
}

body.light-theme .experience-card {
    background: white;
    border-color: var(--border);
}

body.light-theme .job-title,
body.light-theme .job-company,
body.light-theme .job-period,
body.light-theme .job-description,
body.light-theme .job-description li {
    color: var(--text-primary);
}

body.light-theme .job-company {
    color: var(--teal);
}

body.light-theme .job-period {
    color: var(--text-secondary);
}

/* Tech Tags - Modo Claro */
body.light-theme .tech-tag {
    background: rgba(6, 182, 212, 0.1);
    color: var(--teal);
    border-color: rgba(6, 182, 212, 0.3);
}

/* Scroll Progress - Modo Claro */
body.light-theme .scroll-progress {
    background: linear-gradient(90deg, var(--teal), var(--teal-light));
}

/* Back to Top - Modo Claro */
body.light-theme .back-to-top {
    background: var(--teal);
    color: white;
}

body.light-theme .back-to-top:hover {
    background: var(--teal-light);
}

/* Footer - Modo Claro */
body.light-theme .footer {
    background: var(--bg-dark);
    color: white;
}

/* Modal - Modo Claro */
body.light-theme .modal-content {
    background: white;
}

body.light-theme .modal-title {
    color: var(--text-primary);
}

/* Botão Download no Hero */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--teal);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.btn-download:hover {
    background: var(--teal);
    color: white;
    border-color: var(--teal);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--dark-bg);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        gap: 1rem;
        border-top: 1px solid rgba(6, 182, 212, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 6rem 1rem 3rem;
    }

    .hero-container {
        gap: 2rem;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-current-card {
        padding: 2rem;
    }

    .current-title {
        font-size: 1.5rem;
    }

    .current-stat-number {
        font-size: 1.75rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-main-content {
        grid-template-columns: 1fr;
    }

    .about-photo {
        max-width: 200px;
    }

    .about-skills-grid {
        grid-template-columns: 1fr;
    }

    .education-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .certificate-btn {
        width: 100%;
        justify-content: center;
    }

    .skills-tabs {
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .diplomas-title,
    .languages-title,
    .contact-title {
        font-size: 2rem;
    }

    .diplomas-subtitle,
    .languages-subtitle,
    .contact-subtitle {
        font-size: 1rem;
    }

    .diplomas-grid {
        grid-template-columns: 1fr;
    }

    .languages-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        order: 2;
    }

    .contact-form-wrapper {
        order: 1;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-card h3 {
        font-size: 1.15rem;
    }

    .contact-card p {
        font-size: 0.9rem;
        word-break: break-word;
    }

    .contact-card svg {
        width: 28px;
        height: 28px;
    }

    .btn-download-cv {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-name {
        font-size: 2rem;
    }

    .hero-current-card {
        padding: 1.5rem;
    }

    .current-title {
        font-size: 1.25rem;
    }

    .current-stat-box {
        padding: 1rem;
    }

    .current-stat-number {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .modal-content {
        padding: 1.5rem;
        max-width: 95vw;
    }

    .modal-title {
        font-size: 1.25rem;
        padding-right: 0;
    }

    .diplomas-title,
    .languages-title,
    .contact-title {
        font-size: 1.75rem;
    }

    .diplomas-subtitle,
    .languages-subtitle,
    .contact-subtitle {
        font-size: 0.95rem;
    }

    .diploma-card {
        padding: 2rem;
    }

    .diploma-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .contact-card {
        padding: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-badges {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .badge {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        margin: 0;
    }

    .github-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .github-stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .learning-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .learning-card {
        padding: 1.5rem;
    }

    .learning-icon svg {
        width: 40px;
        height: 40px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        order: 2;
    }

    .contact-form-wrapper {
        order: 1;
        padding: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .contact-card {
        padding: 1.25rem;
    }

    .contact-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .contact-card p {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
        word-break: break-word;
        line-height: 1.4;
    }

    .contact-card svg {
        width: 24px;
        height: 24px;
        margin-bottom: 0.4rem;
    }

    .contact-action {
        font-size: 0.85rem;
    }

    .contact-download {
        margin-top: 1.5rem;
    }

    .btn-download-cv {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .form-group {
        gap: 0.4rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Previne zoom no iOS */
        padding: 0.875rem 1rem;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .btn-submit {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .contact-title {
        font-size: 1.75rem;
    }

    .contact-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .skills-filters {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .filter-btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .skills-cards-row {
        gap: 0.75rem;
    }

    .skill-tech-card {
        min-width: 100px;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .show-more-btn {
        width: 100%;
        margin-top: 1.5rem;
    }

    .hero-connector {
        display: none; /* Esconde a linha decorativa em mobile */
    }

    .current-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .current-stat-box {
        width: 100%;
    }

    .about-skills-grid {
        gap: 1.5rem;
    }

    .skill-card {
        padding: 1.5rem;
    }

    .experience-item {
        padding-left: 1rem;
    }

    .experience-item::before {
        left: 0;
    }

    .projects-title,
    .github-stats-title,
    .learning-title,
    .testimonials-title {
        font-size: 2rem;
    }

    .projects-subtitle,
    .github-stats-subtitle,
    .learning-subtitle,
    .testimonials-subtitle {
        font-size: 1rem;
    }

    .btn-all-projects {
        width: 100%;
        justify-content: center;
    }

    .languages-bars {
        gap: 0.75rem;
    }

    .language-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .language-progress-bar {
        width: 100%;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    .nav-logo svg {
        width: 36px;
        height: 36px;
    }

    .nav-container {
        padding: 0.75rem 1rem;
    }

    .navbar {
        padding: 0.5rem 0;
    }
}

/* Ajustes adicionais para tablets */
@media (max-width: 968px) and (min-width: 481px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .github-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .learning-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .diplomas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .languages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 360px) {
    .hero-name {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .projects-title,
    .github-stats-title,
    .learning-title {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 0.75rem;
    }

    .hero {
        padding: 5rem 0.75rem 2rem;
    }

    .section {
        padding: 3rem 0;
    }
}

