:root {
    --neon-pink: #ff2a6d;
    --neon-cyan: #ff6b9d;
    --neon-purple: #d16ba5;
    --neon-green: #ff8db3;
    --deep-space: #05010a;
    --white: #ffffff;
    --cream: #f1d4e5;
    --grid-color: rgba(255, 42, 109, 0.025);
    --font-display: 'Poppins', sans-serif;
    --font-main: 'Poppins', sans-serif;
    --card-background: #020104;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    position: relative;
    min-height: 100vh;
    background: var(--card-background) !important;
    background-attachment: fixed;
}

#matrixRain {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    pointer-events: none;
}

header,
main,
footer {
    position: relative;
    z-index: 1;
}

#vanta-bg,
.scanlines,
.custom-cursor {
    display: none;
}

a,
button,
.interactive,
.skip-link {
    cursor: pointer;
}

header {
    padding: 1rem 0;
    background: rgba(5, 1, 10, 0.9);
    border-bottom: 1px solid rgba(255, 42, 109, 0.22);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
}

.header-scrolled {
    padding: 0.75rem 0;
    background: rgba(5, 1, 10, 0.97);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
}

.logo {
    color: var(--white);
    font-size: 1.45rem;
}

.logo-icon {
    display: block;
    width: 2.75rem;
    height: 2.75rem;
    margin-right: 0.75rem;
    object-fit: contain;
    animation: none;
    filter: drop-shadow(0 0 10px rgba(255, 42, 109, 0.45));
}

nav ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

nav a {
    color: var(--cream);
    font-size: 1.05rem;
    text-decoration: none;
    transition: color 160ms ease;
}

nav a:hover {
    color: var(--neon-pink);
}

.hero {
    min-height: 88vh;
    background:
        radial-gradient(ellipse at 50% 45%, rgba(209, 107, 165, 0.1), transparent 56%),
        transparent;
}

.hero-content {
    max-width: 850px;
}

.hero h1 {
    background-image: linear-gradient(100deg, #ff8db3, #d16ba5 55%, #ff2a6d);
    text-shadow: none;
    letter-spacing: 0.025em;
}

.hero-subtitle {
    color: var(--neon-pink);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero p {
    color: #d0d5e4;
}

.section-title {
    position: relative;
    color: var(--white);
    text-shadow: none;
}

.section-title::before,
.section-title::after {
    color: var(--neon-pink);
    text-shadow: none;
    animation: none;
}

section {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.project-card,
.testimonial-card,
.contact-form,
#sobre .bg-gray-800,
#contato .bg-gray-800 {
    background: rgba(8, 4, 14, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.1rem;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.project-card,
.testimonial-card {
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.project-card:hover,
.testimonial-card:hover {
    border-color: rgba(255, 42, 109, 0.48);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.28);
}

.project-card > img {
    border-radius: 1.1rem 1.1rem 0 0;
}

.project-card-content {
    padding: 1.5rem;
}

.about-photo-frame {
    width: min(100%, 400px);
    margin: 0 auto;
    padding: 0.45rem;
    border: 1px solid rgba(255, 42, 109, 0.36);
    border-radius: 1.5rem;
    background: linear-gradient(145deg, rgba(255, 42, 109, 0.16), rgba(209, 107, 165, 0.09));
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.3);
}

.about-photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    border-radius: 1.15rem;
}

.resume-section {
    margin-top: 2rem;
}

.resume-heading {
    margin-bottom: 1rem;
    color: var(--neon-pink);
    font-size: 1.2rem;
    font-weight: 700;
}

.experience-list {
    display: grid;
    gap: 1rem;
}

.experience-item,
.resume-panel {
    padding: 1.15rem;
    border: 1px solid rgba(255, 42, 109, 0.18);
    border-radius: 0.85rem;
    background: rgba(8, 4, 14, 0.72);
}

.experience-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 1rem;
    margin-bottom: 0.55rem;
}

.experience-heading h4 {
    color: var(--white);
    font-weight: 700;
}

.experience-heading span,
.resume-muted {
    color: var(--cream);
    font-size: 0.92rem;
}

.experience-item p,
.resume-panel p {
    font-size: 0.96rem;
}

.resume-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.resume-panel .resume-heading {
    margin-bottom: 0.65rem;
}

.resume-panel p + p {
    margin-top: 0.5rem;
}

.skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.skill-chips span {
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(255, 42, 109, 0.3);
    border-radius: 999px;
    color: var(--cream);
    background: rgba(255, 42, 109, 0.07);
    font-size: 0.88rem;
}

.cyber-btn {
    color: var(--neon-pink);
    border: 1px solid rgba(255, 42, 109, 0.65);
    border-radius: 999px;
    font-family: var(--font-main);
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    text-transform: none;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.cyber-btn::before {
    background: linear-gradient(100deg, var(--neon-pink), var(--neon-purple));
}

.cyber-btn:hover {
    color: #05010a;
    box-shadow: 0 8px 28px rgba(255, 42, 109, 0.24);
    transform: translateY(-2px);
}

.stat-number {
    color: var(--neon-pink);
    text-shadow: none;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    color: var(--white);
    background: rgba(5, 1, 10, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.65rem;
    font: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--neon-pink);
    outline: 2px solid rgba(255, 42, 109, 0.16);
}

.form-message {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 42, 109, 0.35);
    border-radius: 0.75rem;
    color: var(--white);
    background: rgba(255, 42, 109, 0.08);
}

.form-message.is-visible {
    display: block;
}

footer {
    background: rgba(5, 1, 10, 0.94);
    border-top: 1px solid rgba(255, 42, 109, 0.22);
}

:focus-visible {
    outline-color: var(--neon-pink);
}

@media (max-width: 760px) {
    .resume-highlights {
        grid-template-columns: 1fr;
    }

    header .container {
        justify-content: center;
        gap: 0.8rem 1.5rem;
    }

    nav {
        order: 3;
        width: 100%;
    }

    nav ul {
        justify-content: center;
        gap: 0.5rem 1rem;
    }

    nav a {
        font-size: 0.95rem;
    }

    .hero {
        min-height: 80vh;
        padding-top: 7rem;
    }
}

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

    #matrixRain {
        display: none;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Responsive portfolio layout */
:root {
    --font-display: 'Poppins', sans-serif;
    --font-main: 'Poppins', sans-serif;
    --font-terminal: 'JetBrains Mono', monospace;
    --surface: rgba(5, 2, 9, 0.72);
    --surface-raised: rgba(8, 3, 13, 0.88);
    --text-muted: #c9b8c8;
    --content-width: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 6rem;
    overflow-x: clip;
}

body {
    overflow-x: hidden;
    color: #f8f4fa;
    font-family: var(--font-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.container {
    width: min(calc(100% - 2.5rem), var(--content-width));
    margin-inline: auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.8rem 0;
    background: rgba(7, 3, 12, 0.88);
    border-bottom: 1px solid rgba(255, 107, 157, 0.16);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.language-picker {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.5rem;
    color: #d8ccdd;
    font-size: 0.76rem;
    font-weight: 600;
}

.language-picker select {
    min-height: 38px;
    padding: 0.4rem 1.8rem 0.4rem 0.7rem;
    border: 1px solid rgba(255, 107, 157, 0.35);
    border-radius: 0.65rem;
    color: #fff1f6;
    background: rgba(9, 4, 13, 0.96);
    font: inherit;
    cursor: pointer;
}

.language-picker select:focus-visible {
    outline: 2px solid #ff8db3;
    outline-offset: 2px;
}

.language-picker option {
    color: #fff;
    background: #130c1a;
}

.header-scrolled {
    padding-block: 0.65rem;
    background: rgba(7, 3, 12, 0.96);
}

.logo {
    flex: 0 0 auto;
    gap: 0.65rem;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.035em;
    text-shadow: none;
}

.logo-icon {
    width: 2.6rem;
    height: 2.6rem;
    margin: 0;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
}

nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    color: #e6dfea;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 180ms ease, background 180ms ease;
}

nav a::before {
    display: none;
}

nav a:hover,
nav a:focus-visible {
    color: #fff;
    background: rgba(255, 42, 109, 0.12);
    text-shadow: none;
    transform: none;
}

.hero {
    min-height: min(790px, calc(100svh - 4.2rem));
    padding: clamp(5rem, 11vw, 9rem) 0;
    background:
        radial-gradient(ellipse at 50% 35%, rgba(209, 107, 165, 0.15), transparent 48%),
        linear-gradient(180deg, rgba(7, 3, 12, 0.08), rgba(7, 3, 12, 0.48));
}

.hero-content {
    width: min(calc(100% - 2.5rem), 900px);
    padding: 0;
}

.hero-subtitle {
    margin-bottom: 0.9rem;
    color: #ff8db3;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0 auto 1.2rem;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.25rem);
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 1.03;
    background-image: linear-gradient(110deg, #fff 5%, #ff9abd 55%, #e879b6);
    background-size: 100% 100%;
    animation: none;
    -webkit-text-fill-color: transparent;
}

.hero p {
    max-width: 680px;
    margin: 0 auto 2rem;
    color: #d8d1dd;
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.8;
}

.availability-panel {
    max-width: 760px;
    margin: 0 auto 2rem;
    padding: clamp(1rem, 2.8vw, 1.4rem);
    border: 1px solid rgba(255, 107, 157, 0.28);
    border-radius: 1rem;
    background:
        linear-gradient(135deg, rgba(255, 42, 109, 0.09), transparent 58%),
        rgba(4, 2, 7, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 14px 36px rgba(0, 0, 0, 0.22);
    text-align: left;
}

.availability-heading {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.availability-heading h2 {
    margin: 0;
    color: #ffe4ef;
    font-size: clamp(0.92rem, 1.8vw, 1.08rem);
    font-weight: 700;
}

.availability-indicator {
    flex: 0 0 auto;
    width: 0.56rem;
    height: 0.56rem;
    border-radius: 50%;
    background: #ff5b91;
    box-shadow: 0 0 12px rgba(255, 42, 109, 0.82);
}

.hero .availability-intro {
    max-width: none;
    margin: 0.55rem 0 1rem;
    color: #d8d1dd;
    font-size: 0.9rem;
    line-height: 1.6;
}

.availability-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem 1.1rem;
    margin: 0;
}

.availability-details > div {
    min-width: 0;
}

.availability-details dt {
    margin-bottom: 0.22rem;
    color: #ff8db3;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.availability-details dd {
    margin: 0;
    color: #f1eaf2;
    font-size: 0.82rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 720px;
    margin: 2.7rem auto;
}

.stat-item {
    padding: 1rem 0.7rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:last-child {
    border-right: 0;
}

.stat-number {
    display: block;
    color: #ff5b91;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.65rem);
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 0 24px rgba(255, 42, 109, 0.18);
}

.stat-label {
    display: block;
    margin-top: 0.45rem;
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.cyber-btn {
    min-height: 48px;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    color: #ff9abd;
    border: 1px solid rgba(255, 107, 157, 0.55);
    background: rgba(8, 2, 10, 0.82);
    font-family: var(--font-main);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0;
}

.cyber-btn::before {
    background: linear-gradient(110deg, #ff2a6d, #d16ba5);
}

.cyber-btn:hover {
    color: #160711;
    box-shadow: 0 10px 30px rgba(255, 42, 109, 0.2);
}

section {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
    scroll-margin-top: 5.5rem;
}

.section-title {
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    letter-spacing: -0.045em;
    line-height: 1.15;
    text-shadow: none;
}

.section-title::before,
.section-title::after {
    content: none;
}

.section-title::before {
    display: block;
    margin: 0 0 0.75rem;
    color: #ff6b9d;
    content: "root@prosa:~$";
    font-family: var(--font-terminal);
    font-size: clamp(0.68rem, 1.6vw, 0.82rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-shadow: 0 0 14px rgba(255, 42, 109, 0.62);
}

.section-title::after {
    display: inline-block;
    width: 0.52rem;
    height: 1.05em;
    margin: 0 0 0 0.5rem;
    background: #ff5b91;
    content: "";
    vertical-align: -0.12em;
    box-shadow: 0 0 13px rgba(255, 42, 109, 0.68);
    animation: terminal-caret 1s steps(2, jump-none) infinite;
}

.resume-heading,
.experience-heading span,
.resume-muted,
.skill-chips span,
.stat-label {
    letter-spacing: 0.025em;
}

.resume-heading {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.resume-heading::before {
    color: #ff5b91;
    content: "//";
    font-family: var(--font-terminal);
    font-size: 0.78em;
    text-shadow: 0 0 10px rgba(255, 42, 109, 0.6);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.35fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.about-photo-column,
.about-copy-panel {
    min-width: 0;
}

.about-photo-column {
    display: flex;
    justify-content: center;
}

.about-photo-frame {
    position: relative;
    width: min(100%, 440px);
    margin-inline: auto;
    padding: 0.45rem;
    border: 1px solid rgba(255, 107, 157, 0.55);
    border-radius: 1.35rem;
    background: linear-gradient(145deg, rgba(255, 42, 109, 0.22), rgba(209, 107, 165, 0.08));
    box-shadow:
        0 0 0 5px rgba(255, 42, 109, 0.04),
        0 0 36px rgba(255, 42, 109, 0.12),
        0 24px 60px rgba(0, 0, 0, 0.48);
    transition: box-shadow 240ms ease, transform 240ms ease;
}

.about-photo-frame:hover {
    box-shadow:
        0 0 0 5px rgba(255, 42, 109, 0.06),
        0 0 44px rgba(255, 42, 109, 0.18),
        0 28px 68px rgba(0, 0, 0, 0.52);
    transform: translateY(-3px);
}

.about-photo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
    border-radius: 0.98rem;
}

.about-copy-panel {
    min-width: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(255, 107, 157, 0.18);
    border-radius: 1.2rem;
    background:
        radial-gradient(ellipse at 0 0, rgba(255, 42, 109, 0.055), transparent 50%),
        rgba(4, 2, 7, 0.92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 18px 48px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.about-intro-copy {
    display: grid;
    gap: 1.25rem;
}

.about-intro-copy > p {
    color: #f1eaf2;
    font-size: clamp(1rem, 1.25vw, 1.08rem);
    line-height: 1.85;
}

.about-profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.about-profile-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(255, 107, 157, 0.28);
    border-radius: 999px;
    color: #f8dce8;
    background: rgba(255, 42, 109, 0.07);
    font-size: 0.82rem;
    font-weight: 650;
    transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.about-profile-links a:hover,
.about-profile-links a:focus-visible {
    border-color: rgba(255, 107, 157, 0.65);
    color: #fff;
    background: rgba(255, 42, 109, 0.15);
}

.about-intro-copy strong {
    color: #ff9abd;
}

.about-intro-copy .text-neon-cyan {
    color: #ff9abd;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
    margin-top: clamp(2rem, 4vw, 3.5rem);
}

.about-details > .resume-section {
    min-width: 0;
    margin-top: 0;
    padding: clamp(1rem, 2.5vw, 1.5rem);
    border: 1px solid rgba(255, 107, 157, 0.16);
    border-radius: 1.1rem;
    background:
        radial-gradient(ellipse at 0 0, rgba(255, 42, 109, 0.035), transparent 48%),
        rgba(4, 2, 7, 0.58);
}

.about-details > .experience-section,
.about-details > .volunteer-section,
.about-details > .resume-highlights,
.about-details > .skills-section {
    grid-column: 1 / -1;
}

.about-details .experience-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-details .experience-item {
    min-width: 0;
}

.about-details .experience-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
}

.about-details .volunteer-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-details .volunteer-featured {
    grid-column: 1 / -1;
}

.about-details .resume-highlights,
.about-details .skills-section {
    margin-top: 0;
}

.fiap-link {
    color: #ff9abd;
    text-decoration: underline;
    text-decoration-color: rgba(255, 107, 157, 0.55);
    text-underline-offset: 0.2em;
    transition: color 180ms ease, text-decoration-color 180ms ease;
}

.fiap-link:hover,
.fiap-link:focus-visible {
    color: #fff;
    text-decoration-color: #ff5b91;
}

.resume-section {
    margin-top: 2rem;
}

.resume-heading {
    margin-bottom: 1rem;
    color: #ff8db3;
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.experience-list {
    gap: 0.8rem;
}

.experience-item,
.resume-panel {
    padding: clamp(1rem, 2.5vw, 1.35rem);
    border-color: rgba(255, 107, 157, 0.16);
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(12, 5, 15, 0.82), rgba(4, 2, 8, 0.78));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025), 0 12px 30px rgba(0, 0, 0, 0.18);
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.experience-item:hover,
.resume-panel:hover {
    border-color: rgba(255, 107, 157, 0.36);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 34px rgba(255, 42, 109, 0.08);
    transform: translateY(-2px);
}

.experience-item p,
.resume-panel p {
    color: #e2dbe5;
    font-size: 0.98rem;
    line-height: 1.8;
}

.experience-project-list,
.certification-list {
    display: grid;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding-left: 1.1rem;
    color: #d9cfdd;
    font-size: 0.88rem;
    line-height: 1.65;
    list-style: disc;
}

.experience-project-list li::marker,
.certification-list li::marker {
    color: #ff7fa8;
}

.experience-project-list strong {
    color: #ffb0cc;
}

.additional-education-panel p + p {
    margin-top: 0.45rem;
}

.certifications-panel {
    min-width: 0;
}

.volunteer-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.volunteer-section-heading .resume-heading {
    margin: 0.3rem 0 0;
}

.volunteer-count {
    flex: 0 0 auto;
    padding-bottom: 0.15rem;
    color: #c8b4c9;
    font-family: var(--font-terminal);
    font-size: 0.64rem;
    letter-spacing: 0.08em;
}

.volunteer-list {
    display: grid;
    gap: 0.75rem;
}

.volunteer-item {
    min-width: 0;
    padding: clamp(1rem, 2.5vw, 1.3rem);
    border: 1px solid rgba(255, 107, 157, 0.17);
    border-left: 2px solid rgba(255, 107, 157, 0.62);
    border-radius: 0.95rem;
    background:
        radial-gradient(ellipse at 0 0, rgba(255, 42, 109, 0.06), transparent 48%),
        linear-gradient(145deg, rgba(12, 5, 15, 0.88), rgba(4, 2, 8, 0.82));
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.volunteer-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 107, 157, 0.38);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22), 0 0 22px rgba(255, 42, 109, 0.07);
}

.volunteer-featured {
    border-left-color: #ff5b91;
    background:
        radial-gradient(ellipse at 100% 0, rgba(255, 42, 109, 0.12), transparent 42%),
        linear-gradient(145deg, rgba(27, 7, 21, 0.94), rgba(5, 3, 8, 0.88));
}

.volunteer-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.volunteer-heading h4 {
    margin-top: 0.32rem;
    color: #fff2f7;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.volunteer-org-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(255, 107, 157, 0.5);
    text-underline-offset: 0.2em;
    transition: color 180ms ease, text-decoration-color 180ms ease;
}

.volunteer-org-link:hover,
.volunteer-org-link:focus-visible {
    color: #ff9abd;
    text-decoration-color: #ff9abd;
}

.volunteer-heading > span:last-child {
    flex: 0 0 auto;
    padding-top: 0.12rem;
    color: #c9bacb;
    font-size: 0.75rem;
    text-align: right;
}

.volunteer-type {
    color: #ff9abd;
    font-family: var(--font-terminal);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.075em;
    line-height: 1.5;
}

.volunteer-item p,
.volunteer-item li {
    color: #d9cfdd;
    font-size: 0.91rem;
    line-height: 1.7;
}

.volunteer-item p {
    margin-top: 0.65rem;
}

.volunteer-item ul {
    display: grid;
    gap: 0.35rem;
    margin-top: 0.65rem;
    padding-left: 1.1rem;
    list-style: disc;
}

.volunteer-item li::marker {
    color: #ff7fa8;
}

.experience-heading h4 {
    font-size: 1rem;
    line-height: 1.45;
}

.experience-heading span,
.resume-muted {
    color: #b8aebe;
    font-size: 0.88rem;
}

.resume-highlights {
    container-name: resume-layout;
    container-type: inline-size;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.skill-chips {
    gap: 0.5rem;
}

.skill-chips span {
    padding: 0.4rem 0.72rem;
    border-color: rgba(255, 107, 157, 0.24);
    color: #e8dfe9;
    background: rgba(255, 42, 109, 0.07);
    font-size: 0.82rem;
}

.education-panel {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1.8fr);
    gap: clamp(1.25rem, 3vw, 2.25rem);
    padding: 0;
    overflow: hidden;
    border-color: rgba(255, 107, 157, 0.26);
    background:
        radial-gradient(ellipse at 95% 0, rgba(255, 42, 109, 0.12), transparent 40%),
        linear-gradient(145deg, rgba(13, 6, 16, 0.98), rgba(5, 3, 8, 0.98));
}

.education-feature {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(1.35rem, 3vw, 2rem);
    border-right: 1px solid rgba(255, 107, 157, 0.17);
    background:
        radial-gradient(ellipse at 15% 15%, rgba(255, 91, 145, 0.2), transparent 48%),
        linear-gradient(155deg, rgba(39, 10, 29, 0.9), rgba(11, 5, 15, 0.55));
}

.education-eyebrow,
.course-count,
.course-category {
    color: #e7a3be;
    font-family: var(--font-terminal);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.education-title {
    margin-top: 0.85rem;
    color: #fff4f8;
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.065em;
    line-height: 1.02;
    text-shadow: 0 0 30px rgba(255, 91, 145, 0.2);
}

.education-degree {
    margin-top: 0.65rem;
    color: #d0c1d1;
    font-size: 0.94rem;
}

.education-school {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1.15rem;
    padding: 0.48rem 0.8rem;
    border: 1px solid rgba(255, 107, 157, 0.48);
    border-radius: 999px;
    color: #fff1f6;
    background: rgba(255, 42, 109, 0.1);
    font-size: 0.88rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.education-school:hover,
.education-school:focus-visible {
    transform: translateY(-2px);
    border-color: #ff8db3;
    background: rgba(255, 42, 109, 0.2);
}

.education-period {
    margin-top: 1.05rem;
    color: #ff9abd;
    font-family: var(--font-terminal);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.course-collection {
    min-width: 0;
    padding: clamp(1.25rem, 2.8vw, 1.8rem) clamp(1rem, 2.5vw, 1.6rem) clamp(1.4rem, 2.8vw, 1.8rem) 0;
}

.course-collection-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.course-collection-heading .resume-heading {
    margin: 0.3rem 0 0;
}

.course-count {
    flex: 0 0 auto;
    padding-bottom: 0.18rem;
    color: #bdacbf;
    font-size: 0.58rem;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.course-card {
    position: relative;
    min-width: 0;
    min-height: 112px;
    padding: 0.9rem 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 157, 0.17);
    border-radius: 0.85rem;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 62%),
        rgba(7, 4, 10, 0.82);
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.course-card::after {
    position: absolute;
    right: -1.2rem;
    bottom: -2.2rem;
    width: 4.5rem;
    height: 4.5rem;
    border: 1px solid rgba(255, 107, 157, 0.12);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.course-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 107, 157, 0.45);
    background-color: rgba(255, 42, 109, 0.055);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24), 0 0 22px rgba(255, 42, 109, 0.08);
}

.course-index {
    position: absolute;
    top: 0.75rem;
    right: 0.8rem;
    color: rgba(255, 173, 199, 0.56);
    font-family: var(--font-terminal);
    font-size: 0.65rem;
}

.course-category {
    display: block;
    max-width: calc(100% - 1.4rem);
    color: #ff9abd;
    font-size: 0.55rem;
    letter-spacing: 0.075em;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.course-card h4 {
    margin-top: 0.55rem;
    color: #f8eff5;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.course-card p {
    margin-top: 0.25rem;
    color: #b8aebe;
    font-size: 0.75rem;
}

.course-card:nth-child(3n + 2) {
    border-color: rgba(187, 133, 255, 0.2);
}

.course-card:nth-child(3n + 2) .course-category,
.course-card:nth-child(3n + 2) .course-index {
    color: #c6a7fa;
}

.course-card:nth-child(3n) {
    border-color: rgba(93, 224, 210, 0.18);
}

.course-card:nth-child(3n) .course-category,
.course-card:nth-child(3n) .course-index {
    color: #83d9d0;
}

.languages-panel {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    column-gap: 1.5rem;
}

.languages-panel .resume-heading {
    grid-column: 1 / -1;
}

.languages-panel p + p {
    margin-top: 0;
}

@media (max-width: 760px) {
    .education-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .education-feature {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 107, 157, 0.17);
    }

    .education-title-break {
        display: none;
    }

    .education-title {
        max-width: 100%;
    }

    .education-feature {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 1rem;
    }

    .education-feature .education-eyebrow,
    .education-feature .education-title,
    .education-feature .education-degree {
        grid-column: 1;
    }

    .education-feature .education-title {
        margin-top: 0.4rem;
    }

    .education-feature .education-degree {
        margin-top: 0.25rem;
    }

    .education-school,
    .education-period {
        grid-column: 2;
        justify-self: end;
        margin-top: 0;
    }

    .education-school {
        grid-row: 2;
    }

    .education-period {
        grid-row: 3;
    }

    .course-collection {
        padding: 1.25rem;
    }
}

@media (max-width: 420px) {
    .education-feature {
        padding: 1.1rem;
    }

    .education-title {
        font-size: 1.55rem;
    }

    .course-collection {
        padding: 1rem;
    }

    .course-grid {
        gap: 0.5rem;
    }

    .course-card {
        min-height: 120px;
        padding: 0.75rem;
    }

    .course-card h4 {
        font-size: 0.82rem;
    }

    .course-category {
        font-size: 0.5rem;
    }

    .languages-panel {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 340px) {
    .course-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .course-card {
        min-height: auto;
    }
}

@container resume-layout (max-width: 560px) {
    .education-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .education-feature {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        min-height: auto;
        padding: 1.1rem;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 107, 157, 0.17);
        column-gap: 1rem;
    }

    .education-title-break {
        display: none;
    }

    .education-feature .education-eyebrow,
    .education-feature .education-title,
    .education-feature .education-degree {
        grid-column: 1;
    }

    .education-feature .education-title {
        margin-top: 0.4rem;
        font-size: 1.55rem;
    }

    .education-feature .education-degree {
        margin-top: 0.25rem;
    }

    .education-school,
    .education-period {
        grid-column: 2;
        justify-self: end;
        margin-top: 0;
    }

    .education-school {
        grid-row: 2;
    }

    .education-period {
        grid-row: 3;
    }

    .course-collection {
        padding: 1rem;
    }

    .course-grid {
        gap: 0.5rem;
    }

    .course-card {
        min-height: 120px;
        padding: 0.75rem;
    }

    .course-card h4 {
        font-size: 0.82rem;
    }

    .course-category {
        font-size: 0.5rem;
    }
}

.project-grid,
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.project-card,
.testimonial-card,
.contact-form,
#sobre .bg-gray-800,
#contato .bg-gray-800 {
    border: 1px solid rgba(255, 107, 157, 0.19);
    border-radius: 1.1rem;
    background: linear-gradient(145deg, rgba(8, 3, 12, 0.75), rgba(3, 1, 5, 0.72));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 18px 50px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.project-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    transform-style: flat;
}

.project-card::before {
    display: none;
}

.project-card:hover {
    border-color: rgba(255, 107, 157, 0.38);
    box-shadow: 0 0 30px rgba(255, 42, 109, 0.1), 0 24px 58px rgba(0, 0, 0, 0.42);
    transform: translateY(-4px);
}

.project-terminal {
    position: relative;
    overflow: hidden;
    height: clamp(170px, 22vw, 230px);
    min-height: 168px;
    border-bottom: 1px solid rgba(255, 107, 157, 0.2);
    background:
        radial-gradient(ellipse at 12% 100%, rgba(255, 42, 109, 0.13), transparent 52%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 4px),
        #050308;
}

.project-terminal::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(255, 42, 109, 0.045));
    content: "";
    pointer-events: none;
}

.project-terminal-bar {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
    min-height: 40px;
    padding: 0.55rem 0.9rem;
    border-bottom: 1px solid rgba(255, 107, 157, 0.17);
    background: rgba(255, 42, 109, 0.055);
    color: #bdb0c0;
    font-family: var(--font-terminal);
    font-size: 0.7rem;
}

.terminal-lights {
    display: flex;
    gap: 0.28rem;
}

.terminal-lights i {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
    background: #ff5b91;
    box-shadow: 0 0 8px rgba(255, 42, 109, 0.32);
}

.terminal-lights i:nth-child(2) {
    background: #d16ba5;
}

.terminal-lights i:nth-child(3) {
    background: #75415e;
}

.terminal-path {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.terminal-live {
    color: #ff8db3;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
}

.terminal-live::before {
    display: inline-block;
    width: 0.36rem;
    height: 0.36rem;
    margin-right: 0.35rem;
    border-radius: 50%;
    background: #ff5b91;
    content: "";
    vertical-align: 0.04rem;
    box-shadow: 0 0 9px #ff2a6d;
    animation: status-pulse 1.8s ease-in-out infinite;
}

.project-terminal-output {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    gap: 0.65rem;
    min-height: calc(100% - 40px);
    padding: 1.2rem clamp(0.9rem, 2vw, 1.4rem);
    color: #efe4ee;
    font-family: var(--font-terminal);
    font-size: clamp(0.68rem, 1vw, 0.8rem);
    line-height: 1.55;
}

.project-terminal-output p {
    overflow-wrap: anywhere;
    margin: 0;
    color: #efe4ee;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.terminal-prompt {
    color: #ff8db3;
}

.terminal-muted {
    color: #a698aa !important;
}

.project-terminal-output .terminal-success {
    color: #ffb0cc;
}

.terminal-cursor {
    color: #ff5b91;
    animation: terminal-caret 900ms steps(2, jump-none) infinite;
}

.terminal-progress {
    width: min(100%, 250px);
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 107, 157, 0.13);
}

.terminal-progress span {
    display: block;
    width: 38%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #d16ba5, #ff5b91, #ffc1d8);
    box-shadow: 0 0 12px rgba(255, 42, 109, 0.8);
    animation: terminal-scan 2.8s ease-in-out infinite alternate;
}

.project-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(1.15rem, 3vw, 1.6rem);
}

.project-card h3 {
    color: #ff9abd;
    font-family: var(--font-display);
    font-size: 1.2rem;
    line-height: 1.35;
    text-shadow: none;
}

.project-card p {
    color: #d0c7d5;
    font-size: 0.94rem;
}

.project-stats {
    flex-wrap: wrap;
    color: #d5cbd9;
    font-size: 0.82rem;
}

.project-card .cyber-btn {
    margin-top: auto;
}

.testimonial-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: clamp(1.15rem, 3vw, 1.6rem);
    border-left: 2px solid rgba(255, 107, 157, 0.65);
}

.testimonial-card:hover {
    border-color: rgba(255, 107, 157, 0.5);
    transform: translateY(-3px);
}

.testimonial-text {
    color: #ded6e2;
    font-size: 0.95rem;
    line-height: 1.75;
}

.recommendations-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    max-width: 900px;
    margin: -0.35rem auto 0;
    color: #d8ccdd;
    font-size: 0.98rem;
    line-height: 1.7;
}

.recommendations-intro a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.45rem;
    color: #ff9abd;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(255, 107, 157, 0.45);
    text-underline-offset: 0.22em;
}

.recommendations-intro a:hover,
.recommendations-intro a:focus-visible {
    color: #fff;
    text-decoration-color: #ff5b91;
}

.recommendation-context {
    display: block;
    margin-bottom: 0.7rem;
    color: #ff9abd;
    font-family: var(--font-terminal);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.065em;
    line-height: 1.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: auto;
    padding-top: 1.15rem;
}

.testimonial-initials {
    flex: 0 0 auto;
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    border: 1px solid rgba(255, 107, 157, 0.5);
    border-radius: 50%;
    color: #ffe6ef;
    background: linear-gradient(145deg, rgba(255, 42, 109, 0.28), rgba(97, 22, 73, 0.4));
    font-family: var(--font-terminal);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.author-info {
    min-width: 0;
}

.author-info h3 {
    color: #fff;
    font-size: 0.94rem;
    line-height: 1.4;
}

.author-info span {
    display: block;
    color: #bdb3c4;
    font-size: 0.8rem;
    line-height: 1.45;
}

#contato .max-w-4xl {
    width: 100%;
    max-width: 960px;
    margin-inline: auto;
}

#contato .max-w-4xl > .grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(1.5rem, 4vw, 3rem);
}

#contato .max-w-4xl > .grid > div {
    min-width: 0;
}

#contato .max-w-4xl > .grid > div:first-child > div {
    color: #ded6e2;
}

.contact-form {
    max-width: none;
    margin: 0;
    padding: clamp(1.15rem, 3vw, 1.7rem);
}

.contact-form .form-group {
    margin-bottom: 1.1rem;
}

.contact-form label {
    margin-bottom: 0.4rem;
    color: #f4c1d4;
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select,
.form-group input,
.form-group textarea,
.form-group select {
    min-height: 46px;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.7rem;
    color: #fff;
    background-color: rgba(5, 1, 10, 0.72);
    font: inherit;
    font-size: 0.95rem;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #ff6b9d;
    outline: 3px solid rgba(255, 107, 157, 0.16);
    outline-offset: 1px;
}

.contact-form select option {
    color: #fff;
    background: #130c1a;
}

.contact-form .cyber-btn {
    width: 100%;
}

.error-message:not(.hidden) {
    display: block;
    margin-top: 0.35rem;
    color: #ff9baf;
    font-size: 0.82rem;
}

.social-links {
    gap: 0.7rem;
    margin-top: 2rem;
}

.social-link {
    min-height: 44px;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(255, 107, 157, 0.17);
    background: rgba(5, 2, 9, 0.72);
    font-size: 0.9rem;
}

.social-link::before {
    display: none;
}

.social-link:hover {
    border-color: rgba(255, 107, 157, 0.4);
    transform: translateY(-2px);
}

footer {
    padding: 3rem 0 1.5rem;
    background: rgba(5, 1, 10, 0.96);
    border-top: 1px solid rgba(255, 42, 109, 0.18);
}

footer .container > .grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

footer h4 {
    font-family: var(--font-display);
    font-size: 1rem;
}

footer p,
footer a {
    color: #c5bbc9;
}

footer a:hover {
    color: #ff8db3;
}

:focus-visible {
    outline: 3px solid #ff8db3;
    outline-offset: 3px;
}

.slide-in-left {
    transform: translateX(-24px);
}

.slide-in-right {
    transform: translateX(24px);
}

.slide-in-left.visible,
.slide-in-right.visible {
    transform: translate(0);
}

@media (max-width: 900px) {
    header .container {
        gap: 0.75rem;
    }

    nav ul {
        gap: 0;
    }

    nav a {
        padding-inline: 0.55rem;
        font-size: 0.85rem;
    }

    .about-intro-grid {
        grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
        gap: 1.5rem;
    }

    .about-details .experience-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-grid,
    .testimonials-grid {
        gap: 1rem;
    }

    #contato .max-w-4xl > .grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 680px) {
    .container,
    .hero-content {
        width: min(calc(100% - 2rem), var(--content-width));
    }

    header {
        padding: 0.65rem 0;
    }

    header .container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.45rem 1rem;
    }

    .language-picker {
        order: 2;
        gap: 0;
    }

    .language-picker-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        clip-path: inset(50%);
    }

    .language-picker select {
        min-height: 34px;
        padding-block: 0.25rem;
        font-size: 0.76rem;
    }

    .logo {
        font-size: 1rem;
    }

    .logo-icon {
        width: 2.15rem;
        height: 2.15rem;
    }

    nav {
        width: 100%;
        order: 3;
        overflow-x: auto;
        scrollbar-width: none;
    }

    nav::-webkit-scrollbar {
        display: none;
    }

    nav ul {
        width: max-content;
        min-width: 100%;
        flex-wrap: nowrap;
        flex-direction: row;
        justify-content: center;
        gap: 0.15rem;
    }

    nav a {
        min-height: 38px;
        padding: 0.4rem 0.58rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .hero {
        min-height: auto;
        padding: clamp(3.5rem, 12vw, 5rem) 0;
    }

    .slide-in-left,
    .slide-in-right {
        transform: translateY(12px);
    }

    .hero h1 {
        font-size: clamp(2.35rem, 11vw, 3.5rem);
        letter-spacing: -0.06em;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 0.12em;
    }

    .hero p {
        font-size: 1rem;
    }

    .availability-details {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.7rem;
    }

    .hero-stats {
        gap: 0.25rem;
        margin: 2rem auto;
    }

    .stat-item {
        padding: 0.7rem 0.25rem;
    }

    .stat-number {
        font-size: clamp(1.55rem, 7vw, 2rem);
    }

    .stat-label {
        font-size: 0.62rem;
        letter-spacing: 0.045em;
    }

    section {
        padding: 4.25rem 0;
    }

    .section-title {
        margin-bottom: 2rem;
        font-size: clamp(1.7rem, 8vw, 2.25rem);
    }

    .about-intro-grid,
    .about-details {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-intro-grid {
        gap: 1.25rem;
    }

    .about-details {
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .about-details .experience-list,
    .about-details .volunteer-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-photo-frame {
        width: min(100%, 440px);
    }

    .about-copy-panel,
    .about-details > .resume-section {
        padding: 1.1rem;
    }

    .resume-highlights,
    .project-grid,
    .testimonials-grid,
    #contato .max-w-4xl > .grid,
    footer .container > .grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .project-grid,
    .testimonials-grid {
        gap: 1rem;
    }

    .project-card img {
        height: 205px;
    }

    .experience-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.2rem;
    }

    .volunteer-heading {
        flex-direction: column;
        gap: 0.25rem;
    }

    .volunteer-heading > span:last-child {
        text-align: left;
    }

    .recommendations-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.65rem;
    }

    .social-links {
        justify-content: center;
    }

    .social-link {
        padding-inline: 0.85rem;
    }

    footer .container > .grid {
        gap: 1.4rem;
    }
}

@media (max-width: 360px) {
    .container,
    .hero-content {
        width: calc(100% - 1.5rem);
    }

    .hero-stats {
        gap: 0;
    }

    .stat-label {
        font-size: 0.57rem;
    }

    nav a {
        padding-inline: 0.48rem;
        font-size: 0.76rem;
    }
}

/* Neon Matrix atmosphere and purposeful micro-interactions */
body {
    background: #020104 !important;
    background-image:
        linear-gradient(rgba(255, 42, 109, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 42, 109, 0.018) 1px, transparent 1px) !important;
    background-size: 34px 34px;
}

#matrixRain {
    opacity: 0.2;
}

main {
    background: linear-gradient(180deg, rgba(2, 1, 4, 0.34), rgba(2, 1, 4, 0.54));
}

.hero {
    isolation: isolate;
    background:
        radial-gradient(ellipse at 50% 38%, rgba(111, 8, 53, 0.12), transparent 55%),
        linear-gradient(180deg, rgba(2, 1, 4, 0.08), rgba(2, 1, 4, 0.28));
}

.hero-content {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: min(calc(100% - 2.5rem), 1080px);
    padding: clamp(2.25rem, 5.5vw, 4.5rem);
    border: 1px solid rgba(255, 107, 157, 0.24);
    border-radius: 1.5rem;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 42, 109, 0.085), transparent 62%),
        linear-gradient(145deg, rgba(8, 3, 12, 0.84), rgba(3, 1, 5, 0.86));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 0 50px rgba(255, 42, 109, 0.075),
        0 28px 90px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.hero-content::before {
    position: absolute;
    inset: 0 12% auto;
    z-index: -1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 157, 0.7), transparent);
    content: "";
    box-shadow: 0 0 20px rgba(255, 42, 109, 0.3);
}

.hero-content::after {
    position: absolute;
    right: -4rem;
    bottom: -8rem;
    z-index: -1;
    width: 18rem;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 42, 109, 0.1);
    border-radius: 50%;
    box-shadow: 0 0 0 22px rgba(255, 42, 109, 0.025), 0 0 0 48px rgba(255, 42, 109, 0.018);
    content: "";
    pointer-events: none;
    animation: matrix-orbit 55s linear infinite;
}

.hero::before {
    position: absolute;
    inset: 8% 50% auto;
    z-index: -1;
    width: min(76vw, 840px);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 42, 109, 0.11);
    border-radius: 50%;
    box-shadow:
        0 0 0 26px rgba(255, 42, 109, 0.025),
        0 0 0 72px rgba(255, 42, 109, 0.018),
        inset 0 0 90px rgba(255, 42, 109, 0.08);
    content: "";
    pointer-events: none;
    transform: translate(-50%, -34%);
    animation: matrix-orbit 48s linear infinite;
}

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.38rem 0.75rem;
    border: 1px solid rgba(255, 42, 109, 0.28);
    border-radius: 999px;
    background: rgba(14, 4, 12, 0.65);
    box-shadow: 0 0 26px rgba(255, 42, 109, 0.1);
}

.hero-subtitle::before {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
    background: #ff4d91;
    box-shadow: 0 0 12px #ff2a6d;
    content: "";
    animation: status-pulse 1.8s ease-in-out infinite;
}

.hero h1 {
    position: relative;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    animation: title-glitch-in 850ms cubic-bezier(0.18, 0.72, 0.2, 1) both;
}

.hero h1::after {
    display: inline-block;
    margin-left: 0.08em;
    color: #ff5b91;
    content: "_";
    -webkit-text-fill-color: #ff5b91;
    animation: terminal-caret 1s steps(2, jump-none) infinite;
}

.hero .fade-in {
    animation: hero-rise 750ms cubic-bezier(0.2, 0.7, 0.25, 1) both;
}

.hero h1.fade-in {
    animation-name: title-glitch-in;
}

.hero .fade-in:nth-child(2) {
    animation-delay: 100ms;
}

.hero .fade-in:nth-child(3) {
    animation-delay: 220ms;
}

.hero .hero-stats {
    animation: hero-rise 800ms 360ms both;
}

.hero .hero-content > .fade-in:last-child {
    animation-delay: 480ms;
}

.stat-item {
    transition: transform 220ms ease, border-color 220ms ease;
}

.stat-item:hover {
    border-color: rgba(255, 107, 157, 0.35);
    transform: translateY(-4px);
}

.stat-number {
    text-shadow:
        0 0 14px rgba(255, 42, 109, 0.42),
        0 0 34px rgba(255, 42, 109, 0.18);
}

.fade-in {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
    transition:
        opacity 650ms cubic-bezier(0.2, 0.7, 0.25, 1),
        transform 650ms cubic-bezier(0.2, 0.7, 0.25, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.project-card {
    isolation: isolate;
}

.project-card-content .project-stats .stat {
    color: #ff9abd;
}

.project-card::before {
    position: absolute;
    top: 0;
    left: -100%;
    z-index: 2;
    display: block;
    width: 100%;
    height: 2px;
    padding: 0;
    border-radius: 0;
    background: linear-gradient(90deg, transparent, #ff2a6d 40%, #ffc1d8 50%, #ff2a6d 60%, transparent);
    content: "";
    opacity: 1;
    transition: none;
    transform: none;
    mask: none;
}

.project-card:hover::before,
.project-card:focus-within::before {
    opacity: 1;
    animation: card-scan 950ms ease-out;
}

.project-card:hover .project-terminal {
    border-bottom-color: rgba(255, 107, 157, 0.42);
}

.project-card:hover .terminal-progress span {
    animation-duration: 800ms;
}

@keyframes terminal-scan {
    from {
        width: 18%;
        transform: translateX(0);
    }

    to {
        width: 68%;
        transform: translateX(44%);
    }
}

.cyber-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.cyber-btn::after {
    position: absolute;
    top: -60%;
    left: -45%;
    z-index: 1;
    width: 35%;
    height: 220%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
    content: "";
    pointer-events: none;
    transform: translateX(-180%) rotate(18deg);
}

.cyber-btn:hover::after,
.cyber-btn:focus-visible::after {
    animation: button-glint 700ms ease-out;
}

.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-text {
    position: relative;
}

.social-link {
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        background-color 220ms ease,
        box-shadow 220ms ease;
}

.social-link:hover,
.social-link:focus-visible {
    border-color: rgba(255, 107, 157, 0.55);
    background: rgba(255, 42, 109, 0.1);
    box-shadow: 0 0 24px rgba(255, 42, 109, 0.12);
}

.contact-form::before {
    display: block;
    margin-bottom: 1.2rem;
    color: #ff6b9d;
    content: "contact --secure";
    font-family: var(--font-terminal);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    text-shadow: 0 0 12px rgba(255, 42, 109, 0.42);
}

.resume-highlights > *,
.experience-list > *,
.project-grid > *,
.testimonials-grid > * {
    animation: hero-rise 650ms both;
}

.experience-list > :nth-child(2),
.project-grid > :nth-child(2),
.testimonials-grid > :nth-child(2) {
    animation-delay: 90ms;
}

.experience-list > :nth-child(3),
.project-grid > :nth-child(3),
.testimonials-grid > :nth-child(3) {
    animation-delay: 180ms;
}

.project-grid > :nth-child(4) {
    animation-delay: 270ms;
}

@keyframes matrix-orbit {
    to {
        rotate: 360deg;
    }
}

@keyframes status-pulse {
    50% {
        opacity: 0.55;
        box-shadow: 0 0 4px #ff2a6d;
    }
}

@keyframes terminal-caret {
    to {
        visibility: hidden;
    }
}

@keyframes title-glitch-in {
    0% {
        opacity: 0;
        filter: blur(8px);
        transform: translateY(14px);
        text-shadow: 3px 0 #ff2a6d, -3px 0 #ff9abd;
    }

    18% {
        opacity: 1;
        filter: blur(0);
        transform: translate(-3px, 0);
    }

    32% {
        transform: translate(2px, 0);
        text-shadow: -2px 0 #ff2a6d, 2px 0 #ff9abd;
    }

    48% {
        transform: translate(0);
        text-shadow: none;
    }

    100% {
        opacity: 1;
        filter: none;
        transform: translate(0);
        text-shadow: none;
    }
}

@keyframes hero-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes card-scan {
    from {
        left: -100%;
    }

    to {
        left: 100%;
    }
}

@keyframes button-glint {
    to {
        transform: translateX(520%) rotate(18deg);
    }
}

@media (hover: none) {
    .project-card:hover,
    .testimonial-card:hover,
    .social-link:hover {
        transform: none;
    }



    .project-card::before {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-delay: 0ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fade-in,
    .slide-in-left,
    .slide-in-right {
        opacity: 1;
        transform: none;
    }

    .hero h1::after,
    .hero-subtitle::before {
        animation: none;
    }
}
