:root {
    --primary: #10b981;
    --primary-dark: #065f46;
    --primary-light: #d1fae5;
    --secondary: #0f172a;
    --accent: #3b82f6;
    --bg-main: #fcfcfd;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Header & Nav --- */
.header {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    padding: 1.2rem 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

.nav-list {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    background: var(--secondary);
    color: var(--white);
    padding: 0.7rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.nav-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #f1f5f9 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-image: url('assets/hero-bg-vibrant.png');
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    z-index: 1;
}

.construction-badge {
    position: absolute;
    top: 6rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
    opacity: 0.8;
}

.hero-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--secondary);
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 650px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.4);
}

.btn-.publicacao-card:hover {
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

/* Workshops Section */
.section-subtitle {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.workshops-placeholder {
    display: flex;
    justify-content: center;
    padding: 4rem 0;
}

.placeholder-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    border: 2px dashed var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.pulse {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* --- Hero Image Frame --- */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.image-frame {
    width: 320px;
    height: 380px;
    border-radius: 40px;
    overflow: hidden;
    border: 8px solid var(--white);
    box-shadow: var(--shadow-lg);
    transform: rotate(3deg);
    transition: var(--transition);
    background: var(--primary-light);
}

.image-frame:hover {
    transform: rotate(0deg) scale(1.05);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-secondary {
    background: var(--white);
    color: var(--secondary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: #f8fafc;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* --- Sections Common --- */
.section {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -1px;
    display: inline-block;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: var(--primary);
    border-radius: 10px;
}

/* --- Sobre Section --- */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    background: var(--white);
    padding: 4rem;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.sobre-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.sobre-text strong {
    color: var(--primary-dark);
}

/* --- Timeline --- */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border);
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
    width: 50%;
    padding: 0 3rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid var(--primary);
    border-radius: 50%;
    top: 0;
    z-index: 10;
}

.timeline-item:nth-child(odd)::after {
    right: -10px;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-date {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* --- Formação & Publicações --- */
.formacao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.formacao-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}

.formacao-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 20px;
    margin: 0 auto 2rem;
}

.publicacao-card {
    background: var(--secondary);
    color: var(--white);
    padding: 4rem;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.publicacao-card::after {
    content: '📑';
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 10rem;
    opacity: 0.1;
}

.pub-badge {
    background: var(--primary);
    color: var(--white);
}

.publicacao-card h3 {
    color: var(--white);
    font-size: 2rem;
}

.journal {
    color: var(--primary);
}

.publicacao-card p {
    color: #94a3b8;
}

/* --- Skills --- */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.skill-category {
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-list li {
    background: #f1f5f9;
    padding: 0.6rem 1.4rem;
    border-radius: 12px;
    font-weight: 600;
    color: var(--secondary);
    transition: var(--transition);
}

.skill-list li:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

/* --- Footer --- */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 6rem 0 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5rem;
}

.footer-info .logo {
    color: var(--white);
}

.footer-info p {
    color: #94a3b8;
    max-width: 300px;
    margin-top: 1rem;
}

.footer-links h3 {
    font-family: var(--font-heading);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #1e293b;
    padding-top: 3rem;
    color: #475569;
}

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

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

/* --- Responsive --- */
@media (max-width: 992px) {
    .timeline::before {
        left: 40px;
    }

    .timeline-item {
        width: 100%;
        text-align: left !important;
        padding-left: 80px;
    }

    .timeline-item::after {
        left: 30px !important;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }
}