@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-dark: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    cursor: none;
}

/* Desativar cursor personalizado em dispositivos móveis */
@media (hover: none) {
    .cursor, .cursor-follower {
        display: none;
    }
    body {
        cursor: auto;
    }
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    pointer-events: none;
    z-index: 9998;
    transition: all 0.3s ease;
    opacity: 0.5;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #0f172a, #1e293b, #334155);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.bg-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    animation: floatBg 20s ease-in-out infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatBg {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(15px) rotate(240deg); }
}

/* Navigation */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 10px 20px;
    border: 1px solid var(--glass-dark);
    transition: all 0.3s ease;
}

nav:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%) scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 25px;
    touch-action: manipulation;
}

.nav-links a:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 3s ease infinite;
    line-height: 1.1;
}

@keyframes gradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.8;
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.6;
    margin-bottom: 40px;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 120px;
    touch-action: manipulation;
}

.cta-primary {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.5s ease;
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.cta-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--glass-dark);
    backdrop-filter: blur(10px);
}

.cta-secondary:hover {
    background: var(--glass);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Floating Elements */
.floating-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 20%; right: 10%; animation-delay: -2s; }
.floating-element:nth-child(3) { bottom: 20%; left: 15%; animation-delay: -4s; }
.floating-element:nth-child(4) { bottom: 10%; right: 15%; animation-delay: -1s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

.floating-shape {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 12px;
    opacity: 0.1;
    filter: blur(1px);
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--primary), transparent);
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0.1;
    border-radius: 50%;
}

/* Glass Card */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-dark);
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: all 0.5s ease;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    text-align: center;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.profile-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    animation: rotate 3s linear infinite;
}

.profile-image::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: var(--dark);
    border-radius: 50%;
    z-index: 1;
}

.profile-image i {
    z-index: 2;
    position: relative;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 2;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.8;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.skill-item {
    background: rgba(99, 102, 241, 0.1);
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-5px);
}

.skill-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-dark);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover::before {
    opacity: 0.1;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-image {
    height: 180px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.5s ease;
}

.project-card:hover .project-image::before {
    left: 100%;
}

.project-content {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light);
}

.project-content p {
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-tag {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-dark);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(360deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--light);
}

.service-card p {
    opacity: 0.8;
    line-height: 1.6;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-dark);
    padding: 30px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.author-info h4 {
    color: var(--light);
    margin-bottom: 5px;
}

.author-info p {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-info p {
    opacity: 0.8;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-form {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-dark);
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-dark);
    border-radius: 10px;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 48px;
    touch-action: manipulation;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-dark);
    touch-action: manipulation;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loading-screen.hide {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(99, 102, 241, 0.3);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Particle Effect */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary);
    border-radius: 50%;
    animation: particle-float 3s ease-in-out infinite;
}

@keyframes particle-float {
    0%, 100% { transform: translateY(0px) opacity(1); }
    50% { transform: translateY(-20px) opacity(0.5); }
}

/* Project Detail Page */
.project-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.project-hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--light);
}

.project-hero-content p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.project-details {
    padding: 80px 0;
}

.project-details .container {
    max-width: 1000px;
}

.project-details h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.project-details p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 20px;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.5s ease;
}

.gallery-item:hover::before {
    left: 100%;
}

.project-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Geral */
    body {
        font-size: 16px;
    }

    /* Navegação */
    nav {
        width: 95%;
        padding: 8px 15px;
        top: 10px;
    }
    .nav-links {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
    .nav-links a {
        font-size: 12px;
        padding: 6px 12px;
    }

    /* Hero Section */
    .hero {
        height: 80vh;
    }
    .hero-content {
        padding: 0 15px;
    }
    .hero-content h1 {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: 15px;
    }
    .hero-subtitle {
        font-size: clamp(1rem, 2.5vw, 1.5rem);
        margin-bottom: 20px;
    }
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }
    .cta-group {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .cta-primary, .cta-secondary {
        padding: 12px 25px;
        font-size: 0.9rem;
        min-width: 100px;
    }

    /* Seções */
    section {
        padding: 60px 0;
    }
    .container {
        padding: 0 15px;
    }
    .section-title {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        margin-bottom: 40px;
    }

    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .profile-image {
        width: 200px;
        height: 200px;
        font-size: 4rem;
    }
    .profile-photo {
        width: 100%;
        height: 100%;
    }
    .about-text h3 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    .about-text p {
        font-size: 1rem;
    }
    .skills-grid {
        gap: 10px;
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
    .skill-item {
        padding: 10px;
    }
    .skill-item i {
        font-size: 1.5rem;
    }

    /* Projects Section */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    .project-card {
        padding: 20px;
    }
    .project-image {
        height: 150px;
        font-size: 2.5rem;
    }
    .project-content h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    .project-content p {
        font-size: 0.9rem;
    }
    .tech-stack {
        gap: 6px;
    }
    .tech-tag {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    .service-card {
        padding: 20px;
    }
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    .service-card p {
        font-size: 0.9rem;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    .testimonial-card {
        padding: 20px;
    }
    .testimonial-content {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .author-info h4 {
        font-size: 1rem;
    }
    .author-info p {
        font-size: 0.8rem;
    }

    /* Contact Section */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contact-info h3 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    .contact-info p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    .contact-item {
        gap: 10px;
        margin-bottom: 15px;
    }
    .contact-item i {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    .contact-form {
        padding: 30px;
    }
    .form-group {
        margin-bottom: 20px;
    }
    .form-group label {
        font-size: 0.9rem;
    }
    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 0.9rem;
    }
    .submit-btn {
        padding: 12px;
        font-size: 0.9rem;
    }
    .social-links {
        gap: 15px;
        margin-top: 30px;
    }
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    /* Project Detail Page */
    .project-hero {
        height: 50vh;
    }
    .project-hero-content {
        padding: 0 15px;
    }
    .project-hero-content h1 {
        font-size: clamp(1.8rem, 5vw, 3rem);
        margin-bottom: 15px;
    }
    .project-hero-content p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    .project-details {
        padding: 60px 0;
    }
    .project-details .container {
        max-width: 800px;
    }
    .project-details h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    .project-details p {
        font-size: 1rem;
    }
    .project-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }
    .gallery-item img {
        height: 150px;
    }
    .project-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    /* Desativar elementos flutuantes e partículas em mobile */
    .floating-element, .particle {
        display: none;
    }
}