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

body {
    background: linear-gradient(135deg, #f9e8ee 0%, #fdf2f5 50%, #fefbfc 100%);
    font-family: 'Courier Prime', monospace;
    color: #4a3540;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Textura de papel */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.03) 2px, rgba(0,0,0,.03) 4px);
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

/* Botão voltar */
.back-button {
    display: inline-block;
    background: #f5e5ec;
    color: #6b4456;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #e6d5dc;
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: #e6bfce;
    transform: translateX(-5px);
}

/* Cabeçalho do projeto */
.project-header {
    background: linear-gradient(145deg, #f5e5ec, #faeef3);
    border: 3px solid #e6d5dc;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(230, 213, 220, 0.3), inset 0 1px 0 rgba(255,255,255,0.5);
    position: relative;
    margin-bottom: 30px;
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-title {
    font-family: 'Special Elite', cursive;
    font-size: 2.5em;
    color: #6b4456;
    text-align: center;
    margin-bottom: 15px;
}

.project-description {
    text-align: center;
    font-size: 1.1em;
    color: #8b6575;
    margin-bottom: 25px;
    line-height: 1.6;
}

.project-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.project-btn {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid #e6d5dc;
    border-radius: 5px;
    text-decoration: none;
    color: #6b4456;
    background: #fffcfd;
    font-weight: bold;
    transition: all 0.3s ease;
}

.project-btn.primary {
    background: #f5e5ec;
    border-color: #e6bfce;
}

.project-btn:hover {
    transform: translateY(-3px);
    box-shadow: 4px 4px 0 #e6d5dc;
    background: #f5e5ec;
}

.tech-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    background: #fffcfd;
    color: #6b4456;
    padding: 8px 15px;
    border: 2px dashed #e6bfce;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
}

/* Cabeçalho estilo máquina de escrever */
header {
    background: linear-gradient(145deg, #f5e5ec, #faeef3);
    border: 3px solid #e6d5dc;
    border-radius: 15px 15px 0 0;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(230, 213, 220, 0.3), inset 0 1px 0 rgba(255,255,255,0.5);
    position: relative;
    margin-bottom: 30px;
    animation: slideDown 0.8s ease-out;
}

header::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 8px;
    background: repeating-linear-gradient(90deg, #e6d5dc 0px, #e6d5dc 20px, transparent 20px, transparent 40px);
    border-radius: 4px;
}

h1 {
    font-family: 'Special Elite', cursive;
    font-size: 3.5em;
    color: #6b4456;
    text-align: center;
    letter-spacing: 3px;
    text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    animation: typewriter 2s steps(20);
    overflow: hidden;
    white-space: nowrap;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

.subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #8b6575;
    font-style: italic;
    margin-bottom: 30px;
}

/* Contadores/Estatísticas */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.stat-box {
    background: #fffcfd;
    border: 2px dashed #e6bfce;
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 140px;
    transition: all 0.3s ease;
    animation: fadeInScale 0.6s ease-out backwards;
}

.stat-box:nth-child(1) { animation-delay: 0.3s; }
.stat-box:nth-child(2) { animation-delay: 0.4s; }
.stat-box:nth-child(3) { animation-delay: 0.5s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-box:hover {
    transform: translateY(-5px) rotate(2deg);
    box-shadow: 5px 5px 0 #f5e5ec;
    border-color: #d4a5b8;
}

.stat-icon {
    font-size: 1.8em;
    filter: grayscale(20%);
}

.stat-label {
    font-size: 0.75em;
    color: #8b6575;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.stat-value {
    font-family: 'Special Elite', cursive;
    font-size: 1.1em;
    color: #6b4456;
    font-weight: bold;
}

/* Seção estilo papel */
.paper-section {
    background: #fffcfd;
    border: 2px solid #f0dfe6;
    border-left: 20px solid #f5e5ec;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 5px 5px 15px rgba(230, 213, 220, 0.2), inset 0 0 50px rgba(245, 229, 236, 0.05);
    position: relative;
    animation: fadeInUp 0.6s ease-out backwards;
}

.paper-section:nth-child(2) { animation-delay: 0.2s; }
.paper-section:nth-child(3) { animation-delay: 0.4s; }
.paper-section:nth-child(4) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.paper-section::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(transparent, transparent 25px, #f5e5ec 25px, #f5e5ec 27px);
}

h2 {
    font-family: 'Special Elite', cursive;
    font-size: 2em;
    color: #6b4456;
    margin-bottom: 20px;
    padding-left: 30px;
    border-bottom: 3px double #f0dfe6;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon {
    display: inline-block;
    font-size: 0.9em;
}

h2::before {
    content: '▶';
    color: #e6bfce;
    display: inline-block;
    animation: playButton 2s ease-in-out infinite;
}

@keyframes playButton {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
    25% {
        opacity: 0.7;
        transform: scale(1.15) translateX(3px);
    }
    50% {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
    75% {
        opacity: 0.8;
        transform: scale(0.95) translateX(-2px);
    }
}

h2:hover::before {
    animation: playButtonHover 0.6s ease-in-out infinite;
}

@keyframes playButtonHover {
    0%, 100% {
        transform: translateX(0) scale(1);
    }
    50% {
        transform: translateX(8px) scale(1.2);
        color: #d4a5b8;
    }
}

.content {
    padding-left: 30px;
    line-height: 1.8;
    font-size: 1.1em;
}

.subsection-title {
    color: #6b4456;
    font-family: 'Special Elite', cursive;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.highlight-box {
    background: #fdf2f5;
    border-left: 4px solid #e6bfce;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.code-block {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 5px;
    font-family: 'Courier Prime', monospace;
    overflow-x: auto;
    margin: 15px 0;
    border: 2px solid #e6d5dc;
}

.code-block .keyword {
    color: #ff79c6;
}

.code-block .function {
    color: #50fa7b;
}

.code-block .string {
    color: #f1fa8c;
}

.code-block .comment {
    color: #6272a4;
    font-style: italic;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-card {
    background: #fdf2f5;
    border: 2px solid #f0dfe6;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 5px 5px 0 #f5e5ec;
    border-color: #e6bfce;
}

.feature-card h4 {
    color: #6b4456;
    font-family: 'Special Elite', cursive;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.feature-card p {
    color: #8b6575;
    line-height: 1.6;
    font-size: 0.95em;
}

/* Projetos em cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding-left: 30px;
}

.project-card {
    background: #fffcfd;
    border: 3px solid #f0dfe6;
    padding: 25px;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 3px 3px 0 #f5e5ec;
}

.project-card:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: 8px 8px 0 #f5e5ec;
    border-color: #e6bfce;
}

.project-card h3 {
    font-family: 'Special Elite', cursive;
    color: #6b4456;
    margin-bottom: 10px;
    font-size: 1.3em;
    transition: color 0.3s ease;
}

.project-card:hover h3 {
    color: #8b6575;
}

.project-card p {
    color: #8b6575;
    line-height: 1.6;
}

/* Tags estilo carimbo */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tag {
    background: #f5e5ec;
    color: #6b4456;
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 0.85em;
    border: 2px dashed #e6d5dc;
    font-weight: bold;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-out backwards;
}

.tag:nth-child(1) { animation-delay: 0.1s; }
.tag:nth-child(2) { animation-delay: 0.2s; }
.tag:nth-child(3) { animation-delay: 0.3s; }

.project-card:hover .tag {
    transform: translateY(-2px);
    background: #e6bfce;
}

/* Rodapé estilo carimbo postal */
footer {
    text-align: center;
    padding: 30px;
    margin-top: 50px;
    border-top: 3px double #f0dfe6;
    background: linear-gradient(145deg, #fdf2f5, #fefbfc);
    border-radius: 0 0 15px 15px;
    animation: fadeIn 1s ease-out 0.8s backwards;
}

.stamp {
    display: inline-block;
    border: 4px dashed #e6bfce;
    padding: 15px 30px;
    background: #fffcfd;
    font-family: 'Special Elite', cursive;
    color: #6b4456;
    transform: rotate(-2deg);
    margin-bottom: 15px;
    transition: all 0.3s ease;
    animation: stamp 0.6s ease-out 1s backwards;
}
<artifact identifier="idh-additional-css" type="text/css" title="Estilos CSS Adicionais">
                                                                                            /* Estilos adicionais para a página de Análise do IDH */

                                                                                            /* Tabela de Ranking */
                                                                                        .ranking-table {
                                                                                            background: #fffcfd;
                                                                                            border: 2px solid #f0dfe6;
                                                                                            border-radius: 8px;
                                                                                            padding: 20px;
                                                                                            margin: 20px 0;
                                                                                        }

.ranking-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin: 10px 0;
    background: #fdf2f5;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.ranking-item:hover {
    transform: translateX(5px);
    box-shadow: 3px 3px 0 #f5e5ec;
    border-left: 4px solid #e6bfce;
}

.ranking-position {
    font-family: 'Special Elite', cursive;
    font-size: 1.2em;
    font-weight: bold;
    color: #6b4456;
    min-width: 50px;
}

.ranking-name {
    flex: 1;
    font-weight: bold;
    color: #8b6575;
    padding: 0 15px;
}

.ranking-value {
    font-family: 'Special Elite', cursive;
    font-size: 1.1em;
    font-weight: bold;
    color: #6b4456;
    background: #fffcfd;
    padding: 5px 15px;
    border-radius: 3px;
    border: 2px dashed #e6bfce;
}

/* Tabela de Dados */
.data-table {
    background: #fffcfd;
    border: 2px solid #f0dfe6;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.data-row {
    display: flex;
    align-items: center;
    padding: 12px;
    margin: 8px 0;
    background: #fdf2f5;
    border-radius: 5px;
    border-left: 3px solid #e6bfce;
}

.data-row:hover {
    background: #f5e5ec;
}

.data-field {
    min-width: 150px;
    color: #6b4456;
    font-family: 'Courier Prime', monospace;
}

.data-description {
    flex: 1;
    color: #8b6575;
    padding: 0 15px;
}

.data-type {
    background: #fffcfd;
    padding: 4px 12px;
    border-radius: 3px;
    border: 1px solid #e6d5dc;
    color: #6b4456;
    font-size: 0.9em;
    font-family: 'Courier Prime', monospace;
}

/* Responsividade para novos elementos */
@media (max-width: 768px) {
    .ranking-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .ranking-position,
    .ranking-name,
    .ranking-value {
        width: 100%;
    }

    .data-row {
        flex-direction: column;
        text-align: left;
        gap: 8px;
    }

    .data-field,
    .data-description,
    .data-type {
        width: 100%;
    }
}
</artifact>
@keyframes stamp {
    from {
        opacity: 0;
        transform: rotate(-2deg) scale(0.8);
    }
    to {
        opacity: 1;
        transform: rotate(-2deg) scale(1);
    }
}

.stamp:hover {
    transform: rotate(2deg) scale(1.05);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.contact-links a {
    color: #8b6575;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid #f0dfe6;
    border-radius: 5px;
    transition: all 0.4s ease;
    background: #fffcfd;
    position: relative;
    overflow: hidden;
}

.contact-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #f5e5ec;
    transition: width 0.4s ease, height 0.4s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.contact-links a:hover::before {
    width: 300px;
    height: 300px;
}

.contact-links a:hover {
    color: #6b4456;
    transform: translateY(-3px);
    box-shadow: 4px 4px 0 #e6d5dc;
    border-color: #e6bfce;
}

/* Efeito de digitação para parágrafos */
.typed {
    animation: blink 1s step-end infinite;
}

/* RodapÃ© estilo carimbo postal */
footer {
    text-align: center;
    padding: 30px;
    margin-top: 50px;
    border-top: 3px double #f0dfe6;
    background: linear-gradient(145deg, #fdf2f5, #fefbfc);
    border-radius: 0 0 15px 15px;
    animation: fadeIn 1s ease-out 0.8s backwards;
}

/* ===== SEÇÃO DE FORMAÇÃO E CERTIFICAÇÕES ===== */

.education-item {
    background: #fdf2f5;
    border-left: 4px solid #e6bfce;
    padding: 20px;
    margin: 15px 0 30px 0;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.education-item:hover {
    transform: translateX(5px);
    box-shadow: 5px 5px 0 #f5e5ec;
}

.education-item h4 {
    color: #6b4456;
    font-family: 'Special Elite', cursive;
    font-size: 1.3em;
    margin-bottom: 8px;
}

.education-item .institution {
    color: #8b6575;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 0.95em;
}

.education-item .description {
    color: #8b6575;
    line-height: 1.6;
}

/* Grid de Certificações */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0 30px 0;
}

.cert-card {
    background: #fffcfd;
    border: 3px solid #f0dfe6;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 3px 3px 0 #f5e5ec;
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(230, 191, 206, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cert-card:hover::before {
    opacity: 1;
}

.cert-card:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 8px 8px 0 #f5e5ec;
    border-color: #e6bfce;
}

.cert-badge {
    font-size: 3em;
    display: block;
    margin-bottom: 15px;
    filter: grayscale(20%);
    transition: transform 0.3s ease;
}

.cert-card:hover .cert-badge {
    transform: scale(1.2) rotate(5deg);
}

.cert-card h4 {
    color: #6b4456;
    font-family: 'Special Elite', cursive;
    font-size: 1.2em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.cert-issuer {
    color: #8b6575;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.cert-date {
    color: #a88899;
    font-size: 0.85em;
    margin-bottom: 15px;
    font-style: italic;
}

.cert-link {
    display: inline-block;
    color: #6b4456;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 15px;
    border: 2px solid #f0dfe6;
    border-radius: 5px;
    background: #f5e5ec;
    transition: all 0.3s ease;
    font-size: 0.9em;
    position: relative;
    z-index: 1;
}

.cert-link:hover {
    background: #e6bfce;
    transform: translateX(5px);
    box-shadow: 3px 3px 0 #f0dfe6;
}

/* Container de Badges */
.badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.badge-item {
    background: #fffcfd;
    border: 2px dashed #e6bfce;
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: default;
    animation: fadeIn 0.5s ease-out backwards;
}

.badge-item:nth-child(1) { animation-delay: 0.1s; }
.badge-item:nth-child(2) { animation-delay: 0.2s; }
.badge-item:nth-child(3) { animation-delay: 0.3s; }
.badge-item:nth-child(4) { animation-delay: 0.4s; }
.badge-item:nth-child(5) { animation-delay: 0.5s; }

.badge-item:hover {
    transform: translateY(-5px) scale(1.05);
    background: #f5e5ec;
    border-style: solid;
    box-shadow: 5px 5px 0 rgba(230, 213, 220, 0.3);
}

.badge-icon {
    font-size: 1.5em;
    filter: grayscale(10%);
    transition: transform 0.3s ease;
}

.badge-item:hover .badge-icon {
    transform: rotate(360deg) scale(1.2);
}

.badge-name {
    color: #6b4456;
    font-weight: bold;
    font-size: 0.9em;
}

/* RodapÃ© estilo carimbo postal */

@keyframes blink {
    0%, 50% { border-right: 3px solid #6b4456; }
    51%, 100% { border-right: 3px solid transparent; }
}

/* ===== RESPONSIVIDADE ===== */

/* Tablets e dispositivos médios */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 30px 15px;
    }

    h1 {
        font-size: 2.8em;
        letter-spacing: 2px;
    }

    h2 {
        font-size: 1.8em;
    }

    .project-title {
        font-size: 2em;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }

    .stats-container {
        gap: 15px;
    }

    .stat-box {
        min-width: 120px;
        padding: 12px 15px;
    }
}

/* Smartphones e dispositivos pequenos */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 20px 10px;
    }

    header,
    .project-header {
        padding: 25px 20px;
        border-radius: 10px 10px 0 0;
    }

    h1 {
        font-size: 2em;
        letter-spacing: 1px;
        animation: none;
        width: 100%;
        white-space: normal;
    }

    .project-title {
        font-size: 1.6em;
    }

    .subtitle,
    .project-description {
        font-size: 1em;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .project-links {
        flex-direction: column;
        gap: 10px;
    }

    .project-btn {
        width: 100%;
        text-align: center;
    }

    /* Contadores em mobile */
    .stats-container {
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }

    .stat-box {
        width: 100%;
        min-width: auto;
        flex-direction: row;
        justify-content: space-between;
        padding: 12px 20px;
    }

    .stat-box:hover {
        transform: translateY(-3px) rotate(0deg);
    }

    .stat-icon {
        font-size: 1.5em;
    }

    .stat-label {
        flex: 1;
        text-align: left;
        margin-left: 10px;
        font-size: 0.7em;
    }

    .stat-value {
        font-size: 1em;
        text-align: right;
    }

    .paper-section {
        padding: 25px 15px;
        border-left-width: 10px;
        margin-bottom: 20px;
    }

    .paper-section::before {
        left: 15px;
    }

    h2 {
        font-size: 1.5em;
        padding-left: 15px;
        flex-wrap: wrap;
    }

    .content {
        padding-left: 15px;
        font-size: 1em;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        padding-left: 15px;
        gap: 20px;
    }

    .project-card {
        padding: 20px;
    }

    .project-card h3 {
        font-size: 1.2em;
    }

    .project-card:hover {
        transform: translateY(-5px) rotate(0deg);
    }

    .tags {
        gap: 8px;
    }

    .tag {
        font-size: 0.8em;
        padding: 4px 10px;
    }

    footer {
        padding: 25px 15px;
    }

    .stamp {
        padding: 12px 20px;
        font-size: 0.9em;
    }

    .contact-links {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .contact-links a {
        padding: 12px 20px;
        text-align: center;
    }

    .contact-links a:hover {
        transform: translateY(-2px);
    }

    .code-block {
        font-size: 0.85em;
        padding: 15px;
    }
}

/* Dispositivos muito pequenos */
@media (max-width: 480px) {
    h1 {
        font-size: 1.6em;
    }

    .project-title {
        font-size: 1.4em;
    }

    h2 {
        font-size: 1.3em;
    }

    .paper-section {
        padding: 20px 12px;
    }

    .content {
        padding-left: 12px;
        font-size: 0.95em;
    }

    .projects-grid {
        padding-left: 12px;
    }

    .project-card {
        padding: 15px;
    }

    .tag {
        font-size: 0.75em;
        padding: 3px 8px;
    }

    .stat-box {
        padding: 10px 15px;
    }

    .stat-icon {
        font-size: 1.3em;
    }

    .stat-label {
        font-size: 0.65em;
    }

    .stat-value {
        font-size: 0.9em;
    }
}

/* Landscape mode em smartphones */
@media (max-width: 768px) and (orientation: landscape) {
    h1 {
        font-size: 1.8em;
    }

    .project-title {
        font-size: 1.5em;
    }

    header,
    .project-header {
        padding: 20px;
    }

    .paper-section {
        padding: 20px;
    }

    .stats-container {
        flex-direction: row;
    }

    .stat-box {
        flex-direction: column;
        min-width: 110px;
    }

    .stat-label {
        text-align: center;
        margin-left: 0;
    }

    .stat-value {
        text-align: center;
    }
}

/* Telas grandes */
@media (min-width: 1440px) {
    .container {
        max-width: 1000px;
    }

    h1 {
        font-size: 4em;
    }

    .project-title {
        font-size: 3em;
    }

    h2 {
        font-size: 2.2em;
    }

    .content {
        font-size: 1.15em;
    }

    .stat-box {
        min-width: 160px;
        padding: 18px 25px;
    }

    .stat-icon {
        font-size: 2em;
    }
}

/* RodapÃ© estilo carimbo postal */
footer {
    text-align: center;
    padding: 30px;
    margin-top: 50px;
    border-top: 3px double #f0dfe6;
    background: linear-gradient(145deg, #fdf2f5, #fefbfc);
    border-radius: 0 0 15px 15px;
    animation: fadeIn 1s ease-out 0.8s backwards;
}

/* ===== SEÇÃO DE FORMAÇÃO E CERTIFICAÇÕES ===== */

.education-item {
    background: #fdf2f5;
    border-left: 4px solid #e6bfce;
    padding: 20px;
    margin: 15px 0 30px 0;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.education-item:hover {
    transform: translateX(5px);
    box-shadow: 5px 5px 0 #f5e5ec;
}

.education-item h4 {
    color: #6b4456;
    font-family: 'Special Elite', cursive;
    font-size: 1.3em;
    margin-bottom: 8px;
}

.education-item .institution {
    color: #8b6575;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 0.95em;
}

.education-item .description {
    color: #8b6575;
    line-height: 1.6;
}

/* Grid de Certificações */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0 30px 0;
}

.cert-card {
    background: #fffcfd;
    border: 3px solid #f0dfe6;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 3px 3px 0 #f5e5ec;
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(230, 191, 206, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cert-card:hover::before {
    opacity: 1;
}

.cert-card:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 8px 8px 0 #f5e5ec;
    border-color: #e6bfce;
}

.cert-badge {
    font-size: 3em;
    display: block;
    margin-bottom: 15px;
    filter: grayscale(20%);
    transition: transform 0.3s ease;
}

.cert-card:hover .cert-badge {
    transform: scale(1.2) rotate(5deg);
}

.cert-card h4 {
    color: #6b4456;
    font-family: 'Special Elite', cursive;
    font-size: 1.2em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.cert-issuer {
    color: #8b6575;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.cert-date {
    color: #a88899;
    font-size: 0.85em;
    margin-bottom: 15px;
    font-style: italic;
}

.cert-link {
    display: inline-block;
    color: #6b4456;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 15px;
    border: 2px solid #f0dfe6;
    border-radius: 5px;
    background: #f5e5ec;
    transition: all 0.3s ease;
    font-size: 0.9em;
    position: relative;
    z-index: 1;
}

.cert-link:hover {
    background: #e6bfce;
    transform: translateX(5px);
    box-shadow: 3px 3px 0 #f0dfe6;
}

/* Container de Badges */
.badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.badge-item {
    background: #fffcfd;
    border: 2px dashed #e6bfce;
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: default;
    animation: fadeIn 0.5s ease-out backwards;
}

.badge-item:nth-child(1) { animation-delay: 0.1s; }
.badge-item:nth-child(2) { animation-delay: 0.2s; }
.badge-item:nth-child(3) { animation-delay: 0.3s; }
.badge-item:nth-child(4) { animation-delay: 0.4s; }
.badge-item:nth-child(5) { animation-delay: 0.5s; }

.badge-item:hover {
    transform: translateY(-5px) scale(1.05);
    background: #f5e5ec;
    border-style: solid;
    box-shadow: 5px 5px 0 rgba(230, 213, 220, 0.3);
}

.badge-icon {
    font-size: 1.5em;
    filter: grayscale(10%);
    transition: transform 0.3s ease;
}

.badge-item:hover .badge-icon {
    transform: rotate(360deg) scale(1.2);
}

.badge-name {
    color: #6b4456;
    font-weight: bold;
    font-size: 0.9em;
}

/* RodapÃ© estilo carimbo postal */