* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #e2e8f0;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.resume-container {
    width: 210mm; /* Tamanho exato A4 */
    min-height: 297mm;
    background: #ffffff;
    display: flex;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* BARRA LATERAL */
.sidebar {
    width: 32%;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 30px 20px;
}

.profile-section {
    text-align: center;
    margin-bottom: 25px;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #38bdf8;
    margin-bottom: 12px;
}

.name {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

.name span {
    color: #38bdf8;
}

.role {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-block {
    margin-bottom: 25px;
}

.sidebar-title {
    font-size: 0.95rem;
    color: #38bdf8;
    border-bottom: 1px solid #334155;
    padding-bottom: 5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.contact-list {
    list-style: none;
    font-size: 0.8rem;
    color: #cbd5e1;
}

.contact-list li {
    margin-bottom: 8px;
    word-break: break-word;
}

.contact-list i {
    color: #38bdf8;
    margin-right: 8px;
    width: 14px;
}

.education-item {
    font-size: 0.82rem;
    color: #cbd5e1;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skills-tags span {
    background: #334155;
    color: #e2e8f0;
    font-size: 0.72rem;
    padding: 4px 8px;
    border-radius: 4px;
    border-left: 2px solid #38bdf8;
}

/* CONTEÚDO PRINCIPAL */
.main-content {
    width: 68%;
    padding: 35px 30px;
    color: #334155;
}

.section {
    margin-bottom: 22px;
}

.section-title {
    font-size: 1.1rem;
    color: #0f172a;
    border-bottom: 2px solid #0284c7;
    padding-bottom: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title i {
    color: #0284c7;
    margin-right: 6px;
}

.summary-text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #475569;
}

.timeline-item {
    margin-bottom: 16px;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.job-title {
    font-weight: bold;
    font-size: 0.95rem;
    color: #0f172a;
}

.job-period {
    font-size: 0.78rem;
    background: #f1f5f9;
    color: #0284c7;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.company {
    font-size: 0.85rem;
    color: #0284c7;
    font-weight: 600;
    margin-bottom: 6px;
}

.job-details {
    font-size: 0.82rem;
    color: #475569;
    padding-left: 16px;
    line-height: 1.4;
}

.job-details li {
    margin-bottom: 4px;
}
.sidebar-link {
    color: #06b6d4; /* Ciano corporativo/brilhante */
    text-decoration: none; /* Remove o sublinhado */
    transition: color 0.2s, text-decoration 0.2s;
}

.sidebar-link:hover {
    color: #22d3ee; /* Ciano ainda mais claro ao passar o mouse */
    text-decoration: underline; /* Sublinha ao passar o mouse */
}