/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    background-color: var(--bg-primary);
}

/* Garantir que não apareça branco */
section:not(.hero):not(.about):not(.experience):not(.skills):not(.certificates):not(.projects):not(.contact) {
    background-color: var(--bg-primary);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Garantir fundo escuro em toda a página */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Variáveis CSS */
:root {
    --primary-color: #8b5cf6;
    --secondary-color: #a855f7;
    --accent-color: #06b6d4;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-dark: #020617;
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

/* Indicador de seção ativa */
.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #020617 100%);
    overflow: hidden;
    margin-bottom: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--bg-secondary));
    z-index: 1;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #e0e7ff;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #c7d2fe;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

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

.btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
}

.btn-outline:hover {
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
    border-color: rgba(139, 92, 246, 0.8);
}

.btn-outline:hover::before {
    left: 0;
}

.btn-outline i {
    margin-right: 0.5rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-outline:hover i {
    transform: rotate(360deg) scale(1.1);
}

.btn-dashboard {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-dashboard::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.6s;
}

.btn-dashboard:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
    color: white;
}

.btn-dashboard:hover::before {
    left: 100%;
}

.btn-dashboard:active {
    transform: translateY(-1px) scale(1.01);
}

.btn-dashboard i {
    transition: transform 0.3s ease;
}

.btn-dashboard:hover i {
    transform: rotate(45deg) scale(1.1);
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
}

.status-badge.construction {
    background: linear-gradient(135deg, #ff6b6b, #ffa726);
    color: white;
    animation: pulse-construction 2s infinite;
}

@keyframes pulse-construction {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* ========================================
   EFEITOS HOVER ESPECIAIS - SEÇÃO HERO
======================================== */

/* Container geral com efeitos hover */
.hero-hover-container:hover .hero-title-effect {
    transform: translateY(-5px) scale(1.02);
    filter: drop-shadow(0 8px 16px rgba(139, 92, 246, 0.3));
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Efeito no nome principal */
.gradient-hover {
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-hover-container:hover .gradient-hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 50%, #10b981 100%);
    background-size: 200% 200%;
    animation: gradientShift 2s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
}

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

/* Efeito no subtítulo */
.subtitle-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-hover-container:hover .subtitle-hover {
    color: #ffffff;
    transform: translateX(10px);
    text-shadow: 0 4px 8px rgba(139, 92, 246, 0.3);
}

/* Efeito na descrição */
.description-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-hover-container:hover .description-hover {
    color: #ffffff;
    transform: translateX(15px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Efeito nos botões */
.buttons-hover-container {
    transition: all 0.3s ease;
}

.hero-hover-container:hover .buttons-hover-container {
    transform: translateY(-10px);
}

/* Efeito de pulso no scroll indicator */
.hero:hover .scroll-indicator {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* ======================================== */

/* ========================================
   MEDIA QUERIES - DESABILITA EFEITOS HOVER NO MOBILE
======================================== */

/* Para dispositivos móveis e tablets */
@media (max-width: 1024px), (hover: none) {
    
    /* Desabilita todos os efeitos hover do Hero no mobile */
    .hero-hover-container:hover .hero-title-effect,
    .hero-hover-container:hover .gradient-hover,
    .hero-hover-container:hover .subtitle-hover,
    .hero-hover-container:hover .description-hover,
    .hero-hover-container:hover .buttons-hover-container {
        transform: none !important;
        filter: none !important;
        animation: none !important;
        background: initial !important;
        background-size: initial !important;
        -webkit-background-clip: initial !important;
        -webkit-text-fill-color: initial !important;
        background-clip: initial !important;
        text-shadow: none !important;
        color: inherit !important;
        transition: none !important;
    }
    
    /* Restaura cores originais no mobile */
    .gradient-hover {
        background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
    }
    
    .subtitle-hover {
        color: #e0e7ff !important;
    }
    
    .description-hover {
        color: #c7d2fe !important;
    }
    
    /* Desabilita animação do scroll indicator */
    .hero:hover .scroll-indicator {
        animation: none !important;
    }
    
    /* Remove todas as transições de hover no mobile */
    .hero-title-effect,
    .gradient-hover,
    .subtitle-hover,
    .description-hover,
    .buttons-hover-container {
        transition: none !important;
    }
}

/* ======================================== */

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    color: #c7d2fe;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 400px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
    transition: transform 0.3s ease;
    border: 3px solid rgba(139, 92, 246, 0.3);
}

.image-container:hover {
    transform: scale(1.05);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.image-container:hover .profile-img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0) rotate(-45deg);
    }
    40% {
        transform: translateX(-50%) translateY(-10px) rotate(-45deg);
    }
    60% {
        transform: translateX(-50%) translateY(-5px) rotate(-45deg);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 250px 0 100px 0;
    background: var(--bg-secondary);
    margin-top: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.highlight:hover {
    transform: translateY(-5px);
}

.highlight i {
    font-size: 2rem;
    color: var(--primary-color);
    width: 50px;
    text-align: center;
}

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

.highlight p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center top;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 3px solid rgba(139, 92, 246, 0.3);
}

/* Experience Section */
.experience {
    padding: 100px 0;
    background: var(--bg-primary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
}

.timeline-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    top: 20px;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
}

.timeline-content {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -20px;
    border-left-color: var(--bg-secondary);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -20px;
    border-right-color: var(--bg-secondary);
}

.timeline-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-company {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-period {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.timeline-achievements {
    list-style: none;
}

.timeline-achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.timeline-achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.timeline-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.timeline-stat {
    text-align: center;
    flex: 1;
}

.timeline-stat .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Skills Section */
.skills {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.skill-category {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.skill-category h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-name {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 1s ease;
    width: 0;
}

.skills-chart {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    height: 400px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Certificates Section */
.certificates {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.certificate-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.certificate-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.25);
    border: 1px solid rgba(139, 92, 246, 0.4);
}

/* Efeitos hover aprimorados para certificados (apenas desktop) */
@media (min-width: 1025px) and (hover: hover) {
    
    .certificate-card {
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    
    .certificate-card:hover {
        transform: translateY(-20px) scale(1.03);
        background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(139, 92, 246, 0.05) 100%);
        box-shadow: 0 30px 60px rgba(139, 92, 246, 0.3);
        border: 2px solid rgba(139, 92, 246, 0.5);
    }
    
    .certificate-card:hover::before {
        height: 6px;
        background: linear-gradient(90deg, #8b5cf6, #06b6d4, #10b981);
        background-size: 200% 200%;
        animation: gradientShift 2s ease infinite;
    }
    
    .certificate-card:hover .certificate-icon {
        transform: scale(1.15) rotate(10deg);
        background: linear-gradient(135deg, #8b5cf6, #06b6d4);
        box-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    
    .certificate-card:hover .certificate-icon i {
        transform: scale(1.1);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    }
    
    .certificate-card:hover .certificate-content h3 {
        color: #8b5cf6;
        transform: translateY(-3px);
        text-shadow: 0 4px 8px rgba(139, 92, 246, 0.2);
        transition: all 0.3s ease;
    }
    
    .certificate-card:hover .certificate-content p {
        color: var(--text-primary);
        transform: translateX(5px);
        transition: all 0.3s ease;
    }
    
    .certificate-card:hover .certificate-provider {
        background: rgba(139, 92, 246, 0.2);
        color: #8b5cf6;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(139, 92, 246, 0.2);
        transition: all 0.3s ease;
    }
    
    .certificate-card:hover .certificate-type {
        background: rgba(34, 197, 94, 0.2);
        color: #16a34a;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(34, 197, 94, 0.2);
        transition: all 0.3s ease;
    }
}

.certificate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.certificate-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.certificate-icon i {
    font-size: 1.8rem;
    color: white;
}

.certificate-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.certificate-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.certificate-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.certificate-provider,
.certificate-type {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.certificate-provider {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-color);
}

.certificate-type {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.certificate-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.certificate-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.certificate-link i {
    font-size: 0.9rem;
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: var(--bg-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s ease;
}

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

.project-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.dashboard-bg {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.dashboard-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.dashboard-preview {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
}

.chart-container {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 8px;
    height: 100px;
    margin-bottom: 30px;
    transition: opacity 0.3s ease;
}

.project-card:hover .chart-container {
    opacity: 0;
}

.chart-bar {
    width: 20px;
    background: linear-gradient(to top, #8b5cf6, #a855f7);
    border-radius: 4px 4px 0 0;
    animation: growUp 2s ease-out;
}

@keyframes growUp {
    from { height: 0; }
    to { height: var(--height, 50%); }
}

.dashboard-text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.dashboard-text p {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin: 0;
}

.automation-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.automation-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
}

.automation-preview {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
}

.workflow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
}

.project-card:hover .workflow-container {
    opacity: 0;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(139, 92, 246, 0.5);
}

.step-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #cbd5e1;
}

.workflow-arrow {
    font-size: 1.5rem;
    color: #8b5cf6;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.automation-text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.automation-text p {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin: 0;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-tech span {
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-stats {
    display: flex;
    gap: 2rem;
}

.project-stats .stat {
    text-align: center;
}

.project-stats .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.project-stats .stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 50px;
    text-align: center;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-form {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        border-top: 1px solid rgba(139, 92, 246, 0.2);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* Ajuste da linha roxa no mobile para ficar apenas embaixo do texto */
    .nav-link {
        display: inline-block;
        padding: 0.5rem 0;
        width: fit-content;
        margin: 0 auto;
    }
    
    .nav-link::after {
        left: 0 !important;
        right: auto !important;
        transform: none !important;
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100% !important;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 80px 20px 40px 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 3rem;
        padding-right: 1rem;
    }
    
    .timeline-marker {
        left: 10px !important;
        right: auto !important;
    }
    
    .timeline-content::before {
        left: -20px !important;
        right: auto !important;
        border-right-color: var(--bg-secondary) !important;
        border-left-color: transparent !important;
    }
    
    .timeline-content {
        max-width: calc(100vw - 6rem);
        width: calc(100vw - 6rem);
        margin-right: 0;
        box-sizing: border-box;
    }
    
    .timeline-stats {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .timeline-stat {
        flex: 1;
        min-width: 0;
        max-width: 33%;
    }
    
    .timeline-stat .stat-label {
        font-size: 0.7rem;
        line-height: 1.2;
        word-break: break-word;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        height: 250px;
    }
    
    .chart-container {
        height: 80px;
        margin-bottom: 25px;
    }
    
    .chart-bar {
        width: 16px;
    }
    
    .project-tech {
        margin-top: 15px;
        gap: 0.3rem;
    }
    
    .project-tech span {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .dashboard-text h4 {
        font-size: 1rem;
    }
    
    .dashboard-text p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 100px 15px 40px 15px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.3;
        margin-bottom: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .btn {
        width: 200px;
        text-align: center;
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .image-container {
        width: 280px;
        height: 350px;
    }
    
    .project-image {
        height: 220px;
    }
    
    .chart-container {
        height: 70px;
        margin-bottom: 20px;
    }
    
    .chart-bar {
        width: 14px;
    }
    
    .project-tech {
        margin-top: 10px;
        gap: 0.2rem;
    }
    
    .project-tech span {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
    
    .dashboard-text h4 {
        font-size: 0.9rem;
    }
    
    .dashboard-text p {
        font-size: 0.75rem;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease forwards;
}

.fade-in-right {
    animation: fadeInRight 0.6s ease forwards;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ========================================
   BOTÃO WHATSAPP FLUTUANTE
======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-float i {
    animation: shake 1s ease-in-out infinite;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(139, 92, 246, 0.7);
    }
}

@keyframes shake {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: rotate(-10deg);
    }
    20%, 40%, 60%, 80% {
        transform: rotate(10deg);
    }
}

/* Responsivo - Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}

