/* Importação da fonte premium diretamente no CSS externo */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;700;800&display=swap');

/* CONFIGURAÇÕES GERAIS E RESETS */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    scroll-behavior: smooth;
    background-color: #fafafa;
}

.portfolio-body {
    color: #18181b; /* zinc-900 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* UTILITÁRIOS */
.text-muted {
    color: #a1a1aa; /* zinc-400 */
}

/* BARRA DE NAVEGAÇÃO */
.navbar {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(228, 228, 231, 0.6); /* zinc-200 com opacidade */
}

.navbar-logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.navbar-logo-sub {
    color: #a1a1aa;
    font-weight: 300;
}

.navbar-btn {
    background-color: #09090b; /* zinc-950 */
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.navbar-btn:hover {
    background-color: #27272a; /* zinc-800 */
}

/* HERO SECTION */
.hero {
    max-width: 1000px;
    margin: 0 auto;
    padding: 112px 24px 80px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f4f4f5; /* zinc-100 */
    color: #52525b; /* zinc-600 */
    padding: 4px 14px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #e4e4e7; /* zinc-200 */
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981; /* emerald-500 */
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.95;
    color: #09090b;
    max-width: 800px;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 80px;
    }
}

.hero-description {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.625;
    color: #71717a; /* zinc-500 */
    max-width: 650px;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 20px;
    }
}

.hero-actions {
    padding-top: 16px;
}

.hero-link {
    color: #09090b;
    font-weight: 600;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.hero-link:hover {
    color: #71717a;
}

/* SEÇÃO DE PROJETOS */
.projects-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px;
    border-top: 1px solid #e4e4e7;
}

.section-header {
    margin-bottom: 64px;
}

.section-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #a1a1aa;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 96px;
}

.project-item {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (min-width: 768px) {
    .project-item {
        flex-direction: row;
        gap: 64px;
        align-items: flex-start;
    }
    .project-reverse {
        flex-direction: row-reverse;
    }
}

.project-preview {
    width: 100%;
    background-color: #f4f4f5;
    border-radius: 16px;
    border: 1px solid #e4e4e7;
    padding: 48px;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

@media (min-width: 768px) {
    .project-preview {
        width: 50%;
    }
}

.project-item:hover .project-preview {
    background-color: rgba(244, 244, 245, 0.6);
}

.preview-text {
    color: #a1a1aa;
    font-family: monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
}

@media (min-width: 768px) {
    .project-details {
        width: 50%;
    }
}

.project-meta {
    font-size: 12px;
    font-weight: 500;
    color: #a1a1aa;
    font-family: monospace;
}

.project-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #09090b;
}

@media (min-width: 768px) {
    .project-title {
        font-size: 30px;
    }
}

.project-description {
    color: #71717a;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.625;
}

@media (min-width: 768px) {
    .project-description {
        font-size: 16px;
    }
}

.project-action-wrapper {
    padding-top: 16px;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d4d4d8; /* zinc-300 */
    background-color: #ffffff;
    color: #09090b;
    font-weight: 500;
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.project-btn:hover {
    border-color: #09090b;
}

.project-status {
    color: #a1a1aa;
    font-size: 12px;
    font-style: italic;
    font-family: monospace;
}

/* SEÇÃO DE CHAMADA PARA AÇÃO (CTA) */
.cta-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 24px;
    border-top: 1px solid #e4e4e7;
    margin-bottom: 48px;
}

.cta-container {
    max-width: 768px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cta-title {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #09090b;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 48px;
    }
}

.cta-description {
    color: #71717a;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.625;
    max-width: 576px;
}

@media (min-width: 768px) {
    .cta-description {
        font-size: 18px;
    }
}

.cta-action-wrapper {
    padding-top: 16px;
}

.cta-btn {
    background-color: #09090b;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 20px 25px -5px rgba(9, 9, 11, 0.1), 0 8px 10px -6px rgba(9, 9, 11, 0.1);
    transition: background-color 0.2s ease;
}

.cta-btn:hover {
    background-color: #27272a;
}

/* FOOTER */
.footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
    border-top: 1px solid rgba(228, 228, 231, 0.6);
    color: #a1a1aa;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}