:root {
    --bg-color: #FFFFFF;
    --text-main: #1A1A1A;
    --text-muted: #555555;
    --card-bg: #FFFFFF;
    --brand-green: #005A34; /* Verde institucional mais forte */
    --container-width: 640px; /* Optimal width for bio pages */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    justify-content: center;
    padding: 80px 20px;
    min-height: 100vh;
}

.bio-container {
    width: 100%;
    max-width: var(--container-width);
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* 1. Header */
.profile-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.profile-pic {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
    margin-bottom: 8px;
}

.profile-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 85%;
    line-height: 1.5;
}

/* 2. Cards */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-card {
    background-color: var(--brand-green);
    border: 1.5px solid var(--brand-green);
    border-radius: 20px;
    padding: 24px 32px;
    text-decoration: none;
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 90, 52, 0.25);
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 20px;
}

.card-content h2 {
    font-size: 1.125rem;
    font-weight: 600;
}

.card-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.link-card:hover .card-content p {
    color: #FFFFFF;
}

.arrow-icon {
    color: #FFFFFF;
    min-width: 24px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.link-card:hover .arrow-icon {
    transform: translateX(4px);
}

/* 3. Divider */
.divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #E0E0E0, transparent);
    margin: 8px 0;
}

/* 4. Gallery Photo */
.gallery-section {
    display: flex;
    gap: 16px;
    width: 100%;
}

.gallery-photo {
    width: calc(50% - 8px);
    height: auto;
    border-radius: 20px;
    border: 1px solid var(--brand-green);
    object-fit: cover;
}

/* 5. About Section */
.about-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.about-section p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* 6. Footer */
.footer {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* 7. Instagram Icon */
.instagram-icon-container {
    display: flex;
    justify-content: center;
    margin-top: -10px;
}

.instagram-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.instagram-link:hover {
    color: var(--brand-green);
}

.instagram-link .instagram-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.instagram-link:hover .instagram-icon {
    transform: scale(1.05);
}

.instagram-link span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 600px) {
    body {
        padding: 40px 16px;
    }
    .profile-pic {
        width: 100px;
        height: 100px;
    }
    .link-card {
        padding: 24px;
    }
    .bio-container {
        gap: 40px;
    }
    .gallery-section {
        flex-direction: column;
    }
    .gallery-photo {
        width: 100%;
    }
}
