:root {
    --bg-main: #0F172A;
    --bg-sidebar: #1E3A5F;
    --bg-card: #1E293B;
    --blue: #2563EB;
    --blue-light: #60A5FA;
    --cyan: #2DD4BF;
    --text-main: #F1F5F9;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    --border: rgba(255, 255, 255, 0.10);
}

/* RESET */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
}

/* SIDEBAR */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, #1E3A5F, #0F172A);
    color: var(--text-main);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 100;
    border-right: 1px solid var(--border);
}

.sidebar-header {
    text-align: center;
    margin-bottom: 40px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 2px solid var(--blue-light);
    background-color: var(--bg-card);
    box-shadow: 0 0 25px rgba(96, 165, 250, 0.25);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
}

.sidebar h1 {
    color: var(--text-main);
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.sidebar p {
    color: var(--text-secondary);
}

/* MENU */
.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.nav-link {
    display: block;
    padding: 12px 18px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-link.active,
.nav-link:hover {
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.07);
    border-left: 3px solid var(--cyan);
}

/* RODAPÉ SIDEBAR */
.sidebar-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-links {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    padding-left: 18px;
}

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--blue-light);
}

.btn-contact {
    display: block;
    text-align: center;
    background-color: var(--blue);
    color: white;
    text-decoration: none;
    padding: 13px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: var(--blue-light);
    transform: translateY(-2px);
}

/* CONTEÚDO PRINCIPAL */
.main-content {
    margin-left: 320px;
    padding: 70px 80px;
    min-height: 100vh;
    background-color: var(--bg-main);
}

.content-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

.content-section:last-child {
    border-bottom: none;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--blue-light);
    font-weight: 700;
    margin-bottom: 12px;
}

h2 {
    font-size: 2.2rem;
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 25px;
    line-height: 1.2;
}

h3 {
    font-size: 1.25rem;
    color: var(--cyan);
    margin-bottom: 15px;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* PÁGINA INICIAL - BOOK */
.main-content.book-layout {
    position: relative;
    background: linear-gradient(90deg, #050816 0%, #0F172A 60%, #111827 100%);
    color: var(--text-main);
    padding: 80px 60px;
    min-height: 100vh;
    z-index: 1;
    overflow: hidden;
}

.main-content.book-layout::before {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    width: calc(100% - 320px);
    height: 100vh;
    background-image: url('imagens/fotofundo.jpeg');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.book-header,
.book-body,
.book-actions {
    max-width: 560px;
    position: relative;
    z-index: 2;
}

.hero-statement {
    font-size: 1.35rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 45px;
    font-weight: 300;
}

.book-body p {
    font-size: 1.18rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
    font-weight: 300;
    text-align: left;
}

.highlight-phrase {
    font-size: 1.25rem !important;
    color: var(--text-main) !important;
    font-weight: 600;
    padding-left: 18px;
    border-left: 3px solid var(--cyan);
    margin: 35px 0 !important;
}

.invitation-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 22px;
}

/* BOTÕES */
.book-actions {
    margin-top: 50px;
    display: flex;
    gap: 20px;
}

.btn-action {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-action.primary {
    background-color: var(--blue);
    color: white;
}

.btn-action.primary:hover {
    background-color: var(--blue-light);
    transform: translateY(-2px);
}

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

.btn-action.secondary:hover {
    background: rgba(45, 212, 191, 0.12);
    transform: translateY(-2px);
}

/* INSIGHTS */
.section-intro {
    max-width: 800px;
    margin: 20px 0 40px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

.insight-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-left: 4px solid var(--cyan);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.insight-card:hover {
    transform: translateY(-4px);
    border-color: rgba(45, 212, 191, 0.45);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
}

.insight-card::before {
    content: "💡";
    font-size: 1.4rem;
    display: inline-block;
    margin-bottom: 12px;
}

.insight-card h3 {
    color: var(--text-main);
    font-size: 1.35rem;
    margin-bottom: 15px;
}

.insight-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

/* BADGES */
.skills-highlight {
    margin-top: 40px;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tech-badge {
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* MOBILE */
@media (max-width: 900px) {
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 30px 20px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .main-content,
    .main-content.book-layout {
        margin-left: 0;
        padding: 40px 24px;
    }

    .main-content.book-layout::before {
        width: 100%;
        opacity: 0.15;
    }

    h2 {
        font-size: 1.8rem;
    }

    .book-body p {
        font-size: 1.05rem;
    }

    .book-actions {
        flex-direction: column;
    }
}
.btn-download {
    display: inline-block;
    margin: 20px 0 35px;
    padding: 14px 24px;
    background-color: var(--blue);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background-color: var(--blue-light);
    transform: translateY(-2px);
}

.resume-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-left: 4px solid var(--cyan);
    border-radius: 16px;
    padding: 32px;
    max-width: 850px;
}

.resume-card h3 {
    color: var(--text-main);
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.resume-card h4 {
    color: var(--cyan);
    margin: 28px 0 12px;
    font-size: 1.15rem;
}

.resume-card p,
.resume-card li {
    color: var(--text-secondary);
    line-height: 1.8;
}

.resume-card ul {
    padding-left: 20px;
    margin-bottom: 35px;
}

/* Categorias de tecnologias */

.skills-categories {
    display: grid;
    gap: 26px;
    margin-top: 22px;
}

.skill-category {
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.skill-category:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.skill-category h5 {
    margin: 0 0 14px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.03em;
}

.skills-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-badge {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 16px;
    border: 1px solid rgba(45, 212, 191, 0.28);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.38);
    color: #f8fafc;
    font-size: 0.88rem;
    font-weight: 600;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.skill-badge:hover {
    transform: translateY(-2px);
    border-color: #2dd4bf;
    background: rgba(45, 212, 191, 0.12);
}
/* ===================================
   Formação Acadêmica
=================================== */

.education-list{
    display:flex;
    flex-direction:column;
    gap:24px;
    margin-top:24px;
}

.education-item{

    padding-bottom:22px;

    border-bottom:1px solid rgba(148,163,184,.15);

}

.education-item:last-child{

    border-bottom:none;
    padding-bottom:0;

}

.education-header{

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;

}

.education-header h5{

    margin:0;

    font-size:1.08rem;

    color:#F8FAFC;

}

.education-period{

    color:#60A5FA;

    font-size:.90rem;

    font-weight:700;

}

.education-school{

    margin-top:8px;

    color:#94A3B8;

    font-size:.95rem;

}
/* ==================================================
   TRILHA DE APRENDIZADO
================================================== */

.learning-page {
    max-width: 1050px;
}

.learning-section {
    margin-top: 58px;
}

.learning-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.learning-section-icon {
    display: grid;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid rgba(45, 212, 191, 0.24);
    border-radius: 14px;
    background: rgba(45, 212, 191, 0.08);
    font-size: 1.45rem;
}

.learning-section-label {
    display: block;
    margin-bottom: 4px;
    color: #60a5fa;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.learning-section-header h3 {
    margin: 0;
    color: #f8fafc;
    font-size: 1.45rem;
}

.resource-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.resource-card {
    position: relative;
    padding: 26px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    background: rgba(30, 41, 59, 0.68);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.resource-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #2dd4bf;
    opacity: 0.75;
}

.resource-card:hover {
    transform: translateY(-4px);
    border-color: rgba(45, 212, 191, 0.48);
    background: rgba(30, 41, 59, 0.92);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.18);
}

.resource-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.resource-type {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 5px 10px;
    border: 1px solid rgba(96, 165, 250, 0.22);
    border-radius: 999px;
    background: rgba(96, 165, 250, 0.08);
    color: #93c5fd;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.resource-card h4 {
    margin: 0 0 8px;
    color: #f8fafc;
    font-size: 1.15rem;
    line-height: 1.4;
}

.resource-author {
    margin: 0 0 16px;
    color: #2dd4bf;
    font-size: 0.94rem;
    font-weight: 600;
}

.resource-description {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.7;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 7px;
    margin-top: 22px;
    color: #60a5fa;
    font-weight: 700;
    text-decoration: none;
    transition:
        color 0.2s ease,
        gap 0.2s ease;
}

.resource-link:hover {
    gap: 10px;
    color: #2dd4bf;
}

.resource-link:focus-visible {
    border-radius: 4px;
    outline: 3px solid rgba(45, 212, 191, 0.4);
    outline-offset: 4px;
}

.learning-note {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-top: 58px;
    padding: 26px;
    border: 1px solid rgba(45, 212, 191, 0.25);
    border-radius: 16px;
    background: rgba(45, 212, 191, 0.06);
}

.learning-note-icon {
    display: grid;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 12px;
    background: rgba(45, 212, 191, 0.12);
    font-size: 1.25rem;
}

.learning-note h3 {
    margin: 0 0 8px;
    color: #f8fafc;
    font-size: 1.08rem;
}

.learning-note p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.7;
}

/* Responsividade */

@media (max-width: 850px) {

    .resource-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .learning-section {
        margin-top: 44px;
    }

    .learning-section-header {
        align-items: flex-start;
    }

    .resource-card {
        padding: 22px;
    }

    .learning-note {
        flex-direction: column;
    }
}
