/* ==========================================================================
   KAUÊ SOUZA — PORTFÓLIO
   Direção: cinema editorial, capítulos, luz e tipografia.
   ========================================================================== */

/* ===== FONTES ===== */
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/space-grotesk-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Instrument Serif';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/instrument-serif-italic-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url('fonts/jetbrains-mono-latin.woff2') format('woff2');
}

/* ===== VARIÁVEIS ===== */
:root {
    --bg: #08080b;
    --bg-soft: #0b0b10;
    --bg-card: #101016;
    --bg-card-2: #14141b;
    --ink: #f2efe9;
    --ink-dim: #b7b4bd;
    --muted: #7f7d88;
    --faint: #4b4a54;
    --line: rgba(242, 239, 233, 0.1);
    --line-strong: rgba(242, 239, 233, 0.2);
    --violet: #8b5cf6;
    --violet-soft: #a78bfa;
    --blue: #6f9dff;
    --coral: #ff8fa8;
    --green: #9ee6b0;
    --gradient: linear-gradient(105deg, #c9b8ff 0%, #8b5cf6 40%, #6f9dff 70%, #ff9ec1 100%);
    --sans: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
    --pad: clamp(20px, 4vw, 64px);
    --max: 1440px;
    --radius: 16px;
}

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

html {
    color-scheme: dark;
    background: var(--bg);
    scroll-behavior: auto;
    scrollbar-width: thin;
    scrollbar-color: #33323c var(--bg);
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    position: relative;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.6s var(--ease);
}

body.is-loading {
    height: 100vh;
    overflow: hidden;
}

body.menu-open {
    overflow: hidden;
}

body.custom-cursor,
body.custom-cursor a,
body.custom-cursor button {
    cursor: none;
}

::selection {
    background: var(--violet);
    color: #fff;
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
    color: inherit;
}

button {
    border: 0;
    background: none;
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

:focus-visible {
    outline: 2px solid var(--violet-soft);
    outline-offset: 5px;
    border-radius: 2px;
}

.skip-link {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 11000;
    padding: 12px 18px;
    background: var(--ink);
    color: var(--bg);
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transform: translateY(-200%);
    transition: transform 0.3s var(--ease);
}

.skip-link:focus {
    transform: translateY(0);
}

/* ===== UTILITÁRIOS ===== */
.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding-inline: var(--pad);
}

section[id] {
    scroll-margin-top: 80px;
}

.serif {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

.eyebrow__line {
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, var(--violet), transparent);
}

.kicker {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.grain {
    position: fixed;
    inset: -50%;
    z-index: 9000;
    pointer-events: none;
    opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    transform: rotate(0.001deg);
    animation: grain-shift 0.6s steps(2) infinite;
}

@keyframes grain-shift {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-2%, 1%); }
    50% { transform: translate(1%, -2%); }
    75% { transform: translate(-1%, 2%); }
    100% { transform: translate(2%, -1%); }
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1200;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--violet), var(--blue) 55%, var(--coral));
    transform: scaleX(0);
    transform-origin: 0 50%;
}

/* ===== CURSOR ===== */
.cursor {
    position: fixed;
    inset: 0;
    z-index: 10003;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.has-cursor .cursor {
    opacity: 1;
}

.cursor__dot,
.cursor__ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    will-change: left, top, width, height;
}

.cursor__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ink);
    mix-blend-mode: difference;
    transition: opacity 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.cursor__ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(242, 239, 233, 0.7);
    border-radius: 999px;
    mix-blend-mode: difference;
    transition: width 0.3s var(--ease), height 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.cursor__label {
    font-family: var(--mono);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--bg);
    opacity: 0;
    white-space: nowrap;
    transform: translateY(1px);
    transition: opacity 0.2s ease, transform 0.25s var(--ease);
}

body.cursor-hover .cursor__ring {
    width: 44px;
    height: 44px;
    border-color: rgba(242, 239, 233, 0.95);
}

body.cursor-hover .cursor__dot {
    width: 4px;
    height: 4px;
}

body.cursor-view .cursor__ring {
    width: 112px;
    height: 34px;
    background: var(--ink);
    border-color: var(--ink);
    mix-blend-mode: normal;
    transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.15s ease, background-color 0s;
}

body.cursor-view .cursor__dot {
    opacity: 0;
}

body.cursor-view .cursor__label {
    opacity: 1;
    transform: none;
}

body.cursor-press .cursor__ring {
    width: 20px;
    height: 20px;
}

body.cursor-press.cursor-hover .cursor__ring {
    width: 37px;
    height: 37px;
}

body.cursor-press.cursor-view .cursor__ring {
    width: 102px;
    height: 30px;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(24px, 4vw, 56px);
    background: #08080b;
    overflow: hidden;
}

.preloader__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.preloader__brand {
    font-family: var(--mono);
    font-size: 15px;
    letter-spacing: 0.04em;
}

.preloader__brand sup {
    font-size: 7px;
    color: var(--violet-soft);
    margin-left: 2px;
}

.preloader__tag {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.preloader__center {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 0 0 2vh;
}

.preloader__word {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(3.4rem, 11vw, 11rem);
    line-height: 0.8;
    letter-spacing: -0.04em;
    color: var(--ink);
}

.preloader__count {
    font-family: var(--mono);
    font-size: clamp(4rem, 14vw, 14rem);
    line-height: 0.72;
    letter-spacing: -0.08em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(242, 239, 233, 0.3);
}

.preloader__bottom {
    display: flex;
    align-items: center;
    gap: 28px;
}

.preloader__bar {
    position: relative;
    flex: 1;
    height: 1px;
    background: rgba(242, 239, 233, 0.13);
    overflow: hidden;
}

.preloader__bar span {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--violet), var(--blue), var(--coral));
    transform: scaleX(0);
    transform-origin: 0 50%;
}

.preloader__place {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    padding: 20px 0;
    transition: padding 0.5s var(--ease), background-color 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
    border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
    padding: 12px 0;
    background: rgba(8, 8, 11, 0.7);
    border-bottom-color: var(--line);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
}

.brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: -0.02em;
    transition: color 0.35s ease, border-color 0.35s ease, transform 0.5s var(--ease), background-color 0.35s ease;
}

.brand__mark > span {
    color: var(--violet-soft);
}

.brand:hover .brand__mark {
    color: var(--bg);
    background: var(--ink);
    border-color: var(--ink);
    transform: rotate(-6deg);
}

.brand:hover .brand__mark > span {
    color: var(--violet);
}

.brand__name {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.4vw, 38px);
    margin-left: auto;
    margin-right: clamp(24px, 4vw, 56px);
}

.nav__link {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    position: relative;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 6px 0;
    transition: color 0.3s ease;
}

.nav__index {
    font-size: 7px;
    color: var(--faint);
    transition: color 0.3s ease;
}

.nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.4s var(--ease);
}

.nav__link:hover,
.nav__link.is-current {
    color: var(--ink);
}

.nav__link:hover .nav__index,
.nav__link.is-current .nav__index {
    color: var(--violet-soft);
}

.nav__link:hover::after,
.nav__link.is-current::after {
    transform: scaleX(1);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.6vw, 22px);
}

.theme-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-dim);
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, transform 0.4s var(--ease);
}

.theme-toggle:hover {
    color: var(--ink);
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.04);
    transform: rotate(8deg);
}

.theme-toggle__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle__icon svg {
    width: 15px;
    height: 15px;
}

.theme-toggle__icon--moon {
    display: none;
}

html[data-theme="light"] .theme-toggle__icon--sun {
    display: none;
}

html[data-theme="light"] .theme-toggle__icon--moon {
    display: flex;
}

.lang {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.06em;
    color: var(--faint);
    transition: border-color 0.3s ease, color 0.3s ease;
    pointer-events: auto;
}

.lang:hover {
    border-color: var(--line-strong);
    color: var(--muted);
}

.lang__pt.is-active,
.lang__en.is-active {
    color: var(--ink);
}

.lang__sep {
    opacity: 0.4;
}

.menu-button {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.menu-button:hover {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.04);
}

.menu-button span {
    display: block;
    width: 14px;
    height: 1px;
    background: var(--ink);
    transition: transform 0.4s var(--ease), width 0.4s var(--ease);
}

.menu-button span:last-child {
    width: 9px;
    margin-left: 5px;
}

body.menu-open .menu-button span:first-child {
    width: 15px;
    transform: translateY(3px) rotate(45deg);
}

body.menu-open .menu-button span:last-child {
    width: 15px;
    margin-left: 0;
    transform: translateY(-3px) rotate(-45deg);
}

/* ===== MENU OVERLAY ===== */
.menu {
    position: fixed;
    inset: 0;
    z-index: 950;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 110px var(--pad) 40px;
    background: #09090d;
    clip-path: circle(0% at calc(100% - 52px) 40px);
    transition: clip-path 0.8s var(--ease), visibility 0s linear 0.8s;
    visibility: hidden;
}

.menu.is-open {
    clip-path: circle(160% at calc(100% - 52px) 40px);
    visibility: visible;
    transition: clip-path 0.8s var(--ease), visibility 0s linear 0s;
}

.menu__glow {
    position: absolute;
    right: -10%;
    top: -20%;
    width: 70vw;
    height: 70vw;
    max-width: 900px;
    max-height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.18), transparent 65%);
    filter: blur(20px);
    pointer-events: none;
}

.menu__nav {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

.menu__link {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 40px);
    padding: clamp(8px, 1.4vh, 16px) 0;
    border-bottom: 1px solid var(--line);
    font-size: clamp(2.2rem, 5.6vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
    color: var(--ink-dim);
    transition: color 0.3s ease, padding-left 0.5s var(--ease);
    transform: translateY(30px);
    opacity: 0;
}

.menu__link:first-child {
    border-top: 1px solid var(--line);
}

.menu__link--contact {
    margin-top: 14px;
    border-top: 1px solid var(--line);
}

.menu.is-open .menu__link {
    transform: translateY(0);
    opacity: 1;
    transition: color 0.3s ease, padding-left 0.5s var(--ease), transform 0.7s var(--ease), opacity 0.7s var(--ease);
}

.menu.is-open .menu__link:nth-child(1) { transition-delay: 0.15s; }
.menu.is-open .menu__link:nth-child(2) { transition-delay: 0.2s; }
.menu.is-open .menu__link:nth-child(3) { transition-delay: 0.25s; }
.menu.is-open .menu__link:nth-child(4) { transition-delay: 0.3s; }
.menu.is-open .menu__link:nth-child(5) { transition-delay: 0.35s; }

.menu__link:hover {
    color: var(--ink);
    padding-left: 14px;
}

.menu__num {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--violet-soft);
    align-self: flex-start;
    padding-top: 10px;
}

.menu__arrow {
    margin-left: auto;
    font-size: 0.5em;
    color: var(--violet-soft);
    transform: translate(-10px, 10px);
    opacity: 0;
    transition: transform 0.4s var(--ease), opacity 0.4s ease;
}

.menu__link:hover .menu__arrow {
    transform: translate(0, 0);
    opacity: 1;
}

.menu__meta {
    position: relative;
    display: flex;
    align-items: center;
    gap: 28px;
    max-width: 1000px;
    width: 100%;
    margin: 32px auto 0;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.06em;
    color: var(--muted);
    flex-wrap: wrap;
}

.menu__meta a {
    color: var(--ink-dim);
    transition: color 0.3s ease;
}

.menu__meta a:hover {
    color: var(--violet-soft);
}

.menu__social {
    display: flex;
    gap: 18px;
}

.menu__meta > span:last-child {
    margin-left: auto;
}

/* ===== TRILHA DE CAPÍTULOS ===== */
.chapter-rail {
    position: fixed;
    left: 26px;
    top: 50%;
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    transform: translateY(-50%);
    font-family: var(--mono);
    transition: opacity 0.35s ease, transform 0.45s var(--ease);
}

.chapter-rail.is-hidden {
    opacity: 0;
    transform: translate(-14px, -50%);
    pointer-events: none;
}

.chapter-rail__label {
    font-size: 7px;
    letter-spacing: 0.12em;
    color: var(--faint);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.chapter-rail__dots {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.chapter-rail__dots a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 6px;
}

.chapter-rail__dots a::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--faint);
    transition: background-color 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.chapter-rail__dots a span {
    position: absolute;
    left: 20px;
    font-size: 7px;
    color: var(--muted);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.chapter-rail__dots a:hover span {
    opacity: 1;
    transform: translateX(0);
}

.chapter-rail__dots a.is-active::before {
    background: var(--violet-soft);
    transform: scale(1.6);
    box-shadow: 0 0 12px rgba(167, 139, 250, 0.8);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(105px, 12.5vh, 145px) 0 62px;
    overflow: hidden;
    isolation: isolate;
}

.hero__canvas {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    pointer-events: none;
}

.hero__glow {
    position: absolute;
    right: -8%;
    top: 8%;
    width: min(68vw, 980px);
    height: min(68vw, 980px);
    border-radius: 50%;
    background:
        radial-gradient(circle at 44% 44%, rgba(139, 92, 246, 0.24), transparent 38%),
        radial-gradient(circle at 60% 60%, rgba(111, 157, 255, 0.12), transparent 48%),
        radial-gradient(circle at 50% 50%, rgba(255, 158, 193, 0.06), transparent 62%);
    filter: blur(30px);
    pointer-events: none;
    animation: hero-breathe 12s ease-in-out infinite;
}

@keyframes hero-breathe {
    0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.9; }
    50% { transform: scale(1.06) translate(-2%, 2%); opacity: 1; }
}

.hero__grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(to right, rgba(242, 239, 233, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(242, 239, 233, 0.045) 1px, transparent 1px);
    background-size: 90px 90px;
    -webkit-mask-image: radial-gradient(ellipse 70% 65% at 55% 48%, #000 10%, transparent 72%);
    mask-image: radial-gradient(ellipse 70% 65% at 55% 48%, #000 10%, transparent 72%);
    opacity: 0.6;
}

.hero__blur {
    position: absolute;
    left: 32%;
    bottom: -20%;
    z-index: -1;
    width: 50vw;
    height: 45vh;
    background: rgba(111, 157, 255, 0.07);
    filter: blur(90px);
    border-radius: 50%;
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: clamp(16px, 2vw, 28px);
    align-items: center;
}

.hero__copy {
    grid-column: 1 / 9;
    position: relative;
    z-index: 2;
}

.hero__eyebrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 720px;
    margin-bottom: clamp(24px, 3.5vh, 42px);
}

.hero__loc {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
}

.hero__title {
    font-size: clamp(4.2rem, 9.3vw, 9.6rem);
    line-height: 0.84;
    letter-spacing: -0.075em;
    font-weight: 500;
    margin-left: -0.05em;
}

.line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.14em;
    margin-bottom: -0.14em;
}

.line__inner {
    display: inline-block;
    will-change: transform;
}

.hero__serif {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.035em;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    padding-right: 0.08em;
    padding-bottom: 0.08em;
    margin-bottom: -0.08em;
}

.hero__role {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

.hero__role-line {
    width: 42px;
    height: 1px;
    background: linear-gradient(90deg, var(--violet), transparent);
    flex-shrink: 0;
}

.hero__lede {
    max-width: 500px;
    margin-top: 20px;
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    line-height: 1.65;
    color: var(--ink-dim);
    font-weight: 300;
}

.hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

/* ===== BOTÕES ===== */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 54px;
    padding: 0 26px;
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    overflow: hidden;
    transition: color 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
    will-change: transform;
}

.btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.4s var(--ease);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn--primary {
    background: var(--ink);
    color: var(--bg);
}

.btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient);
    transform: translateY(101%);
    transition: transform 0.5s var(--ease);
    z-index: 0;
}

.btn--primary > * {
    position: relative;
    z-index: 1;
}

.btn--primary:hover {
    color: #fff;
}

.btn--primary:hover::before {
    transform: translateY(0);
}

.btn--ghost {
    border: 1px solid var(--line-strong);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.02);
}

.btn--ghost:hover {
    border-color: rgba(242, 239, 233, 0.45);
    background: rgba(255, 255, 255, 0.05);
}

/* ===== RETRATO ===== */
.hero__portrait {
    position: relative;
    grid-column: 9 / 13;
    justify-self: end;
    width: min(100%, 372px);
    margin-top: 16px;
    will-change: transform;
}

.hero__portrait::before {
    content: '';
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 1px solid rgba(167, 139, 250, 0.25);
    border-radius: 220px 220px 20px 20px;
    pointer-events: none;
    transition: transform 0.6s var(--ease), border-color 0.6s ease;
}

.hero__portrait:hover::before {
    transform: translate(-6px, -6px);
    border-color: rgba(167, 139, 250, 0.5);
}

.portrait__frame {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 220px 220px 20px 20px;
    border: 1px solid var(--line-strong);
    background: var(--bg-card);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
    transform-style: preserve-3d;
}

.portrait__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
    filter: grayscale(1) contrast(1.08) brightness(0.82);
    transform: scale(1.03);
    transition: filter 0.8s var(--ease), transform 1.2s var(--ease);
}

.hero__portrait:hover .portrait__frame img {
    filter: grayscale(0.15) contrast(1.02) brightness(0.94);
    transform: scale(1.06);
}

.portrait__grade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(8, 8, 11, 0.8), transparent 45%),
        radial-gradient(circle at 50% 30%, rgba(139, 92, 246, 0.12), transparent 55%);
    pointer-events: none;
}

.portrait__scan {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px);
    mix-blend-mode: overlay;
    opacity: 0.5;
    pointer-events: none;
}

.portrait__seal {
    position: absolute;
    top: 16%;
    left: -58px;
    width: 128px;
    height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(11, 11, 16, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
}

.portrait__seal svg {
    position: absolute;
    inset: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    animation: seal-spin 24s linear infinite;
}

.portrait__seal text {
    font-family: var(--mono);
    font-size: 8.3px;
    letter-spacing: 0.145em;
    fill: var(--muted);
}

.portrait__seal-center {
    font-family: var(--serif);
    font-style: italic;
    font-size: 26px;
    color: var(--ink);
}

@keyframes seal-spin {
    to { transform: rotate(360deg); }
}

.portrait__chip {
    position: absolute;
    bottom: 62px;
    left: -38px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(13, 13, 19, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    animation: chip-float 7s ease-in-out infinite;
}

@keyframes chip-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.portrait__chip-label {
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.16em;
    color: var(--violet-soft);
}

.portrait__chip-value {
    font-family: var(--mono);
    font-size: 17px;
    letter-spacing: -0.04em;
    color: var(--ink);
}

.portrait__note {
    position: absolute;
    right: 4px;
    bottom: -34px;
    display: flex;
    gap: 14px;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.portrait__note span:first-child {
    color: var(--ink-dim);
}

/* ===== FACTS ===== */
.hero__facts {
    grid-column: 1 / 13;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 44px);
    margin-top: clamp(34px, 5vh, 64px);
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.fact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fact__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.fact__label::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--violet);
}

.fact__value {
    font-size: 12px;
    color: var(--ink-dim);
    letter-spacing: 0.01em;
}

.scroll-cue {
    position: absolute;
    bottom: 22px;
    left: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transform: translateX(-50%);
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--faint);
    transition: color 0.3s ease;
}

.scroll-cue:hover {
    color: var(--ink-dim);
}

.scroll-cue__line {
    position: relative;
    width: 1px;
    height: 30px;
    background: var(--line);
    overflow: hidden;
}

.scroll-cue__line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to bottom, transparent, var(--violet-soft), transparent);
    animation: scroll-line 2.4s var(--ease-io) infinite;
}

@keyframes scroll-line {
    0% { top: -60%; }
    100% { top: 100%; }
}

/* ===== SEÇÕES / CABEÇALHOS ===== */
.chapter {
    position: relative;
    padding: clamp(110px, 13vw, 190px) 0;
}

.section-spark {
    background:
        radial-gradient(ellipse 55% 35% at 15% 25%, rgba(139, 92, 246, 0.08), transparent 70%),
        var(--bg-soft);
    border-top: 1px solid var(--line);
}

.section-journey {
    background:
        radial-gradient(ellipse 50% 40% at 80% 40%, rgba(111, 157, 255, 0.07), transparent 70%),
        linear-gradient(to bottom, var(--bg-soft), var(--bg));
}

.section-work {
    background:
        radial-gradient(ellipse 45% 30% at 70% 32%, rgba(139, 92, 246, 0.07), transparent 70%),
        var(--bg);
    border-top: 1px solid var(--line);
    overflow: hidden;
}

.section-arsenal {
    background:
        radial-gradient(ellipse 40% 30% at 20% 60%, rgba(255, 158, 193, 0.05), transparent 70%),
        var(--bg-soft);
    border-top: 1px solid var(--line);
}

.chapter-head {
    display: grid;
    grid-template-columns: 3fr 9fr;
    gap: clamp(24px, 4vw, 60px);
    margin-bottom: clamp(64px, 9vw, 120px);
}

.chapter-head__meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 8px;
}

.chapter-head__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    font-family: var(--mono);
    font-size: 9px;
    color: var(--violet-soft);
}

.chapter-head__num--contact {
    font-size: 14px;
}

.chapter-head__main {
    max-width: 1040px;
}

.display {
    font-size: clamp(3rem, 6.2vw, 6.8rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
    font-weight: 500;
    margin-bottom: 30px;
}

.display .line__inner {
    display: inline-block;
}

.chapter-head__lede {
    max-width: 600px;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.7;
    color: var(--ink-dim);
    font-weight: 300;
}

/* ===== 01 — FAÍSCA ===== */
.manifesto__quote {
    position: relative;
    max-width: 1060px;
    margin: 0 auto clamp(90px, 12vw, 150px);
    padding: clamp(48px, 6vw, 80px) 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.manifesto__quote-mark {
    position: absolute;
    top: 6px;
    left: -0.5em;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(7rem, 13vw, 13rem);
    line-height: 1;
    color: rgba(139, 92, 246, 0.22);
    pointer-events: none;
}

.quote {
    position: relative;
    max-width: 980px;
    font-size: clamp(2.1rem, 4.8vw, 4.8rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
    font-weight: 500;
    color: var(--ink);
}

.quote .word {
    display: inline-block;
    opacity: 0.16;
    transition: opacity 0.18s linear;
}

.quote__caption {
    display: block;
    margin-top: 28px;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--violet-soft);
}

.manifesto__grid {
    display: grid;
    grid-template-columns: 6.5fr 5.5fr;
    gap: clamp(40px, 7vw, 110px);
    align-items: start;
}

.manifesto__copy p {
    max-width: 590px;
    font-size: clamp(1.02rem, 1.35vw, 1.18rem);
    line-height: 1.75;
    color: var(--ink-dim);
    font-weight: 300;
}

.manifesto__copy p + p {
    margin-top: 24px;
}

.manifesto__copy .manifesto__highlight {
    margin-top: 42px;
    padding-left: 24px;
    border-left: 1px solid var(--violet);
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.thread {
    position: relative;
    padding: 30px 30px 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(150deg, rgba(139, 92, 246, 0.07), transparent 45%),
        var(--bg-card);
    overflow: hidden;
}

.thread::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -80px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.12);
    filter: blur(40px);
    pointer-events: none;
}

.thread__label {
    display: block;
    padding-bottom: 18px;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.thread__list li {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.thread__num {
    font-family: var(--mono);
    font-size: 9px;
    color: var(--violet-soft);
    padding-top: 3px;
}

.thread__list strong {
    display: block;
    margin-bottom: 3px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.thread__list p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
}

.thread__stamp {
    display: block;
    margin-top: 8px;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.12em;
    color: var(--faint);
    text-align: right;
}

/* ===== TICKER ===== */
.ticker {
    margin-top: clamp(80px, 10vw, 130px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    padding: 22px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker__track {
    display: flex;
    align-items: center;
    gap: 34px;
    width: max-content;
    animation: ticker-move 32s linear infinite;
}

.ticker:hover .ticker__track {
    animation-play-state: paused;
}

.ticker__track span {
    font-size: clamp(1.9rem, 3.6vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.05em;
    white-space: nowrap;
    color: var(--ink-dim);
}

.ticker__track em {
    font-style: normal;
    font-size: 14px;
    color: var(--violet-soft);
}

@keyframes ticker-move {
    to { transform: translateX(-50%); }
}

/* ===== 02 — JORNADA ===== */
.journey {
    position: relative;
    height: 420vh;
    min-height: 100vh;
    min-height: 100svh;
    background:
        radial-gradient(ellipse 45% 45% at 78% 48%, rgba(111, 157, 255, 0.06), transparent 70%),
        #09090e;
}

.journey__sticky {
    position: sticky;
    top: 0;
    display: grid;
    grid-template-columns: 5.2fr 6.8fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    height: 100vh;
    height: 100svh;
    padding-top: 20px;
    padding-bottom: 20px;
}

.journey__aside {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 470px;
}

.journey__counter {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 28px;
    font-family: var(--mono);
}

.journey__counter > span:first-child {
    font-size: 44px;
    letter-spacing: -0.08em;
    line-height: 0.9;
    color: var(--ink);
}

.journey__counter-total {
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.08em;
}

.journey__steps {
    position: relative;
    flex: 1;
    min-height: 390px;
}

.journey__step {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(24px);
    transition: opacity 0.32s var(--ease), transform 0.5s var(--ease), visibility 0.32s;
}

.journey__step.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.journey__step-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.journey__step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    font-family: var(--mono);
    font-size: 7px;
    color: var(--violet-soft);
    flex-shrink: 0;
}

.journey__meta {
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.12em;
    color: var(--muted);
    line-height: 1.4;
}

.journey__step h3 {
    font-size: clamp(1.9rem, 2.7vw, 2.9rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    margin-bottom: 18px;
    max-width: 480px;
}

.journey__step > p {
    max-width: 470px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink-dim);
    font-weight: 300;
}

.journey__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 22px;
}

.journey__list li {
    position: relative;
    padding-left: 18px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.03em;
    color: var(--muted);
}

.journey__list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--violet-soft);
    font-size: 10px;
}

.journey__progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    margin-top: 26px;
}

.journey__ticks {
    display: flex;
    gap: 6px;
    flex: 1;
    max-width: 220px;
}

.journey__ticks span {
    flex: 1;
    height: 2px;
    background: var(--line);
    border-radius: 2px;
    transition: background-color 0.4s ease;
}

.journey__ticks span.is-active {
    background: linear-gradient(90deg, var(--violet), var(--blue));
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

.journey__hint {
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
    white-space: nowrap;
}

/* Palco da jornada */
.journey__stage {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.journey__stage-glow {
    position: absolute;
    inset: 10% 5%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle at 55% 45%, rgba(139, 92, 246, 0.16), transparent 65%);
    filter: blur(50px);
    pointer-events: none;
}

.stage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(28px) scale(0.975);
    transition: opacity 0.6s var(--ease), transform 0.7s var(--ease), visibility 0.6s;
    pointer-events: none;
}

.stage.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.stage > * {
    width: 100%;
    max-width: 620px;
}

.window,
.terminal,
.integration,
.agents {
    position: relative;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: rgba(16, 16, 22, 0.86);
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.window__bar,
.terminal__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 38px;
    padding: 0 15px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.025);
}

.window__dots {
    display: inline-flex;
    gap: 5px;
    flex-shrink: 0;
}

.window__dots i {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--faint);
}

.window__dots i:first-child { background: rgba(255, 143, 168, 0.7); }
.window__dots i:nth-child(2) { background: rgba(255, 214, 143, 0.6); }
.window__dots i:nth-child(3) { background: rgba(158, 230, 176, 0.55); }

.window__url {
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.05em;
    color: var(--faint);
}

.window__live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.window__live i,
.integration__status i,
.agents__live i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px rgba(158, 230, 176, 0.7);
}

.window__body {
    padding: clamp(20px, 3vw, 32px);
}

.window__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.window__eyebrow,
.integration__label,
.agents__eyebrow {
    display: block;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.14em;
    color: var(--violet-soft);
    margin-bottom: 8px;
}

.window__head h4,
.agents__head h4 {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.pill {
    padding: 5px 10px;
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.08em;
    color: var(--violet-soft);
    white-space: nowrap;
}

.checklist {
    border-top: 1px solid var(--line);
}

.checklist__item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.02em;
    color: var(--ink-dim);
}

.checklist__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid var(--line);
    font-size: 8px;
    color: var(--muted);
    flex-shrink: 0;
}

.checklist__item.is-done .checklist__icon {
    color: var(--green);
    border-color: rgba(158, 230, 176, 0.3);
    background: rgba(158, 230, 176, 0.06);
}

.checklist__item em {
    margin-left: auto;
    font-style: normal;
    font-size: 7px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--faint);
}

.checklist__item.is-done em {
    color: var(--green);
}

.window__foot {
    padding-top: 20px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 16px;
    color: var(--muted);
}

/* Terminal */
.terminal {
    background: rgba(9, 12, 10, 0.92);
    border-color: rgba(158, 230, 176, 0.14);
}

.terminal__title {
    font-family: var(--mono);
    font-size: 8px;
    color: var(--faint);
}

.terminal__badge {
    margin-left: auto;
    font-family: var(--mono);
    font-size: 7px;
    color: rgba(158, 230, 176, 0.7);
    border: 1px solid rgba(158, 230, 176, 0.2);
    padding: 3px 7px;
    border-radius: 999px;
}

.terminal__body {
    padding: clamp(24px, 3.4vw, 38px);
    font-family: var(--mono);
    font-size: clamp(10px, 1.1vw, 12px);
    line-height: 2;
}

.terminal__prompt {
    color: var(--ink);
    margin-bottom: 12px;
}

.terminal__prompt span {
    color: var(--violet-soft);
    margin-right: 8px;
}

.terminal__line {
    color: var(--ink-dim);
}

.terminal__line > span:first-child {
    color: var(--green);
    margin-right: 8px;
}

.terminal__line:nth-child(3) { opacity: 0.8; }
.terminal__line:nth-child(4) { opacity: 0.65; }
.terminal__line:nth-child(5) { opacity: 0.5; }

.terminal__result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
    padding: 14px 16px;
    border: 1px solid rgba(158, 230, 176, 0.16);
    border-radius: 8px;
    background: rgba(158, 230, 176, 0.04);
    font-size: 8px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.terminal__result strong {
    font-family: var(--sans);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.04em;
    text-transform: none;
    color: var(--green);
    white-space: nowrap;
}

.terminal__foot {
    display: flex;
    gap: 18px;
    padding: 13px 20px;
    border-top: 1px solid rgba(158, 230, 176, 0.1);
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
}

/* Integração */
.integration {
    background: rgba(11, 13, 20, 0.9);
    border-color: rgba(111, 157, 255, 0.18);
}

.integration__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
}

.integration__label {
    margin: 0;
    color: var(--blue);
}

.integration__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.integration__map {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: clamp(36px, 5vw, 58px) 20px;
}

.integration__node {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 92px;
    height: 92px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--bg-card);
    font-family: var(--mono);
    font-size: 14px;
    letter-spacing: 0.04em;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 8px rgba(11, 13, 20, 0.7);
}

.integration__node em {
    font-style: normal;
    font-size: 7px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--faint);
}

.integration__node--core {
    width: 112px;
    height: 112px;
    border-color: rgba(111, 157, 255, 0.4);
    background: linear-gradient(145deg, rgba(111, 157, 255, 0.12), rgba(16, 16, 22, 0.9));
    color: var(--blue);
    box-shadow: 0 0 0 8px rgba(11, 13, 20, 0.7), 0 0 50px rgba(111, 157, 255, 0.14);
}

.integration__path {
    position: relative;
    width: clamp(36px, 6vw, 82px);
    height: 1px;
    background: repeating-linear-gradient(90deg, rgba(111, 157, 255, 0.45) 0 4px, transparent 4px 8px);
}

.integration__path i {
    position: absolute;
    top: -2px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 8px var(--blue);
    animation: packet 2.6s linear infinite;
}

.integration__path--alt i {
    animation-delay: 1.3s;
}

@keyframes packet {
    0% { left: 0; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.integration__code {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 24px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.22);
    font-family: var(--mono);
    font-size: 9px;
}

.integration__code-label {
    color: var(--violet-soft);
    font-size: 7px;
    letter-spacing: 0.08em;
}

.integration__code code {
    color: var(--ink-dim);
    font-size: 10px;
}

.integration__tags {
    display: flex;
    gap: 14px;
    padding: 18px 24px;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
}

/* Agentes */
.agents {
    background:
        radial-gradient(circle at 80% 0%, rgba(139, 92, 246, 0.12), transparent 55%),
        rgba(14, 13, 22, 0.94);
    border-color: rgba(139, 92, 246, 0.25);
}

.agents__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 24px 18px;
    border-bottom: 1px solid var(--line);
}

.agents__live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.agents__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 22px 24px;
}

.agent {
    padding: 16px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.agent:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.06);
}

.agent__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 7px;
    color: var(--faint);
    margin-bottom: 18px;
}

.agent__top i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--violet-soft);
    box-shadow: 0 0 8px rgba(167, 139, 250, 0.8);
}

.agent strong {
    display: block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 3px;
}

.agent p {
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.03em;
    color: var(--muted);
}

.agents__flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 24px 20px;
}

.agents__flow span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.35);
    animation: agent-flow 2.2s ease-in-out infinite;
}

.agents__flow span:nth-child(2) { animation-delay: 0.3s; }
.agents__flow span:nth-child(3) { animation-delay: 0.6s; }

@keyframes agent-flow {
    0%, 100% { background: rgba(139, 92, 246, 0.3); transform: scale(1); }
    50% { background: var(--violet-soft); transform: scale(1.4); box-shadow: 0 0 10px rgba(167, 139, 250, 0.7); }
}

.agents__foot {
    display: flex;
    gap: 18px;
    padding: 13px 24px;
    border-top: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--faint);
}

.journey__outro {
    max-width: 760px;
    margin: clamp(30px, 5vw, 70px) auto 0;
    text-align: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--ink-dim);
}

/* ===== 03 — SISTEMAS ===== */
.case {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: clamp(36px, 6vw, 90px);
    align-items: center;
    padding: clamp(60px, 8vw, 100px) 0;
    border-top: 1px solid var(--line);
}

.case + .case {
    margin-top: 20px;
}

.case--prisma {
    --case-accent: var(--violet-soft);
    --case-rgb: 139, 92, 246;
}

.case--epass {
    --case-accent: var(--coral);
    --case-rgb: 255, 143, 168;
}

.case--epass .case__media {
    order: 2;
}

.case--epass .case__body {
    order: 1;
}

.case__media {
    position: relative;
    will-change: transform;
}

.case__media-glow {
    position: absolute;
    inset: 8% 6%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--case-rgb), 0.22), transparent 68%);
    filter: blur(60px);
    transition: opacity 0.6s ease;
}

.browser {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(var(--case-rgb), 0.25);
    border-radius: 12px;
    background: var(--bg-card-2);
    color: inherit;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
    transform: perspective(1400px) rotateY(1.6deg) rotateX(0.8deg);
    transition: transform 0.8s var(--ease), border-color 0.5s ease, box-shadow 0.8s var(--ease);
}

.case--epass .browser {
    transform: perspective(1400px) rotateY(-1.6deg) rotateX(0.8deg);
}

.case__media:hover .browser {
    transform: perspective(1400px) rotateY(0deg) rotateX(0deg) translateY(-6px);
    border-color: rgba(var(--case-rgb), 0.45);
    box-shadow: 0 40px 110px rgba(0, 0, 0, 0.6), 0 0 80px rgba(var(--case-rgb), 0.12);
}

.browser__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 34px;
    padding: 0 13px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.browser__url {
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.04em;
    color: var(--faint);
    background: rgba(255, 255, 255, 0.035);
    padding: 4px 12px;
    border-radius: 999px;
}

.browser__tag {
    margin-left: auto;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.12em;
    color: var(--case-accent);
}

.browser img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.9s var(--ease);
}

.case__media:hover .browser img {
    transform: scale(1.02);
}

.browser--light {
    background: #f5eef0;
    border-color: rgba(255, 143, 168, 0.28);
}

.browser--light .browser__bar {
    background: #fff8f9;
    border-bottom-color: rgba(20, 20, 25, 0.08);
}

.browser--light .browser__url {
    color: #9a8d92;
    background: rgba(20, 20, 25, 0.04);
}

.browser--light .browser__tag {
    color: #d9557a;
}

.browser--light .window__dots i:first-child { background: #e78b9c; }
.browser--light .window__dots i:nth-child(2) { background: #e8c77d; }
.browser--light .window__dots i:nth-child(3) { background: #9bd0a8; }

.case__media-caption {
    display: block;
    margin-top: 16px;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.case__body {
    position: relative;
    padding: 10px 0;
}

.case__num {
    position: absolute;
    top: -70px;
    right: -10px;
    z-index: -1;
    font-family: var(--sans);
    font-size: clamp(7rem, 12vw, 12rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.08em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(var(--case-rgb), 0.22);
    opacity: 0.6;
    pointer-events: none;
}

.case__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--case-accent);
}

.case__eyebrow span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(var(--case-rgb), 0.35);
    border-radius: 50%;
    font-size: 7px;
}

.case__title {
    font-size: clamp(3rem, 5.2vw, 5.4rem);
    line-height: 0.9;
    letter-spacing: -0.07em;
    margin-bottom: 12px;
}

.case__tagline {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    line-height: 1.2;
    color: var(--case-accent);
    margin-bottom: 22px;
}

.case__desc {
    max-width: 480px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink-dim);
    font-weight: 300;
}

.case__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 28px 0;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.case__stats div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.case__stats strong {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--case-accent);
}

.case__stats span {
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.4;
}

.case__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 30px;
}

.case__tags span {
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.04em;
    color: var(--ink-dim);
    background: rgba(255, 255, 255, 0.015);
}

.case__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--line-strong);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.case__link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.4s var(--ease);
}

.case__link:hover {
    color: var(--case-accent);
    border-color: var(--case-accent);
}

.case__link:hover svg {
    transform: translate(3px, -3px);
}

/* Arquivo */
.archive {
    margin-top: clamp(60px, 8vw, 110px);
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.archive__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
}

.archive__head h3 {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.archive__all {
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.3s ease;
}

.archive__all:hover {
    color: var(--violet-soft);
}

.archive__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.archive-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px 24px 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.015);
    transition: transform 0.5s var(--ease), border-color 0.4s ease, background-color 0.4s ease;
}

.archive-card:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.035);
}

.archive-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 8px;
    color: var(--faint);
}

.archive-card__top span:last-child {
    transition: transform 0.4s var(--ease), color 0.3s ease;
}

.archive-card:hover .archive-card__top span:last-child {
    transform: translate(3px, -3px);
    color: var(--violet-soft);
}

.archive-card h4 {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.archive-card p {
    flex: 1;
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
}

.archive-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--faint);
}

.archive-card__tags span:not(:last-child)::after {
    content: ' ·';
    color: var(--faint);
}

/* ===== 04 — ARSENAL ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.skill-cluster {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 230px;
    padding: 28px 26px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.015);
    overflow: hidden;
    transition: border-color 0.4s ease, background-color 0.4s ease, transform 0.5s var(--ease);
}

.skill-cluster::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 0%, rgba(139, 92, 246, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.skill-cluster:hover {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-4px);
}

.skill-cluster:hover::before {
    opacity: 1;
}

.skill-cluster__num {
    position: absolute;
    top: 26px;
    right: 24px;
    font-family: var(--mono);
    font-size: 9px;
    color: var(--faint);
}

.skill-cluster h3 {
    max-width: 230px;
    font-size: clamp(1.2rem, 1.6vw, 1.55rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
    margin-bottom: 10px;
}

.skill-cluster > p {
    max-width: 270px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 24px;
}

.skill-cluster__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.skill-cluster__tags span {
    padding: 5px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.03em;
    color: var(--ink-dim);
    background: rgba(0, 0, 0, 0.16);
}

.skill-cluster--accent {
    background:
        linear-gradient(145deg, rgba(139, 92, 246, 0.14), rgba(111, 157, 255, 0.04) 55%, transparent),
        rgba(255, 255, 255, 0.02);
    border-color: rgba(139, 92, 246, 0.3);
}

.skill-cluster--accent .skill-cluster__num,
.skill-cluster--accent h3 {
    color: var(--violet-soft);
}

.skill-cluster--accent .skill-cluster__tags span {
    border-color: rgba(167, 139, 250, 0.25);
    color: #dcd2ff;
}

.skill-cluster--note {
    border-style: dashed;
}

.skill-cluster--note .skill-cluster__num {
    font-size: 18px;
    color: var(--violet-soft);
}

.skill-cluster__note {
    display: block;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.03em;
    line-height: 1.5;
    color: var(--muted);
}

/* Marquee */
.marquee {
    margin: clamp(70px, 9vw, 110px) 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    padding: 20px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee__track {
    display: flex;
    align-items: center;
    gap: 26px;
    width: max-content;
    animation: marquee-move 36s linear infinite;
}

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

.marquee__track span {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--ink-dim);
}

.marquee__track em {
    font-style: normal;
    color: var(--violet-soft);
    font-size: 9px;
}

@keyframes marquee-move {
    to { transform: translateX(-50%); }
}

/* Credenciais */
.credentials {
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: clamp(30px, 5vw, 80px);
    padding-top: 20px;
}

.credentials__head h3 {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(2rem, 3.2vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.credentials__head span {
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.credentials__list {
    border-top: 1px solid var(--line);
}

.credentials__list li {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
}

.credentials__year {
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.05em;
    color: var(--violet-soft);
}

.credentials__list strong {
    display: block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.credentials__list div span {
    display: block;
    margin-top: 2px;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.04em;
    color: var(--muted);
}

/* ===== 05 — CONTATO ===== */
.section-contact {
    position: relative;
    overflow: hidden;
    padding-top: clamp(120px, 14vw, 200px);
    padding-bottom: 0;
    background:
        radial-gradient(ellipse 60% 50% at 70% 25%, rgba(139, 92, 246, 0.12), transparent 70%),
        linear-gradient(to bottom, var(--bg-soft), var(--bg));
    border-top: 1px solid var(--line);
}

.contact__glow {
    position: absolute;
    left: 50%;
    top: 0;
    width: 1000px;
    height: 700px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 65%);
    filter: blur(60px);
    pointer-events: none;
}

.display--contact {
    font-size: clamp(3rem, 7vw, 7.6rem);
}

.contact__serif {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    padding-right: 0.08em;
}

.contact__body {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: clamp(40px, 7vw, 110px);
    margin-top: clamp(60px, 8vw, 100px);
    padding-top: clamp(44px, 6vw, 70px);
    border-top: 1px solid var(--line);
}

.contact__label {
    display: block;
    margin-bottom: 18px;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.email-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 0 0 10px;
    color: var(--ink);
    font-size: clamp(1.2rem, 2.9vw, 2.4rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.1;
    text-align: left;
}

.email-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient);
    transform: scaleX(0.15);
    transform-origin: 0 50%;
    transition: transform 0.6s var(--ease);
}

.email-link:hover::after {
    transform: scaleX(1);
}

.email-link__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    flex-shrink: 0;
    transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.4s var(--ease);
}

.email-link__icon svg {
    width: 16px;
    height: 16px;
}

.email-link:hover .email-link__icon {
    background: var(--violet);
    border-color: var(--violet);
    transform: rotate(-8deg);
}

.contact__hint {
    display: block;
    margin-top: 12px;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact__links {
    display: flex;
    flex-direction: column;
    max-width: 460px;
    margin-top: clamp(44px, 6vw, 70px);
}

.contact__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 0;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--ink-dim);
    transition: color 0.3s ease, padding-left 0.4s var(--ease);
}

.contact__link:last-child {
    border-bottom: 1px solid var(--line);
}

.contact__link:hover {
    color: var(--ink);
    padding-left: 8px;
}

.contact__link-arrow {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--violet-soft);
}

.contact__aside {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 4px;
}

.contact__aside-label {
    display: block;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact__meta {
    display: flex;
    flex-direction: column;
}

.contact__meta div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.contact__meta div:last-child {
    border-bottom: 1px solid var(--line);
}

.contact__meta span {
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact__meta strong {
    font-size: 11px;
    font-weight: 400;
    color: var(--ink-dim);
    text-align: right;
}

.contact__signature {
    font-family: var(--serif);
    font-style: italic;
    font-size: 16px;
    line-height: 1.4;
    color: var(--muted);
    margin-top: auto;
}

/* ===== FOOTER ===== */
.footer {
    margin-top: clamp(80px, 10vw, 140px);
    border-top: 1px solid var(--line);
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 28px;
    padding-bottom: 28px;
}

.footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

.footer__brand .brand__mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 10px;
}

.footer__copy {
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.06em;
    color: var(--muted);
    text-align: center;
}

.footer__top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.3s ease;
}

.footer__top span:last-child {
    color: var(--violet-soft);
    transition: transform 0.4s var(--ease);
}

.footer__top:hover {
    color: var(--ink);
}

.footer__top:hover span:last-child {
    transform: translateY(-3px);
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 10002;
    padding: 14px 20px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--ink);
    color: var(--bg);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.04em;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.45s var(--ease);
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== TRADUÇÃO — ESTADO ===== */
body.lang-en .lang__en,
body.lang-pt .lang__pt {
    color: var(--ink);
}

body.lang-en .lang__pt,
body.lang-pt .lang__en {
    color: var(--faint);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1280px) {
    .chapter-rail {
        display: none;
    }

    .hero__title {
        font-size: clamp(4.2rem, 9.6vw, 9.2rem);
    }

    .nav {
        gap: 20px;
        margin-right: 26px;
    }

}

@media (max-width: 1100px) {
    .nav {
        display: none;
    }

    .hero__copy {
        grid-column: 1 / 8;
    }

    .hero__portrait {
        grid-column: 8 / 13;
        width: min(100%, 310px);
    }

    .portrait__seal {
        left: -34px;
        width: 108px;
        height: 108px;
    }

    .portrait__chip {
        left: -20px;
    }

    .chapter-head {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .chapter-head__meta {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .chapter-head__num {
        width: 30px;
        height: 30px;
    }

    .journey__sticky {
        grid-template-columns: 4.6fr 5.4fr;
        gap: 36px;
    }

    .journey__step h3 {
        font-size: 2rem;
    }

    .case {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .case__media,
    .case--epass .case__media {
        order: 1;
    }

    .case__body,
    .case--epass .case__body {
        order: 2;
    }

    .case__num {
        top: -40px;
        right: 0;
    }

    .case__desc {
        max-width: 620px;
    }

    .case__media {
        max-width: 900px;
        margin: 0 auto;
        width: 100%;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero {
        min-height: auto;
        padding-top: 130px;
        padding-bottom: 120px;
    }

    .hero__inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero__copy {
        width: 100%;
    }

    .hero__eyebrow {
        max-width: none;
    }

    .hero__title {
        font-size: clamp(3.7rem, 13.2vw, 7rem);
        line-height: 0.86;
    }

    .hero__portrait {
        align-self: center;
        width: min(72vw, 330px);
        margin-top: 54px;
    }

    .hero__facts {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 64px;
    }

    .fact {
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        gap: 24px;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--line);
    }

    .fact:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .fact__value {
        text-align: right;
        max-width: 55%;
    }

    .scroll-cue {
        bottom: 26px;
    }

    .manifesto__grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .journey {
        height: auto;
    }

    .journey__sticky {
        position: static;
        display: block;
        min-height: auto;
        height: auto;
        padding-top: 0;
    }

    .journey__aside {
        min-height: auto;
    }

    .journey__steps {
        min-height: 0;
    }

    .journey__step {
        position: relative;
        inset: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 28px 0;
        border-top: 1px solid var(--line);
    }

    .journey__step:last-child {
        border-bottom: 1px solid var(--line);
    }

    .journey__counter {
        margin-bottom: 0;
    }

    .journey__progress {
        display: none;
    }

    .journey__stage {
        display: none;
    }

    .journey__step h3 {
        font-size: clamp(1.8rem, 4.2vw, 2.4rem);
        max-width: 600px;
    }

    .journey__step > p {
        max-width: 600px;
    }

    .journey__outro {
        margin-top: 60px;
    }

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

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

    .contact__body {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .contact__aside {
        padding-top: 0;
    }

    .contact__signature {
        margin-top: 0;
    }

    .footer__inner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .footer__brand {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .grain {
        animation: none;
    }
}

@media (max-width: 640px) {
    :root {
        --pad: 20px;
    }

    .brand__name {
        display: none;
    }

    .header__actions {
        gap: 10px;
    }

    .site-header__inner {
        padding-inline: 18px;
    }

    .menu-button {
        width: 36px;
        height: 36px;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
    }

    .lang {
        padding: 6px 10px;
    }

    section.chapter {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .hero {
        padding-top: 116px;
        padding-bottom: 96px;
    }

    .hero__eyebrow {
        gap: 12px;
        margin-bottom: 34px;
    }

    .hero__loc {
        font-size: 8px;
    }

    .hero__title {
        font-size: clamp(3.15rem, 15.4vw, 5.2rem);
        letter-spacing: -0.07em;
    }

    .hero__role {
        font-size: 8px;
        margin-top: 24px;
    }

    .hero__lede {
        font-size: 0.98rem;
        margin-top: 20px;
    }

    .hero__actions {
        margin-top: 30px;
        width: 100%;
    }

    .btn {
        width: 100%;
        min-height: 52px;
    }

    .hero__portrait {
        width: min(78vw, 300px);
        margin-top: 48px;
    }

    .portrait__seal {
        width: 96px;
        height: 96px;
        left: -26px;
        top: 12%;
    }

    .portrait__chip {
        left: -12px;
        bottom: 36px;
        padding: 11px 14px;
    }

    .portrait__note {
        bottom: -28px;
        right: 0;
        font-size: 7px;
    }

    .fact {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .fact__value {
        text-align: left;
        max-width: 100%;
    }

    .scroll-cue {
        display: none;
    }

    .display {
        font-size: clamp(2.55rem, 10.8vw, 3.8rem);
        margin-bottom: 22px;
    }

    .chapter-head {
        margin-bottom: 56px;
    }

    .chapter-head__lede {
        font-size: 0.98rem;
    }

    .manifesto__quote {
        padding: 40px 0;
        margin-bottom: 64px;
    }

    .quote {
        font-size: clamp(1.9rem, 7.8vw, 2.8rem);
    }

    .manifesto__quote-mark {
        left: -0.3em;
        opacity: 0.6;
    }

    .manifesto__copy .manifesto__highlight {
        font-size: 1.4rem;
    }

    .thread {
        padding: 24px 20px;
    }

    .ticker {
        padding: 16px 0;
    }

    .ticker__track span {
        font-size: 1.7rem;
    }

    .journey__step h3 {
        font-size: 1.8rem;
    }

    .journey__step-head {
        flex-wrap: wrap;
        gap: 8px;
    }

    .case {
        padding: 50px 0;
    }

    .case__title {
        font-size: 3rem;
    }

    .case__stats {
        gap: 10px;
    }

    .case__stats strong {
        font-size: 1.4rem;
    }

    .case__num {
        font-size: 6rem;
        top: -24px;
    }

    .case__body {
        padding-top: 0;
    }

    .browser {
        transform: none;
    }

    .case--epass .browser {
        transform: none;
    }

    .archive__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

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

    .skill-cluster {
        min-height: 200px;
    }

    .credentials__list li {
        grid-template-columns: 68px 1fr;
        gap: 10px;
    }

    .credentials__list strong {
        font-size: 12px;
    }

    .marquee {
        margin: 54px 0;
    }

    .display--contact {
        font-size: clamp(2.8rem, 12.4vw, 4.6rem);
    }

    .email-link {
        font-size: clamp(1.02rem, 4.7vw, 1.5rem);
        gap: 12px;
    }

    .email-link__icon {
        width: 36px;
        height: 36px;
    }

    .contact__body {
        margin-top: 50px;
        padding-top: 40px;
    }

    .contact__meta div {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    .contact__meta strong {
        text-align: left;
    }

    .footer__copy {
        width: 100%;
    }

    .footer__top {
        font-size: 7px;
    }

    .preloader__tag,
    .preloader__place {
        font-size: 7px;
    }

    .preloader__bottom {
        gap: 16px;
    }

    .menu {
        padding-top: 96px;
    }

    .menu__link {
        font-size: clamp(2.1rem, 10vw, 3.2rem);
    }

    .menu__num {
        font-size: 8px;
    }

    .menu__meta {
        gap: 14px;
        font-size: 8px;
    }

    .menu__meta > span:last-child {
        margin-left: 0;
    }

    .toast {
        right: 20px;
        left: 20px;
        bottom: 20px;
        text-align: center;
    }
}

/* ===== TELAS DESKTOP MAIS BAIXAS ===== */
@media (min-width: 901px) and (max-height: 920px) {
    .hero {
        padding-top: clamp(90px, 11vh, 120px);
        padding-bottom: 50px;
    }

    .hero__eyebrow {
        margin-bottom: 22px;
    }

    .hero__title {
        font-size: clamp(3.8rem, 8.6vw, 8.6rem);
    }

    .hero__role {
        margin-top: 18px;
    }

    .hero__lede {
        margin-top: 16px;
    }

    .hero__actions {
        margin-top: 24px;
    }

    .hero__facts {
        margin-top: 30px;
        padding-top: 18px;
    }

    .hero__portrait {
        width: min(100%, 330px);
    }
}

/* ===== MOVIMENTO REDUZIDO ===== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .grain,
    .hero__canvas,
    .cursor,
    .scroll-cue__line::after,
    .hero__glow,
    .portrait__seal svg,
    .portrait__chip,

    .hero__canvas,
    .cursor {
        display: none;
    }

    .line__inner {
        transform: none !important;
        opacity: 1 !important;
    }

    .quote .word {
        opacity: 1 !important;
    }

    .ticker__track,
    .marquee__track {
        animation: none !important;
    }

    .browser,
    .case--epass .browser {
        transform: none;
    }
}

/* ===== MOVIMENTO REDUZIDO — JORNADA ESTÁTICA ===== */
@media (prefers-reduced-motion: reduce) and (min-width: 901px) {
    .journey {
        height: auto;
        min-height: 0;
    }

    .journey__sticky {
        position: static;
        display: block;
        height: auto;
        min-height: 0;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .journey__aside {
        min-height: 0;
    }

    .journey__counter {
        display: none;
    }

    .journey__steps {
        min-height: 0;
    }

    .journey__step {
        position: relative;
        inset: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 30px 0;
        border-top: 1px solid var(--line);
    }

    .journey__step:last-child {
        border-bottom: 1px solid var(--line);
    }

    .journey__progress,
    .journey__stage {
        display: none;
    }

    .journey__step h3,
    .journey__step > p {
        max-width: 680px;
    }
}

/* ===== FALLBACK SEM JS ===== */
.no-js .preloader,
.no-js .cursor {
    display: none;
}

/* ==========================================================================
   TEMA CLARO
   ========================================================================== */
html[data-theme="light"] {
    color-scheme: light;
    --bg: #f2efe8;
    --bg-soft: #ebe6dc;
    --bg-card: #fbf8f2;
    --bg-card-2: #f7f2e9;
    --ink: #17141b;
    --ink-dim: #514b57;
    --muted: #6b6570;
    --faint: #8a838d;
    --line: rgba(23, 20, 27, 0.12);
    --line-strong: rgba(23, 20, 27, 0.24);
    --violet: #6d3ff0;
    --violet-soft: #6b3ee8;
    --blue: #2f63d9;
    --coral: #c73b64;
    --green: #1e7d48;
    --gradient: linear-gradient(105deg, #4c1d95 0%, #6d28d9 40%, #1d4ed8 70%, #9d174d 100%);
    scrollbar-color: #b8afa2 var(--bg);
}

html[data-theme="light"] .scroll-progress {
    background: rgba(23, 20, 27, 0.08);
}

html[data-theme="light"] .grain {
    opacity: 0.03;
}

html[data-theme="light"] .preloader {
    background: var(--bg);
}

html[data-theme="light"] .preloader__count {
    -webkit-text-stroke: 1px rgba(23, 20, 27, 0.28);
}

html[data-theme="light"] .preloader__bar {
    background: rgba(23, 20, 27, 0.14);
}

html[data-theme="light"] .site-header.is-scrolled {
    background: rgba(242, 239, 232, 0.8);
}

html[data-theme="light"] .menu {
    background: #f7f2e9;
}

html[data-theme="light"] .menu__glow {
    background: radial-gradient(circle, rgba(109, 63, 240, 0.12), transparent 65%);
}

html[data-theme="light"] .menu-button:hover,
html[data-theme="light"] .theme-toggle:hover {
    background: rgba(23, 20, 27, 0.045);
}

html[data-theme="light"] .hero__grid {
    background-image:
        linear-gradient(to right, rgba(23, 20, 27, 0.055) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(23, 20, 27, 0.055) 1px, transparent 1px);
}

html[data-theme="light"] .hero__glow {
    opacity: 0.7;
}

html[data-theme="light"] .hero__blur {
    background: rgba(47, 99, 217, 0.1);
}

html[data-theme="light"] .hero__portrait::before {
    border-color: rgba(109, 63, 240, 0.3);
}

html[data-theme="light"] .btn--ghost {
    background: rgba(23, 20, 27, 0.02);
}

html[data-theme="light"] .btn--ghost:hover {
    background: rgba(23, 20, 27, 0.055);
    border-color: rgba(23, 20, 27, 0.4);
}

html[data-theme="light"] .portrait__frame {
    box-shadow: 0 30px 80px rgba(54, 38, 22, 0.18);
}

html[data-theme="light"] .portrait__frame img {
    filter: grayscale(1) contrast(1.02) brightness(0.93);
}

html[data-theme="light"] .hero__portrait:hover .portrait__frame img {
    filter: grayscale(0.12) contrast(1) brightness(1);
}

html[data-theme="light"] .portrait__grade {
    background:
        linear-gradient(to top, rgba(23, 20, 27, 0.64), transparent 45%),
        radial-gradient(circle at 50% 30%, rgba(109, 63, 240, 0.1), transparent 55%);
}

html[data-theme="light"] .portrait__scan {
    background: repeating-linear-gradient(to bottom, rgba(23, 20, 27, 0.03) 0 1px, transparent 1px 4px);
}

html[data-theme="light"] .portrait__seal {
    background: rgba(251, 248, 241, 0.84);
    box-shadow: 0 16px 50px rgba(54, 38, 22, 0.12);
}

html[data-theme="light"] .portrait__chip {
    background: rgba(251, 248, 241, 0.9);
    box-shadow: 0 20px 50px rgba(54, 38, 22, 0.14);
}

html[data-theme="light"] .journey {
    background:
        radial-gradient(ellipse 45% 45% at 78% 48%, rgba(47, 99, 217, 0.07), transparent 70%),
        var(--bg-soft);
}

html[data-theme="light"] .journey__stage-glow {
    background: radial-gradient(circle at 55% 45%, rgba(109, 63, 240, 0.12), transparent 65%);
}

html[data-theme="light"] .window,
html[data-theme="light"] .terminal,
html[data-theme="light"] .integration,
html[data-theme="light"] .agents {
    box-shadow: 0 30px 80px rgba(54, 38, 22, 0.14);
}

html[data-theme="light"] .window {
    background: rgba(251, 248, 241, 0.92);
}

html[data-theme="light"] .window__bar,
html[data-theme="light"] .terminal__bar {
    background: rgba(23, 20, 27, 0.035);
}

html[data-theme="light"] .terminal {
    background: #f5faf6;
    border-color: rgba(30, 125, 72, 0.18);
}

html[data-theme="light"] .terminal__badge {
    color: var(--green);
    border-color: rgba(30, 125, 72, 0.2);
}

html[data-theme="light"] .terminal__foot {
    border-top-color: rgba(30, 125, 72, 0.14);
}

html[data-theme="light"] .terminal__result {
    background: rgba(30, 125, 72, 0.06);
    border-color: rgba(30, 125, 72, 0.2);
}

html[data-theme="light"] .checklist__item.is-done .checklist__icon {
    background: rgba(30, 125, 72, 0.07);
    border-color: rgba(30, 125, 72, 0.28);
}

html[data-theme="light"] .integration {
    background: rgba(248, 246, 252, 0.94);
    border-color: rgba(47, 99, 217, 0.2);
}

html[data-theme="light"] .integration__path {
    background: repeating-linear-gradient(90deg, rgba(47, 99, 217, 0.45) 0 4px, transparent 4px 8px);
}

html[data-theme="light"] .integration__node {
    box-shadow: 0 0 0 8px rgba(242, 239, 232, 0.85);
}

html[data-theme="light"] .integration__node--core {
    background: linear-gradient(145deg, rgba(47, 99, 217, 0.1), rgba(251, 248, 241, 0.96));
    box-shadow: 0 0 0 8px rgba(242, 239, 232, 0.85), 0 0 50px rgba(47, 99, 217, 0.12);
}

html[data-theme="light"] .integration__code {
    background: rgba(23, 20, 27, 0.04);
}

html[data-theme="light"] .agents {
    background:
        radial-gradient(circle at 80% 0%, rgba(109, 63, 240, 0.1), transparent 55%),
        rgba(250, 247, 252, 0.95);
    border-color: rgba(109, 63, 240, 0.2);
}

html[data-theme="light"] .agent {
    background: rgba(23, 20, 27, 0.025);
}

html[data-theme="light"] .agent:hover {
    background: rgba(109, 63, 240, 0.06);
}

html[data-theme="light"] .browser {
    box-shadow: 0 24px 70px rgba(54, 38, 22, 0.16);
}

html[data-theme="light"] .case__media:hover .browser {
    box-shadow: 0 34px 90px rgba(54, 38, 22, 0.18), 0 0 60px rgba(var(--case-rgb), 0.1);
}

html[data-theme="light"] .browser:not(.browser--light) .browser__bar {
    background: rgba(23, 20, 27, 0.035);
}

html[data-theme="light"] .browser:not(.browser--light) .browser__url {
    background: rgba(23, 20, 27, 0.04);
}

html[data-theme="light"] .case__tags span {
    background: rgba(23, 20, 27, 0.03);
}

html[data-theme="light"] .archive-card {
    background: rgba(23, 20, 27, 0.02);
}

html[data-theme="light"] .archive-card:hover {
    background: rgba(23, 20, 27, 0.045);
}

html[data-theme="light"] .skill-cluster {
    background: rgba(23, 20, 27, 0.02);
}

html[data-theme="light"] .skill-cluster:hover {
    background: rgba(23, 20, 27, 0.035);
}

html[data-theme="light"] .skill-cluster::before {
    background: radial-gradient(circle at 80% 0%, rgba(109, 63, 240, 0.08), transparent 60%);
}

html[data-theme="light"] .skill-cluster__tags span {
    background: rgba(23, 20, 27, 0.045);
}

html[data-theme="light"] .skill-cluster--accent {
    background:
        linear-gradient(145deg, rgba(109, 63, 240, 0.11), rgba(47, 99, 217, 0.04) 55%, transparent),
        rgba(23, 20, 27, 0.015);
    border-color: rgba(109, 63, 240, 0.28);
}

html[data-theme="light"] .skill-cluster--accent .skill-cluster__tags span {
    color: var(--violet);
    border-color: rgba(109, 63, 240, 0.25);
}

html[data-theme="light"] .section-contact {
    background:
        radial-gradient(ellipse 60% 50% at 70% 25%, rgba(109, 63, 240, 0.1), transparent 70%),
        linear-gradient(to bottom, var(--bg-soft), var(--bg));
}

html[data-theme="light"] .contact__glow {
    background: radial-gradient(circle, rgba(109, 63, 240, 0.1), transparent 65%);
}

/* Transição suave entre os temas */
html.theme-changing,
html.theme-changing *,
html.theme-changing *::before,
html.theme-changing *::after {
    transition:
        background-color 0.4s ease,
        color 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease !important;
}
