/* Reset e Configurações Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background: rgba(91, 163, 255, 0.35);
    color: #f8fafc;
}

:focus-visible {
    outline: 2px solid rgba(91, 163, 255, 0.92);
    outline-offset: 3px;
}

/* Tokens globais primeiro — uma única “tela” + painéis alinhados */
:root {
    --page-base: #080a0f;
    --page-base-mid: #0c1018;
    --page-ink: #0e131c;
    --page-radial-top: rgba(74, 158, 255, 0.085);
    --page-radial-mid: rgba(0, 102, 204, 0.04);
    --dev-bg-deep: #0a0e14;
    --dev-panel-bg: linear-gradient(160deg, #121820 0%, #0e131c 48%, #0a0d14 100%);
    --dev-accent: #5ba3ff;
    --dev-accent-2: #1a6fd4;
    --dev-border: rgba(255, 255, 255, 0.065);
    --dev-border-accent: rgba(91, 163, 255, 0.22);
    --dev-tile-bg: rgba(255, 255, 255, 0.03);
    --dev-tile-border: rgba(255, 255, 255, 0.08);
    --dev-chrome: rgba(14, 18, 26, 0.92);
    --dev-shadow-elevated: 0 18px 44px rgba(0, 0, 0, 0.42);
    --font-sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'Outfit', 'Poppins', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --radius-panel: 16px;
    --radius-sm: 12px;
    --focus-ring: 0 0 0 2px var(--page-base), 0 0 0 4px rgba(91, 163, 255, 0.55);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    background-color: var(--page-base);
}

body {
    position: relative;
    font-family: var(--font-sans);
    line-height: 1.65;
    color: #e2e8f0;
    background-color: var(--page-base);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

.skip-link {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    padding: 0.65rem 1.1rem;
    margin: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: #0a0e14;
    background: linear-gradient(135deg, #e8f1ff 0%, var(--dev-accent) 100%);
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    transform: translateY(-160%);
    transition: transform 0.35s var(--ease-out-expo);
}

.skip-link:focus {
    outline: none;
}

.skip-link:focus-visible {
    transform: translateY(0);
    box-shadow: var(--focus-ring), 0 12px 36px rgba(0, 0, 0, 0.5);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Fundo conciso: gradiente único + vinheta; grade só onde faz sentido (dentro dos painéis) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 55% at 50% -8%, var(--page-radial-top), transparent 58%),
        radial-gradient(ellipse 70% 45% at 92% 42%, var(--page-radial-mid), transparent 52%),
        radial-gradient(ellipse 55% 40% at 8% 78%, rgba(74, 158, 255, 0.025), transparent 50%),
        linear-gradient(180deg, var(--page-base) 0%, var(--page-base-mid) 45%, var(--page-ink) 100%);
}

/* Textura muito sutil — “filme” / profundidade sem poluir */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.038;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

@keyframes dev-chrome-shimmer {
    0%,
    40% {
        background-position: 120% 0;
    }
    55%,
    100% {
        background-position: -120% 0;
    }
}

@keyframes hero-glow-breathe {
    0% {
        opacity: 0.72;
        transform: translate(-50%, -42%) scale(1);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -36%) scale(1.07);
    }
}

@keyframes hero-pulse-dot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.55;
        transform: scale(0.88);
    }
}

@keyframes hero-fade-rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes photo-glow {
    0%,
    100% {
        box-shadow:
            0 0 22px rgba(91, 163, 255, 0.22),
            0 0 0 3px rgba(74, 158, 255, 0.32);
    }
    50% {
        box-shadow:
            0 0 36px rgba(91, 163, 255, 0.38),
            0 0 0 3px rgba(74, 158, 255, 0.45);
    }
}

/* Painel reutilizável (mesma base do .tech-stack-panel) */
.dev-panel {
    width: 100%;
    border-radius: var(--radius-panel);
    overflow: hidden;
    background: var(--dev-panel-bg);
    box-shadow:
        0 0 0 1px var(--dev-border),
        0 0 0 1px rgba(91, 163, 255, 0.04) inset,
        0 1px 0 rgba(255, 255, 255, 0.045) inset,
        0 0 60px rgba(91, 163, 255, 0.04),
        var(--dev-shadow-elevated);
    transition: box-shadow 0.45s var(--ease-out-expo);
}

@media (hover: hover) and (pointer: fine) {
    .dev-panel:hover {
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.08),
            0 0 0 1px rgba(91, 163, 255, 0.06) inset,
            0 1px 0 rgba(255, 255, 255, 0.05) inset,
            0 0 72px rgba(91, 163, 255, 0.07),
            0 22px 50px rgba(0, 0, 0, 0.48);
    }
}

.dev-panel--wide {
    max-width: 100%;
}

.tech-stack-chrome,
.dev-panel-chrome {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1rem;
    background: var(--dev-chrome);
    border-bottom: 1px solid var(--dev-border);
    position: relative;
    overflow: hidden;
}

.tech-stack-chrome::after,
.dev-panel-chrome::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        transparent 0%,
        transparent 42%,
        rgba(255, 255, 255, 0.075) 50%,
        transparent 58%,
        transparent 100%
    );
    background-size: 220% 100%;
    background-position: 120% 0;
    animation: dev-chrome-shimmer 14s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.tech-stack-chrome > *,
.dev-panel-chrome > * {
    position: relative;
    z-index: 1;
}

.dev-panel-chrome-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.dev-panel-filename {
    margin-left: 0.35rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(147, 197, 255, 0.92);
}

.dev-panel-body {
    position: relative;
    padding: 1.5rem 1.25rem 1.6rem;
}

.dev-panel-body::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(91, 163, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91, 163, 255, 0.045) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    opacity: 0.55;
    mask-image: linear-gradient(to bottom, transparent, black 14%);
}

.dev-panel-body--compact {
    padding: 1.15rem 1.1rem 1.25rem;
}

.dev-panel-body--flush-top {
    padding-top: 0.85rem;
}

.dev-panel-body > * {
    position: relative;
    z-index: 1;
}

/* Hover “tile” compartilhado (estilo tech-stack-card) */
.dev-tile-hover {
    transition:
        transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1),
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        background 0.28s ease;
}

.dev-tile-hover:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 158, 255, 0.35);
    background: rgba(255, 255, 255, 0.045);
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(74, 158, 255, 0.18),
        0 0 36px rgba(74, 158, 255, 0.12);
}

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

    body::before {
        opacity: 0.85;
    }

    body::after {
        opacity: 0.02;
        animation: none;
    }

    .tech-stack-chrome::after,
    .dev-panel-chrome::after {
        animation: none;
        opacity: 0;
    }

    .about-hero__glow {
        animation: none;
        opacity: 0.85;
        transform: translate(-50%, -42%) scale(1);
    }

    .hero-eyebrow,
    .hero-pill,
    .site-about-panel .profile-name {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .hero-pill__pulse {
        animation: none;
        opacity: 0.85;
    }

    .site-about-panel .profile-image img {
        animation: none;
        box-shadow: 0 0 24px rgba(74, 158, 255, 0.22);
    }

    html.js-reveal-init .reveal-section:not(.reveal-visible) {
        opacity: 1;
        transform: none;
    }

    .dev-panel {
        transition: none;
    }

    .submit-btn:hover {
        transform: none;
        filter: none;
        box-shadow: 0 4px 20px rgba(74, 158, 255, 0.25);
    }

    .profile-card:hover,
    .skills-soft-panel .tech-stack-card:hover,
    #certifications .certification-card:hover,
    #certifications .certification-card:focus-within,
    #certifications .certification-card:hover .certification-card__icon,
    #certifications .certification-card:focus-within .certification-card__icon,
    .project-card:hover,
    .project-card:hover .project-card__img,
    .project-card:focus-within .project-card__img,
    .timeline-content:hover,
    .education-item:hover,
    .language-card:hover,
    .award-card:hover,
    .contact-item:hover,
    .activities-list li:hover {
        transform: none;
    }
}

/* Seção Certificações - Versão Simplificada */
#certifications {
    background: transparent;
}

#certifications .certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

#certifications .certification-card {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.05rem;
    min-height: 100%;
    text-align: left;
    background: var(--dev-tile-bg);
    padding: 1.2rem 1.25rem 1.25rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--dev-tile-border);
    transition:
        transform 0.32s var(--ease-out-expo),
        border-color 0.28s ease,
        box-shadow 0.32s var(--ease-out-expo),
        background 0.28s ease;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.32);
}

#certifications .certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--dev-accent), rgba(91, 163, 255, 0.15));
    opacity: 0;
    transition: opacity 0.28s ease;
}

#certifications .certification-card:hover,
#certifications .certification-card:focus-within {
    transform: translateY(-4px);
    border-color: var(--dev-border-accent);
    background: rgba(255, 255, 255, 0.045);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.48),
        0 0 0 1px rgba(91, 163, 255, 0.12),
        0 0 32px rgba(91, 163, 255, 0.08);
}

#certifications .certification-card:hover::before,
#certifications .certification-card:focus-within::before {
    opacity: 1;
}

#certifications .certification-card:focus-within {
    outline: none;
}

#certifications .certification-card__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(155deg, rgba(42, 48, 58, 0.95) 0%, rgba(20, 24, 32, 0.98) 100%);
    border: 1px solid var(--dev-border-accent);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 4px 18px rgba(0, 0, 0, 0.38);
    transition:
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        transform 0.32s var(--ease-out-expo);
}

#certifications .certification-card:hover .certification-card__icon,
#certifications .certification-card:focus-within .certification-card__icon {
    border-color: rgba(91, 163, 255, 0.45);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 6px 22px rgba(0, 0, 0, 0.42),
        0 0 20px rgba(91, 163, 255, 0.12);
    transform: scale(1.04);
}

#certifications .certification-card__icon i {
    font-size: 1.28rem;
    color: var(--dev-accent);
    filter: drop-shadow(0 2px 10px rgba(91, 163, 255, 0.35));
}

#certifications .certification-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

#certifications .certification-card__title {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.38;
    color: #f1f5f9;
    margin: 0;
}

#certifications .certification-card__institution {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.92);
    margin: 0;
}

.certifications-filter-wrap {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
    margin-bottom: 0.35rem;
}

.certifications-filter {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.4rem;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid var(--dev-border);
    border-radius: 999px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.cert-filter-btn {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.6rem 1.15rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    background: transparent;
    color: #9a9a9a;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.cert-filter-btn:hover {
    color: #e8e8e8;
    background: rgba(74, 158, 255, 0.1);
}

.cert-filter-btn.is-active {
    color: #fff;
    background: linear-gradient(135deg, #4a9eff, #0066cc);
    box-shadow: 0 4px 18px rgba(74, 158, 255, 0.35);
}

.cert-filter-btn:active:not(.is-active) {
    transform: scale(0.98);
}

.cert-filter-btn:focus-visible {
    outline: 2px solid #4a9eff;
    outline-offset: 2px;
}

#certifications .certification-card--hidden {
    display: none !important;
}

@media (max-width: 520px) {
    .certifications-filter {
        border-radius: 16px;
        padding: 0.5rem;
    }

    .cert-filter-btn {
        flex: 1 1 auto;
        min-width: calc(33% - 0.5rem);
        text-align: center;
        padding: 0.55rem 0.65rem;
        font-size: 0.8rem;
    }
}

/* Seção Atividades Extracurriculares */
.activities-section {
    background: transparent;
    padding: 80px 0;
}

.activities-list {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
    font-size: 1.05rem;
    color: #e0e0e0;
    line-height: 1.75;
}

.activities-list li {
    background: var(--dev-tile-bg);
    border: 1px solid var(--dev-tile-border);
    border-radius: 12px;
    padding: 1.1rem 1.4rem;
    margin-bottom: 0.75rem;
    border-left: 3px solid rgba(74, 158, 255, 0.35);
    transition:
        transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1),
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.activities-list li:hover {
    transform: translateX(6px);
    border-color: rgba(74, 158, 255, 0.25);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}


/* Menu de Navegação */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(8, 10, 15, 0.72);
    backdrop-filter: blur(20px) saturate(1.25);
    -webkit-backdrop-filter: blur(20px) saturate(1.25);
    z-index: 1000;
    transition:
        background 0.4s var(--ease-out-expo),
        box-shadow 0.4s var(--ease-out-expo),
        border-color 0.4s ease;
    box-shadow: 0 1px 0 var(--dev-border);
    border-bottom: 1px solid var(--dev-border);
}

.navbar.scrolled {
    background: inherit;
    box-shadow: inherit;
}

.navbar, .navbar.scrolled {
    background: rgba(8, 10, 15, 0.88) !important;
    box-shadow: 0 1px 0 var(--dev-border) !important;
    border-bottom-color: var(--dev-border) !important;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #f0f4ff;
}

.nav-logo__link {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
}

.nav-logo__link:visited {
    color: inherit;
}

.nav-logo__link:hover,
.nav-logo__link:focus-visible {
    text-decoration: none;
}

.nav-logo span {
    background: linear-gradient(135deg, #fff 30%, var(--dev-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: rgba(220, 228, 240, 0.82);
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
    transition: color 0.35s var(--ease-out-expo);
    position: relative;
}

.nav-link:hover {
    color: #e8f1ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--dev-accent-2), var(--dev-accent));
    box-shadow: 0 0 14px rgba(91, 163, 255, 0.35);
    transition: width 0.4s var(--ease-out-expo);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    width: 100%;
}

.nav-link--active {
    color: #f0f7ff;
}

.nav-link--active::after {
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--dev-accent), transparent);
    box-shadow: 0 0 16px rgba(91, 163, 255, 0.5);
}

/* Seletor de idioma (desktop + mobile) */
.lang-switcher {
    position: relative;
    z-index: 1001;
    flex-shrink: 0;
}

.lang-switcher-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.35rem 0.5rem 0.35rem 0.35rem;
    min-height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 999px;
    color: var(--dev-accent);
    transition: background 0.2s ease, opacity 0.2s ease;
    font-family: inherit;
}

.lang-switcher-trigger:hover {
    background: rgba(91, 163, 255, 0.12);
}

.lang-switcher-trigger:focus-visible {
    outline: 2px solid #4a9eff;
    outline-offset: 2px;
}

.lang-switcher-flag {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    display: block;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.lang-switcher-chevron {
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: currentColor;
}

.lang-switcher.is-open .lang-switcher-chevron {
    transform: rotate(180deg);
}

.lang-switcher-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 240px;
    margin: 0;
    padding: 0.5rem 0;
    list-style: none;
    background: var(--dev-panel-bg);
    border-radius: 12px;
    border: 1px solid var(--dev-border);
    box-shadow: var(--dev-shadow-elevated);
}

.lang-switcher-menu li {
    margin: 0;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.65rem 1rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: #dce4f0;
    text-align: left;
    transition: background 0.15s ease;
}

.lang-option:hover,
.lang-option:focus-visible {
    background: rgba(91, 163, 255, 0.1);
    outline: none;
}

.lang-option-flag {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    overflow: hidden;
    display: block;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    box-shadow: 0 0 0 1px var(--dev-border);
}

.lang-option-label {
    flex: 1;
}

.lang-option-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a9eff, #0066cc);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.lang-option.is-selected .lang-option-check {
    opacity: 1;
    transform: scale(1);
}

.lang-option.is-selected {
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Conteúdo Principal */
.main-content {
    position: relative;
    z-index: 1;
    margin-top: 70px;
    isolation: isolate;
}

.section {
    padding: 80px 0;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll reveal — só com JS (ver classe em <html>) */
.reveal-section {
    transition:
        opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-reveal-init .reveal-section:not(.reveal-visible) {
    opacity: 0;
    transform: translateY(44px);
}

html.js-reveal-init .reveal-section.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    font-weight: 700;
    margin-bottom: 1.1rem;
    letter-spacing: -0.045em;
    line-height: 1.08;
    text-wrap: balance;
    background: linear-gradient(135deg, #fafcff 0%, #c5dafb 38%, var(--dev-accent) 92%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.section-line {
    width: min(88px, 24vw);
    height: 3px;
    margin: 0 auto;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, rgba(147, 197, 255, 0.45), var(--dev-accent), transparent);
    box-shadow:
        0 0 20px rgba(91, 163, 255, 0.35),
        0 0 40px rgba(91, 163, 255, 0.12);
}

/* Seção Sobre Mim */
.about-section {
    background: transparent;
    color: #e8edf5;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.about-panel-body {
    overflow: hidden;
}

.about-hero {
    position: relative;
}

.about-hero__glow {
    position: absolute;
    left: 50%;
    top: 0;
    width: min(720px, 100vw);
    height: min(520px, 62vh);
    transform: translate(-50%, -48%);
    background: radial-gradient(
        ellipse at center,
        rgba(91, 163, 255, 0.2) 0%,
        rgba(26, 111, 212, 0.07) 38%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
    animation: hero-glow-breathe 16s ease-in-out infinite alternate;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(147, 197, 255, 0.9);
    margin-bottom: 0.6rem;
    animation: hero-fade-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto 1.05rem;
    padding: 0.38rem 0.95rem;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(218, 230, 248, 0.96);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(91, 163, 255, 0.22);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.2),
        0 0 28px rgba(91, 163, 255, 0.1);
    animation: hero-fade-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.07s both;
}

.hero-pill__pulse {
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3dd68c;
    box-shadow: 0 0 14px rgba(61, 214, 140, 0.65);
    animation: hero-pulse-dot 2.4s ease-in-out infinite;
}

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

.profile-card {
    background: var(--dev-tile-bg);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 2rem;
    text-align: center;
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.4),
        0 0 0 1px var(--dev-tile-border);
    border: 1px solid var(--dev-tile-border);
    max-width: 400px;
    width: 100%;
    transition:
        transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1),
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.profile-card:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 158, 255, 0.3);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(74, 158, 255, 0.2),
        0 0 40px rgba(74, 158, 255, 0.1);
}

.profile-image {
    margin-bottom: 1.5rem;
}

.profile-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(74, 158, 255, 0.35);
    box-shadow: 0 0 24px rgba(74, 158, 255, 0.2);
    transition: transform 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.05);
}

.site-about-panel .profile-image img {
    animation: photo-glow 5.5s ease-in-out infinite;
}

.profile-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.site-about-panel .profile-name {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3.2vw, 2.1rem);
    line-height: 1.18;
    letter-spacing: -0.035em;
    margin-bottom: 0.55rem;
    background: linear-gradient(135deg, #f8fafc 0%, #c8dafb 44%, var(--dev-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: hero-fade-rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.profile-title {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.profile-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--dev-tile-bg);
    border: 1px solid var(--dev-tile-border);
    border-radius: 12px;
    color: var(--dev-accent);
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: rgba(74, 158, 255, 0.12);
    border-color: rgba(74, 158, 255, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.cv-downloads h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.cv-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.cv-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    background: var(--dev-tile-bg);
    color: #e8ecf4;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.28s ease;
    font-weight: 500;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.82rem;
    border: 1px solid var(--dev-tile-border);
}

.cv-btn:hover {
    background: rgba(74, 158, 255, 0.1);
    border-color: rgba(74, 158, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

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

.content-column .about-text {
    max-width: 56ch;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

/* Seção Habilidades */
.skills-section {
    background: transparent;
}

.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.skills-category h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
}

/* Stack técnico — painel estilo IDE / dev */
.skills-category--technical {
    position: relative;
}

.tech-stack-panel {
    max-width: min(960px, 100%);
    margin: 0 auto;
}

.tech-stack-chrome-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tech-stack-chrome-dot--r {
    background: #ff5f57;
    box-shadow: 0 0 8px rgba(255, 95, 87, 0.45);
}

.tech-stack-chrome-dot--y {
    background: #febc2e;
    box-shadow: 0 0 8px rgba(254, 188, 46, 0.35);
}

.tech-stack-chrome-dot--g {
    background: #28c840;
    box-shadow: 0 0 8px rgba(40, 200, 64, 0.35);
}

.tech-stack-chrome-label {
    margin-left: 0.5rem;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(147, 197, 255, 0.92);
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    gap: 0.7rem;
    padding: 1.25rem 1.1rem 1.35rem;
    position: relative;
}

.tech-stack-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(91, 163, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91, 163, 255, 0.045) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    border-radius: 0 0 14px 14px;
    opacity: 0.55;
    mask-image: linear-gradient(to bottom, transparent, black 14%);
}

@keyframes tech-stack-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.tech-stack-card {
    --stagger: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 112px;
    padding: 0.85rem 0.5rem 0.95rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    animation: tech-stack-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    animation-delay: calc(var(--stagger) * 0.028s);
    transition:
        transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1),
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        background 0.28s ease;
    overflow: hidden;
}

.tech-stack-skillicon {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 10px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

/* Mesmo “tile” dos ícones skillicons.dev (theme=dark): fundo + borda arredondada */
.tech-stack-icon-frame {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(165deg, #2a2d36 0%, #1b1e25 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 2px 8px rgba(0, 0, 0, 0.35);
}

.tech-stack-skillicon--framed {
    width: 34px;
    height: 34px;
    border-radius: 0;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.tech-stack-card--fa {
    gap: 0.5rem;
}

.tech-stack-faicon {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    line-height: 1;
    color: var(--accent);
    filter: drop-shadow(0 2px 14px color-mix(in srgb, var(--accent) 45%, transparent));
}

.tech-stack-mcp {
    position: relative;
    z-index: 1;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(74, 158, 255, 0.35), rgba(0, 102, 204, 0.55));
    box-shadow: 0 4px 18px rgba(74, 158, 255, 0.35);
}

.tech-stack-card-glow {
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 50% 80%, var(--accent), transparent 55%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.tech-stack-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: color-mix(in srgb, var(--accent) 55%, transparent);
    background: rgba(255, 255, 255, 0.04);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.45),
        0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent),
        0 0 32px color-mix(in srgb, var(--accent) 22%, transparent);
}

.tech-stack-card:hover .tech-stack-card-glow {
    opacity: 0.22;
}

.tech-stack-name {
    position: relative;
    z-index: 1;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(240, 245, 255, 0.9);
    text-align: center;
    line-height: 1.25;
    max-width: 100%;
    padding: 0 0.15rem;
}

.tech-stack-name--long {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.tech-stack-sub {
    position: relative;
    z-index: 1;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: none;
    color: rgba(200, 210, 225, 0.72);
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    margin-top: -0.15rem;
}

@media (max-width: 620px) {
    .tech-stack-grid {
        grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    }
}

@media (max-width: 380px) {
    .tech-stack-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .tech-stack-card {
        animation: none;
    }

    .skills-soft-panel .tech-stack-card:hover {
        transform: none;
    }
}

.site-about-panel .about-content {
    gap: 2.5rem;
    align-items: stretch;
}

.skills-page-panel .skills-content {
    margin: 0;
}

/* Soft skills — mesmo “tile” do stack técnico + grade de fundo */
.soft-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
    gap: 0.7rem;
    padding: 1.25rem 1.1rem 1.35rem;
    position: relative;
}

.soft-skills-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(91, 163, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91, 163, 255, 0.045) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    border-radius: 0 0 var(--radius-panel) var(--radius-panel);
    opacity: 0.55;
    mask-image: linear-gradient(to bottom, transparent, black 14%);
}

.soft-skill-card {
    min-height: 118px;
    padding: 0.75rem 0.45rem 0.85rem;
}

.soft-skill-card--wide {
    grid-column: 1 / -1;
    min-height: 104px;
}

@media (min-width: 520px) {
    .soft-skill-card--wide {
        grid-column: span 2;
    }
}

@media (min-width: 900px) {
    .soft-skill-card--wide {
        grid-column: span 3;
    }
}

.tech-stack-name--soft {
    text-transform: none;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.35;
    hyphens: auto;
    overflow-wrap: anywhere;
}

@media (max-width: 620px) {
    .soft-skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    }
}

@media (max-width: 380px) {
    .soft-skills-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .soft-skill-card--wide {
        grid-column: 1 / -1;
    }
}

/* Seção Certificações */
.certifications-section {
    background: transparent;
    padding: 80px 0;
}

/* Seção Experiências */
.experience-section {
    background: transparent;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--dev-accent), var(--dev-accent-2));
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(74, 158, 255, 0.35);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
}

.timeline-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--dev-accent), var(--dev-accent-2));
    border-radius: 50%;
    top: 0;
    border: 4px solid var(--page-ink);
    box-shadow: 0 0 0 2px rgba(91, 163, 255, 0.35);
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
}

.timeline-content {
    background: var(--dev-tile-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
    position: relative;
    border: 1px solid var(--dev-tile-border);
    transition:
        transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1),
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.timeline-content:hover {
    transform: translateY(-3px);
    border-color: rgba(74, 158, 255, 0.28);
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(74, 158, 255, 0.12);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -20px;
    border-left-color: rgba(22, 26, 32, 0.98);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -20px;
    border-right-color: rgba(22, 26, 32, 0.98);
}

.timeline-header {
    margin-bottom: 1rem;
}

.timeline-header h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.timeline-company {
    color: #4a9eff;
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
}

.timeline-period {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.timeline-lead {
    color: #b8c0d0;
    line-height: 1.65;
    margin: 0 0 1.25rem;
}

.timeline-detail {
    margin-top: 1.15rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--dev-border);
}

.timeline-detail__heading {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(91, 163, 255, 0.92);
    margin: 0 0 0.65rem;
}

.timeline-detail__heading:not(:first-child) {
    margin-top: 1.35rem;
}

.timeline-detail__list {
    margin: 0;
    padding: 0 0 0 1.15rem;
    color: rgba(226, 232, 240, 0.9);
    font-size: 0.9rem;
    line-height: 1.55;
}

.timeline-detail__list li {
    margin-bottom: 0.45rem;
}

.timeline-detail__list li:last-child {
    margin-bottom: 0;
}

.timeline-detail__certs {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(203, 213, 225, 0.88);
}

.timeline-detail__certs li {
    position: relative;
    padding: 0.4rem 0 0.4rem 0.85rem;
    border-left: 2px solid rgba(91, 163, 255, 0.28);
    margin-bottom: 0.15rem;
}

.timeline-detail__certs li:last-child {
    margin-bottom: 0;
}

.timeline-detail__cert-sep {
    margin: 0 0.25rem;
    color: rgba(148, 163, 184, 0.55);
}

.timeline-detail__inst {
    color: rgba(148, 163, 184, 0.88);
    font-size: 0.78rem;
}

/* Seção Projetos */
.projects-section {
    background: transparent;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1.5rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--dev-tile-bg);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--dev-tile-border);
    transition:
        transform 0.32s var(--ease-out-expo),
        border-color 0.28s ease,
        box-shadow 0.32s var(--ease-out-expo);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.project-card:hover,
.project-card:focus-within {
    transform: translateY(-5px);
    border-color: var(--dev-border-accent);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(91, 163, 255, 0.14),
        0 0 36px rgba(91, 163, 255, 0.1);
}

.project-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
}

.project-card__media:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(91, 163, 255, 0.85);
}

.project-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s var(--ease-out-expo);
}

.project-card:hover .project-card__img,
.project-card:focus-within .project-card__img {
    transform: scale(1.05);
}

.project-card__media-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(6, 10, 16, 0.58) 100%);
    opacity: 0.62;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.project-card:hover .project-card__media-shade,
.project-card:focus-within .project-card__media-shade {
    opacity: 0.88;
}

.project-card__open {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(10, 14, 22, 0.72);
    border: 1px solid var(--dev-border-accent);
    color: var(--dev-accent);
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(-4px);
    transition:
        opacity 0.28s var(--ease-out-expo),
        transform 0.28s var(--ease-out-expo);
    pointer-events: none;
}

.project-card:hover .project-card__open,
.project-card:focus-within .project-card__open {
    opacity: 1;
    transform: translateY(0);
}

.project-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 1.35rem 1.35rem 1.45rem;
    text-align: left;
}

.project-card__title {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: #f1f5f9;
    margin: 0;
}

.project-card__desc {
    flex: 1;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.62;
    color: rgba(203, 213, 225, 0.88);
}

.project-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.project-card__tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.92);
    padding: 0.32rem 0.65rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid var(--dev-border);
}

.project-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    align-self: flex-start;
    margin-top: 0.15rem;
    padding: 0.62rem 1.15rem;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: #0b1120;
    background: linear-gradient(135deg, #c8ddff 0%, var(--dev-accent) 55%, var(--dev-accent-2) 100%);
    border: 1px solid rgba(91, 163, 255, 0.35);
    transition:
        transform 0.22s var(--ease-out-expo),
        box-shadow 0.22s ease,
        filter 0.22s ease;
}

.project-card__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(74, 158, 255, 0.35);
    filter: brightness(1.05);
}

.project-card__cta i {
    font-size: 0.72em;
    transition: transform 0.2s var(--ease-out-expo);
}

.project-card__cta:hover i {
    transform: translateX(3px);
}

.project-card__cta:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring), 0 10px 28px rgba(74, 158, 255, 0.35);
}

/* Seção Contato */
.contact-section {
    background: transparent;
}

.contact-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 2.5rem;
    align-items: start;
    width: 100%;
}

.contact-info h3 {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(74, 158, 255, 0.88);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.1rem 1.25rem;
    background: var(--dev-tile-bg);
    border-radius: 12px;
    border: 1px solid var(--dev-tile-border);
    transition:
        transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1),
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.contact-item:hover {
    transform: translateX(6px);
    border-color: rgba(74, 158, 255, 0.28);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.contact-item i {
    color: #4a9eff;
    font-size: 1.2rem;
    width: 20px;
}

.contact-label {
    font-weight: 600;
    color: #e8edf5;
    display: block;
    margin-bottom: 0.3rem;
}

.contact-value {
    color: rgba(180, 195, 215, 0.9);
}

.contact-form {
    padding: 1.35rem 1.4rem 1.5rem;
    border-radius: var(--radius-sm);
    background: var(--dev-tile-bg);
    border: 1px solid var(--dev-tile-border);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
}

.contact-form h3 {
    font-family: var(--font-display);
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.contact-form-privacy {
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(180, 195, 215, 0.78);
    margin-bottom: 1.25rem;
}

.contact-form-phone-hint {
    font-size: 0.75rem;
    line-height: 1.4;
    color: rgba(147, 165, 190, 0.75);
    margin: -0.35rem 0 0.85rem;
}

.contact-form-status {
    min-height: 1.35rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-form-status--ok {
    color: #4ade80;
}

.contact-form-status--error {
    color: #f87171;
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

#contactForm {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--dev-tile-border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
    color: #f0f4fc;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.55;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(91, 163, 255, 0.45);
    background: rgba(255, 255, 255, 0.045);
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
    outline: none;
    border-color: rgba(91, 163, 255, 0.62);
    box-shadow:
        0 0 0 3px rgba(91, 163, 255, 0.12),
        0 0 36px rgba(91, 163, 255, 0.08);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #b0b0b0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.8rem;
    color: var(--dev-accent);
    background: #121820;
    padding: 0 0.5rem;
}

.submit-btn {
    font-family: var(--font-display);
    background: linear-gradient(135deg, var(--dev-accent) 0%, var(--dev-accent-2) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition:
        transform 0.4s var(--ease-out-expo),
        box-shadow 0.4s var(--ease-out-expo),
        filter 0.35s ease;
    width: 100%;
    box-shadow: 0 4px 20px rgba(74, 158, 255, 0.25);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 36px rgba(74, 158, 255, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    filter: brightness(1.05);
}

/* Seção Prêmios e Reconhecimentos */
.awards-section {
    background: transparent;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.award-card {
    background: var(--dev-tile-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--dev-tile-border);
    transition:
        transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1),
        border-color 0.28s ease,
        box-shadow 0.28s ease;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.award-card:hover {
    transform: translateY(-5px);
    border-color: rgba(74, 158, 255, 0.3);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.45),
        0 0 36px rgba(74, 158, 255, 0.08);
}

.award-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    background: linear-gradient(165deg, #2a2d36 0%, #1b1e25 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.award-icon i {
    font-size: 1.45rem;
    color: #f0c14b;
    filter: drop-shadow(0 2px 10px rgba(240, 193, 75, 0.45));
}

.award-content h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.award-event {
    color: #b0b0b0;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.award-year {
    color: #4a9eff;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Seção Formação Acadêmica */
.education-section {
    background: transparent;
}

.education-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.education-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--dev-tile-bg);
    padding: 1.75rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--dev-tile-border);
    transition:
        transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1),
        border-color 0.28s ease,
        box-shadow 0.28s ease;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.education-item:hover {
    transform: translateX(8px);
    border-color: rgba(74, 158, 255, 0.28);
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.45),
        0 0 32px rgba(74, 158, 255, 0.06);
}

.education-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(165deg, #2a2d36 0%, #1b1e25 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.education-icon i {
    font-size: 1.45rem;
    color: var(--dev-accent);
    filter: drop-shadow(0 2px 10px rgba(74, 158, 255, 0.35));
}

.education-details h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.education-institution {
    color: #4a9eff;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.education-period {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* Seção Idiomas */
.languages-section {
    background: transparent;
}

.languages-section .section-header {
    margin-bottom: 3rem;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
    max-width: 960px;
    margin: 0 auto;
    align-items: stretch;
}

.language-card {
    background: var(--dev-tile-bg);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition:
        transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1),
        box-shadow 0.28s ease,
        border-color 0.28s ease;
    border: 1px solid var(--dev-tile-border);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.language-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.45),
        0 0 36px rgba(74, 158, 255, 0.1);
    border-color: rgba(74, 158, 255, 0.28);
}

.language-flag-wrap {
    width: 72px;
    height: 72px;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #ffffff;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.35);
}

.language-flag-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.language-card h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.language-level {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(126, 184, 255, 0.95);
    line-height: 1.4;
    margin-top: auto;
    opacity: 0.95;
}

/* Footer */
.footer {
    position: relative;
    z-index: 1;
    background: var(--page-base);
    color: rgba(200, 210, 225, 0.82);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--dev-border);
}

.footer p {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

/* Responsividade */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .lang-switcher-trigger {
        min-height: 44px;
        min-width: 44px;
        padding: 0.4rem 0.55rem 0.4rem 0.4rem;
        gap: 0.5rem;
    }

    .lang-switcher-flag {
        width: 32px;
        height: 32px;
    }

    .lang-switcher-chevron {
        width: 14px;
        height: 10px;
    }

    .lang-switcher-menu {
        min-width: 260px;
        border-radius: 14px;
    }

    .lang-option {
        padding: 0.75rem 1.1rem;
        font-size: 1rem;
    }

    .lang-option-flag {
        width: 30px;
        height: 30px;
    }

    .lang-option-check {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(12, 15, 22, 0.97);
        backdrop-filter: blur(12px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
        padding: 2rem 0;
        border-top: 1px solid var(--dev-border);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

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

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 3rem !important;
        padding-right: 0 !important;
    }

    .timeline-marker {
        left: 10px !important;
    }

    .timeline-content::before {
        left: -20px !important;
        border-right-color: rgba(18, 22, 30, 0.98) !important;
        border-left-color: transparent !important;
    }

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

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .awards-grid {
        grid-template-columns: 1fr;
    }

    .education-item {
        flex-direction: column;
        text-align: center;
    }

    .languages-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .profile-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .profile-card {
        padding: 1.5rem;
    }

    .cv-buttons {
        gap: 0.6rem;
    }

    .cv-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.6s ease forwards;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #4a9eff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0066cc;
}
