:root {
    --bg: #050508;
    --bg-deep: #020204;
    --bg-soft: #09090f;
    --card: #0a0a10;

    --text: #f7f5ff;
    --text-soft: #b7b3c3;
    --text-muted: #716d80;

    --purple: #8b5cff;
    --purple-light: #b66cff;
    --purple-bright: #d4a6ff;
    --purple-deep: #5524cc;

    --border: rgba(255, 255, 255, 0.07);
    --border-strong: rgba(255, 255, 255, 0.14);

    --max-width: 1200px;
    --header-height: 84px;

    --mouse-x: 50%;
    --mouse-y: 50%;
}


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    min-height: 100vh;
    overflow-x: hidden;

    background:
        radial-gradient(
            circle at 75% 8%,
            rgba(111, 45, 255, 0.07),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(139, 92, 255, 0.04),
            transparent 28%
        ),
        var(--bg);

    color: var(--text);

    font-family:
        "Inter",
        Arial,
        sans-serif;

    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

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

button {
    font: inherit;
}

svg,
canvas {
    display: block;
}

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


/* =========================================================
   ESTRUTURA
========================================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--max-width)
    );

    margin: 0 auto;
}

.section {
    position: relative;
    padding: 130px 0;
}


/* =========================================================
   TEXTOS GLOBAIS
========================================================= */

.eyebrow {
    display: inline-block;

    color: var(--purple-light);

    font-size: 0.7rem;
    font-weight: 500;

    letter-spacing: 0.24em;

    text-transform: uppercase;
}

.section-number {
    color: var(--text-muted);

    font-size: 0.7rem;

    letter-spacing: 0.14em;
}

.section-header {
    display: grid;

    grid-template-columns:
        90px
        1fr;

    align-items: start;

    margin-bottom: 74px;
}

.section-header h2,
.about-title h2,
.contact h2 {
    max-width: 820px;

    margin-top: 18px;

    font-size:
        clamp(
            2.5rem,
            5vw,
            5rem
        );

    font-weight: 300;

    line-height: 1.05;

    letter-spacing: -0.05em;
}

.section-header h2 span,
.about-title h2 span,
.contact h2 span {
    color: var(--purple-light);

    text-shadow:
        0 0 35px
        rgba(
            139,
            92,
            255,
            0.13
        );
}


/* =========================================================
   ESTRELAS
========================================================= */

.global-stars {
    position: fixed;

    inset: 0;

    z-index: -1;

    overflow: hidden;

    pointer-events: none;
}

.star {
    position: absolute;

    width: 2px;
    height: 2px;

    border-radius: 50%;

    background: #fff;

    opacity: 0.4;

    box-shadow:
        0 0 4px
        rgba(
            255,
            255,
            255,
            0.8
        ),

        0 0 8px
        rgba(
            255,
            255,
            255,
            0.25
        );

    animation:
        starTwinkle
        var(--star-duration, 5s)
        ease-in-out
        infinite;
}

.star-purple {
    background:
        var(--purple-bright);

    box-shadow:
        0 0 6px
        var(--purple-light),

        0 0 14px
        rgba(
            139,
            92,
            255,
            0.65
        );
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height:
        var(--header-height);

    z-index: 1000;

    isolation: isolate;
}

.header-backdrop {
    position: absolute;

    inset:
        0
        0
        -20px;

    z-index: -1;

    pointer-events: none;

    opacity: 0;

    background:
        linear-gradient(
            to bottom,

            rgba(
                5,
                5,
                8,
                0.98
            )
            0%,

            rgba(
                5,
                5,
                8,
                0.88
            )
            50%,

            rgba(
                5,
                5,
                8,
                0.35
            )
            78%,

            rgba(
                5,
                5,
                8,
                0
            )
            100%
        );

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

    transition:
        opacity
        0.4s
        ease;
}

.header.scrolled
.header-backdrop {
    opacity: 1;
}

.header-container {
    position: relative;

    z-index: 2;

    min-height:
        var(--header-height);

    display: flex;

    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;

    align-items: center;

    gap: 14px;
}

.logo-text {
    display: flex;

    flex-direction: column;

    line-height: 1;
}

.logo-text span {
    font-size: 0.94rem;

    font-weight: 500;

    letter-spacing: 0.3em;
}

.logo-text small {
    margin-top: 7px;

    color: var(--purple-light);

    font-size: 0.5rem;

    letter-spacing: 0.55em;
}

.mini-y-svg {
    width: 36px;
    height: 44px;

    flex-shrink: 0;

    overflow: visible;

    filter:
        drop-shadow(
            0
            3px
            6px
            rgba(
                0,
                0,
                0,
                0.35
            )
        );
}


/* =========================================================
   NAVEGAÇÃO
========================================================= */

.nav {
    display: flex;

    align-items: center;

    gap: 34px;
}

.nav-link {
    position: relative;

    color: var(--text-soft);

    font-size: 0.78rem;

    transition:
        color
        0.25s
        ease;
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -9px;

    width: 0;
    height: 1px;

    background:
        var(--purple-light);

    box-shadow:
        0 0 10px
        var(--purple);

    transition:
        width
        0.3s
        ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

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

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border:
        1px solid
        var(--border);

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            0.02
        );

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 16px;
    height: 1px;

    margin:
        4px
        auto;

    background: #fff;

    transition:
        0.3s
        ease;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    padding-top:
        var(--header-height);

    overflow: hidden;

    isolation: isolate;
}

.hero-grid {
    position: absolute;

    inset: 0;

    z-index: 0;

    pointer-events: none;

    background-image:

        linear-gradient(
            rgba(
                255,
                255,
                255,
                0.015
            )
            1px,

            transparent
            1px
        ),

        linear-gradient(
            90deg,

            rgba(
                255,
                255,
                255,
                0.015
            )
            1px,

            transparent
            1px
        );

    background-size:
        82px
        82px;

    mask-image:
        linear-gradient(
            to bottom,

            #000,

            transparent
            92%
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,

            #000,

            transparent
            92%
        );
}


/* =========================================================
   ONDA DO HERO
========================================================= */

.hero-wave {
    position: absolute;

    left: 0;
    right: 0;
    bottom: -70px;

    z-index: 1;

    width: 100%;
    height: 58%;

    overflow: hidden;

    pointer-events: none;

    opacity: 0.92;

    mask-image:
        linear-gradient(
            to top,

            #000
            0%,

            #000
            58%,

            rgba(
                0,
                0,
                0,
                0.78
            )
            76%,

            rgba(
                0,
                0,
                0,
                0.25
            )
            92%,

            transparent
            100%
        );

    -webkit-mask-image:
        linear-gradient(
            to top,

            #000
            0%,

            #000
            58%,

            rgba(
                0,
                0,
                0,
                0.78
            )
            76%,

            rgba(
                0,
                0,
                0,
                0.25
            )
            92%,

            transparent
            100%
        );
}

.ylume-wave-canvas {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;
}

.hero-stars {
    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;
}

.hero-container {
    position: relative;

    z-index: 5;

    min-height:
        calc(
            100vh -
            var(--header-height)
        );

    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    align-items: center;

    gap: 60px;
}

.hero-content {
    position: relative;

    z-index: 5;

    padding:
        90px
        0;
}

.hero h1 {
    max-width: 760px;

    margin-top: 24px;

    font-size:
        clamp(
            3rem,
            5vw,
            5rem
        );

    font-weight: 300;

    line-height: 1.02;

    letter-spacing:
        -0.045em;
}

.hero h1 span {
    display: block;

    color:
        var(--purple-light);

    text-shadow:
        0 0 40px
        rgba(
            139,
            92,
            255,
            0.14
        );
}

.hero-description {
    max-width: 650px;

    margin-top: 34px;

    color:
        var(--text-soft);

    font-size: 1rem;

    font-weight: 300;

    line-height: 1.85;
}

.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 42px;
}


/* =========================================================
   BOTÕES
========================================================= */

.button {
    min-height: 52px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    padding:
        0
        25px;

    border-radius: 999px;

    font-size: 0.79rem;

    transition:
        transform
        0.25s
        ease,

        border-color
        0.25s
        ease,

        box-shadow
        0.25s
        ease,

        background
        0.25s
        ease;
}

.button:hover {
    transform:
        translateY(-3px);
}

.button-primary {
    color: #fff;

    background:
        linear-gradient(
            135deg,

            var(--purple-light),

            var(--purple-deep)
        );

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.11
        );

    box-shadow:
        0 0 22px
        rgba(
            139,
            92,
            255,
            0.17
        );
}

.button-primary:hover {
    box-shadow:
        0 0 28px
        rgba(
            139,
            92,
            255,
            0.34
        ),

        0 0 70px
        rgba(
            139,
            92,
            255,
            0.1
        );
}

.button-secondary {
    border:
        1px solid
        var(--border-strong);

    background:
        rgba(
            255,
            255,
            255,
            0.018
        );
}

.button-secondary:hover {
    border-color:
        rgba(
            139,
            92,
            255,
            0.5
        );
}


/* =========================================================
   Y PRINCIPAL
========================================================= */

.hero-visual {
    position: relative;

    z-index: 6;

    min-height: 590px;

    display: grid;

    place-items: center;
}

.y-ambient-glow {
    position: absolute;

    width: 470px;
    height: 470px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,

            rgba(
                139,
                92,
                255,
                0.11
            ),

            rgba(
                139,
                92,
                255,
                0.02
            )
            45%,

            transparent
            70%
        );

    filter:
        blur(15px);

    animation:
        ambientPulse
        6s
        ease-in-out
        infinite;
}

.hero-orbit {
    position: absolute;

    border:
        1px solid
        rgba(
            139,
            92,
            255,
            0.075
        );

    border-radius: 50%;

    pointer-events: none;
}

.hero-orbit::before {
    content: "";

    position: absolute;

    top: 50%;
    left: -3px;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background:
        var(--purple-light);

    box-shadow:
        0 0 8px
        #fff,

        0 0 18px
        var(--purple);
}

.orbit-one {
    width: 180px;
    height: 180px;

    animation:
        orbitRotate
        20s
        linear
        infinite;
}

.orbit-two {
    width: 300px;
    height: 300px;

    animation:
        orbitRotate
        31s
        linear
        infinite
        reverse;
}

.orbit-three {
    width: 445px;
    height: 445px;

    animation:
        orbitRotate
        48s
        linear
        infinite;
}

.ylume-symbol {
    position: relative;

    z-index: 10;

    width: 290px;

    max-width: 72%;

    display: flex;

    align-items: center;
    justify-content: center;
}

.ylume-y {
    width: 100%;

    height: auto;

    overflow: visible;
}

.y-pieces {
    pointer-events: none;
}

.y-piece {
    transform-box: fill-box;

    transform-origin: center;
}

.y-beam-container {
    pointer-events: none;
}

.y-beam-glow,
.y-beam-core {
    transform-box:
        fill-box;

    transform-origin:
        center;

    animation:
        yBeamFall
        3.8s
        cubic-bezier(
            0.55,
            0,
            0.25,
            1
        )
        infinite;
}

.y-beam-core {
    animation-delay:
        0.04s;
}

.y-impact {
    transform-origin:
        160px
        272px;
}

.y-impact-large {
    opacity: 0;

    transform-origin:
        160px
        272px;

    animation:
        yLargeGlow
        3.8s
        ease-out
        infinite;
}

.y-impact-medium {
    opacity: 0;

    transform-origin:
        160px
        272px;

    animation:
        yMediumGlow
        3.8s
        ease-out
        infinite;
}

.y-impact-core {
    opacity: 0;

    transform-origin:
        160px
        272px;

    animation:
        yCoreFlash
        3.8s
        ease-out
        infinite;
}

.y-flare {
    stroke: #b469ff;

    stroke-linecap:
        round;

    opacity: 0;

    filter:
        url(#yBeamGlow);

    transform-origin:
        160px
        272px;

    animation:
        yFlare
        3.8s
        ease-out
        infinite;
}

.y-flare-vertical {
    stroke-width: 1;
}

.y-flare-horizontal {
    stroke-width: 0.7;
}


/* =========================================================
   INDICADOR DE SCROLL
========================================================= */

.scroll-indicator {
    position: absolute;

    left: 50%;
    bottom: 28px;

    z-index: 20;

    width: 28px;
    height: 46px;

    border:
        1px solid
        var(--border-strong);

    border-radius: 999px;

    transform:
        translateX(-50%);
}

.scroll-indicator span {
    position: absolute;

    left: 50%;
    top: 9px;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background:
        var(--purple-light);

    box-shadow:
        0 0 10px
        var(--purple);

    animation:
        scrollIndicator
        1.8s
        ease-in-out
        infinite;
}


/* =========================================================
   ESPECIALIDADES
========================================================= */

.services {
    position: relative;

    overflow: hidden;

    border-top:
        1px solid
        var(--border);
}

.section-stars,
.contact-stars {
    position: absolute;

    inset: 0;

    overflow: hidden;

    pointer-events: none;
}

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            1fr
        );

    gap: 20px;
}

.service-card {
    position: relative;

    min-height: 410px;

    padding: 34px;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,

            rgba(
                255,
                255,
                255,
                0.018
            ),

            rgba(
                255,
                255,
                255,
                0.006
            )
        );

    transition:
        transform
        0.35s
        ease,

        border-color
        0.35s
        ease,

        box-shadow
        0.35s
        ease;
}

.service-card::before {
    content: "";

    position: absolute;

    inset: 0;

    opacity: 0;

    background:
        radial-gradient(
            450px
            circle
            at
            var(--mouse-x)
            var(--mouse-y),

            rgba(
                139,
                92,
                255,
                0.12
            ),

            transparent
            45%
        );

    transition:
        opacity
        0.3s
        ease;
}

.service-card:hover {
    transform:
        translateY(-8px);

    border-color:
        rgba(
            139,
            92,
            255,
            0.28
        );

    box-shadow:
        0
        25px
        70px
        rgba(
            0,
            0,
            0,
            0.25
        );
}

.service-card:hover::before {
    opacity: 1;
}

.service-number {
    position: relative;

    z-index: 2;

    color:
        var(--text-muted);

    font-size: 0.7rem;
}

.service-icon {
    position: relative;

    z-index: 2;

    width: 54px;
    height: 54px;

    display: grid;

    place-items: center;

    margin-top: 64px;

    border:
        1px solid
        rgba(
            139,
            92,
            255,
            0.16
        );

    border-radius: 16px;

    background:
        radial-gradient(
            circle
            at
            30%
            20%,

            rgba(
                182,
                108,
                255,
                0.11
            ),

            transparent
            60%
        ),

        rgba(
            139,
            92,
            255,
            0.025
        );

    box-shadow:
        inset
        0
        0
        24px
        rgba(
            139,
            92,
            255,
            0.025
        );

    transition:
        transform
        0.35s
        ease,

        border-color
        0.35s
        ease,

        box-shadow
        0.35s
        ease;
}

.service-card:hover
.service-icon {
    transform:
        translateY(-4px);

    border-color:
        rgba(
            182,
            108,
            255,
            0.3
        );

    box-shadow:
        0 0 28px
        rgba(
            139,
            92,
            255,
            0.1
        );
}

.service-icon svg {
    width: 29px;
    height: 29px;

    fill: none;

    stroke:
        var(--purple-light);

    stroke-width: 1.7;

    stroke-linecap:
        round;

    stroke-linejoin:
        round;

    filter:
        drop-shadow(
            0
            0
            7px
            rgba(
                139,
                92,
                255,
                0.48
            )
        );
}

.service-card h3 {
    position: relative;

    z-index: 2;

    margin-top: 23px;

    font-size: 1.9rem;

    font-weight: 400;

    letter-spacing:
        -0.035em;
}

.service-card p {
    position: relative;

    z-index: 2;

    max-width: 500px;

    margin-top: 16px;

    color:
        var(--text-soft);

    font-size: 0.94rem;
}

.service-tags {
    position: relative;

    z-index: 2;

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 28px;
}

.service-tags span,
.experience-tags span,
.about-tech-stack span {
    padding:
        7px
        11px;

    border:
        1px solid
        var(--border);

    border-radius: 999px;

    color:
        var(--text-soft);

    font-size: 0.67rem;

    transition:
        border-color
        0.25s
        ease,

        color
        0.25s
        ease,

        background
        0.25s
        ease;
}

.service-card:hover
.service-tags span {
    border-color:
        rgba(
            139,
            92,
            255,
            0.2
        );
}


/* =========================================================
   ONDA ENTRE SEÇÕES
========================================================= */

.energy-section {
    position: relative;

    height: 330px;

    overflow: hidden;

    isolation: isolate;

    border-top:
        1px solid
        var(--border);

    border-bottom:
        1px solid
        var(--border);

    background:
        radial-gradient(
            ellipse
            at
            50%
            55%,

            rgba(
                96,
                36,
                210,
                0.09
            ),

            transparent
            58%
        ),

        linear-gradient(
            to bottom,

            var(--bg)
            0%,

            var(--bg-deep)
            22%,

            var(--bg-deep)
            78%,

            var(--bg)
            100%
        );
}

.energy-section::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 0;

    pointer-events: none;

    background:
        linear-gradient(
            to right,

            rgba(
                5,
                5,
                8,
                0.65
            ),

            transparent
            18%,

            transparent
            82%,

            rgba(
                5,
                5,
                8,
                0.65
            )
        );
}

.ylume-wave-secondary {
    z-index: 1;

    opacity: 0.96;

    mask-image:
        linear-gradient(
            to bottom,

            transparent
            0%,

            rgba(
                0,
                0,
                0,
                0.6
            )
            12%,

            #000
            28%,

            #000
            72%,

            rgba(
                0,
                0,
                0,
                0.6
            )
            88%,

            transparent
            100%
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,

            transparent
            0%,

            rgba(
                0,
                0,
                0,
                0.6
            )
            12%,

            #000
            28%,

            #000
            72%,

            rgba(
                0,
                0,
                0,
                0.6
            )
            88%,

            transparent
            100%
        );
}


/* =========================================================
   MANIFESTO
========================================================= */

.manifesto {
    position: relative;

    padding:
        130px
        0;

    border-bottom:
        1px solid
        var(--border);

    background:
        linear-gradient(
            90deg,

            rgba(
                139,
                92,
                255,
                0.02
            ),

            transparent,

            rgba(
                139,
                92,
                255,
                0.02
            )
        );
}

.manifesto-container {
    max-width: 980px;

    text-align: center;
}

.manifesto-symbol {
    display: block;

    margin-bottom: 24px;

    color:
        var(--purple-light);

    font-size: 1.5rem;

    text-shadow:
        0 0 18px
        var(--purple);
}

.manifesto p {
    font-size:
        clamp(
            2.2rem,
            5vw,
            4.8rem
        );

    font-weight: 300;

    line-height: 1.15;

    letter-spacing:
        -0.04em;
}

.manifesto p span {
    color:
        var(--text-muted);
}

.manifesto strong {
    color:
        var(--purple-light);

    font-weight: 400;
}


/* =========================================================
   PROJETOS EM BREVE
========================================================= */

.projects {
    overflow: hidden;
}

.projects-coming-showcase {
    position: relative;

    min-height: 500px;

    display: flex;

    align-items: flex-end;

    overflow: hidden;

    padding: 54px;

    border:
        1px solid
        var(--border);

    border-radius: 26px;

    background:
        radial-gradient(
            circle
            at
            78%
            35%,

            rgba(
                139,
                92,
                255,
                0.11
            ),

            transparent
            36%
        ),

        linear-gradient(
            145deg,

            rgba(
                255,
                255,
                255,
                0.02
            ),

            rgba(
                255,
                255,
                255,
                0.004
            )
        );
}

.projects-coming-showcase::before {
    content: "";

    position: absolute;

    right: -80px;
    top: -80px;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,

            rgba(
                139,
                92,
                255,
                0.09
            ),

            transparent
            70%
        );

    filter:
        blur(25px);
}

.projects-coming-grid {
    position: absolute;

    inset: 0;

    opacity: 0.5;

    background-image:

        linear-gradient(
            rgba(
                255,
                255,
                255,
                0.025
            )
            1px,

            transparent
            1px
        ),

        linear-gradient(
            90deg,

            rgba(
                255,
                255,
                255,
                0.025
            )
            1px,

            transparent
            1px
        );

    background-size:
        55px
        55px;

    mask-image:
        linear-gradient(
            to right,

            rgba(
                0,
                0,
                0,
                0.9
            ),

            transparent
            80%
        );

    -webkit-mask-image:
        linear-gradient(
            to right,

            rgba(
                0,
                0,
                0,
                0.9
            ),

            transparent
            80%
        );
}

.projects-coming-content {
    position: relative;

    z-index: 5;

    max-width: 760px;
}

.projects-coming-status {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color:
        var(--purple-light);

    font-size: 0.65rem;

    letter-spacing: 0.18em;
}

.status-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        var(--purple-light);

    box-shadow:
        0 0 10px
        var(--purple),

        0 0 24px
        rgba(
            139,
            92,
            255,
            0.5
        );

    animation:
        statusPulse
        2.4s
        ease-in-out
        infinite;
}

.projects-coming-content h3 {
    max-width: 700px;

    margin-top: 28px;

    font-size:
        clamp(
            2.8rem,
            6vw,
            6rem
        );

    font-weight: 300;

    line-height: 0.98;

    letter-spacing:
        -0.055em;
}

.projects-coming-content h3 span {
    color:
        var(--purple-light);
}

.projects-coming-content p {
    max-width: 620px;

    margin-top: 28px;

    color:
        var(--text-soft);

    font-size: 0.98rem;

    line-height: 1.8;
}

.projects-coming-line {
    display: flex;

    align-items: center;

    gap: 16px;

    margin-top: 52px;

    color:
        var(--text-muted);

    font-size: 0.58rem;

    letter-spacing: 0.16em;
}

.projects-coming-line i {
    width: 42px;
    height: 1px;

    display: block;

    background:
        linear-gradient(
            to right,

            rgba(
                139,
                92,
                255,
                0.15
            ),

            rgba(
                182,
                108,
                255,
                0.7
            )
        );

    box-shadow:
        0 0 8px
        rgba(
            139,
            92,
            255,
            0.2
        );
}


/* =========================================================
   SOBRE MIM
========================================================= */

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

.about-personal {
    background:
        radial-gradient(
            circle
            at
            10%
            45%,

            rgba(
                139,
                92,
                255,
                0.035
            ),

            transparent
            30%
        );
}

.about-container {
    display: grid;

    grid-template-columns:
        0.85fr
        1.15fr;

    gap: 100px;
}

.about-title {
    position: sticky;

    top: 140px;

    align-self: start;
}

.about-title .eyebrow {
    display: block;

    margin-top: 34px;
}

.about-content {
    max-width: 680px;
}

.about-content > p {
    margin-bottom: 24px;

    color:
        var(--text-soft);

    font-size: 0.96rem;

    line-height: 1.85;
}

.about-content
.about-highlight {
    color:
        var(--text);

    font-size: 1.65rem;

    font-weight: 300;

    line-height: 1.5;

    letter-spacing:
        -0.025em;
}

.about-tech-stack {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin:
        45px
        0
        65px;
}

.about-tech-stack span:hover {
    color:
        var(--purple-light);

    border-color:
        rgba(
            139,
            92,
            255,
            0.32
        );

    background:
        rgba(
            139,
            92,
            255,
            0.04
        );
}


/* =========================================================
   VALORES / PRINCÍPIOS
========================================================= */

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

.value {
    display: grid;

    grid-template-columns:
        60px
        1fr;

    gap: 22px;

    padding:
        28px
        0;

    border-bottom:
        1px solid
        var(--border);
}

.value > span {
    color:
        var(--purple-light);

    font-size: 0.7rem;
}

.value strong {
    font-size: 1.08rem;

    font-weight: 500;
}

.value p {
    margin-top: 5px;

    color:
        var(--text-muted);

    font-size: 0.88rem;
}


/* =========================================================
   EXPERIÊNCIA PROFISSIONAL
========================================================= */

.experience {
    position: relative;

    overflow: hidden;

    border-top:
        1px solid
        var(--border);

    background:
        linear-gradient(
            180deg,

            rgba(
                139,
                92,
                255,
                0.015
            ),

            transparent
            28%
        );
}

.experience-list {
    position: relative;

    border-top:
        1px solid
        var(--border);
}

.experience-item {
    position: relative;

    display: grid;

    grid-template-columns:
        260px
        1fr;

    gap: 70px;

    padding:
        54px
        0;

    border-bottom:
        1px solid
        var(--border);

    transition:
        padding-left
        0.35s
        ease;
}

.experience-item::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 0;
    height: 1px;

    background:
        linear-gradient(
            to right,

            var(--purple-light),

            transparent
        );

    box-shadow:
        0 0 12px
        rgba(
            139,
            92,
            255,
            0.45
        );

    transition:
        width
        0.5s
        ease;
}

.experience-item:hover::before {
    width: 100%;
}

.experience-meta {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 14px;
}

.experience-meta > span {
    color:
        var(--purple-light);

    font-size: 0.62rem;

    letter-spacing: 0.18em;
}

.experience-meta small {
    max-width: 220px;

    color:
        var(--text-muted);

    font-size: 0.72rem;

    line-height: 1.5;

    letter-spacing: 0.08em;
}

.experience-content {
    max-width: 740px;
}

.experience-content h3 {
    font-size:
        clamp(
            1.8rem,
            3vw,
            2.8rem
        );

    font-weight: 300;

    letter-spacing:
        -0.04em;
}

.experience-area {
    display: block;

    margin-top: 8px;

    color:
        var(--purple-light);

    font-size: 0.73rem;

    letter-spacing: 0.08em;
}

.experience-content p {
    max-width: 680px;

    margin-top: 22px;

    color:
        var(--text-soft);

    font-size: 0.94rem;

    line-height: 1.8;
}

.experience-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 27px;
}

.experience-item:hover
.experience-tags span {
    border-color:
        rgba(
            139,
            92,
            255,
            0.22
        );
}


/* =========================================================
   FORMAÇÃO
========================================================= */

.education {
    position: relative;

    padding:
        110px
        0;

    overflow: hidden;

    border-top:
        1px solid
        var(--border);

    border-bottom:
        1px solid
        var(--border);
}

.education::before {
    content: "";

    position: absolute;

    right: -220px;
    top: 50%;

    width: 560px;
    height: 560px;

    transform:
        translateY(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,

            rgba(
                139,
                92,
                255,
                0.055
            ),

            transparent
            68%
        );

    pointer-events: none;
}

.education-container {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        0.75fr
        1.25fr;

    gap: 100px;

    align-items: start;
}

.education-heading h2 {
    margin-top: 18px;

    font-size:
        clamp(
            2.2rem,
            4vw,
            4rem
        );

    font-weight: 300;

    line-height: 1.05;

    letter-spacing:
        -0.045em;
}

.education-list {
    border-top:
        1px solid
        var(--border);
}

.education-item {
    display: grid;

    grid-template-columns:
        80px
        1fr;

    gap: 30px;

    padding:
        30px
        0;

    border-bottom:
        1px solid
        var(--border);
}

.education-year {
    color:
        var(--purple-light);

    font-size: 0.7rem;

    letter-spacing: 0.1em;
}

.education-item h3 {
    font-size: 1.15rem;

    font-weight: 400;
}

.education-item p {
    margin-top: 5px;

    color:
        var(--text-muted);

    font-size: 0.85rem;
}


/* =========================================================
   CONTATO
========================================================= */

.contact {
    position: relative;

    min-height: 700px;

    display: flex;

    align-items: center;

    overflow: hidden;

    border-top:
        1px solid
        var(--border);
}

.contact-container {
    position: relative;

    z-index: 5;

    text-align: center;
}

.contact h2 {
    max-width: 920px;

    margin-left: auto;
    margin-right: auto;
}

.contact p {
    max-width: 590px;

    margin:
        30px
        auto
        0;

    color:
        var(--text-soft);

    line-height: 1.8;
}

.contact-glow {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 850px;
    height: 850px;

    transform:
        translate(
            -50%,
            -50%
        );

    border-radius: 50%;

    background:
        radial-gradient(
            circle,

            rgba(
                139,
                92,
                255,
                0.09
            ),

            transparent
            68%
        );

    filter:
        blur(40px);

    animation:
        ambientPulse
        6s
        ease-in-out
        infinite;
}

.contact-email {
    position: relative;

    display: inline-flex;

    align-items: center;

    gap: 14px;

    margin-top: 48px;

    padding-bottom: 9px;

    font-size:
        clamp(
            1.4rem,
            3vw,
            2.4rem
        );

    font-weight: 300;

    letter-spacing:
        -0.03em;
}

.contact-email::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background:
        var(--purple-light);

    box-shadow:
        0 0 12px
        var(--purple);

    transform:
        scaleX(0.2);

    transform-origin:
        left;

    transition:
        transform
        0.35s
        ease;
}

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

.contact-email span {
    color:
        var(--purple-light);
}

.contact-social {
    display: flex;

    justify-content: center;

    gap: 26px;

    margin-top: 44px;
}

.contact-social a {
    color:
        var(--text-muted);

    font-size: 0.78rem;

    transition:
        color
        0.25s
        ease;
}

.contact-social a:hover {
    color:
        var(--purple-light);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding:
        34px
        0;

    border-top:
        1px solid
        var(--border);
}

.footer-container {
    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 30px;
}

.footer-brand {
    display: flex;

    align-items: baseline;

    gap: 8px;
}

.footer-brand strong {
    font-size: 0.82rem;

    font-weight: 500;

    letter-spacing: 0.22em;
}

.footer-brand span {
    color:
        var(--purple-light);

    font-size: 0.6rem;

    letter-spacing: 0.25em;
}

.footer p {
    color:
        var(--text-muted);

    font-size: 0.62rem;

    letter-spacing: 0.14em;
}

.copyright {
    justify-self: end;

    color:
        var(--text-muted);

    font-size: 0.67rem;
}


/* =========================================================
   REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity
        0.85s
        ease,

        transform
        0.85s
        ease;
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   ANIMAÇÕES DO Y
========================================================= */

@keyframes yBeamFall {

    0% {
        transform:
            translateY(-115px);

        opacity: 0;
    }

    9% {
        opacity: 1;
    }

    62% {
        transform:
            translateY(145px);

        opacity: 1;
    }

    70% {
        transform:
            translateY(145px);

        opacity: 0;
    }

    100% {
        transform:
            translateY(145px);

        opacity: 0;
    }

}


@keyframes yLargeGlow {

    0%,
    57% {
        opacity: 0;

        transform:
            scale(0.15);
    }

    64% {
        opacity: 0.9;

        transform:
            scale(1.25);
    }

    76% {
        opacity: 0.28;

        transform:
            scale(1);
    }

    90%,
    100% {
        opacity: 0;

        transform:
            scale(0.45);
    }

}


@keyframes yMediumGlow {

    0%,
    58% {
        opacity: 0;

        transform:
            scale(0.15);
    }

    64% {
        opacity: 1;

        transform:
            scale(1.4);
    }

    75% {
        opacity: 0.55;

        transform:
            scale(0.9);
    }

    90%,
    100% {
        opacity: 0;

        transform:
            scale(0.3);
    }

}


@keyframes yCoreFlash {

    0%,
    59% {
        opacity: 0;
    }

    64% {
        opacity: 1;
    }

    72% {
        opacity: 0.85;
    }

    86%,
    100% {
        opacity: 0;
    }

}


@keyframes yFlare {

    0%,
    59% {
        opacity: 0;

        transform:
            scale(0.35);
    }

    64% {
        opacity: 1;

        transform:
            scale(1.15);
    }

    74% {
        opacity: 0.35;

        transform:
            scale(1);
    }

    90%,
    100% {
        opacity: 0;

        transform:
            scale(0.5);
    }

}


/* =========================================================
   OUTRAS ANIMAÇÕES
========================================================= */

@keyframes orbitRotate {

    from {
        transform:
            rotate(0deg);
    }

    to {
        transform:
            rotate(360deg);
    }

}


@keyframes ambientPulse {

    0%,
    100% {
        opacity: 0.55;

        transform:
            scale(0.95);
    }

    50% {
        opacity: 1;

        transform:
            scale(1.05);
    }

}


@keyframes scrollIndicator {

    0% {
        transform:
            translate(
                -50%,
                0
            );

        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    100% {
        transform:
            translate(
                -50%,
                20px
            );

        opacity: 0;
    }

}


@keyframes starTwinkle {

    0%,
    100% {
        opacity: 0.12;

        transform:
            scale(0.8);
    }

    50% {
        opacity: 0.85;

        transform:
            scale(1.4);
    }

}


@keyframes statusPulse {

    0%,
    100% {
        opacity: 0.45;

        transform:
            scale(0.8);
    }

    50% {
        opacity: 1;

        transform:
            scale(1.25);
    }

}


/* =========================================================
   RESPONSIVO — TABLET
========================================================= */

@media (max-width: 980px) {

    .hero-container {
        grid-template-columns:
            1fr;
    }

    .hero-content {
        padding-bottom: 10px;
    }

    .hero-visual {
        min-height: 520px;
    }

    .hero-wave {
        bottom: -40px;

        height: 48%;

        opacity: 0.82;
    }

    .ylume-symbol {
        width: 270px;
    }

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

    .about-container {
        grid-template-columns:
            1fr;

        gap: 60px;
    }

    .about-title {
        position: static;
    }

    .experience-item {
        grid-template-columns:
            190px
            1fr;

        gap: 40px;
    }

    .education-container {
        grid-template-columns:
            1fr;

        gap: 55px;
    }

    .footer-container {
        grid-template-columns:
            1fr;

        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .copyright {
        justify-self: center;
    }

}


/* =========================================================
   RESPONSIVO — MOBILE
========================================================= */

@media (max-width: 760px) {

    :root {
        --header-height: 72px;
    }

    .container {
        width:
            min(
                calc(
                    100% -
                    28px
                ),

                var(--max-width)
            );
    }

    .section {
        padding:
            95px
            0;
    }


    /* MENU */

    .nav {
        position: fixed;

        inset:
            var(--header-height)
            0
            0
            0;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        padding:
            30px
            24px;

        background:
            rgba(
                5,
                5,
                8,
                0.98
            );

        backdrop-filter:
            blur(20px);

        -webkit-backdrop-filter:
            blur(20px);

        transform:
            translateX(100%);

        transition:
            transform
            0.35s
            ease;
    }

    .nav.active {
        transform:
            translateX(0);
    }

    .nav-link {
        width: 100%;

        padding:
            18px
            0;

        border-bottom:
            1px solid
            var(--border);

        font-size: 1rem;
    }

    .nav-link::after {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

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

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

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


    /* HERO */

    .hero {
        min-height: auto;
    }

    .hero-container {
        min-height: auto;
    }

    .hero-content {
        padding-top: 100px;
    }

    .hero h1 {
        font-size:
            clamp(
                2.7rem,
                11vw,
                4.2rem
            );
    }

    .hero-description {
        font-size: 0.94rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-visual {
        min-height: 440px;
    }

    .hero-wave {
        bottom: -10px;

        height: 38%;

        opacity: 0.72;
    }

    .ylume-symbol {
        width: 225px;

        max-width: 68%;
    }

    .y-ambient-glow {
        width: 330px;
        height: 330px;
    }

    .orbit-one {
        width: 135px;
        height: 135px;
    }

    .orbit-two {
        width: 235px;
        height: 235px;
    }

    .orbit-three {
        width: 335px;
        height: 335px;
    }

    .scroll-indicator {
        display: none;
    }


    /* CABEÇALHOS */

    .section-header {
        grid-template-columns:
            1fr;

        gap: 18px;

        margin-bottom: 48px;
    }


    /* CARDS */

    .service-card {
        min-height: auto;

        padding: 26px;
    }

    .service-icon {
        margin-top: 45px;
    }


    /* ONDA */

    .energy-section {
        height: 250px;
    }


    /* MANIFESTO */

    .manifesto {
        padding:
            90px
            0;
    }


    /* PROJETOS */

    .projects-coming-showcase {
        min-height: 520px;

        padding: 30px;
    }

    .projects-coming-content h3 {
        font-size:
            clamp(
                2.5rem,
                13vw,
                4rem
            );
    }

    .projects-coming-line {
        flex-wrap: wrap;

        gap: 10px;
    }

    .projects-coming-line i {
        width: 22px;
    }


    /* SOBRE */

    .about-content
    .about-highlight {
        font-size: 1.35rem;
    }

    .about-tech-stack {
        margin-bottom: 50px;
    }


    /* EXPERIÊNCIA */

    .experience-item {
        grid-template-columns:
            1fr;

        gap: 25px;

        padding:
            40px
            0;
    }

    .experience-meta {
        gap: 8px;
    }

    .experience-meta small {
        max-width: none;
    }


    /* FORMAÇÃO */

    .education {
        padding:
            90px
            0;
    }

    .education-item {
        grid-template-columns:
            60px
            1fr;

        gap: 20px;
    }


    /* CONTATO */

    .contact {
        min-height: 620px;
    }

    .contact-social {
        flex-wrap: wrap;
    }

    .contact-email {
        font-size:
            clamp(
                1.15rem,
                6vw,
                1.8rem
            );
    }

}