@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Mono:wght@400;700&display=swap');

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

html,
body {
    width: 100%;
    height: 100%;
    background: #000;
    color: #fff;
    font-family: 'Space Mono', monospace;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 44px;
    letter-spacing: 0.13em;
    font-size: 11px;
    text-transform: uppercase;
    animation: fadeDown 0.8s 0.2s both;
}

nav a {
    color: #fff;
    text-decoration: none;
    opacity: 0.65;
    position: relative;
    transition: opacity .2s;
    cursor: pointer;
}

nav a:not(.nav-contact)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: #f5e642;
    transition: width .3s cubic-bezier(.23, 1, .32, 1);
}

nav a:not(.nav-contact):hover {
    opacity: 1;
}

nav a:not(.nav-contact):hover::after {
    width: 100%;
}

.nav-contact {
    position: absolute;
    right: 44px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    padding: 5px 14px;
    transition: background .22s, color .22s, border-color .22s, opacity .22s;
}

.nav-contact:hover {
    background: #fff;
    color: #000 !important;
    border-color: #fff;
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 60px;
    align-items: center;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.corner-left {
    position: absolute;
    left: 44px;
    top: 50%;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.35;
    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
    z-index: 1;
}

.corner-right {
    position: absolute;
    right: 44px;
    top: 50%;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.35;
    writing-mode: vertical-rl;
    transform: translateY(-50%);
    z-index: 1;
}

.scene {
    position: relative;
    width: 260px;
    height: 390px;
    animation: sceneIn 1s 0.4s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes sceneIn {
    from {
        opacity: 0;
        transform: scale(0.88);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.wallet {
    position: absolute;
    top: 0;
    left: 0;
    width: 260px;
    height: 390px;
    border-radius: 18px;
    background: linear-gradient(160deg, #2a2a2a 0%, #0d0d0d 100%);
    box-shadow: 0 40px 100px rgba(0, 0, 0, .95), 0 8px 30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
    z-index: 10;
}

.wallet-slot {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 65%;
    background: #000;
    border-radius: 4px 0 0 4px;
    box-shadow: inset 3px 0 8px rgba(0, 0, 0, 1);
}

.wallet-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 15px;
    letter-spacing: 0.5em;
    color: rgba(245, 230, 66, 0.35);
    white-space: nowrap;
    user-select: none;
    writing-mode: vertical-rl;
}

.wallet-ridge {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to bottom, #383838, #181818);
}

.card {
    position: absolute;
    top: 0;
    left: 0;
    width: 260px;
    height: 390px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
}

.card[data-i="0"] {
    background: linear-gradient(160deg, #4ecdc4, #0b5e5a);
    color: #fff;
    z-index: 9;
}

.card[data-i="1"] {
    background: linear-gradient(160deg, #ff6b6b, #a82020);
    color: #fff;
    z-index: 8;
}

.card[data-i="2"] {
    background: linear-gradient(160deg, #f5e642, #c8a800);
    color: #111;
    z-index: 7;
}

.card[data-i="3"] {
    background: linear-gradient(160deg, #fb923c, #a83205);
    color: #fff;
    z-index: 5;
}

.card[data-i="4"] {
    background: linear-gradient(160deg, #a78bfa, #4c1d95);
    color: #fff;
    z-index: 4;
}

.card-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 52px;
    opacity: 0.15;
    position: absolute;
    top: 16px;
    right: 20px;
}

.card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 38px;
    letter-spacing: 0.06em;
    line-height: 1;
}

.card-sub {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.5;
    margin-top: 6px;
}

.card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.18) 0%, transparent 50%);
    pointer-events: none;
}

.scroll-hint {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.3;
    z-index: 1;
}

.scroll-arrow {
    width: 1px;
    height: 26px;
    background: rgba(255, 255, 255, 0.4);
    animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        transform: scaleY(1);
        opacity: 0.4;
    }

    50% {
        transform: scaleY(0.3);
        opacity: 0.08;
    }
}

.about-section {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.about-scroll {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
}

.about-scroll::-webkit-scrollbar {
    display: none;
}

.about-snap-1 {
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 44px;
    position: relative;
}

.about-scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.3;
    pointer-events: none;
}

.about-scroll-arrow {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.4);
    animation: scrollPulse 1.8s ease-in-out infinite;
}

.about-card-wrap {
    width: 100%;
    max-width: 900px;
    perspective: 1200px;
}

.flip-card {
    width: 100%;
    height: 480px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.9s cubic-bezier(.16, 1, .3, 1);
    cursor: pointer;
}

.about-card-wrap:hover .flip-card {
    transform: rotateY(180deg);
}

.flip-front,
.flip-back {
    position: absolute;
    inset: 0;
    border-radius: 6px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    overflow: hidden;
}

.flip-front {
    background: #f5e642;
    color: #111;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.flip-front::before,
.flip-front::after,
.flip-back::before,
.flip-back::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #111;
    opacity: 0.35;
}

.flip-front::before {
    top: 14px;
    left: 14px;
}

.flip-front::after {
    bottom: 14px;
    left: 14px;
}

.front-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 38px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    padding: 0 18px;
    gap: 20px;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.5;
}

.front-topbar span:last-child {
    margin-left: auto;
}

.front-botbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 38px;
    border-top: 1px dashed rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    padding: 0 18px;
    gap: 40px;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.5;
}

.front-botbar span:last-child {
    margin-left: auto;
}

.front-left {
    width: 42%;
    border-right: 1px dashed rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 38px;
    padding-bottom: 38px;
}

.about-mini-card {
    width: 150px;
    height: 220px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: cardFloat 4s ease-in-out infinite;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(-2deg);
    }

    50% {
        transform: translateY(-10px) rotate(-2deg);
    }
}

.about-mini-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2) 0%, transparent 55%);
    pointer-events: none;
}

.mini-card-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    opacity: 0.2;
    position: absolute;
    top: 10px;
    right: 12px;
}

.mini-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 0.06em;
    line-height: 1;
}

.mini-card-sub {
    font-size: 8px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.55;
    margin-top: 3px;
}

.front-right {
    flex: 1;
    padding: 58px 36px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 20px;
}

.does-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(28px, 3.5vw, 44px);
    letter-spacing: 0.03em;
    line-height: 1.1;
    color: #111;
}

.does-cycling {
    position: relative;
    height: 52px;
    overflow: hidden;
    margin-top: 24px;
}

.does-word {
    position: absolute;
    left: 0;
    top: 0;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: clamp(26px, 3vw, 40px);
    color: #111;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    white-space: nowrap;
}

.does-word.active {
    opacity: 1;
    transform: translateY(0);
}

.front-bio {
    font-size: 11px;
    letter-spacing: 0.12em;
    line-height: 1.9;
    text-transform: uppercase;
    opacity: 0.75;
    max-width: 400px;
}

.front-hint {
    font-size: 9px;
    letter-spacing: 0.2em;
    opacity: 0.35;
    margin-top: 12px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.front-hint::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background: #111;
    opacity: 0.4;
}

.flip-back {
    background: #111;
    color: #fff;
    transform: rotateY(180deg);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.flip-back::before {
    background: #f5e642;
    top: 14px;
    left: 14px;
    opacity: 0.6;
}

.flip-back::after {
    background: #f5e642;
    bottom: 14px;
    left: 14px;
    opacity: 0.6;
}

.back-label {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.3;
}

.back-readmore {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(60px, 8vw, 110px);
    letter-spacing: 0.06em;
    color: #f5e642;
    line-height: 1;
    text-decoration: none;
    position: relative;
}

.back-readmore::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #f5e642;
    transition: width 0.4s cubic-bezier(.16, 1, .3, 1);
}

.flip-back:hover .back-readmore::after {
    width: 100%;
}

.back-sub {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.25;
}

.aboutme-section {
    width: 100%;
    background: #000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 100px 60px 60px;
}

.aboutme-inner {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.am-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(48px, 6vw, 80px);
    line-height: 0.9;
    letter-spacing: 0.03em;
    color: #fff;
    text-align: left;
}

.papers-stage {
    position: relative;
    width: 100%;
    height: 640px;
    overflow: visible;
}

.paper {
    position: absolute;
    background: #f5f0e8;
    border-radius: 4px;
    padding: 28px 24px 24px;
    width: 240px;
    transform: rotate(var(--r, 0deg));
    box-shadow: 0 6px 24px rgba(0, 0, 0, .55), 0 1px 4px rgba(0, 0, 0, .3);
    cursor: grab;           /* ← mãozinha aberta */
    user-select: none;
    transition: box-shadow 0.2s ease;
}

.paper.dragging {
    cursor: grabbing;       /* ← mão a agarrar enquanto arrasta */
    box-shadow: 0 28px 80px rgba(0, 0, 0, .85), 0 4px 12px rgba(0, 0, 0, .5);
    transform: rotate(1deg) scale(1.03);
    transition: none;
}

.paper-wide {
    width: 500px;
    background-color: #f5f0e8;
    background-image: repeating-linear-gradient(to bottom, transparent 0px, transparent 31px, rgba(0, 0, 0, 0.09) 31px, rgba(0, 0, 0, 0.09) 32px);
    background-size: 100% 32px;
    padding: 28px 28px 28px 58px;
}

.paper-wide::before {
    content: '';
    position: absolute;
    left: 42px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(210, 60, 60, 0.3);
    pointer-events: none;
}

.paper-wide .paper-text {
    font-size: 14px;
    line-height: 32px;
    color: #1a1a2e;
    letter-spacing: 0.01em;
}

.paper-pin {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #ddd, #888);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .5);
    pointer-events: none;
}

.paper-pin-dark {
    background: radial-gradient(circle at 40% 35%, #555, #111);
}

.paper-tag {
    font-size: 8px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.35);
    margin-bottom: 14px;
    font-family: 'Space Mono', monospace;
    pointer-events: none;
}

.paper-tag-dark {
    color: rgba(0, 0, 0, 0.5);
}

.paper-text {
    font-size: 11px;
    line-height: 1.75;
    color: #222;
    font-family: 'Space Mono', monospace;
    letter-spacing: 0.02em;
    pointer-events: none;
}

.paper-text strong {
    font-weight: 700;
    color: #000;
}

.paper-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    color: #111;
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    letter-spacing: 0.03em;
    padding: 9px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
    transition: gap 0.2s;
}

.paper-link:last-child {
    border-bottom: none;
}

.paper-link:hover {
    gap: 14px;
}

.link-icon {
    font-size: 12px;
    opacity: 0.5;
    width: 16px;
    text-align: center;
}

.paper-accent {
    background: #f5e642;
}

.paper-text-dark {
    font-size: 11px;
    line-height: 1.7;
    color: #333;
    font-family: 'Space Mono', monospace;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
    pointer-events: none;
}

.resume-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 0.1em;
    color: #000;
    text-decoration: none;
    border-bottom: 2px solid #000;
    padding-bottom: 4px;
    transition: gap 0.2s;
}

.resume-btn:hover {
    gap: 18px;
}

.float-photo {
    position: absolute;
    right: -40px;
    bottom: -20px;
    height: 580px;
    width: auto;
    z-index: 0;
    pointer-events: none;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.7));
    opacity: 0.92;
}

.skills-section {
    width: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 60px 160px;
}

.skills-inner {
    width: 100%;
    max-width: 1100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scrunch-wrap {
    position: relative;
    cursor: pointer;
    width: 820px;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scrunch-closed {
    position: absolute;
    width: 280px;
    height: 280px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.7s cubic-bezier(.16, 1, .3, 1), opacity 0.5s ease;
    z-index: 2;
    pointer-events: none;
}

.crumple-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: sepia(1) saturate(8) hue-rotate(10deg) brightness(1.05) drop-shadow(0 18px 45px rgba(0, 0, 0, 0.9)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
    display: block;
}

.scrunch-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.28);
    white-space: nowrap;
    transition: opacity 0.3s;
    z-index: 3;
    pointer-events: none;
}

.paper-flip-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.06) rotate(35deg);
    transform-origin: center center;
    width: 820px;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.75s cubic-bezier(.16, 1, .3, 1), opacity 0.45s ease;
    perspective: 1400px;
    perspective-origin: center center;
    z-index: 1;
}

.scrunch-wrap:hover .scrunch-closed {
    transform: translate(-50%, -50%) scale(0.06);
    opacity: 0;
}

.scrunch-wrap:hover .scrunch-label {
    opacity: 0;
}

.scrunch-wrap:hover .paper-flip-wrap {
    transform: translate(-50%, -50%) scale(1) rotate(-1.5deg);
    opacity: 1;
    pointer-events: all;
}

.paper-flipper {
    width: 100%;
    height: 460px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(.16, 1, .3, 1);
    cursor: pointer;
}

.paper-flipper.flipped {
    transform: rotateX(180deg);
}

.paper-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 2px;
    padding: 44px 50px 52px 86px;
    background-color: #f5e642;
    background-image: repeating-linear-gradient(to bottom, transparent 0px, transparent 31px, rgba(0, 0, 0, 0.07) 31px, rgba(0, 0, 0, 0.07) 32px);
    background-size: 100% 32px;
    box-shadow: 0 50px 130px rgba(0, 0, 0, 0.95), 0 8px 30px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.paper-face::before {
    content: '';
    position: absolute;
    left: 64px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(190, 40, 40, 0.4);
    pointer-events: none;
}

.paper-face::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 32%, rgba(0, 0, 0, 0.04) 33%, transparent 34%, transparent 65%, rgba(0, 0, 0, 0.04) 66%, transparent 67%), linear-gradient(to right, transparent 48%, rgba(0, 0, 0, 0.04) 49%, transparent 51%);
    pointer-events: none;
    border-radius: 2px;
}

.paper-back {
    transform: rotateX(180deg);
}

.paper-click-hint {
    position: absolute;
    bottom: 20px;
    right: 28px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
    font-family: 'Bebas Neue', sans-serif;
    pointer-events: none;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 0.9fr;
    gap: 0 48px;
}

.sk-col-title {
    font-size: 13px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.65);
    margin-bottom: 6px;
    font-family: 'Bebas Neue', sans-serif;
    border-bottom: 2px solid rgba(0, 0, 0, 0.25);
    padding-bottom: 4px;
    line-height: 36px;
}

.sk-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    line-height: 32px;
}

.sk-num {
    font-size: 9px;
    color: rgba(0, 0, 0, 0.28);
    width: 18px;
    flex-shrink: 0;
    font-family: 'Space Mono', monospace;
}

.sk-name {
    font-size: 13px;
    color: #1a1a1a;
    letter-spacing: 0.02em;
    font-family: 'Space Mono', monospace;
}

.sk-soft {
    font-size: 16px;
    color: #1a1a1a;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.1em;
    line-height: 32px;
}

.sk-lang {
    font-size: 12px;
    color: #1a1a1a;
    font-family: 'Space Mono', monospace;
    letter-spacing: 0.02em;
    line-height: 32px;
}

.sk-level {
    font-size: 9px;
    color: rgba(0, 0, 0, 0.38);
    margin-left: 5px;
}

.edu-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 13px;
    letter-spacing: 0.25em;
    color: rgba(0, 0, 0, 0.65);
    margin-bottom: 36px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.25);
    padding-bottom: 4px;
    line-height: 36px;
}

.edu-block {
    margin-bottom: 40px;
}

.edu-period {
    font-size: 9px;
    letter-spacing: 0.25em;
    color: rgba(0, 0, 0, 0.38);
    font-family: 'Space Mono', monospace;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.edu-degree {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    letter-spacing: 0.06em;
    color: #111;
    line-height: 1.1;
    margin-bottom: 6px;
}

.edu-school {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.55);
    font-family: 'Space Mono', monospace;
    letter-spacing: 0.02em;
    line-height: 1.6;
}

.works-overlay {
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: linear-gradient(160deg, #1c1408 0%, #0d0a04 40%, #0f0b05 60%, #1a1208 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s cubic-bezier(.16, 1, .3, 1);
}

.works-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.works-overlay::before {
    content: '';
    position: absolute;
    inset: 32px;
    border: 1px solid rgba(245, 230, 66, 0.05);
    border-radius: 6px;
    pointer-events: none;
}

.works-overlay::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 8%;
    bottom: 8%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(245, 230, 66, 0.07) 30%, rgba(245, 230, 66, 0.07) 70%, transparent);
    transform: translateX(-50%);
    pointer-events: none;
}

.works-close {
    position: absolute;
    top: 90px;
    right: 44px;
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: color .2s;
    border: none;
    background: none;
    font-family: 'Space Mono', monospace;
}

.works-close:hover {
    color: #f5e642;
}

.works-heading {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 11px;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: rgba(245, 230, 66, 0.22);
    white-space: nowrap;
}

.works-label-l {
    position: absolute;
    left: 52px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(245, 230, 66, 0.15);
    user-select: none;
}

.works-label-r {
    position: absolute;
    right: 52px;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(245, 230, 66, 0.15);
    user-select: none;
}

.slots-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: min(820px, 80vw);
}

.slot {
    position: relative;
    height: 185px;
    cursor: pointer;
}

.slot-pocket {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: linear-gradient(170deg, #0a0702, #060401);
    box-shadow: inset 0 4px 24px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(245, 230, 66, 0.04);
    overflow: hidden;
}

.slot-pocket::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 40%);
    border-radius: 10px;
    pointer-events: none;
}

.slot-card {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 172px;
    border-radius: 10px;
    padding: 22px 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.45s cubic-bezier(.16, 1, .3, 1), box-shadow 0.45s, filter 0.3s;
    overflow: hidden;
    will-change: transform;
}

.slot-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.13) 0%, transparent 55%);
    pointer-events: none;
    border-radius: 10px;
}

.slot:nth-child(1) .slot-card {
    background: linear-gradient(160deg, #4ecdc4, #0a4a46);
}

.slot:nth-child(2) .slot-card {
    background: linear-gradient(160deg, #ff6b6b, #8a1818);
}

.slot:nth-child(3) .slot-card {
    background: linear-gradient(160deg, #f5e642, #b89800);
}

.slot:nth-child(4) .slot-card {
    background: linear-gradient(160deg, #fb923c, #8a2800);
}

.slot:nth-child(5) .slot-card {
    background: linear-gradient(160deg, #a78bfa, #4c1d95);
}

.slot:nth-child(1) .slot-num,
.slot:nth-child(1) .slot-title,
.slot:nth-child(1) .slot-sub {
    color: #fff;
}

.slot:nth-child(2) .slot-num,
.slot:nth-child(2) .slot-title,
.slot:nth-child(2) .slot-sub {
    color: #fff;
}

.slot:nth-child(3) .slot-num,
.slot:nth-child(3) .slot-title,
.slot:nth-child(3) .slot-sub {
    color: #111;
}

.slot:nth-child(4) .slot-num,
.slot:nth-child(4) .slot-title,
.slot:nth-child(4) .slot-sub {
    color: #fff;
}

.slot:nth-child(5) .slot-num,
.slot:nth-child(5) .slot-title,
.slot:nth-child(5) .slot-sub {
    color: #fff;
}

.slot-wide {
    grid-column: span 2;
}

.slot-num {
    position: absolute;
    top: 12px;
    right: 16px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 70px;
    line-height: 1;
    opacity: 0.08;
    pointer-events: none;
    transition: opacity 0.3s;
}

.slot-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(30px, 3.5vw, 46px);
    letter-spacing: 0.06em;
    line-height: 1;
    transition: letter-spacing 0.3s;
}

.slot-sub {
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.5;
    margin-top: 5px;
    transition: opacity 0.3s;
}

.slot-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 15px;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateX(-10px);
}

.slots-grid:hover .slot-card {
    filter: brightness(0.35);
    transform: none;
    box-shadow: none;
}

.slots-grid:hover .slot:hover .slot-card {
    filter: brightness(1.1);
    transform: translateY(-28px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9), 0 8px 20px rgba(0, 0, 0, 0.5);
}

.slot:hover .slot-num {
    opacity: 0.13;
}

.slot:hover .slot-title {
    letter-spacing: 0.10em;
}

.slot:hover .slot-sub {
    opacity: 0.75;
}

.slot:hover .slot-arrow {
    opacity: 1;
    transform: translateX(0);
}

.slot-card.ejecting {
    transition: transform 0.45s cubic-bezier(.4, 0, .2, 1), opacity 0.35s ease !important;
    transform: translateY(-220px) !important;
    opacity: 0 !important;
}

.cat-overlay {
    position: fixed;
    inset: 0;
    z-index: 1600;
    background: #000;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(30px);
    transition: opacity 0.4s cubic-bezier(.16, 1, .3, 1), transform 0.4s cubic-bezier(.16, 1, .3, 1);
}

.cat-overlay.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.cat-top {
    padding: 100px 60px 0;
}

.cat-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: color .2s, gap .2s;
    border: none;
    background: none;
    font-family: 'Space Mono', monospace;
    margin-bottom: 40px;
}

.cat-back-btn:hover {
    color: #f5e642;
    gap: 12px;
}

.cat-back-btn::before {
    content: '\2190';
}

.cat-num {
    font-size: 13px;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.cat-big-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(80px, 12vw, 160px);
    letter-spacing: 0.04em;
    line-height: 0.85;
    color: #fff;
}

.cat-list-header {
    display: flex;
    justify-content: space-between;
    padding: 24px 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 48px;
}

.cat-list-header-left,
.cat-list-header-right {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
}

.proj-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: filter 0.25s;
    min-height: 120px;
    overflow: hidden;
}

.proj-row:hover {
    filter: brightness(1.25);
}

.proj-row-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
    padding: 28px 0;
}

.proj-row-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(24px, 3.5vw, 46px);
    letter-spacing: 0.04em;
    color: #fff;
    transition: color 0.2s;
}

.proj-row:hover .proj-row-title {
    color: #f5e642;
}

.proj-row-tags {
    display: flex;
    gap: 12px;
}

.proj-row-tag {
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.proj-row-right {
    width: 320px;
    height: 160px;
    overflow: hidden;
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.proj-row-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(.16, 1, .3, 1), filter 0.3s;
    filter: brightness(0.9);
}

.proj-row:hover .proj-row-img {
    transform: scale(1.04);
    filter: brightness(1.05);
}

.proj-row-arrow {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 14px;
    color: #f5e642;
    opacity: 0;
    transition: opacity 0.25s, transform 0.25s;
    transform: translate(-4px, 4px);
}

.proj-row:hover .proj-row-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

.cat-empty {
    padding: 80px 60px;
    font-size: 14px;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.18);
    text-transform: uppercase;
}

.cat-overlay-footer {
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cat-overlay-footer-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: color .2s, gap .2s;
    border: none;
    background: none;
    font-family: 'Space Mono', monospace;
}

.cat-overlay-footer-back:hover {
    color: #f5e642;
    gap: 12px;
}

.cat-overlay-footer-back::before {
    content: '\2190';
}

.cat-overlay-footer-copy {
    font-size: 9px;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
}

.proj-overlay {
    position: fixed;
    inset: 0;
    z-index: 1700;
    background: #000;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(40px);
    transition: opacity 0.4s cubic-bezier(.16, 1, .3, 1), transform 0.4s cubic-bezier(.16, 1, .3, 1);
}

.proj-overlay.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.proj-header {
    padding: 100px 60px 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.proj-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: color .2s, gap .2s;
    border: none;
    background: none;
    font-family: 'Space Mono', monospace;
}

.proj-back-btn:hover {
    color: #f5e642;
    gap: 12px;
}

.proj-back-btn::before {
    content: '\2190';
}

.proj-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: right;
}

.proj-cat-label {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(245, 230, 66, 0.5);
}

.proj-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(32px, 4.5vw, 62px);
    letter-spacing: 0.04em;
    line-height: 0.9;
    color: #fff;
}

.proj-year {
    font-size: 10px;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.22);
    text-transform: uppercase;
    margin-top: 4px;
}

.proj-intro {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    padding: 60px;
}

.proj-desc-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 13px;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.proj-desc-text {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.01em;
}

.proj-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.proj-tag {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #f5e642;
    border: 1px solid rgba(245, 230, 66, 0.3);
    padding: 5px 12px;
    border-radius: 2px;
}

.proj-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 28px;
}

.proj-link-label {
    font-size: 9px;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.28);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.proj-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    letter-spacing: 0.1em;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 8px;
    transition: color .2s, gap .2s;
}

.proj-link:hover {
    color: #f5e642;
    gap: 14px;
}

.proj-meta {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.proj-meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.proj-meta-label {
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.22);
}

.proj-meta-value {
    font-size: 13px;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

.proj-img-section {
    padding: 0 60px 60px;
}

.proj-img-label {
    font-size: 10px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 16px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.proj-img-grid {
    display: grid;
    gap: 3px;
}

.proj-img-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
}

.proj-img-grid.cols-1 {
    grid-template-columns: 1fr;
}

.proj-img-grid.cols-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.proj-img-grid img {
    width: 100%;
    display: block;
    object-fit: contain;
    background: #0a0a0a;
}

.proj-footer {
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.proj-footer-copy {
    font-size: 9px;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
}

.mn-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: calc(100vh - 180px);
}

.mn-col-info {
    padding: 60px 60px 60px 60px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    max-height: 100vh;
    overflow-y: auto;
    scrollbar-width: none;
}

.mn-col-info::-webkit-scrollbar {
    display: none;
}

.mn-col-imgs {
    padding: 60px 60px 60px 60px;
}

.mn-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 32px 0;
}

.mn-block {
    margin-bottom: 36px;
}

.mn-img-single {
    width: 40%;
    margin: 0 auto;
}

.mn-img-single img {
    width: 100%;
    display: block;
    object-fit: contain;
}

.mn-caption {
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    font-family: 'Space Mono', monospace;
    margin-top: 8px;
}

.mn-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
    width: 40%;
    margin: 0 auto;
}

.mn-pair-item img {
    width: 100%;
    height: 180px;
    display: block;
    object-fit: contain;
}

.mn-trio {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    width: 80%;
    margin: 0 auto;
}

.mn-trio-item img {
    width: 100%;
    height: 180px;
    display: block;
    object-fit: contain;
}

.mn-cartaz {
    height: 560px !important;
}

.mn-proj-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 0.12em;
    color: #f5e642;
    text-decoration: none;
    border-bottom: 2px solid rgba(245, 230, 66, 0.3);
    padding-bottom: 6px;
    transition: color .2s, gap .2s, border-color .2s;
    margin-bottom: 4px;
}

.mn-proj-link:hover {
    gap: 16px;
    border-color: #f5e642;
}

.mn-proj-link-label {
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 10px;
    display: block;
}

.mn-meta-row {
    display: flex;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 48px;
}

.mn-meta-item {
    flex: 1;
    padding: 40px 36px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.mn-meta-item:last-child {
    border-right: none;
}

.mn-meta-links {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
}

/* ===== CUSTOM CURSOR ===== */
* {
    cursor: none !important;
}

#cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f5e642;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, border-radius 0.2s ease, opacity 0.2s ease;
    mix-blend-mode: difference;
}

#cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(245, 230, 66, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.15s ease, height 0.15s ease, border-color 0.2s ease, border-radius 0.2s ease;
}

/* Cursor normal nos papéis - FORÇADO */
.paper,
.paper *,
.paper a {
    cursor: grab !important;
}

.paper.dragging,
.paper.dragging * {
    cursor: grabbing !important;
}

/* Mantém o cursor personalizado nos outros elementos */
#cursor.hover {
    width: 6px;
    height: 6px;
}

#cursor-ring.hover {
    width: 44px;
    height: 44px;
    border-color: rgba(245, 230, 66, 0.9);
}

#cursor.click {
    width: 4px;
    height: 4px;
    background: #fff;
}

#cursor-ring.click {
    width: 22px;
    height: 22px;
}

#cursor.hover {
    width: 6px;
    height: 6px;
}

#cursor-ring.hover {
    width: 44px;
    height: 44px;
    border-color: rgba(245, 230, 66, 0.9);
}

#cursor.click {
    width: 4px;
    height: 4px;
    background: #fff;
}

#cursor-ring.click {
    width: 22px;
    height: 22px;
}

.mn-video {
    width: 100%;
    margin-top: 8px;
}

.mn-video video {
    width: 100%;
    display: block;
    border-radius: 2px;
}

video {
    width: 100%;
    display: block;
    border-radius: 8px;
    background: #000;
}

/*tradução
 */

.lang-switch {
    position: absolute;
    right: 180px;
    display: flex;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.13em;
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    cursor: pointer;
    transition: color 0.2s;
}

.lang-btn:hover {
    color: #f5e642;
}

.lang-btn.active {
    color: #f5e642;
}

.lang-divider {
    color: rgba(255, 255, 255, 0.3);
}

