:root{--surface-tint:#edf2fa;--accent-ink:#b5360b;--outline:#cbd7e9}
[data-theme="dark"]{--surface-tint:#1b2638;--accent-ink:#ffad8e;--outline:#344258}
main,.layout-content{width:100%}
section[id],article[id],.education-card[id]{scroll-margin-top:6.5rem}
header{background:#164194!important;border-bottom:1px solid #ffffff24}
header nav a{font-size:.875rem}
header nav a:hover,header nav a.active{color:#ffd4c4;border-color:#ffb394}
.hero-section{padding:clamp(1.75rem,4vw,3.5rem);border:1px solid #ffffff2b;border-radius:24px;box-shadow:0 16px 44px #102e6920}
.hero-section h1{font-size:clamp(2rem,4vw,3.5rem);letter-spacing:-.045em;line-height:1.12;animation:none;border-right:0;white-space:normal}
.hero-section [data-i18n="hero.subtitle"]{color:#ffd4c4!important;font-size:1.08rem;margin-top:.8rem}
.hero-section .hero-bio-box{background:#ffffff12;border-left:2px solid #ffb394;padding:1rem 1.25rem}
.hero-section .w-44{border:3px solid #ffffffbd;box-shadow:0 0 0 8px #ffffff0d}
.section-title{letter-spacing:-.03em}
.spa-section{padding-top:3.5rem;padding-bottom:3.5rem}
.education-card,.cert-card,.course-card{border:1px solid var(--outline);border-left:3px solid #E84910;border-radius:16px;box-shadow:0 5px 20px #102e6908}
.education-card:hover,.cert-card:hover,.course-card:hover{transform:translateY(-3px);border-color:#96accf;box-shadow:0 10px 25px #102e6912}
.education-card{padding:1.5rem;gap:1.25rem}
.education-logo{background:var(--surface-tint);border:1px solid var(--outline)}
.education-title,.cert-title{color:#164194;line-height:1.45}
.education-date{flex-wrap:wrap}
.certifications-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.cert-card{margin:0;min-width:0}
.experience-card,.project-card{border-radius:16px}
.section-next{padding:.6rem 0;font-size:.875rem}
.floating-nav{border-radius:18px;box-shadow:0 8px 28px #102e6920}
.mobile-preferences{display:none}
a:focus-visible,button:focus-visible{outline:3px solid #008BD2;outline-offset:4px}
[data-theme="dark"] .education-card,[data-theme="dark"] .cert-card,[data-theme="dark"] .course-card{border-color:var(--outline)!important;border-left-color:#E84910!important}
[data-theme="dark"] .education-title,[data-theme="dark"] .cert-title{color:#a8c6ff!important}
[data-theme="dark"] .education-logo{background:var(--surface-tint)!important}
@media(max-width:1024px){.mobile-preferences{display:flex;align-items:center;gap:.6rem;margin-left:auto;margin-right:.8rem}.mobile-preferences button{min-height:40px;min-width:40px;padding:.35rem .5rem;border:1px solid #ffffff4d;border-radius:8px;color:white;background:#ffffff14;font-size:.75rem;font-weight:700}}
@media(max-width:640px){header{padding:1rem}main{padding:1.75rem 1rem}.hero-section{gap:1.75rem;margin-bottom:2.5rem}.education-card{padding:1.1rem;gap:.85rem}.education-title{font-size:1rem}.certifications-grid{grid-template-columns:1fr}.cert-card{padding:1.2rem}.section-title{font-size:1.65rem}.spa-section{padding-top:2.5rem;padding-bottom:2.5rem}}

[data-theme="dark"] .course-title,[data-theme="dark"] .section-next-link{color:#a8c6ff!important}
[data-theme="dark"] .course-provider,[data-theme="dark"] .course-dates,[data-theme="dark"] .education-institution,[data-theme="dark"] .education-date,[data-theme="dark"] .cert-issuer{color:#c0cbd9!important}
[data-theme="dark"] .course-status.concluido,[data-theme="dark"] .education-status.concluido{color:#b8d4ff!important;background:#203454!important;border-color:#42618d!important}
[data-theme="dark"] .course-status.em-andamento,[data-theme="dark"] .education-status.em-andamento{color:#ffbf9f!important;background:#412d24!important}
