.contact-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #e63946;
    color: #fff;
    font-size: 24px;
    margin: 0 8px;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
}
.contact-icon-btn:hover {
    transform: scale(1.1);
    color: #fff;
    background-color: #c0000f;
}
.contact-icon-btn.whatsapp {
    background-color: #25d366;
}
.contact-icon-btn.whatsapp:hover {
    background-color: #1da851;
}
.contact-icon-btn.cv-btn {
    background-color: #29a587;
}
.contact-icon-btn.cv-btn:hover {
    background-color: #1e7d65;
}

::selection {
    color: #fff;
    background-color: #29a587;
    background-color: #f30;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}
body {
    background-color: #253437;
    background-color: #152427;
    color: #fff;
    overflow-x: hidden;
    font-size: 16px;
    font-family: 'Jost';
}

a {
    text-decoration: none !important;
}

.container {
    max-width: 90vw;
}
header {
    padding-top: 10vh;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
h1 {
    font-size: 5rem;
    text-shadow: 2px 2px #000, -2px 2px #000, 2px -2px #000, -2px -2px #000, 5px 5px 0px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.02em;
    font-variant-caps: small-caps;
    font-family: 'Jost';
    font-weight: 700;
    margin: 2rem 0;
    padding: 0;
}
h2 {
    font-size: 3rem;
    text-shadow: 2px 2px #000, -2px 2px #000, 2px -2px #000, -2px -2px #000, 5px 5px 0px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.02em;
    font-variant-caps: small-caps;
    font-family: 'Jost';
    font-weight: 700;
    margin: 1rem 0;
    padding: 0;
    text-align: center;
}

h3 {
    font-size: 2rem;
    text-shadow: 2px 2px #000, -2px 2px #000, 2px -2px #000, -2px -2px #000, 5px 5px 0px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.02em;
    font-variant-caps: small-caps;
    font-family: 'Jost';
    font-weight: 700;
    margin: 1rem 0;
    padding: 0;
    text-align: center;
}
a:hover, .green {
    color: #29a587;
}
.red {
    color: #f30;
}
.bgRed {
    background-color: #f30;
    color: #fff;
}

.brazilian {
    font-family: 'Brazillian', sans-serif;
    font-variant-caps: titling-caps;
    font-weight: normal;
}
header .brazilian {
    font-size: 2rem;
}
.jost {
    font-family: 'Jost';
}

.bold {
    font-weight: bold;
}

header p {
    margin: 1.5rem 0;
    font-weight: normal;
    color: #eaeaea;
    font-size: 1.2rem;
}

header a img, footer a img {
    height: 32px;
    background-color: #fff;
    border-radius: 50%; 
}

header a, footer a {
    color: #fff;
    font-size: 2rem;
}

.btn-transparent {
    background-color: transparent;
    box-shadow: none;
    margin: 5px;
}

.relative {
    position: relative;
}

#experience {
    width: 19rem;
    font-size: 1.2rem;
    border: 2px solid #cacaca;
    padding: .5rem 1.5rem;
    position: absolute;
    left: 5rem;
    bottom: 0;
    background-color: #152427;
    border-radius: 2.5rem;
    box-shadow: 2px 2px #000, -2px 2px #000, 2px -2px #000, -2px -2px #000, 5px 5px 0px rgba(0, 0, 0, 0.2);
}
#experience .row {
    justify-content: center;
    align-items: center;
}
#experience .col {
    padding: .5rem !important;
}

.font64 {
    font-size: 48px;
}.font128 {
    font-size: 64px;
    line-height: 1;
}

img {
    max-width: 100%;
}

main {
    min-height: 50vh;
}

footer {
    margin-top: 3rem;
    padding: 2rem;
    line-height: 3rem;
    background-color: #051417;
}
footer a {
    font-size: 2rem;
    color: #fff;
}

#tools {
    text-align: center;
}
#tools a.btn {
    color: #eee !important;
}

#tools .fab, #tools .fas {
    font-size: 1.1rem;
}
.btn {
    font-weight: bold;
}

section {
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, .2);
    padding: 2rem 0;
}

img.icon {
    display: inline-block;
    vertical-align: top;
    margin-top: 8px;
}

[data-title]:hover:after {
    opacity: 1;
    transition: all 0.1s ease 0.5s;
    visibility: visible;
}
[data-title]:after {
    content: attr(data-title);
    position: absolute;
    top: -1.7rem;
    left: 0;
    padding: 4px 4px 4px 8px;
    color: #222;
    white-space: nowrap; 
    border-radius: 5px; 
    padding: 5px;
    font-size: 12px; 
    background-color: rgba(0, 92, 92, .5);
    color: #fff;
    opacity: 0;
    z-index: 99999;
    visibility: hidden;
}
[data-title] {
    position: relative;
}

#about p, #studies p {
    font-size: 1.5rem;
    text-align: center;
}

v {
    display: inline-block;
    color: #29a587;
}
.experience {
    font-size: 1.35rem !important;
}

/* Education bar */
.edu-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(41,165,135,0.06) 100%);
    border: 1px solid rgba(41,165,135,0.18);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}
.edu-bar-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.edu-bar-item i {
    color: #29a587;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.edu-bar-sep {
    width: 1px;
    height: 1.5rem;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}
.edu-note {
    font-size: 0.85rem !important;
    color: #888;
    margin: -0.5rem 0 1.2rem 0;
    text-align: center;
}
.edu-note i {
    color: #29a587;
    margin-right: 0.3rem;
}

/* Experience timeline */
.exp-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.55rem 1.5rem;
    margin-top: 0.5rem;
}
.exp-item {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.7rem;
    align-items: start;
    padding: 0.5rem 0.7rem;
    border-left: 2px solid rgba(41,165,135,0.25);
    transition: border-color 0.2s;
}
.exp-item:hover {
    border-left-color: #29a587;
}
.exp-date {
    grid-column: 1 / -1;
    font-size: 0.8rem;
    color: #29a587;
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
}
.exp-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}
.exp-company {
    font-size: 0.9rem;
    color: #aaa;
    grid-column: 1 / -1;
}

.f24 {
    font-size: 24px;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ===== ACTIVITY STATISTICS ===== */
.stats-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
}
.stats-text {
    font-size: 1.5rem;
    color: #ccc;
    text-align: left;
    margin: 0;
}
.stats-circles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    align-items: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.stat-label {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

/* ===== SKILLS BAR CHART ===== */
#skills {
    position: relative;
}
#skills::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(41,165,135,0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
}

.skills-category {
    background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(41,165,135,0.06) 100%);
    border: 1px solid rgba(41,165,135,0.18);
    border-radius: 16px;
    padding: 1.5rem 1.8rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.skills-category:hover {
    border-color: rgba(41,165,135,0.45);
    box-shadow: 0 8px 40px rgba(41,165,135,0.12), inset 0 1px 0 rgba(255,255,255,0.08);
}

.skills-cat-header {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #29a587;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(41,165,135,0.25);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.skills-cat-header i {
    font-size: 1.1rem;
    opacity: 0.85;
}

.skill-bar-item {
    margin-bottom: 0.85rem;
}
.skill-bar-item:last-child {
    margin-bottom: 0;
}

.skill-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}
.skill-info i {
    font-size: 0.9rem;
    color: #29a587;
    width: 1.1rem;
    text-align: center;
    opacity: 0.8;
}
.skill-name {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: #e8e8e8;
    letter-spacing: 0.02em;
}
.skill-years {
    font-size: 0.9rem;
    font-weight: 700;
    color: #29a587;
    letter-spacing: 0.05em;
    min-width: 3.2rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.skill-track {
    height: 7px;
    background: rgba(255,255,255,0.07);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
}
.skill-track::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 9px,
        rgba(0,0,0,0.15) 9px,
        rgba(0,0,0,0.15) 10px
    );
    pointer-events: none;
}

.skill-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #1a7a62 0%, #29a587 50%, #4dd9bb 100%);
    border-radius: 99px;
    transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    box-shadow: 0 0 10px rgba(41,165,135,0.6), 0 0 20px rgba(41,165,135,0.25);
}
.skill-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: rgba(255,255,255,0.5);
    border-radius: 99px;
    filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s;
}
.skill-fill.animated::after {
    opacity: 1;
}
.skill-fill.animated {
    width: var(--pct);
}

/* ===== PROJECTS ===== */
.projects-group {
    margin-bottom: 2.5rem;
}

.projects-group-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 1rem;
}

.projects-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.projects-dot--live    { background: #29a587; box-shadow: 0 0 6px #29a587; }
.projects-dot--wip     { background: #f5a623; box-shadow: 0 0 6px #f5a623; }
.projects-dot--internal{ background: #6b8cff; box-shadow: 0 0 6px #6b8cff; }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
}

.project-card {
    display: block;
    background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(41,165,135,0.05) 100%);
    border: 1px solid rgba(41,165,135,0.15);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    color: #e8e8e8;
    text-decoration: none !important;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    cursor: pointer;
}
a.project-card:hover {
    border-color: rgba(41,165,135,0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(41,165,135,0.12);
    color: #fff;
}

.project-card--wip {
    border-color: rgba(245,166,35,0.15);
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(245,166,35,0.05) 100%);
}
a.project-card--wip:hover {
    border-color: rgba(245,166,35,0.45);
    box-shadow: 0 8px 24px rgba(245,166,35,0.1);
}

.project-card--internal {
    border-color: rgba(107,140,255,0.15);
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(107,140,255,0.05) 100%);
}
a.project-card--internal:hover {
    border-color: rgba(107,140,255,0.45);
    box-shadow: 0 8px 24px rgba(107,140,255,0.1);
}

.project-card--no-link {
    cursor: default;
    opacity: 0.7;
}

.project-card-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}
.project-card-desc {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}
.project-card-url {
    font-size: 0.85rem;
    color: #29a587;
    opacity: 0.8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.project-card--wip .project-card-url    { color: #f5a623; }
.project-card--internal .project-card-url { color: #6b8cff; }

.skills-category--full {
    margin-top: 0;
}

.skills-quality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem 3rem;
}