  :root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --text-color: #2d3436;
    --glass-bg: rgba(255, 255, 255, 0.85);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
}

header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

/* Seção de Fotos do Serviço */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.portfolio-item {
    background: #eee;
    border-radius: 15px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tecnologia e Programação */
.tech-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

code {
    background: #2d3436;
    color: #fab1a0;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
}

/* Botões e Links */
.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
    background: #5b4bc4;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    font-size: 24px;
    color: var(--primary-color);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
}

footer {
    text-align: center;
    padding: 40px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* --- APENAS A PARTE RESPONSIVA --- */

@media (max-width: 768px) {
    body {
        text-align: center;
    }

    h1 { 
        font-size: 2rem; 
    }

    .container {
        padding: 20px 15px;
        width: 100%; 
        overflow-x: hidden;
    }

    .glass-card {
        padding: 25px 15px;
        margin: 0 auto 30px auto; 
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center; 
    }

    .subtitle {
        margin: 0 auto; 
    }

    .portfolio-grid {
        grid-template-columns: 1fr; 
        justify-items: center;
    }

    .portfolio-item {
        width: 100%;
        max-width: 300px; 
    }

    .tech-info {
        justify-content: center;
    }

    ul {
        text-align: left; 
        display: inline-block;
        margin: 10px 0;
    }
}