/*--------------------------------------------------------------
# André Fischborn - Portfolio CSS
# Modern Professional Stylesheet - Menu Mobile CORRIGIDO
--------------------------------------------------------------*/

/* CSS Variables */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-bg: #0a0a0f;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-accent: #64ffda;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-light: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.4);
    --transition-smooth: all 0.3s ease;
    --transition-slow: all 0.8s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--dark-bg);
}

.bg-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 226, 0.3) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0px, 0px) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* ============================================
   NAVBAR E MENU HAMBÚRGUER CORRIGIDO
   ============================================ */

/* Navbar Base */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 12px 30px;
    z-index: 1000;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-50%) translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* Menu Links Desktop - Renomeado */
.desktop-nav {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.desktop-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 8px 16px;
    border-radius: 25px;
}

.desktop-nav a:hover {
    color: var(--text-accent);
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.desktop-nav a:hover::after {
    width: 80%;
}

/* Mobile Menu Toggle - ESCONDIDO POR PADRÃO */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: none;
    position: relative;
    z-index: 1002;
    gap: 4px;
}

/* Linhas do Hamburger */
.hamburger-line {
    width: 25px;
    height: 2px;
    background: var(--text-accent);
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animação do X quando ativo */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Overlay Mobile */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(30px);
    z-index: 1000;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-left: 1px solid var(--border-color);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 15px;
    border-radius: 10px;
    transition: var(--transition-smooth);
    text-align: center;
}

.mobile-menu a:hover {
    background: var(--accent-gradient);
    color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: brightness(1); }
    to { filter: brightness(1.2); }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.typing-text {
    color: var(--text-accent);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--accent-gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(79, 172, 254, 0.4);
}

/* Sections */
.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.about-text h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.1), transparent);
    transition: left 0.6s;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-light);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.skill-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-light);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition-smooth);
}

.skill-card:hover .skill-icon {
    transform: scale(1.1);
}

.skill-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.skill-level {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    position: relative;
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-heavy);
    background: rgba(255, 255, 255, 0.15);
}

.project-image {
    height: 200px;
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '🌐';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-image::before {
    opacity: 1;
}

.project-content {
    padding: 30px;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tech-tag {
    background: rgba(100, 255, 218, 0.1);
    color: var(--text-accent);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(100, 255, 218, 0.3);
    transition: var(--transition-smooth);
}

.tech-tag:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-2px);
}

.project-link {
    color: var(--text-accent);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.project-link:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-light);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.service-features {
    list-style: none;
    padding: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: left;
}

.service-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.service-features i {
    color: var(--text-accent);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-light);
}

.testimonial-content {
    margin-bottom: 30px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
    position: relative;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    padding-left: 20px;
    padding-top: 10px;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--text-accent);
    position: absolute;
    top: -10px;
    left: -10px;
    font-family: serif;
    opacity: 0.3;
    z-index: 0;
}

.testimonial-author h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-accent);
    font-size: 0.9rem;
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.process-step {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.process-step:hover::before {
    transform: scaleX(1);
}

.process-step:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-light);
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--secondary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.contact-subtitle {
    color: var(--text-primary);
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-text {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.contact-item h4 {
    color: var(--text-primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.contact-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.cta-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    width: 100%;
}

.cta-card h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.cta-card p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.services-list {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    width: 100%;
}

.services-list h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.services-list ul {
    list-style: none;
    color: var(--text-secondary);
    line-height: 2;
    text-align: left;
}

.services-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.services-list i {
    color: var(--text-accent);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 60px;
}

.social-link {
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    font-size: 1.5rem;
}

.social-link:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(79, 172, 254, 0.4);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer p {
    color: var(--text-secondary);
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Prevent scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ============================================
   MEDIA QUERIES - VERSÃO CORRIGIDA
   ============================================ */

/* Desktop Large (1200px+) */
@media (min-width: 1201px) {
    .section {
        max-width: 1400px;
        padding: 120px 40px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .section-title h2 {
        font-size: 3.5rem;
    }
    
    .desktop-nav {
        gap: 40px;
    }
    
    .navbar {
        padding: 15px 40px;
    }
}

/* Desktop Small / Tablet Landscape (1024px - 1200px) */
@media (max-width: 1200px) and (min-width: 1025px) {
    .section {
        max-width: 1100px;
        padding: 100px 30px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Tablet Large (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .navbar {
        top: 15px;
        padding: 10px 25px;
    }
    
    .desktop-nav {
        gap: 25px;
    }
    
    .desktop-nav a {
        font-size: 0.95rem;
        padding: 8px 14px;
    }
    
    .hero {
        min-height: 90vh;
        padding-top: 80px;
    }
    
    .section {
        padding: 80px 30px;
        max-width: 900px;
    }
    
    .about-grid {
        gap: 50px;
    }
    
    .stats-grid {
        gap: 25px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    
    .contact-grid {
        gap: 50px;
    }
}

/* ============================================
   MOBILE - VERSÃO FUNCIONAL DEFINITIVA
   ============================================ */
@media (max-width: 768px) {
    /* Ajustar navbar para mobile */
    .navbar {
        top: 15px;
        left: 15px;
        right: 15px;
        width: auto;
        transform: none;
        justify-content: space-between;
        align-items: center;
        display: flex;
        padding: 15px 20px;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(30px);
        border: 1px solid rgba(100, 255, 218, 0.2);
        border-radius: 20px;
    }

    /* Esconder navegação desktop */
    .desktop-nav {
        display: none;
    }

    /* Mostrar Menu Toggle */
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    /* Hero ajustes para mobile */
    .hero {
        min-height: 100vh;
        padding-top: 140px;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: clamp(1.1rem, 4vw, 1.4rem);
        line-height: 1.4;
    }
    
    .hero-description {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-button {
        padding: 16px 32px;
        font-size: 1rem;
    }
    
    /* Sections Mobile */
    .section {
        padding: 70px 20px;
    }
    
    .section-title {
        margin-bottom: 50px;
    }
    
    .section-title h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        line-height: 1.3;
    }
    
    .section-title p {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }
    
    /* About Grid Mobile */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-text {
        text-align: left;
        font-size: 1rem;
    }
    
    .about-text h3 {
        font-size: 1.4rem;
        text-align: center;
    }
    
    /* Stats Grid Mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 30px;
    }
    
    .stat-card {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    /* Skills Grid Mobile */
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .skill-card {
        padding: 30px 20px;
    }
    
    .skill-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    /* Portfolio Grid Mobile */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .project-image {
        height: 180px;
    }
    
    .project-content {
        padding: 25px 20px;
    }
    
    /* Services Grid Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        padding: 30px 25px;
        text-align: left;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin: 0 0 20px 0;
        font-size: 1.6rem;
    }
    
    /* Process Grid Mobile */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .process-step {
        padding: 30px 25px;
    }
    
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    /* Testimonials Mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .testimonial-card {
        padding: 30px 25px;
    }
    
    .testimonial-content p {
        font-size: 1rem;
        text-align: left;
    }
    
    /* Contact Grid Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        text-align: center;
        font-size: 1rem;
    }
    
    .contact-subtitle {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .contact-text {
        margin-bottom: 30px;
        text-align: left;
    }
    
    .contact-item {
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 20px;
    }
    
    .contact-item:hover {
        transform: translateY(-5px);
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .cta-card {
        padding: 30px 25px;
        border-radius: 25px;
        margin-bottom: 30px;
    }
    
    .services-list {
        padding: 25px 20px;
        border-radius: 25px;
    }
    
    .services-list h4 {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .services-list li {
        padding: 10px;
        border-radius: 15px;
        margin-bottom: 15px;
        font-size: 0.95rem;
    }
    
    .services-list li:hover {
        background: rgba(100, 255, 218, 0.05);
        transform: translateX(5px);
    }
    
    /* Social Links Mobile */
    .social-links {
        gap: 20px;
        margin-top: 40px;
    }
    
    .social-link {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .social-link:hover {
        transform: translateY(-8px);
    }
    
    /* Footer Mobile */
    .footer {
        background: rgba(0, 0, 0, 0.4);
        padding: 30px 20px;
        margin-top: 40px;
    }
    
    .footer p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Mobile Small (menos de 480px) */
@media (max-width: 480px) {
    .hero {
        padding: 120px 15px 50px;
    }
    
    .section {
        padding: 60px 15px;
    }
    
    .navbar {
        padding: 12px 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .skill-card {
        padding: 25px 20px;
    }
    
    .contact-item {
        padding: 18px 15px;
    }
    
    .cta-card,
    .services-list {
        padding: 25px 20px;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 500px) {
    .hero {
        min-height: 100vh;
        padding: 80px 20px 40px;
    }
    
    .navbar {
        top: 5px;
        padding: 8px 15px;
    }
}

/* Print Styles */
@media print {
    .bg-animation,
    .navbar,
    .social-links,
    .cta-button,
    .mobile-menu-toggle,
    .mobile-overlay {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .section {
        page-break-inside: avoid;
        padding: 20px 0;
    }
    
    .hero-title,
    .section-title h2 {
        color: black !important;
        -webkit-text-fill-color: black !important;
    }
}