/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #e3ebf3; /* Cor de fundo azul bem clarinho */
    color: #555;
    padding: 40px 20px;
}

/* CONTAINER PRINCIPAL (O Cartão do Currículo) */
.resume-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden; /* Faz com que o cabeçalho não passe das bordas arredondadas */
}

/* CABEÇALHO (Parte Escura) */
.header {
    background-color: #34495e;
    color: #ffffff;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.header p {
    color: #b3c2d1;
    font-size: 14px;
    line-height: 1.5;
}

.header p span {
    background-color: #1a4b9c;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    object-fit: cover;
}

/* CONTEÚDO PRINCIPAL (Parte Branca) */
.content {
    padding: 40px;
}

/* TÍTULOS DAS SEÇÕES */
.section-title {
    color: #3498db;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    margin-top: 30px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 10px;
}

/* Remove a margem do topo do primeiro título */
.content section:first-child .section-title {
    margin-top: 0;
}

.summary-text {
    font-size: 15px;
    line-height: 1.6;
}

/* EXPERIÊNCIAS */
.job {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent; /* Borda invisivel para não dar pulo na animação*/
}

.job:hover {
    transform: scale(1.02); /* Dá um leve zoom de 2%*/
    background-color: #f8faff; /*Fica levemente azulado*/
    border: 1px solid #e3ebf3; /*Borda Sutil*/
    box-shadow: 0 4px 10 px rgba(0,0,0,0.05); /*Sombra leve*/
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.job-header h3 {
    color: #333;
    font-size: 16px;
}

.job-header span {
    color: #3498db;
    font-size: 13px;
    font-weight: 600;
}

.job-desc {
    font-size: 14px;
}

/* HABILIDADES E FORMAÇÃO */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.skill-item {
    border: 1px solid #eee;
    padding: 12px 15px;
    border-radius: 5px;
    font-size: 14px;
    border-left: 3px solid #34495e; /* Borda escura na lateral */
    transition: all 0.3s ease; /*Linha para a animação não der tranco*/
}

.skill-item:hover {
    transform: translateY(-5px); /*faz a caixinha subir 5 pixels*/
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* sombra leve para destacar a subida*/
    border-color: #d1e4f3; /* deixa as outras bordas levemente azuladas*/
}

.skill-item.highlight {
    border-left: 3px solid #3498db; /* Borda azul na lateral */
    font-weight: 600;
    color: #000;
}

.btn-pdf {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #333;
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer;
    margin-top: 10px;
}

/* BOTÕES SOCIAIS */
.social-buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease; /*Deixa animação do Mouse suave*/
}
/*efeito quando o Mouse passar em cima*/
.btn:hover { 
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);/* cria uma sombra embaixo */
}

.btn-linkedin { background-color: #0077b5; }
.btn-github { background-color: #333333; }
.btn-email { background-color: #ea4335; }

/* RESPONSIVIDADE (Para ficar bom no celular) */
@media (max-width: 600px) {
    .header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .skills-grid {
        grid-template-columns: 1fr;
    }
    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .social-buttons {
        flex-direction: column;
    }
}

/* ESTILO PARA IMPRESSÃO */
@media print {

    @page {
        margin: 0.5cm;
    }

    body {
        background-color: #ffffff;
        padding: 0;
        margin: 0;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .resume-container {
        width: 210mm;
        min-height: 297mm;
    }

    #btn-imprimir {
        display: none !important;
    }

    .content section:last-child {
        display: none !important;
    }

    .resume-container {
        page-break-inside: avoid;
    }
}