@font-face {
    font-family: "Google Sans";
    src: url("assets/fonts/google-sans/GoogleSans-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Google Sans";
    src: url("assets/fonts/google-sans/GoogleSans-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Google Sans";
    src: url("assets/fonts/google-sans/GoogleSans-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Google Sans";
    src: url("assets/fonts/google-sans/GoogleSans-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Google Sans";
    src: url("assets/fonts/google-sans/GoogleSans-Bold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-navy: #000020;
    --navbar-bg: rgba(10, 25, 47, 0.9);
    --surface-elevated: rgba(17, 34, 64, 0.24);
    --surface-card: rgba(23, 26, 74, 0.4);
    --surface-card-deep: rgba(23, 26, 74, 0.98);
    --surface-subtle: rgba(255, 95, 31, 0.05);
    --surface-shell-dark: rgba(10, 25, 47, 0.4);
    --surface-panel-soft: rgba(17, 34, 64, 0.18);
    --surface-panel: rgba(17, 34, 64, 0.22);
    --surface-panel-muted: rgba(17, 34, 64, 0.28);
    --surface-panel-strong: rgba(17, 34, 64, 0.32);
    --surface-panel-emphasis: rgba(17, 34, 64, 0.42);
    --surface-orb: rgba(23, 26, 74, 0.42);
    --surface-orb-hover: rgba(23, 26, 74, 0.5);
    --surface-deep: rgba(0, 0, 32, 0.96);
    --text-white: #e6f1ff;
    --text-slate: #8892b0;
    --text-light-slate: #a8b2d1;
    --accent-neon: #b1033a;
    --accent-hover: #f73976;
    --accent-bg-soft: rgba(177, 3, 58, 0.08);
    --accent-bg-strong: rgba(177, 3, 58, 0.15);
    --accent-veil-03: rgba(177, 3, 58, 0.03);
    --accent-veil-06: rgba(177, 3, 58, 0.06);
    --accent-veil-12: rgba(177, 3, 58, 0.12);
    --accent-veil-14: rgba(177, 3, 58, 0.14);
    --accent-veil-24: rgba(177, 3, 58, 0.24);
    --card-inner: #171a4a;
    --border-faint: rgba(177, 3, 58, 0.12);
    --border-subtle: rgba(177, 3, 58, 0.16);
    --border-medium: rgba(177, 3, 58, 0.2);
    --border-strong: rgba(177, 3, 58, 0.28);
    --border-accent: rgba(177, 3, 58, 0.72);
    --border-divider: rgba(177, 3, 58, 0.2);
    --shadow-navbar: 0 10px 30px rgba(2, 12, 27, 0.7);
    --shadow-card: 0 10px 24px rgba(0, 0, 0, 0.15);
    --shadow-avatar: 0 10px 30px rgba(0, 0, 0, 0.5);
    --glow-neon: 0 0 20px rgba(177, 3, 58, 0.3);
    --glow-neon-strong: 0 0 24px rgba(177, 3, 58, 0.45);
    --glow-neon-soft: 0 0 16px rgba(177, 3, 58, 0.25);
    --glow-text-soft: 0 0 18px rgba(177, 3, 58, 0.16);
    --inner-glow: inset 0 0 24px rgba(177, 3, 58, 0.15);
    --spacing-3xs: 0.25rem;
    --spacing-2xs: 0.75rem;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-shell: 2.5rem;
    --spacing-xl: 3rem;
    --spacing-section: 5.5rem;
    --spacing-2xl: 6rem;
    --spacing-3xl: 7.5rem;
    --page-gutter: 7.5rem;
    --page-gutter-mobile: 1.5rem;
    --nav-offset-desktop: 6.75rem;
    --nav-offset-mobile: 5.75rem;
    --badge-overlap: -3rem;
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-pill: 1.5rem;
    --radius-full: 9999px;
    --font-12: 0.75rem;
    --font-13: 0.8125rem;
    --font-14: 0.875rem;
    --font-15: 0.9375rem;
    --font-16: 1rem;
    --font-18: 1.125rem;
    --font-20: 1.25rem;
    --type-overline: var(--font-12);
    --type-label: var(--font-14);
    --type-body: var(--font-16);
    --type-body-compact: var(--font-15);
    --type-card-title: 1.0625rem;
    --type-stat: 1.375rem;
    --type-section-title: clamp(1.625rem, 2.2vw, 1.875rem);
    --type-section-title-long: clamp(1.375rem, 1.85vw, 1.625rem);
    --type-display-name: clamp(2.375rem, 4.6vw, 2.875rem);
    --type-display-role: clamp(1.25rem, 1.85vw, 1.5rem);
    --type-project-title: clamp(1.625rem, 2.4vw, 2rem);
    --line-body: 1.75;
    --line-tight: 1.1;
    --line-medium: 1.3;
    --line-card: 1.4;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-heavy: 800;
    --nav-height: 5rem;
    --tool-logo-size: 3.25rem;
    --font-sans: "Google Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --measure-copy: 40rem;
    --measure-wide: 46rem;
    --grid-line: rgba(168, 178, 209, 0.05);
    --line-muted: rgba(168, 178, 209, 0.08);
    --white-04: rgba(230, 241, 255, 0.04);
    --white-08: rgba(230, 241, 255, 0.08);
    --brand-shadow-soft: rgba(247, 57, 118, 0.2);
    --brand-shadow-strong: rgba(247, 57, 118, 0.36);
    --brand-shadow-text: rgba(247, 57, 118, 0.24);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 20rem;
    font-family: var(--font-sans);
    font-size: var(--font-16);
    font-weight: var(--weight-regular);
    line-height: var(--line-body);
    color: var(--text-slate);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(circle at top right, var(--accent-veil-14), transparent 32%),
        radial-gradient(circle at bottom left, var(--accent-veil-12), transparent 28%),
        var(--bg-navy);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 0.0625rem, transparent 0.0625rem),
        linear-gradient(90deg, var(--grid-line) 0.0625rem, transparent 0.0625rem);
    background-size: 4rem 4rem;
    mask-image: radial-gradient(circle at center, black 32%, transparent 88%);
    pointer-events: none;
    opacity: 0.32;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: 0.125rem solid var(--accent-neon);
    outline-offset: 0.25rem;
}

.big-name,
.big-role,
.section-title,
.project-title,
.approach-title,
.strategy-title,
.roadmap-card-title,
.contact-lead,
.exp-company,
.study-hours-title {
    font-family: var(--font-sans);
    color: var(--text-white);
}

.mono-number,
.section-number,
.project-tool-label,
.roadmap-chip,
.tool-name,
.strategy-kicker,
.hour-value {
    font-family: var(--font-sans);
}

::selection {
    color: var(--text-white);
    background: var(--accent-bg-strong);
}

::-webkit-scrollbar {
    width: 0.75rem;
}

::-webkit-scrollbar-track {
    background: var(--bg-navy);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-neon);
    border-radius: 999px;
}

#navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    min-height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) var(--page-gutter);
    background: var(--navbar-bg);
    backdrop-filter: blur(1rem);
    border-bottom: 1px solid var(--border-divider);
    box-shadow: var(--shadow-navbar);
}

.navbar-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

.logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-mark {
    width: 4rem;
    height: 4rem;
    filter: drop-shadow(0 0 16px var(--brand-shadow-soft));
    transition: transform 240ms ease, filter 240ms ease;
}

.logo-badge:hover .logo-mark {
    transform: translateY(-0.125rem);
    filter: drop-shadow(0 0 20px var(--brand-shadow-strong));
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: var(--spacing-xs);
    min-height: 2.75rem;
    padding: 0 var(--spacing-sm);
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-faint);
    background: transparent;
    color: var(--text-light-slate);
    font-family: var(--font-sans);
    font-size: var(--type-label);
    font-weight: var(--weight-medium);
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: "";
    display: block;
    width: 1rem;
    height: 0.125rem;
    border-radius: var(--radius-full);
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle-icon {
    position: relative;
}

.nav-toggle-icon::before {
    position: absolute;
    top: -0.35rem;
}

.nav-toggle-icon::after {
    position: absolute;
    top: 0.35rem;
}

#navbar.is-open .nav-toggle-icon {
    background: transparent;
}

#navbar.is-open .nav-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
}

#navbar.is-open .nav-toggle-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav-panel {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    flex: 1;
}

.nav-panel ul {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    list-style: none;
    flex-wrap: wrap;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--type-label);
    line-height: 1;
    font-weight: var(--weight-medium);
    color: var(--text-light-slate);
    transition: color 180ms ease, text-shadow 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--accent-hover);
    text-shadow: 0 0 1rem var(--brand-shadow-text);
}

.mono-number {
    color: var(--accent-neon);
}

.resume-btn,
.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0 var(--spacing-md);
    border-radius: var(--radius-sm);
    border: 0.125rem solid var(--accent-neon);
    font-size: var(--type-label);
    line-height: 1;
    font-weight: var(--weight-medium);
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.resume-btn,
.secondary-btn {
    color: var(--accent-neon);
    background: transparent;
}

.primary-btn {
    color: var(--text-white);
    background: linear-gradient(135deg, var(--accent-neon), var(--border-accent));
}

.resume-btn:hover,
.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-0.125rem);
    box-shadow: var(--glow-neon);
}

.secondary-btn:hover,
.resume-btn:hover {
    background: var(--accent-bg-soft);
}

main {
    position: relative;
    z-index: 1;
    width: min(100%, 92rem);
    margin: 0 auto;
    padding: 0 var(--page-gutter) var(--spacing-2xl);
}

section {
    padding: var(--spacing-section) 0;
    scroll-margin-top: var(--nav-offset-desktop);
}

#inicio {
    padding-top: calc(var(--spacing-3xl) + var(--spacing-shell));
}

.section-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-shell);
}

.section-number {
    font-size: var(--font-18);
    line-height: 1;
    font-weight: var(--weight-bold);
    color: var(--accent-neon);
}

.section-title {
    font-size: var(--type-section-title);
    line-height: 1.12;
    font-weight: var(--weight-heavy);
    letter-spacing: -0.03em;
}

.section-title--long {
    max-width: 32rem;
    font-size: var(--type-section-title-long);
    line-height: 1.2;
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-divider), var(--line-muted));
}

.hero-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(23rem, 26rem);
    gap: var(--spacing-lg);
    align-items: start;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    max-width: var(--measure-wide);
}

.greeting {
    font-size: var(--font-18);
    line-height: 1.4;
    font-weight: var(--weight-bold);
    color: var(--accent-neon);
}

.big-name {
    max-width: 13ch;
    font-size: clamp(3.5rem, 6vw, 4.8rem);
    line-height: 0.98;
    font-weight: var(--weight-heavy);
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.big-role {
    max-width: 36rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: clamp(1.5rem, 2.35vw, 2rem);
    line-height: 1.22;
    font-weight: var(--weight-semibold);
    color: var(--text-light-slate);
}

.big-role-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: var(--weight-semibold);
}

.big-role-primary::after {
    content: "";
    width: 0.125rem;
    height: 2.25rem;
    background: var(--accent-neon);
    box-shadow: var(--glow-neon-soft);
}

.highlight {
    display: inline-flex;
    align-items: center;
    margin-left: 0;
    position: relative;
    padding-left: var(--spacing-sm);
    font-weight: var(--weight-bold);
    color: var(--accent-neon);
}

.highlight::before {
    content: "";
    position: absolute;
    left: 0;
    width: 0.125rem;
    height: 2.25rem;
    background: var(--accent-neon);
    box-shadow: var(--glow-neon-soft);
}

.thesis {
    max-width: 34rem;
    font-size: var(--font-20);
    line-height: 1.45;
    font-weight: var(--weight-bold);
    color: var(--accent-neon);
}

.bio,
.approach-intro,
.tools-intro,
.strategy-intro,
.project-description,
.roadmap-card-text,
.contact-text,
.about-text p {
    font-size: var(--type-body-compact);
    line-height: 1.75;
}

.bio {
    max-width: 42rem;
}

.cta-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.hero-right {
    display: flex;
    justify-content: flex-end;
}

.mastery-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    width: 100%;
}

.mastery-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    width: 10rem;
    height: 1.5rem;
}

.mastery-ornament span {
    display: block;
    background: linear-gradient(180deg, var(--line-muted), var(--accent-veil-24));
    border-radius: var(--radius-full);
}

.mastery-ornament span:nth-child(1),
.mastery-ornament span:nth-child(3) {
    width: 2rem;
    height: 0.25rem;
}

.mastery-ornament span:nth-child(2) {
    width: 4rem;
    height: 0.375rem;
}

.profile-frame {
    order: 1;
    position: relative;
    width: min(100%, 26rem);
    aspect-ratio: 4 / 5;
    padding: var(--spacing-sm);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(145deg, var(--white-08), var(--surface-deep)),
        linear-gradient(180deg, var(--accent-veil-14), transparent 36%);
    border: 2px solid var(--accent-neon);
    box-shadow:
        var(--inner-glow),
        var(--shadow-avatar),
        0 0 16px var(--border-medium);
    overflow: hidden;
}

.profile-frame::before {
    content: "";
    position: absolute;
    inset: var(--spacing-xs);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-medium);
    pointer-events: none;
}

.profile-frame__inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--card-inner);
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 320ms ease, filter 320ms ease;
}

.profile-frame:hover .hero-photo {
    transform: scale(1.04);
    filter: saturate(1.04);
}

.frame-corner {
    position: absolute;
    width: 2rem;
    height: 2rem;
    border-color: var(--border-accent);
    filter: drop-shadow(0 0 0.75rem var(--accent-veil-24));
}

.frame-corner--top-left {
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    border-top: 0.125rem solid currentColor;
    border-left: 0.125rem solid currentColor;
}

.frame-corner--top-right {
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    border-top: 0.125rem solid currentColor;
    border-right: 0.125rem solid currentColor;
}

.frame-corner--bottom-left {
    bottom: var(--spacing-sm);
    left: var(--spacing-sm);
    border-bottom: 0.125rem solid currentColor;
    border-left: 0.125rem solid currentColor;
}

.frame-corner--bottom-right {
    bottom: var(--spacing-sm);
    right: var(--spacing-sm);
    border-right: 0.125rem solid currentColor;
    border-bottom: 0.125rem solid currentColor;
}

.cert-badge-shell {
    order: 2;
    position: relative;
    margin-top: var(--badge-overlap);
    width: 6.5rem;
    height: 6.5rem;
    padding: var(--spacing-xs);
    border-radius: var(--radius-full);
    background: linear-gradient(180deg, var(--surface-card-deep), var(--surface-deep));
    border: 1px solid var(--border-medium);
    box-shadow:
        var(--shadow-avatar),
        var(--glow-neon-soft);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.cert-badge-shell:hover {
    transform: scale(1.04);
    box-shadow:
        var(--shadow-avatar),
        var(--glow-neon-strong);
}

.cert-badge {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.strategy-kicker,
.project-featured {
    font-size: var(--font-12);
    line-height: 1;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.09375rem;
    text-transform: uppercase;
    color: var(--accent-neon);
}

#about,
.section-shell--elevated,
.contact-content {
    padding: var(--spacing-shell);
    border-radius: var(--radius-xl);
    background: var(--surface-elevated);
    border: 1px solid var(--border-faint);
    box-shadow: var(--shadow-card);
}

#approach,
#experience {
    padding: var(--spacing-shell);
    border-radius: var(--radius-xl);
    background: var(--surface-shell-dark);
    border: 1px solid var(--border-faint);
    box-shadow: var(--shadow-card);
}

#ferramentas,
#projects,
#roadmap {
    padding: var(--spacing-shell);
    border-radius: var(--radius-xl);
    background: var(--surface-card);
    border: 1px solid var(--border-faint);
    box-shadow: var(--shadow-card);
}

.about-content,
.strategy-block {
    display: grid;
    gap: var(--spacing-lg);
}

.strategy-block {
    margin-top: var(--spacing-xl);
}

#experience,
#projects,
#roadmap {
    display: grid;
}

#experience,
#roadmap {
    gap: var(--spacing-lg);
}

#projects {
    gap: var(--spacing-shell);
}

#experience .section-header,
#projects .section-header,
#roadmap .section-header {
    margin-bottom: 0;
}

.about-text {
    max-width: var(--measure-copy);
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.approach-grid,
.strategy-grid,
.roadmap-grid,
.contact-links {
    display: grid;
    gap: var(--spacing-md);
}



.approach-card,
.strategy-card,
.exp-item,
.project,
.roadmap-card,
.contact-link {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.approach-card,
.strategy-card,
.roadmap-card {
    padding: var(--spacing-md);
}

.approach-card,
.strategy-card {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.approach-title,
.strategy-title,
.exp-company,
.roadmap-card-title {
    font-size: var(--type-card-title);
    line-height: var(--line-card);
}

.approach-title {
    color: var(--accent-neon);
}

.strategy-copy-block {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: var(--measure-copy);
}

.strategy-grid {
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.approach-card {
    background: var(--surface-subtle);
    border: 1px solid var(--border-subtle);
}

.strategy-card {
    background: var(--accent-bg-soft);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--accent-neon);
}

.strategy-list,
.exp-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    font-size: var(--type-body-compact);
    line-height: 1.7;
}

.strategy-list li,
.exp-list li {
    position: relative;
    padding-left: var(--spacing-md);
}

.strategy-list li::before,
.exp-list li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--accent-neon);
}

.tools-intro {
    max-width: var(--measure-copy);
    margin-bottom: var(--spacing-lg);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--spacing-lg) var(--spacing-md);
    max-width: 60rem;
    margin-inline: auto;
}

.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    text-align: center;
}

.tool-orb {
    width: min(100%, 8.75rem);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background:
        radial-gradient(circle at 30% 20%, var(--accent-veil-12), transparent 28%),
        var(--surface-orb);
    border: 1px solid var(--border-subtle);
    box-shadow:
        inset 0 0 0 1px var(--white-04),
        var(--shadow-card);
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.tool-icon {
    width: 4rem;
    height: 4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 180ms ease;
}

.tool-logo {
    display: block;
    width: var(--tool-logo-size);
    height: var(--tool-logo-size);
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    filter: brightness(0) invert(1);
    transform-origin: center;
}

.tool-logo--sql,
.tool-logo--python,
.tool-logo--pandas,
.tool-logo--spark {
    width: 3.25rem;
    height: 3.25rem;
}

.tool-logo--iceberg {
    width: 4.125rem;
    height: 1.125rem;
}

.tool-logo--aws-service {
    width: 3.5rem;
    height: 3.5rem;
}

.tool-logo--athena {
    width: 3.625rem;
    height: 3.625rem;
}

.tool-logo--glue {
    width: 3.5625rem;
    height: 3.5625rem;
}

.tool-logo--quicksight {
    width: 3.5rem;
    height: 3.5rem;
}

.tool-logo--wide {
    width: 4rem;
    height: 1.25rem;
}

.tool-logo--aws {
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.tool-logo--jupyter {
    width: 3.5rem;
    height: 3.5rem;
}

.tool-name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: var(--font-13);
    line-height: 1.4;
    font-weight: var(--weight-medium);
    color: var(--text-light-slate);
}

.tool-card:hover .tool-orb {
    background:
        radial-gradient(circle at top, var(--accent-veil-24), transparent 42%),
        var(--surface-orb-hover);
    border-color: var(--accent-neon);
    box-shadow:
        inset 0 0 0 1px var(--white-08),
        var(--shadow-card),
        var(--glow-neon-soft);
    transform: translateY(-0.125rem);
}

.tool-card:hover .tool-icon {
    transform: scale(0.94);
}

.exp-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    background: var(--accent-bg-soft);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--accent-neon);
    padding: var(--spacing-md);
}

.exp-item + .exp-item {
    margin-top: 0;
}

.exp-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--spacing-sm);
}

.exp-date,
.exp-role {
    font-size: var(--type-body-compact);
    line-height: 1.7;
}

.exp-date {
    color: var(--accent-neon);
}

.exp-role {
    color: var(--accent-neon);
    font-weight: var(--weight-semibold);
}

.study-hours-container {
    display: grid;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    background: var(--surface-panel);
    border: 1px solid var(--border-faint);
}

.study-hours-title {
    font-size: var(--type-body);
    line-height: 1.5;
    font-weight: var(--weight-bold);
    text-align: left;
}

.study-hours-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-sm);
}

.hour-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    background: var(--card-inner);
    border: 1px solid var(--border-faint);
}

.hour-value {
    font-size: var(--type-stat);
    line-height: 1.1;
    font-weight: var(--weight-heavy);
    letter-spacing: -0.05em;
    color: var(--text-white);
    text-shadow: var(--glow-text-soft);
}

.hour-label {
    font-size: var(--type-label);
    line-height: 1.6;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.02em;
    color: var(--text-light-slate);
}

.project {
    display: block;
}

.project + .project {
    margin-top: 0;
}

.project-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, var(--accent-veil-06), transparent 22%),
        var(--surface-panel);
    border: 1px solid var(--border-faint);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.project-content::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}

.project-featured {
    width: auto;
    min-height: 2.25rem;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 0 var(--spacing-md);
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-faint);
    background: var(--accent-bg-soft);
    text-transform: none;
    letter-spacing: 0.08rem;
    color: var(--accent-neon);
}

.project-main {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.project-header {
    display: grid;
    gap: var(--spacing-sm);
    max-width: var(--measure-wide);
}

.project-title {
    max-width: 36rem;
    font-size: var(--type-project-title);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.project-summary {
    max-width: var(--measure-copy);
    font-size: var(--type-body-compact);
    line-height: 1.7;
    color: var(--text-light-slate);
}

.project-highlight {
    max-width: var(--measure-copy);
    padding: var(--spacing-md);
    border-left: 3px solid var(--accent-neon);
    border-radius: var(--radius-lg);
    background: var(--surface-panel-muted);
    font-size: var(--type-body-compact);
    line-height: 1.7;
    color: var(--text-light-slate);
}

.project-story {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-sm);
    max-width: 44rem;
}

.project-point {
    padding: var(--spacing-sm);
    font-size: var(--type-body-compact);
    line-height: 1.7;
    color: var(--text-slate);
    background: var(--surface-panel-muted);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--accent-neon);
    border-radius: var(--radius-lg);
}

.project-point-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: var(--weight-bold);
    color: var(--text-light-slate);
}

.project-point strong {
    color: var(--text-light-slate);
    font-weight: var(--weight-bold);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.project-tool {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    min-height: 2rem;
    padding: 0 var(--spacing-sm);
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-faint);
    background: var(--surface-panel-soft);
    color: var(--text-light-slate);
}

.project-tool-icon {
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: var(--spacing-3xs);
    border-radius: var(--radius-full);
    background: var(--accent-bg-soft);
    border: 1px solid var(--border-subtle);
}

.project-tool-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.project-tool-icon--text {
    padding: 0;
    font-size: 0.625rem;
    font-weight: var(--weight-bold);
    letter-spacing: 0.06em;
    color: var(--text-white);
}

.project-tool-label {
    font-size: var(--font-12);
    font-weight: var(--weight-medium);
    color: var(--text-light-slate);
    white-space: nowrap;
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-xs);
    margin-top: auto;
}

.project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: var(--font-20);
    transition: transform 180ms ease, color 180ms ease;
}

.project-link:hover,
.project-link:focus-visible {
    transform: translateY(-0.125rem);
    color: var(--accent-hover);
}

.roadmap-grid {
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.roadmap-card {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    padding: var(--spacing-md);
}

.roadmap-chip-wrap {
    display: flex;
    justify-content: flex-start;
}

.roadmap-chip {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 var(--spacing-sm);
    border-radius: var(--radius-pill);
    color: var(--accent-neon);
    background: var(--accent-bg-soft);
    border: 1px solid var(--border-faint);
    font-size: var(--font-12);
    font-weight: var(--weight-semibold);
}

.contact-content {
    display: grid;
    gap: var(--spacing-md);
    text-align: left;
}

#contact .section-header {
    margin-bottom: 0;
}

.contact-text {
    max-width: var(--measure-copy);
}

.contact-lead {
    font-size: var(--font-18);
    line-height: var(--line-medium);
    font-weight: var(--weight-semibold);
    color: var(--text-white);
}

.contact-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.contact-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    text-align: left;
    background: var(--surface-subtle);
    border: 1px solid var(--border-faint);
    border-left: 3px solid var(--accent-neon);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-link--primary {
    grid-column: 1 / -1;
    background:
        linear-gradient(135deg, var(--accent-veil-12), var(--surface-panel-emphasis)),
        var(--surface-subtle);
    border-color: var(--border-strong);
}

.contact-link--featured {
    background: var(--surface-panel-strong);
}

.contact-link--secondary {
    background: var(--surface-panel-soft);
}

.contact-link:hover {
    transform: translateY(-0.125rem);
    border-color: var(--border-strong);
    box-shadow: var(--glow-neon);
}

.contact-link-label {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--type-label);
    line-height: 1.6;
    font-weight: var(--weight-semibold);
    color: var(--text-light-slate);
}

.contact-link-value {
    font-size: var(--type-card-title);
    line-height: var(--line-card);
    font-weight: var(--weight-semibold);
    color: var(--text-white);
}

.contact-link--primary .contact-link-value {
    font-size: var(--font-18);
    line-height: 1.2;
}

.contact-link-meta {
    font-size: var(--type-label);
    line-height: 1.7;
    color: var(--text-slate);
}

.about-text strong,
.bio strong,
.approach-intro strong,
.project-summary strong,
.project-point strong,
.roadmap-card-text strong,
.contact-text strong {
    font-weight: var(--weight-bold);
    color: var(--text-white);
}

/* Hero social links */
.hero-social {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xs);
}

.hero-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: var(--surface-panel-soft);
    color: var(--text-light-slate);
    font-size: 1.25rem;
    transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.hero-social-link:hover {
    transform: translateY(-0.125rem);
    border-color: var(--accent-neon);
    color: var(--accent-hover);
    box-shadow: var(--glow-neon-soft);
}

/* Approach grid: 2 top + 3 bottom */
.approach-grid {
    grid-template-columns: repeat(2, 1fr);
}


@media (min-width: 50.0625rem) {
    .approach-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .approach-grid .approach-card:nth-child(1),
    .approach-grid .approach-card:nth-child(2) {
        grid-column: span 3;
    }
    .approach-grid .approach-card:nth-child(3),
    .approach-grid .approach-card:nth-child(4),
    .approach-grid .approach-card:nth-child(5) {
        grid-column: span 2;
    }
}

/* Contact social icons */
.contact-social-icons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-sm);
}

.contact-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-full);
    border: 2px solid var(--border-subtle);
    background: var(--surface-panel);
    color: var(--text-white);
    font-size: 1.75rem;
    transition: transform 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.contact-social-icon:hover {
    transform: translateY(-0.25rem) scale(1.06);
    border-color: var(--accent-neon);
    color: var(--accent-hover);
    background: var(--accent-bg-soft);
    box-shadow: var(--glow-neon);
}

/* New tool logo sizes */
.tool-logo--numpy,
.tool-logo--plotly,
.tool-logo--matplotlib,
.tool-logo--colab,
.tool-logo--sqlite {
    width: 3.25rem;
    height: 3.25rem;
}

/* Tools grid for 18 items — 6 columns on wide screens */
@media (min-width: 70.0625rem) {
    .tools-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

footer {
    position: relative;
    z-index: 1;
    width: min(100%, 92rem);
    margin: 0 auto;
    padding: 0 var(--page-gutter) var(--spacing-xl);
    text-align: center;
}

footer p {
    font-size: var(--font-14);
    line-height: 1.6;
    color: var(--text-light-slate);
}

@media (max-width: 70rem) {
    #navbar {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    main,
    footer {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-right {
        order: -1;
        justify-content: center;
    }

    .contact-links,
    .study-hours-grid {
        grid-template-columns: 1fr;
    }

    .contact-link--primary {
        grid-column: auto;
    }

    .tools-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 50rem) {
    #navbar {
        display: block;
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .navbar-bar {
        width: 100%;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-panel {
        display: none;
        width: 100%;
        padding-top: var(--spacing-sm);
    }

    #navbar.is-open .nav-panel {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
    }

    .nav-panel ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--spacing-xs);
    }

    .nav-link {
        justify-content: center;
        min-height: 2.75rem;
        padding: var(--spacing-xs);
        text-align: center;
        font-size: var(--font-13);
        background: var(--surface-panel-muted);
        border: 1px solid var(--border-faint);
        border-radius: var(--radius-md);
    }

    .mono-number {
        display: none;
    }

    .resume-btn {
        min-height: 2.75rem;
        width: 100%;
        align-self: stretch;
    }

    section {
        scroll-margin-top: var(--nav-offset-mobile);
    }

    #inicio {
        padding-top: calc(var(--spacing-2xl) + var(--spacing-md));
    }

    .hero-right {
        order: 0;
        margin-top: var(--spacing-lg);
    }

    section {
        padding: var(--spacing-xl) 0;
    }

    #about,
    #approach,
    #ferramentas,
    #experience,
    #projects,
    #roadmap,
    .study-hours-container,
    .contact-content {
        padding: var(--spacing-lg);
    }

    .project-content {
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
    }

    .project-story {
        grid-template-columns: 1fr;
    }

    .project-title {
        font-size: 1.625rem;
    }

    .project-summary,
    .project-point {
        font-size: var(--font-15);
        line-height: 1.7;
    }

    .section-title {
        font-size: 1.4375rem;
        line-height: 1.15;
    }

    .big-name {
        max-width: 10ch;
        font-size: 2.75rem;
        line-height: 0.98;
    }

    .big-role {
        gap: var(--spacing-xs);
        font-size: 1.375rem;
        line-height: 1.22;
    }

    .thesis {
        font-size: var(--font-18);
        line-height: 1.45;
    }

    .highlight {
        margin-top: 0;
        padding-left: var(--spacing-sm);
    }

    .big-role-primary::after,
    .highlight::before {
        height: 1.625rem;
    }

    .tools-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--spacing-md);
    }
}

@media (max-width: 35rem) {
    main,
    footer {
        padding-left: var(--page-gutter-mobile);
        padding-right: var(--page-gutter-mobile);
    }

    .logo-mark {
        width: 3rem;
        height: 3rem;
    }

    .big-name {
        max-width: 10ch;
        font-size: 2.375rem;
        line-height: 1;
    }

    .section-title {
        font-size: 1.375rem;
        line-height: 1.14;
    }

    .big-role {
        font-size: 1.125rem;
        line-height: 1.25;
    }

    .big-role-primary::after,
    .highlight::before {
        height: 1.375rem;
    }

    .thesis {
        font-size: var(--type-body-compact);
        line-height: 1.65;
    }

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

    .nav-panel ul {
        grid-template-columns: 1fr;
    }

    .nav-link,
    .resume-btn {
        min-height: 2.5rem;
    }

    .cta-container {
        flex-direction: column;
        align-items: stretch;
    }

    .project-links {
        gap: var(--spacing-sm);
    }

    .tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-link {
        padding: var(--spacing-md);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
