:root {
    --bg-0: #060606;
    --bg-1: #0c0c0c;
    --ink-0: #f2f0ec;
    --ink-1: #9a9793;
    --ink-2: #5c5955;
    --red-0: #ff2a2a;
    --red-1: #ff5b3d;
    --red-dim: #7a0f0f;
    --glow: rgba(255, 42, 42, .45);
    --line: rgba(242, 240, 236, .1);
}

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

html {
    background: var(--bg-0);
    scrollbar-color: var(--red-dim) var(--bg-0);
    scroll-behavior: smooth;
}

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

body {
    background:
        radial-gradient(120% 90% at 78% 30%, rgba(255, 42, 42, .10), transparent 55%),
        radial-gradient(90% 70% at 10% 90%, rgba(255, 42, 42, .05), transparent 60%),
        radial-gradient(140% 140% at 50% 0%, #111111 0%, #060606 55%, #030303 100%);
    color: var(--ink-0);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* faint film grain */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 7.2rem clamp(1.5rem, 5vw, 4.5rem) 3rem;
    isolation: isolate;
}

/* GIANT BACKGROUND WORD */
.bg-word {
    position: absolute;
    top: 8.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-family: 'Anton', sans-serif;
    font-size: clamp(5rem, 16vw, 15rem);
    line-height: .85;
    letter-spacing: .01em;
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 60, 60, .5) 0%, rgba(120, 10, 10, .12) 70%, rgba(60, 5, 5, 0) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    animation: wordIn 1.4s .15s cubic-bezier(.16, 1, .3, 1) forwards;
    mix-blend-mode: screen;
}

/* MAIN GRID */
.main {
    position: relative;
    z-index: 2;
    flex: 1;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

/* LEFT CONTENT */
.content {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    max-width: 640px;
}

.eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: .75rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-1);
    display: flex;
    align-items: center;
    gap: .75em;
    opacity: 0;
    animation: riseIn .8s .3s cubic-bezier(.16, 1, .3, 1) forwards;
}

.eyebrow::before {
    content: "";
    width: 2.2em;
    height: 1px;
    background: var(--red-0);
    box-shadow: 0 0 8px var(--glow);
}

h1.headline {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: clamp(2.6rem, 5.6vw, 4.6rem);
    line-height: .96;
    letter-spacing: .005em;
    text-transform: uppercase;
    color: var(--ink-0);
    opacity: 0;
    animation: riseIn .9s .42s cubic-bezier(.16, 1, .3, 1) forwards;
}

h1.headline em {
    font-style: normal;
    color: var(--red-0);
    text-shadow: 0 0 30px var(--glow);
}

.role {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: clamp(1.3rem, 2.6vw, 2.1rem);
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--red-0);
    text-shadow: 0 0 24px var(--glow);
    opacity: 0;
    animation: riseIn .9s .54s cubic-bezier(.16, 1, .3, 1) forwards;
}

p.lede {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink-1);
    max-width: 520px;
    opacity: 0;
    animation: riseIn .9s .66s cubic-bezier(.16, 1, .3, 1) forwards;
}

p.lede strong {
    color: var(--ink-0);
    font-weight: 600;
}

.cta-row {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin-top: .6rem;
    opacity: 0;
    animation: riseIn .9s .78s cubic-bezier(.16, 1, .3, 1) forwards;
}

.btn-primary {
    font-family: 'JetBrains Mono', monospace;
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #0a0a0a;
    background: linear-gradient(135deg, var(--red-1), var(--red-0));
    padding: .95em 1.9em;
    border-radius: 2px;
    text-decoration: none;
    box-shadow: 0 8px 30px -8px var(--glow);
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease;
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px -8px rgba(255, 42, 42, .65);
}

.stack {
    display: flex;
    gap: .9rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: .68rem;
    letter-spacing: .08em;
    color: var(--ink-2);
}

.stack span {
    padding: .4em .3em;
    border-bottom: 1px solid var(--line);
}

/* RIGHT: PORTRAIT */
.portrait-wrap {
    position: relative;
    height: min(70vh, 640px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: riseIn 1.1s .3s cubic-bezier(.16, 1, .3, 1) forwards;
}

.glow-orb {
    position: absolute;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(255, 42, 42, .55) 0%, rgba(255, 42, 42, .18) 40%, transparent 72%);
    filter: blur(10px);
    animation: pulse 5.5s ease-in-out infinite;
    z-index: 0;
}

.portrait-shape {
    position: relative;
    width: min(94%, 430px);
    aspect-ratio: 912/1160;
    z-index: 1;
    filter: drop-shadow(0 30px 70px rgba(0, 0, 0, .65));
    -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}

.portrait-shape img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: bottom center;
    filter: contrast(1.12) saturate(1.05) brightness(.98);
}

.portrait-shape::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(255, 42, 42, .35) 0%, rgba(255, 42, 42, 0) 32%),
        linear-gradient(0deg, rgba(6, 6, 6, .5) 0%, transparent 30%);
    mix-blend-mode: color-dodge;
    opacity: .55;
    pointer-events: none;
}

.badge {
    position: absolute;
    right: -1rem;
    bottom: -.5rem;
    width: 150px;
    height: 150px;
    z-index: 3;
    animation: spin 26s linear infinite;
}

.badge-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ff5b3d, #7a0f0f 75%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Anton', sans-serif;
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: .02em;
    box-shadow: 0 0 26px var(--glow), inset 0 0 12px rgba(0, 0, 0, .4);
    animation: spinBack 26s linear infinite;
}

/* RIGHT: INFO PANEL */
.info-panel {
    position: absolute;
    right: clamp(1rem, 3vw, 3rem);
    bottom: 2.4rem;
    display: flex;
    flex-direction: column;
    gap: .9rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: .68rem;
    letter-spacing: .06em;
    color: var(--ink-1);
    z-index: 4;
    text-align: right;
    opacity: 0;
    animation: riseIn .9s .9s cubic-bezier(.16, 1, .3, 1) forwards;
}

.info-row {
    display: flex;
    justify-content: flex-end;
    gap: .6em;
    border-bottom: 1px solid var(--line);
    padding-bottom: .5em;
    min-width: 210px;
}

.info-row b {
    color: var(--ink-0);
    font-weight: 500;
}

.info-row .k {
    color: var(--ink-2);
}

.info-row .k::after {
    content: "";
}

/* KEYFRAMES */
@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

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

@keyframes wordIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(14px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: .65;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes spinBack {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/*  RESPONSIVE */
@media (max-width: 980px) {
    .main {
        grid-template-columns: 1fr;
    }

    .portrait-wrap {
        order: -1;
        height: 340px;
        margin-bottom: 1rem;
    }

    .info-panel {
        position: static;
        text-align: left;
        margin-top: 1.5rem;
    }

    .info-row {
        justify-content: flex-start;
        min-width: 0;
    }

    .bg-word {
        top: 6.4rem;
        font-size: clamp(3.4rem, 20vw, 8rem);
    }
}

@media (max-width: 560px) {
    .hero {
        padding-top: 6.2rem;
    }

    .cta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--red-0);
    outline-offset: 3px;
}

/* SEÇÃO 2 — TECNOLOGIAS */
.tech-section {
    position: relative;
    padding: 6.5rem clamp(1.5rem, 5vw, 4.5rem) 7rem;
    border-top: 1px solid var(--line);
    overflow: hidden;
}

.tech-section::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle, rgba(255, 42, 42, .08), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.tech-inner {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
}

html.no-gsap .reveal {
    opacity: 1;
    transform: none;
}

.tech-head {
    max-width: 640px;
    margin-bottom: 3.6rem;
}

.tech-head .eyebrow {
    animation: none;
    opacity: 1;
    margin-bottom: .9rem;
}

.tech-title {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .005em;
    margin-bottom: 1.1rem;
}

.tech-title em {
    font-style: normal;
    color: var(--red-0);
    text-shadow: 0 0 30px var(--glow);
}

.tech-lede {
    color: var(--ink-1);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 480px;
}

/* marquee */
.marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1.4rem 0;
    margin-bottom: 4.2rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 1.6rem;
    animation: marqueeScroll 34s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-track span.item {
    font-family: 'Anton', sans-serif;
    font-size: clamp(1.1rem, 2.4vw, 1.7rem);
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--ink-2);
    transition: color .35s ease, text-shadow .35s ease;
    white-space: nowrap;
}

.marquee-track span.item:hover {
    color: var(--red-0);
    text-shadow: 0 0 22px var(--glow);
}

.marquee-track span.sep {
    color: var(--red-dim);
    font-size: .9rem;
}

/* grid de categorias */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.6rem;
}

.tech-col-label {
    display: flex;
    align-items: center;
    gap: .6em;
    font-family: 'JetBrains Mono', monospace;
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-1);
    padding-bottom: .9rem;
    margin-bottom: 1.1rem;
    border-bottom: 1px solid var(--line);
}

.tech-col-label::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--red-0);
    box-shadow: 0 0 10px var(--glow);
    flex-shrink: 0;
}

.tech-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.tech-col li {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.tech-col .t-name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: .98rem;
    color: var(--ink-0);
    transition: color .3s ease;
}

.tech-col li:hover .t-name {
    color: var(--red-1);
}

.tech-col .t-note {
    font-size: .8rem;
    line-height: 1.5;
    color: var(--ink-2);
    max-width: 230px;
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 980px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 2.8rem;
    }
}

@media (max-width: 560px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .tech-section {
        padding: 4.5rem 1.5rem 5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
}

/* SEÇÃO 3 — PROJETOS */
.projects-section {
    position: relative;
    padding: 6.5rem clamp(1.5rem, 5vw, 4.5rem) 7.5rem;
    border-top: 1px solid var(--line);
    overflow: hidden;
}

.projects-section::before {
    content: "";
    position: absolute;
    bottom: -15%;
    right: -8%;
    width: 55%;
    height: 65%;
    background: radial-gradient(circle, rgba(255, 42, 42, .07), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.projects-inner {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
}

.proj-head {
    max-width: 640px;
    margin-bottom: 3.6rem;
}

.proj-head .eyebrow {
    animation: none;
    opacity: 1;
    margin-bottom: .9rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
}

.project-card {
    position: relative;
    grid-column: span 2;
    background: linear-gradient(160deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .008));
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 1rem 1rem 1.9rem;
    display: flex;
    flex-direction: column;
    gap: .9rem;
    transition: transform .5s cubic-bezier(.16, 1, .3, 1), border-color .5s ease, box-shadow .5s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 42, 42, .45);
    box-shadow: 0 24px 50px -20px rgba(255, 42, 42, .25);
}

.project-card.featured {
    grid-column: span 4;
}

/* área da imagem 3D (three.js) */
.card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 3px;
    overflow: hidden;
    background: radial-gradient(120% 140% at 30% 0%, #171717, #0a0a0a 70%);
    cursor: pointer;
}

.project-card.featured .card-media {
    aspect-ratio: 21/9;
}

.card-media canvas {
    width: 100%;
    height: 100%;
    display: block;
    filter: grayscale(1) contrast(1.05) brightness(.96);
    transition: filter .6s cubic-bezier(.16, 1, .3, 1);
}

.project-card:hover .card-media canvas {
    filter: grayscale(0) contrast(1.05) brightness(1);
}

.media-badge {
    position: absolute;
    top: .85rem;
    left: .85rem;
    z-index: 2;
    font-family: 'JetBrains Mono', monospace;
    font-size: .66rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .4em .85em;
    border-radius: 999px;
    white-space: nowrap;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.media-badge.live {
    background: linear-gradient(135deg, var(--red-1), var(--red-0));
    color: #0a0a0a;
    font-weight: 600;
}

.media-badge.dev {
    display: inline-flex;
    align-items: center;
    gap: .55em;
    color: var(--ink-0);
    background: rgba(6, 6, 6, .55);
    border: 1px dashed var(--red-1);
}

.media-badge.dev::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red-0);
    box-shadow: 0 0 8px var(--glow);
    animation: blipPulse 1.8s ease-in-out infinite;
}

.project-card.neon .media-badge.live {
    background: linear-gradient(135deg, #6be8ff, #2ad9ff);
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: .9rem;
    padding: .6rem .85rem 0;
}

.card-title {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: 1.55rem;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: var(--ink-0);
}

.project-card.featured .card-title {
    font-size: 2.1rem;
}

.card-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red-1);
    margin-top: -.6rem;
}

.card-desc {
    font-size: .9rem;
    line-height: 1.7;
    color: var(--ink-1);
    max-width: 52ch;
}

.card-stack {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .2rem;
}

.card-stack span {
    font-family: 'JetBrains Mono', monospace;
    font-size: .64rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-2);
    border: 1px solid var(--line);
    padding: .35em .7em;
    border-radius: 2px;
}

.card-cta {
    margin-top: auto;
    padding-top: .9rem;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    font-family: 'JetBrains Mono', monospace;
    font-size: .74rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-1);
    text-decoration: none;
    border: 1px solid var(--line);
    padding: .75em 1.2em;
    border-radius: 2px;
    transition: color .35s ease, border-color .35s ease, background .35s ease, transform .35s ease;
}

a.btn-ghost:hover {
    color: var(--red-1);
    border-color: var(--red-0);
    background: rgba(255, 42, 42, .06);
    transform: translateX(3px);
}

span.btn-ghost {
    color: var(--ink-2);
    border-style: dashed;
    cursor: not-allowed;
}

.project-card.neon .card-sub {
    color: #2ad9ff;
}

.project-card.neon:hover {
    border-color: rgba(42, 217, 255, .45);
    box-shadow: 0 24px 50px -20px rgba(42, 217, 255, .22);
}

.project-card.neon a.btn-ghost:hover {
    color: #2ad9ff;
    border-color: #2ad9ff;
    background: rgba(42, 217, 255, .06);
}

@keyframes blipPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .35;
    }
}

@media (max-width: 980px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-card {
        grid-column: span 1;
    }

    .project-card.featured {
        grid-column: span 2;
    }
}

@media (max-width: 560px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card.featured {
        grid-column: span 1;
    }

    .project-card.featured .card-media {
        aspect-ratio: 16/10;
    }

    .projects-section {
        padding: 4.5rem 1.5rem 5rem;
    }
}

/* SEÇÃO 4 — CONEXÃO */
.connect-section {
    position: relative;
    padding: 7rem clamp(1.5rem, 5vw, 4.5rem) 5rem;
    border-top: 1px solid var(--line);
    overflow: hidden;
    text-align: center;
}

.connect-section::before {
    content: "";
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 42, 42, .10), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.connect-inner {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.connect-inner .eyebrow {
    animation: none;
    opacity: 1;
    justify-content: center;
}

.connect-title {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: clamp(2.6rem, 7vw, 5.2rem);
    line-height: .96;
    text-transform: uppercase;
    letter-spacing: .005em;
    margin: 1.1rem 0 1.3rem;
}

.connect-title em {
    font-style: normal;
    color: var(--red-0);
    text-shadow: 0 0 34px var(--glow);
}

.connect-lede {
    color: var(--ink-1);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 460px;
    margin-bottom: 3.4rem;
}

.connect-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
}

.connect-card {
    --brand: var(--red-0);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .9rem;
    padding: 2.1rem 1rem 1.7rem;
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .006));
    transition: transform .45s cubic-bezier(.16, 1, .3, 1), border-color .45s ease, box-shadow .45s ease, background .45s ease;
}

.connect-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand);
    box-shadow: 0 22px 46px -22px var(--brand);
    background: linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01));
}

.connect-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-0);
    transition: color .45s ease, transform .45s cubic-bezier(.16, 1, .3, 1);
}

.connect-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.connect-card:hover .connect-icon {
    color: var(--brand);
    transform: scale(1.08) translateY(-2px);
}

.connect-label {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--ink-0);
}

.connect-handle {
    font-family: 'JetBrains Mono', monospace;
    font-size: .7rem;
    letter-spacing: .03em;
    color: var(--ink-2);
    word-break: break-word;
    max-width: 100%;
}

@media (max-width: 780px) {
    .connect-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 460px) {
    .connect-grid {
        grid-template-columns: 1fr;
    }

    .connect-section {
        padding: 5rem 1.5rem 3.5rem;
    }
}

/* footer */
.site-footer {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 4.5rem auto 0;
    padding: 1.6rem clamp(1.5rem, 5vw, 4.5rem) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--line);
    font-family: 'JetBrains Mono', monospace;
    font-size: .7rem;
    letter-spacing: .06em;
    color: var(--ink-2);
}

.site-footer a {
    color: var(--ink-1);
    text-decoration: none;
    transition: color .3s ease;
}

.site-footer a:hover {
    color: var(--red-0);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-links .sep {
    color: var(--line);
}

@media (max-width: 560px) {
    .site-footer {
        flex-direction: column;
        text-align: center;
        padding-top: 1.4rem;
    }
}

/* NAV GLOBAL FIXO (logo | menu | contato) */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(6, 6, 6, .62);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: background .4s ease, border-color .4s ease;
}

.site-nav.scrolled {
    background: rgba(6, 6, 6, .9);
    border-bottom-color: var(--line);
}

.site-nav-inner {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: .75rem clamp(1.5rem, 5vw, 4.5rem);
}

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

.nav-logo img {
    height: 40px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 12px rgba(255, 42, 42, .4));
    transition: transform .4s cubic-bezier(.16, 1, .3, 1);
}

.nav-logo:hover img {
    transform: scale(1.06);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 2.4rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: .74rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.nav-link {
    position: relative;
    color: var(--ink-1);
    text-decoration: none;
    padding: .3em 0;
    transition: color .3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: var(--red-0);
    box-shadow: 0 0 8px var(--glow);
    transition: width .35s cubic-bezier(.16, 1, .3, 1);
}

.nav-link:hover {
    color: var(--ink-0);
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.nav-contact-btn {
    font-family: 'JetBrains Mono', monospace;
    font-size: .7rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0a0a0a;
    background: linear-gradient(135deg, var(--red-1), var(--red-0));
    padding: .62em 1.25em;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease;
}

.nav-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px -8px var(--glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink-0);
    display: block;
    transition: transform .3s ease, opacity .3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        background: rgba(6, 6, 6, .97);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--line);
        padding: 0 clamp(1.5rem, 5vw, 4.5rem);
        transition: max-height .5s cubic-bezier(.16, 1, .3, 1), opacity .4s ease, padding .5s ease;
    }

    .site-nav.menu-open .nav-links {
        max-height: 340px;
        opacity: 1;
        padding: 1.2rem clamp(1.5rem, 5vw, 4.5rem) 1.6rem;
    }

    .nav-links .nav-link {
        width: 100%;
        padding: .9rem 0;
        border-bottom: 1px solid var(--line);
    }

    .nav-contact-btn {
        font-size: .64rem;
        padding: .55em 1em;
    }
}

/* SEÇÃO — SOBRE MIM */
.about-section {
    position: relative;
    padding: 7rem clamp(1.5rem, 5vw, 4.5rem) 6.5rem;
    border-top: 1px solid var(--line);
    overflow: hidden;
}

.about-section::before {
    content: "";
    position: absolute;
    top: -15%;
    left: -10%;
    width: 55%;
    height: 70%;
    background: radial-gradient(circle, rgba(255, 42, 42, .08), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.about-inner {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
}

.about-head {
    max-width: 640px;
    margin-bottom: 3rem;
}

.about-head .eyebrow {
    animation: none;
    opacity: 1;
    margin-bottom: .9rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.6fr .8fr;
    gap: 3.5rem;
    align-items: start;
}

.about-text p {
    font-size: .96rem;
    line-height: 1.85;
    color: var(--ink-1);
    margin-bottom: 1.25rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: var(--ink-0);
    font-weight: 600;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    position: sticky;
    top: 7rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    padding-bottom: 1.3rem;
    border-bottom: 1px solid var(--line);
}

.stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.stat-num {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--red-0);
    text-shadow: 0 0 26px var(--glow);
}

.stat-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: .7rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-2);
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

    .about-stats {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .stat-item {
        border-bottom: none;
        padding-bottom: 0;
        flex: 1 1 140px;
    }
}

@media (max-width: 560px) {
    .about-section {
        padding: 4.5rem 1.5rem 4rem;
    }
}