/* 
    STYLE.CSS - ESTETICA TECNOLOGICA ESTELAR
    Visual: preto e branco, alto contraste, minimalismo urbano
*/

:root {
    --black: #000000;
    --dark-grey: #1a1a1a;
    --medium-grey: #2a2a2a;
    --light-grey: #a1a1a1;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    --primary: #007bff;
    --secondary: #6c757d;
    --accent: #28a745;
}

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

html {
    scroll-behavior: smooth;
}

#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #28a745);
    z-index: 10000;
    transition: width 0.3s ease;
}

body {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Camada de ruido visual */
.film-grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
}

/* Canvas de Partículas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

.scroll-motion-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    perspective: 1100px;
}

.motion-grid {
    --scroll-depth: 0;
    position: absolute;
    right: clamp(-180px, -10vw, -40px);
    top: 10vh;
    width: min(46vw, 560px);
    aspect-ratio: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 2vw, 28px);
    opacity: 0.3;
    transform:
        translate3d(0, calc(var(--scroll-depth) * -120px), 0)
        rotateX(calc(58deg + (var(--scroll-depth) * 16deg)))
        rotateZ(calc(-18deg + (var(--scroll-depth) * 42deg)));
    transform-style: preserve-3d;
    transition: opacity 0.6s ease;
}

.motion-grid span {
    display: block;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.015)),
        rgba(141, 232, 255, 0.04);
    box-shadow:
        inset 0 0 28px rgba(141, 232, 255, 0.06),
        0 24px 70px rgba(0, 0, 0, 0.32);
    transform:
        translateZ(calc((var(--cell-depth, 0) + var(--scroll-depth)) * 42px))
        scale(calc(0.82 + (var(--scroll-depth) * 0.18)));
}

.motion-grid span:nth-child(2n) {
    --cell-depth: 0.45;
}

.motion-grid span:nth-child(3n) {
    --cell-depth: -0.25;
    border-color: rgba(255, 210, 125, 0.14);
}

/* Layout Utilitários */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 140px 0;
}

.bg-black {
    background-color: var(--black);
}

.mono-text {
    font-family: 'JetBrains Mono', monospace;
    color: var(--light-grey);
    font-size: 0.9rem;
}

/* Navegacao com vidro */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem 0;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -1px;
    font-size: 1.2rem;
}

.logo span {
    color: var(--primary);
    font-weight: 300;
}

.nav-links ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-item {
    text-decoration: none;
    color: var(--light-grey);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
}

.nav-item:hover, .nav-item.active {
    color: var(--primary);
}

/* Botoes */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 2px; /* Quadrado mais técnico */
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-white {
    background: var(--white);
    color: var(--black);
}

.btn-white:hover {
    background: transparent;
    color: var(--white);
    box-shadow: inset 0 0 0 1px var(--white);
}

.btn-glass {
    background: transparent;
    color: var(--white);
    box-shadow: inset 0 0 0 1px var(--glass-border);
}

.btn-glass:hover {
    background: var(--white);
    color: var(--black);
}

.btn-noir {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

/* Secao inicial cinematografica */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
}

.vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 50%, black 150%);
    pointer-events: none;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--light-grey);
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--white);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -4px;
    margin-bottom: 2rem;
}

.text-outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}

.hero-description {
    font-size: 0.9rem;
    color: var(--light-grey);
    max-width: 500px;
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--light-grey);
}

.mouse {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--white), transparent);
}

/* Cabecalhos de secao */
.section-header {
    margin-bottom: 80px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.line-divider {
    width: 100%;
    height: 1px;
    background: var(--glass-border);
    margin-top: 20px;
}

/* Cards and glass */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Cartao sobre */
.about-card {
    padding: 4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.data-row {
    margin-bottom: 2rem;
}

.data-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--light-grey);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.data-value {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.bio-text {
    font-size: 1.3rem;
    color: var(--white);
    line-height: 1.6;
}

/* Grade de cursos */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1px; /* Linhas finas entre os cards */
    background: var(--glass-border);
    border: 1px solid var(--glass-border);
}

.course-card {
    background: var(--black);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.course-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    color: var(--light-grey);
    display: block;
    margin-bottom: 1.5rem;
}

.course-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.course-status-label {
    font-size: 0.7rem;
    color: var(--light-grey);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-action {
    text-decoration: none;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Secao em andamento */
.mt-10 { margin-top: 5rem; }

.glass-heavy {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border: 1px solid var(--white);
}

.ongoing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.blink-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--black);
    background: var(--white);
    padding: 4px 10px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.progress-wrapper {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: 20px;
}

.progress-bar-noir {
    flex: 1;
    height: 2px;
    background: var(--medium-grey);
}

.progress-fill-white {
    height: 100%;
    background: var(--white);
    box-shadow: 0 0 15px var(--white);
}

.progress-pct {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
}

/* Lista tecnica de habilidades */
.skills-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.skill-row {
    display: grid;
    grid-template-columns: 250px 1fr;
    align-items: center;
    gap: 2rem;
}

.skill-name {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.skill-line {
    height: 1px;
    background: var(--medium-grey);
    position: relative;
}

.skill-fill-white {
    height: 100%;
    background: var(--white);
    position: absolute;
    top: 0;
    left: 0;
}

/* Linha do tempo */
.noir-timeline {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.timeline-block {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.timeline-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 200;
    color: var(--light-grey);
    opacity: 0.5;
}

.timeline-text h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.timeline-text p {
    color: var(--light-grey);
    font-size: 1.1rem;
    font-weight: 300;
}

/* Rodape */
.footer-noir {
    padding: 100px 0 50px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.footer-social {
    display: flex;
    gap: 2rem;
}

.social-link {
    color: var(--white);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 700;
}

.footer-bottom {
    text-align: center;
    font-size: 0.65rem;
    color: var(--light-grey);
    letter-spacing: 2px;
}

/* Animacoes */
.section-reveal {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition:
        opacity 0.8s cubic-bezier(0.2, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    will-change: opacity, transform;
}

.section-reveal.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.reveal {
    --reveal-x: 0px;
    --reveal-y: 20px;
    opacity: 0;
    transform:
        translate3d(
            var(--reveal-x),
            calc(var(--reveal-y) + var(--scroll-lift, 0px)),
            0
        );
    transition:
        opacity 0.8s cubic-bezier(0.2, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal.active {
    --reveal-x: 0px;
    --reveal-y: 0px;
    opacity: 1;
}

.reveal.reveal-left {
    --reveal-y: 20px;
}

.reveal.reveal-right {
    --reveal-y: 20px;
}

.scroll-lift {
    transform: translate3d(0, var(--scroll-lift, 0px), 0);
    transition: transform 0.14s linear;
    will-change: transform;
}

.reveal.scroll-lift {
    transform:
        translate3d(
            var(--reveal-x),
            calc(var(--reveal-y) + var(--scroll-lift, 0px)),
            0
        );
}

/* Responsivo */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 3.5rem; letter-spacing: -2px; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .skill-row { grid-template-columns: 1fr; gap: 1rem; }
    .footer-grid { flex-direction: column; gap: 3rem; text-align: center; }
}

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

    .scroll-motion-layer {
        display: none;
    }

    .reveal,
    .section-reveal,
    .reveal.scroll-lift,
    .scroll-lift {
        opacity: 1;
        transform: none;
    }
}

/* Refinamento visual: fundo estrelado e cartoes mais organizados */
:root {
    --dark-grey: #060814;
    --medium-grey: #151827;
    --light-grey: #b7bdcc;
    --glass: rgba(255, 255, 255, 0.055);
    --glass-strong: rgba(255, 255, 255, 0.09);
    --glass-border: rgba(255, 255, 255, 0.14);
    --accent: #8de8ff;
    --accent-warm: #ffd27d;
    --shadow-deep: 0 28px 90px rgba(0, 0, 0, 0.42);
}

body {
    background:
        radial-gradient(circle at 18% 18%, rgba(141, 232, 255, 0.14), transparent 26%),
        radial-gradient(circle at 82% 8%, rgba(255, 210, 125, 0.09), transparent 24%),
        radial-gradient(circle at 58% 82%, rgba(134, 113, 255, 0.1), transparent 28%),
        linear-gradient(180deg, #02030a 0%, #070b18 48%, #02030a 100%);
    min-height: 100vh;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

body::before {
    z-index: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.9) 0 1px, transparent 1.5px),
        radial-gradient(circle, rgba(141,232,255,0.75) 0 1px, transparent 1.6px),
        radial-gradient(circle, rgba(255,210,125,0.65) 0 1px, transparent 1.7px);
    background-size: 140px 140px, 220px 220px, 310px 310px;
    background-position: 8px 12px, 72px 48px, 140px 94px;
    opacity: 0.34;
}

body::after {
    z-index: 0;
    background:
        radial-gradient(ellipse at top, rgba(255, 255, 255, 0.08), transparent 42%),
        linear-gradient(180deg, rgba(2,3,10,0.15), rgba(2,3,10,0.72));
}

#particles-canvas {
    z-index: 0;
    opacity: 0.72;
}

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

.glass-nav {
    position: fixed;
    z-index: 1000;
}

html {
    scroll-padding-top: 108px;
}

section,
footer {
    scroll-margin-top: 108px;
}

.container {
    max-width: 1180px;
}

.bg-black {
    background: linear-gradient(180deg, rgba(1, 2, 8, 0.62), rgba(5, 8, 18, 0.8));
}

.glass-nav {
    background: rgba(2, 4, 13, 0.78);
    backdrop-filter: blur(18px);
}

.logo {
    color: var(--white);
    font-weight: 800;
    letter-spacing: -1px;
    font-size: 1.2rem;
}

.btn {
    border-radius: 8px;
}

.btn-white {
    box-shadow: 0 18px 45px rgba(255, 255, 255, 0.12);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.04);
}

.hero-section {
    background:
        radial-gradient(circle at 45% 42%, rgba(141, 232, 255, 0.12), transparent 30%),
        radial-gradient(circle at 70% 34%, rgba(255, 210, 125, 0.08), transparent 24%);
}

.vignette {
    background: radial-gradient(circle, transparent 42%, rgba(0, 0, 0, 0.82) 150%);
}

.status-badge {
    text-transform: uppercase;
    letter-spacing: 1.6px;
}

.pulse-dot {
    background: var(--accent);
    box-shadow: 0 0 16px var(--accent);
}

.hero-title,
.section-title {
    letter-spacing: 0;
}

.text-outline {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.34);
    text-shadow: 0 0 40px rgba(141, 232, 255, 0.12);
}

.line-divider {
    background: linear-gradient(90deg, var(--accent), var(--glass-border), transparent);
}

.glass {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.105), rgba(255,255,255,0.032)),
        rgba(7, 11, 24, 0.72);
    backdrop-filter: blur(18px);
    border-radius: 14px;
    box-shadow: var(--shadow-deep);
}

.glass:hover {
    border-color: rgba(141, 232, 255, 0.52);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.048)),
        rgba(9, 14, 29, 0.82);
    transform: translateY(-4px);
}

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

.about-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(141, 232, 255, 0.12), transparent 36%);
    pointer-events: none;
}

.about-grid {
    position: relative;
    z-index: 1;
}

.data-row {
    padding-bottom: 1.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.data-value {
    letter-spacing: 0.4px;
}

.courses-grid {
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    gap: 1.1rem;
    background: transparent;
    border: 0;
}

.course-card {
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
        rgba(6, 10, 24, 0.78);
    padding: 2rem;
    min-height: 292px;
    display: flex;
    align-items: stretch;
    border-radius: 14px;
    isolation: isolate;
    transition:
        transform 0.6s cubic-bezier(0.2, 1, 0.3, 1),
        border-color 0.6s cubic-bezier(0.2, 1, 0.3, 1),
        box-shadow 0.6s cubic-bezier(0.2, 1, 0.3, 1),
        background 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.course-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 13px;
    background:
        radial-gradient(circle at top left, rgba(141, 232, 255, 0.13), transparent 40%),
        radial-gradient(circle at bottom right, rgba(255, 210, 125, 0.08), transparent 36%);
    z-index: -1;
}

.course-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
}

.course-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition: var(--transition);
}

.course-tag {
    color: var(--accent);
    letter-spacing: 1.6px;
}

.course-title {
    font-size: 1.24rem;
    letter-spacing: 0;
    min-height: 4.8rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.34;
}

.course-status-label {
    letter-spacing: 1px;
    min-height: 1.2rem;
}

.course-action {
    margin-top: auto;
    width: fit-content;
    padding: 0 0 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.36);
    transition:
        color 0.45s cubic-bezier(0.2, 1, 0.3, 1),
        border-color 0.45s cubic-bezier(0.2, 1, 0.3, 1),
        transform 0.45s cubic-bezier(0.2, 1, 0.3, 1);
}

.course-action:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.course-card:hover {
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.glass-heavy {
    background:
        linear-gradient(135deg, rgba(141, 232, 255, 0.13), rgba(255, 255, 255, 0.05) 42%, rgba(255, 210, 125, 0.09)),
        rgba(8, 13, 27, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    box-shadow: var(--shadow-deep);
}

.blink-badge {
    background: linear-gradient(90deg, var(--white), var(--accent));
    padding: 6px 12px;
    border-radius: 999px;
}

.progress-bar-noir,
.skill-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill-white {
    background: linear-gradient(90deg, var(--white), var(--accent), var(--accent-warm));
    box-shadow: 0 0 24px rgba(141, 232, 255, 0.38);
}

.skills-list,
.noir-timeline {
    gap: 1rem;
}

.skill-row,
.timeline-block {
    padding: 1.4rem 1.6rem;
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(12px);
}

.skill-fill-white {
    background: linear-gradient(90deg, var(--white), var(--accent));
}

.timeline-block {
    gap: 2rem;
}

.timeline-num {
    min-width: 42px;
}

.footer-noir {
    background: rgba(2, 4, 13, 0.72);
}

.footer-social {
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link {
    padding: 0.7rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    transition: var(--transition);
}

.social-link:hover {
    color: var(--black);
    background: var(--white);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero-btns,
    .ongoing-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-card,
    .glass-heavy {
        padding: 2rem;
    }
}

/* Cabecalho harmonico */
.glass-nav {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(2, 4, 13, 0.92), rgba(2, 4, 13, 0.72)),
        rgba(2, 4, 13, 0.82);
}

.nav-wrapper {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    align-items: center;
    gap: 2rem;
    min-height: 76px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: inline-flex;
    align-items: baseline;
    gap: 0.22rem;
    font-size: 1.1rem;
    letter-spacing: -0.03em;
    line-height: 1;
}

.logo a::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    margin-right: 0.35rem;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(141, 232, 255, 0.8);
}

.logo span {
    color: rgba(255, 255, 255, 0.62);
}

.nav-links {
    justify-self: center;
}

.nav-links ul {
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(14px);
}

.nav-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 1rem;
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
}

.nav-item:hover,
.nav-item.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.nav-item.active,
.nav-item.nav-clicked,
.nav-actions .btn.nav-clicked {
    box-shadow: 0 0 18px rgba(141, 232, 255, 0.12);
}

.nav-actions {
    display: flex;
    justify-self: end;
    align-items: center;
    gap: 0.75rem;
}

.nav-actions .btn {
    min-width: 150px;
    padding: 0.95rem 1.35rem;
    text-align: center;
    border-radius: 12px;
    letter-spacing: 0.16em;
}

.mobile-toggle {
    display: none;
    color: var(--white);
}

@media (max-width: 980px) {
    .nav-wrapper {
        grid-template-columns: 1fr auto;
    }

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: inline-flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.04);
        cursor: pointer;
    }
}

@media (max-width: 560px) {
    .glass-nav {
        padding: 0.75rem 0;
    }

    .nav-wrapper {
        gap: 1rem;
        min-height: 62px;
    }

    .logo a {
        font-size: 0.95rem;
    }

    .nav-actions .btn {
        display: none;
    }
}

/* Card Sobre mim profissional */
.about-card {
    max-width: 1120px;
    margin: 0 auto;
    padding: 3.5rem;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
        rgba(8, 12, 26, 0.88);
}

.about-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 17px;
    background:
        radial-gradient(circle at 12% 18%, rgba(141, 232, 255, 0.12), transparent 28%),
        radial-gradient(circle at 88% 16%, rgba(255, 210, 125, 0.08), transparent 26%);
    pointer-events: none;
}

.about-card-header,
.about-grid {
    position: relative;
    z-index: 1;
}

.about-card-header {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(141, 232, 255, 0.24);
    border-radius: 999px;
    color: var(--accent);
    background: rgba(141, 232, 255, 0.06);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.about-card-header h3 {
    color: var(--white);
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    line-height: 1.12;
    letter-spacing: 0;
}

.about-grid {
    grid-template-columns: minmax(220px, 0.72fr) minmax(240px, 0.78fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 2rem;
}

.about-photo-frame {
    position: relative;
    width: min(100%, 260px);
    aspect-ratio: 4 / 5;
    justify-self: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
        rgba(255, 255, 255, 0.04);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.about-photo-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, transparent 52%, rgba(2, 4, 13, 0.34)),
        radial-gradient(circle at 50% 0%, rgba(141, 232, 255, 0.16), transparent 42%);
    pointer-events: none;
}

.about-photo-frame::after {
    content: "";
    position: absolute;
    inset: 12px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    pointer-events: none;
}

.about-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 50% 18%;
    filter: saturate(0.92) contrast(1.05);
}

.about-info {
    display: grid;
    gap: 0.9rem;
}

.data-row {
    margin: 0;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.data-label {
    margin-bottom: 0.55rem;
    color: rgba(255, 255, 255, 0.58);
}

.data-value {
    display: block;
    color: var(--white);
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.25;
}

.about-bio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100%;
    padding: 0.5rem 1rem;
}

.about-bio-text {
    max-width: 640px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.85;
    font-weight: 400;
}

.about-highlights {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.8rem;
}

.about-highlights span {
    padding: 0.62rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 820px) {
    .about-card {
        padding: 2rem;
    }

    .about-card-header {
        margin-bottom: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .about-bio {
        padding: 0;
    }
}
