/* Variáveis e Reset */
:root {
    --primary-color: #4a6bff;
    --secondary-color: #6930c3;
    --accent-color: #80ffdb;
    --dark-color: #0a0a12;
    --darker-color: #05050d;
    --medium-dark: #131320;
    --light-dark: #1a1a2e;
    --text-color: #e0e0ff;
    --text-light: #b4b4db;
    --text-muted: #8888a0;
    --glow-blue: rgba(74, 107, 255, 0.5);
    --glow-purple: rgba(105, 48, 195, 0.5);
    --glow-teal: rgba(128, 255, 219, 0.5);
    --gradient-primary: linear-gradient(135deg, #4a6bff, #6930c3);
    --gradient-secondary: linear-gradient(135deg, #6930c3, #80ffdb);
    --gradient-dark: linear-gradient(135deg, #05050d, #131320);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    --glow-shadow: 0 0 20px rgba(128, 255, 219, 0.3);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --card-border-radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-color);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(74, 107, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 60%, rgba(105, 48, 195, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 50% 90%, rgba(128, 255, 219, 0.1) 0%, transparent 20%);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 500;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-color);
    border: none;
    box-shadow: 0 0 15px var(--glow-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px var(--glow-blue);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    z-index: -1;
    transition: var(--transition);
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    position: relative;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
    transition: var(--transition);
    opacity: 0.8;
}

.btn-secondary:hover {
    color: var(--text-color);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--glow-blue);
}

.btn-secondary:hover::before {
    width: 100%;
}

.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(10, 10, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(74, 107, 255, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a:not(.btn-contato)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-contato {
    background: var(--gradient-primary);
    color: var(--text-color);
    padding: 10px 24px;
    border-radius: var(--border-radius);
    box-shadow: 0 0 15px rgba(74, 107, 255, 0.3);
}

.btn-contato:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(128, 255, 219, 0.4);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.hero {
    padding-top: 150px;
    padding-bottom: 120px;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(74, 107, 255, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(105, 48, 195, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(128, 255, 219, 0.1) 0%, transparent 40%);
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.profile-placeholder {
    width: 320px;
    height: 320px;
    background: var(--light-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 100px;
    color: var(--text-muted);
    border: 8px solid var(--medium-dark);
    box-shadow: 0 0 30px var(--glow-blue),
                inset 0 0 20px rgba(74, 107, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.profile-placeholder::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: linear-gradient(135deg, 
                rgba(74, 107, 255, 0.2),
                rgba(105, 48, 195, 0.2),
                rgba(128, 255, 219, 0.2));
    animation: rotate 8s linear infinite;
}

.profile-placeholder i {
    position: relative;
    z-index: 1;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#areas-atuacao {
    background-color: var(--dark-color);
    position: relative;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--light-dark);
    border-radius: var(--card-border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(74, 107, 255, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    z-index: -1;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-blue);
    border-color: rgba(74, 107, 255, 0.3);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 25px;
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.projects-section {
    background-color: var(--darker-color);
    position: relative;
    overflow: hidden;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(74, 107, 255, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 70% 70%, rgba(105, 48, 195, 0.1) 0%, transparent 30%);
    z-index: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.project-card {
    background: var(--light-dark);
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(74, 107, 255, 0.1);
    position: relative;
}

.project-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-blue);
    border-color: rgba(74, 107, 255, 0.3);
}

.project-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--medium-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px;
    color: var(--text-muted);
}

.project-info {
    padding: 30px;
}

.project-info h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-info p {
    margin-bottom: 25px;
    color: var(--text-light);
}

.project-link {
    color: var(--accent-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 0;
    position: relative;
}

.project-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.project-link:hover {
    gap: 10px;
}

.project-link:hover::after {
    width: 100%;
}

.contact-section {
    position: relative;
    background-color: var(--dark-color);
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 90%, rgba(74, 107, 255, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 90% 10%, rgba(128, 255, 219, 0.15) 0%, transparent 30%);
    z-index: 0;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    font-size: 22px;
    box-shadow: 0 0 20px var(--glow-blue);
}

.contact-text h3 {
    margin-bottom: 8px;
    font-size: 1.3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: var(--light-dark);
    padding: 40px;
    border-radius: var(--card-border-radius);
    border: 1px solid rgba(74, 107, 255, 0.2);
    box-shadow: var(--shadow);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-light);
}

.form-group input,
.form-group textarea {
    padding: 15px;
    background: var(--medium-dark);
    border: 1px solid rgba(74, 107, 255, 0.2);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-blue);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.social-links {
    text-align: center;
    margin-top: 70px;
    position: relative;
    z-index: 1;
}

.social-links h3 {
    margin-bottom: 30px;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    transition: var(--transition);
    box-shadow: 0 0 15px var(--glow-blue);
}

.social-icon:hover {
    transform: translateY(-8px) scale(1.1);
    background: var(--gradient-secondary);
    box-shadow: 0 0 20px var(--glow-teal);
}

footer {
    background-color: var(--darker-color);
    color: var(--text-light);
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    transition: var(--transition);
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 992px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .profile-placeholder {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 18, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        height: 100vh;
        gap: 20px;
        border-top: 1px solid rgba(74, 107, 255, 0.2);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .profile-placeholder {
        width: 240px;
        height: 240px;
        font-size: 80px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 20px 0;
    }
    
    .projects-grid,
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .project-card {
        max-width: 100%;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .social-icon {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 5px;
    }
    
    .section-padding {
        padding: 20px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 5px;
    }
    
    .hero-text .subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }
    
    .profile-placeholder {
        width: 100px;
        height: 100px;
        font-size: 70px;
    }
    
    .card {
        padding: 20px 10px;
    }
    
    .contact-form form {
        padding: 15px;
    }
    
    .social-icons {
        gap: 5px;
    }
    
    .social-icon {
        width: 20px;
        height: 20px;
        font-size: 15px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

.profile-image {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid var(--medium-dark);
    box-shadow: 0 0 30px var(--glow-blue),
                inset 0 0 20px rgba(74, 107, 255, 0.3);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image {
    transform: scale(1.05);
}
