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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    text-align: center;
    position: relative;
}

.profile-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    background: white;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 600;
}

header p {
    font-size: 1.2em;
    opacity: 0.9;
}

.content {
    padding: 40px;
}

section {
    margin-bottom: 40px;
}

section:last-child {
    margin-bottom: 0;
}

h2 {
    color: #667eea;
    font-size: 1.8em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}

/* Contact Icons */
section#contato .contact-links {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 30px !important;
    flex-wrap: wrap !important;
    margin: 20px 0 !important;
    padding: 20px 0 !important;
}

section#contato .contact-links a.contact-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
}

section#contato .contact-links a.contact-icon:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5) !important;
}

section#contato .contact-links a.contact-icon .icon {
    font-size: 2em !important;
    line-height: 1 !important;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.info-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.info-item strong {
    color: #764ba2;
    display: block;
    margin-bottom: 5px;
}

.info-item a {
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
    word-break: break-word;
}

.info-item a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.experience-item, .education-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #764ba2;
}

.experience-item:last-child, .education-item:last-child {
    margin-bottom: 0;
}

.experience-item h3, .education-item h3 {
    color: #333;
    font-size: 1.3em;
    margin-bottom: 8px;
}

.period {
    color: #667eea;
    font-weight: 600;
    font-size: 0.95em;
    margin-bottom: 10px;
    display: block;
}

.company {
    color: #764ba2;
    font-weight: 600;
    margin-bottom: 10px;
}

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

.tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
}

.mission {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    padding: 25px;
    border-radius: 8px;
    font-style: italic;
    font-size: 1.1em;
    text-align: center;
    border: 2px solid #667eea;
    margin-top: 20px;
}

/* Resumo Profissional */
.summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    line-height: 1.8;
    font-size: 1.05em;
    text-align: justify;
}

/* Responsabilidades */
.responsibilities {
    margin-top: 15px;
    padding-left: 20px;
}

.responsibilities li {
    margin-bottom: 8px;
    color: #555;
    line-height: 1.6;
}

/* Habilidades por Categoria */
.skills-category {
    margin-bottom: 25px;
}

.skills-category:last-child {
    margin-bottom: 0;
}

.skills-category h3 {
    color: #764ba2;
    font-size: 1.2em;
    margin-bottom: 12px;
}

/* Projetos */
.project-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #667eea;
}

.project-item:last-child {
    margin-bottom: 0;
}

.project-item h3 {
    color: #333;
    font-size: 1.2em;
    margin-bottom: 8px;
}

.project-item p {
    color: #555;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Certificações */
.certification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.certification-item {
    background: #f8f9fa;
    padding: 18px;
    border-radius: 8px;
    border-left: 4px solid #764ba2;
}

.certification-item h3 {
    color: #333;
    font-size: 1.1em;
    margin-bottom: 8px;
}

.certification-item .period {
    font-size: 0.9em;
}

/* Idiomas */
.language-grid {
    display: grid;
    gap: 20px;
}

.language-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.language-item strong {
    color: #764ba2;
    font-size: 1.1em;
    display: block;
    margin-bottom: 10px;
}

.progress-bar {
    background: #e0e0e0;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100%;
    border-radius: 5px;
    transition: width 0.3s ease;
}

.level {
    color: #667eea;
    font-size: 0.9em;
    font-weight: 600;
}

footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .profile-photo {
        width: 120px;
        height: 120px;
    }

    header h1 {
        font-size: 2em;
    }

    .content {
        padding: 25px;
    }

    h2 {
        font-size: 1.5em;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .certification-grid {
        grid-template-columns: 1fr;
    }

    .summary {
        text-align: left;
    }
}

@media print {
    body {
        background: white;
        padding: 0;
    }

    .container {
        box-shadow: none;
        max-width: 100%;
    }

    header {
        background: #667eea;
    }

    .tag {
        background: #667eea;
    }
}
