/* =========================================================
   THEUS. — SITE PESSOAL
   ========================================================= */


/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================================================
   CURSOR — ROXO ELEGANTE
   ========================================================= */

body,
a,
button {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M4 2.5L6.8 22L11.2 16.8L15.8 24L18.2 22.5L13.7 15.3L22.5 14.2L4 2.5Z' fill='%235b2a86' stroke='%23d9b8ff' stroke-width='1.2' stroke-linejoin='round'/%3E%3Cpath d='M6.8 5.3L8.8 18.2L11.8 14.7' fill='none' stroke='%238f5fc2' stroke-width='0.8'/%3E%3C/svg%3E") 4 2, auto;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: auto;
    scrollbar-color: #5b2a86 #080709;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #080709;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        #6f3aa0 0%,
        #54227d 50%,
        #3d185d 100%
    );

    border-radius: 20px;
    border: 2px solid #080709;

    box-shadow:
        0 0 5px rgba(91, 42, 134, 0.9),
        0 0 12px rgba(91, 42, 134, 0.7),
        0 0 20px rgba(91, 42, 134, 0.45);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        #824bb5 0%,
        #63308f 50%,
        #4a1d70 100%
    );

    box-shadow:
        0 0 6px rgba(130, 75, 181, 1),
        0 0 15px rgba(111, 58, 160, 0.9),
        0 0 25px rgba(91, 42, 134, 0.7);
}



body {
    background: #080709;
    color: #f5f2f6;
    font-family: "Manrope", sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   VARIÁVEIS
   ========================================================= */

:root {

    --black: #080709;
    --black-soft: #0e0c10;
    --black-card: #131015;

    --white: #f5f2f6;
    --gray: #a8a1aa;
    --gray-dark: #68616b;

    --pink: #ff4fa3;
    --pink-light: #ff8ac5;
    --lilac: #b98cff;

    --border: rgba(255, 255, 255, 0.10);

}


/* =========================================================
   CURSOR
   ========================================================= */

.cursor-glow {
    position: fixed;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    background: radial-gradient(circle,
            rgba(255, 79, 163, 0.08),
            transparent 65%);

    pointer-events: none;

    transform: translate(-50%, -50%);

    z-index: 0;
}


/* =========================================================
   HEADER
   ========================================================= */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    padding: 22px 5vw;

    background: rgba(8, 7, 9, 0.70);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    max-width: 1400px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =========================================================
   LOGO — THEUS
   ========================================================= */

.logo {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    transition: transform 0.35s ease;
}

.logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    opacity: 0.88;

    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        filter 0.35s ease;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo:hover img {
    opacity: 1;

    transform: scale(1.05);

    filter:
        drop-shadow(0 0 8px rgba(255, 79, 163, 0.25));
}


/* =========================================================
   LOGO DO RODAPÉ
   ========================================================= */

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    opacity: 0.65;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.footer-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.footer-logo:hover {
    opacity: 1;

    transform: translateY(-2px);
}

/* NAV */

.nav {
    display: flex;
    align-items: center;

    gap: 30px;
}

.nav a {
    position: relative;

    font-size: 0.72rem;
    font-weight: 600;

    color: var(--gray);

    letter-spacing: 0.08em;
    text-transform: uppercase;

    transition: 0.3s ease;
}

.nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--pink);

    transition: 0.3s ease;
}

.nav a:hover {
    color: var(--white);
}

.nav a:hover::after {
    width: 100%;
}


/* MENU BUTTON */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.04);

    cursor: pointer;

    position: relative;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 4px;
}

.menu-toggle span {
    width: 16px;
    height: 1.5px;

    background: var(--white);

    transition: 0.35s ease;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 100vh;

    max-width: 1400px;

    margin: auto;

    padding: 150px 5vw 90px;

    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    align-items: center;

    gap: 70px;

    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 22px;

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.16em;

    color: var(--pink);

    text-transform: uppercase;
}


/* HERO TITLE */

.hero h1 {

    max-width: 760px;

    font-family: "DM Serif Display", serif;

    font-size: clamp(3rem, 5vw, 5.5rem);

    line-height: 0.98;

    font-weight: 400;

    letter-spacing: -0.04em;
}

.hero h1 em,
.section-heading h2 em,
.about-title h2 em,
.trajectory-title h2 em,
.contact h2 em {
    color: var(--pink);

    font-style: italic;
}


.hero-description {

    max-width: 540px;

    margin-top: 28px;

    color: var(--gray);

    font-size: 0.95rem;

    line-height: 1.8;
}


/* BUTTONS */

.hero-buttons {
    display: flex;

    gap: 12px;

    margin-top: 35px;

    flex-wrap: wrap;
}

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 13px 19px;

    border-radius: 100px;

    font-size: 0.72rem;

    font-weight: 700;

    transition: 0.3s ease;
}

.button-primary {
    background: var(--white);

    color: var(--black);
}

.button-primary:hover {
    background: var(--pink);

    color: white;

    transform: translateY(-2px);
}

.button-outline {
    border: 1px solid var(--border);

    color: var(--gray);
}

.button-outline:hover {
    border-color: var(--pink);

    color: var(--white);
}


/* HERO IMAGE */

.hero-image-wrapper {
    position: relative;

    max-width: 470px;

    width: 100%;

    justify-self: end;
}

.hero-image {
    position: relative;

    width: 100%;
    aspect-ratio: 1176 / 1337;

    background: #080709;

    border: 1px solid var(--border);

    overflow: hidden;

    z-index: 2;
}

.hero-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    margin: 0;
    padding: 0;
}

.photo-placeholder {
    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    background:
        radial-gradient(circle at 50% 35%,
            rgba(255, 79, 163, 0.16),
            transparent 40%);

    color: var(--pink);

    gap: 8px;
}

.photo-placeholder span {
    font-size: 1.8rem;

    font-weight: 800;

    letter-spacing: 0.15em;
}

.photo-placeholder small {
    color: var(--gray-dark);

    font-size: 0.65rem;

    text-transform: uppercase;

    letter-spacing: 0.15em;
}

.image-decoration {
    position: absolute;

    width: 100%;
    height: 100%;

    border: 1px solid var(--pink);

    top: 18px;
    left: 18px;

    opacity: 0.25;

    z-index: 1;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    max-width: 1400px;

    margin: auto;

    padding: 130px 5vw;
}

.section-label {

    font-size: 0.65rem;

    color: var(--pink);

    letter-spacing: 0.15em;

    font-weight: 700;
}


/* SECTION HEADINGS */

.section-heading {
    margin-bottom: 70px;
}

.section-heading h2 {

    margin-top: 15px;

    font-family: "DM Serif Display", serif;

    font-size: clamp(2.4rem, 4vw, 4.2rem);

    line-height: 1;

    font-weight: 400;

    letter-spacing: -0.035em;
}

.section-heading p {

    max-width: 500px;

    margin-top: 22px;

    color: var(--gray);

    line-height: 1.7;

    font-size: 0.9rem;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about {
    border-top: 1px solid var(--border);
}

.about-content {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    margin-top: 70px;
}

.about-title h2,
.trajectory-title h2 {

    font-family: "DM Serif Display", serif;

    font-size: clamp(2.4rem, 4vw, 4.4rem);

    font-weight: 400;

    line-height: 1;

    letter-spacing: -0.04em;
}

.about-text {

    max-width: 580px;
}

.about-text p {

    color: var(--gray);

    font-size: 0.95rem;

    line-height: 1.9;

    margin-bottom: 22px;
}


/* =========================================================
   PORTFÓLIO
   ========================================================= */

.portfolio {
    border-top: 1px solid var(--border);
}

.projects-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 55px 28px;
}


/* PROJECT */

.project-card {
    min-width: 0;
}

.project-image-link {
    display: block;
}

.project-image {

    position: relative;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: var(--black-card);

    border: 1px solid var(--border);
}

.project-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s cubic-bezier(.2, .7, .2, 1);
}

.project-card:hover .project-image img {

    transform: scale(1.04);
}


/* PROJECT OVERLAY */

.project-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    background: rgba(8, 7, 9, 0.65);

    color: white;

    opacity: 0;

    transition: 0.4s ease;

    font-size: 0.75rem;

    font-weight: 700;
}

.project-card:hover .project-overlay {
    opacity: 1;
}


/* PROJECT INFO */

.project-info {

    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 30px;

    padding-top: 20px;
}

.project-number {

    display: block;

    margin-bottom: 8px;

    color: var(--pink);

    font-size: 0.65rem;

    font-weight: 700;

    letter-spacing: 0.1em;
}

.project-info h3 {

    font-family: "DM Serif Display", serif;

    font-size: 1.8rem;

    font-weight: 400;
}

.project-description p {

    color: var(--gray);

    font-size: 0.78rem;

    line-height: 1.7;
}


/* TAGS */

.project-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 15px;
}

.project-tags span {

    padding: 5px 9px;

    border: 1px solid var(--border);

    border-radius: 100px;

    color: var(--gray);

    font-size: 0.58rem;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}


/* MILLANA — PRINCIPAL */

.project-large {

    grid-column: 1 / -1;
}

.project-large .project-image {

    aspect-ratio: 21 / 9;
}

.project-large .project-info {

    grid-template-columns: 1fr 1fr;
}

.project-large .project-info h3 {

    font-size: 2.4rem;
}


/* =========================================================
   TRAJETÓRIA
   ========================================================= */

.trajectory {
    border-top: 1px solid var(--border);
}

.trajectory-content {

    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 100px;

    margin-top: 70px;
}

.timeline {

    border-left: 1px solid var(--border);

    padding-left: 35px;
}

.timeline-item {

    position: relative;

    display: grid;

    grid-template-columns: 110px 1fr;

    gap: 30px;

    padding-bottom: 55px;
}

.timeline-item::before {

    content: "";

    position: absolute;

    width: 7px;
    height: 7px;

    background: var(--pink);

    border-radius: 50%;

    left: -39px;

    top: 6px;

    box-shadow: 0 0 15px rgba(255, 79, 163, 0.7);
}

.timeline-date {

    font-size: 0.58rem;

    font-weight: 700;

    color: var(--pink);

    letter-spacing: 0.1em;
}

.timeline-item h3 {

    font-size: 1rem;

    margin-bottom: 10px;
}

.timeline-item p {

    color: var(--gray);

    font-size: 0.8rem;

    line-height: 1.7;
}


/* =========================================================
   CONHECIMENTOS
   ========================================================= */

.knowledge {
    border-top: 1px solid var(--border);
}

.skills-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border);

    border-left: 1px solid var(--border);
}

.skill {

    padding: 35px;

    min-height: 190px;

    border-right: 1px solid var(--border);

    border-bottom: 1px solid var(--border);

    transition: 0.3s ease;
}

.skill:hover {

    background: var(--black-card);
}

.skill span {

    color: var(--pink);

    font-size: 0.6rem;

    font-weight: 700;
}

.skill h3 {

    margin-top: 25px;

    font-family: "DM Serif Display", serif;

    font-size: 1.8rem;

    font-weight: 400;
}

.skill p {

    margin-top: 8px;

    color: var(--gray);

    font-size: 0.75rem;

    line-height: 1.6;
}


/* CURRÍCULO */

.cv-area {

    display: flex;

    justify-content: center;

    margin-top: 55px;
}

.cv-button {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    padding: 14px 20px;

    border: 1px solid var(--border);

    border-radius: 100px;

    color: var(--gray);

    font-size: 0.7rem;

    font-weight: 700;

    transition: 0.3s ease;
}

.cv-button:hover {

    color: white;

    border-color: var(--pink);

    transform: translateY(-2px);
}

.cv-button i:first-child {
    color: var(--pink);
}


/* =========================================================
   CONTATO
   ========================================================= */

.contact {

    min-height: 80vh;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    border-top: 1px solid var(--border);
}

.contact-content {
    max-width: 850px;
}

.contact h2 {

    font-family: "DM Serif Display", serif;

    font-size: clamp(3rem, 6vw, 6rem);

    line-height: 0.95;

    font-weight: 400;

    letter-spacing: -0.045em;
}


/* EMAIL */

.contact-email-box {

    display: flex;

    justify-content: center;

    margin-top: 40px;
}

.email-button {

    display: inline-flex;

    align-items: center;

    gap: 16px;

    padding: 15px 20px;

    border: 1px solid var(--border);

    border-radius: 100px;

    background: rgba(255, 255, 255, 0.025);

    font-size: 0.72rem;

    font-weight: 700;

    transition: 0.3s ease;
}

.email-button i:first-child {

    color: var(--pink);

    font-size: 1rem;
}

.email-button i:last-child {

    color: var(--gray-dark);

    font-size: 0.65rem;
}

.email-button:hover {

    border-color: var(--pink);

    background: rgba(255, 79, 163, 0.08);

    transform: translateY(-3px);
}


/* SOCIAL */

.social-links {

    display: flex;

    justify-content: center;

    gap: 12px;

    margin-top: 30px;
}

.social-links a {

    width: 40px;
    height: 40px;

    border: 1px solid var(--border);

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--gray);

    font-size: 0.8rem;

    transition: 0.3s ease;
}

.social-links a:hover {

    color: white;

    border-color: var(--pink);

    background: rgba(255, 79, 163, 0.08);

    transform: translateY(-3px);
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {

    border-top: 1px solid var(--border);

    padding: 45px 5vw;
}

.footer-content {

    max-width: 1400px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.footer p,
.footer-copy {

    color: var(--gray-dark);

    font-size: 0.62rem;
}


/* =========================================================
   REVEAL
   ========================================================= */

.reveal {

    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.active {

    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   RESPONSIVO — TABLET
   ========================================================= */

@media (max-width: 900px) {

    .hero {

        grid-template-columns: 1fr;

        padding-top: 130px;
    }

    .hero-image-wrapper {

        justify-self: start;

        max-width: 380px;
    }

    .about-content,
    .trajectory-content {

        grid-template-columns: 1fr;

        gap: 50px;
    }

    .skills-grid {

        grid-template-columns: repeat(2, 1fr);
    }

    .nav {

        gap: 18px;
    }

}


/* =========================================================
   RESPONSIVO — MOBILE
   ========================================================= */

@media (max-width: 700px) {


     .cursor-glow {
        display: none;
    }

    .header {

        padding: 15px 20px;
    }

    .logo {
        width: 42px;
        height: 42px;
    }

    .footer-logo {
        width: 38px;
        height: 38px;
    }


    /* MENU */

    .menu-toggle {

        display: flex;

        z-index: 1002;
    }

    .nav {

        position: absolute;

        top: 68px;
        right: 20px;

        width: 215px;

        padding: 10px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 2px;

        background: rgba(17, 14, 19, 0.97);

        border: 1px solid rgba(255, 255, 255, 0.10);

        border-radius: 18px;

        box-shadow:
            0 20px 60px rgba(0, 0, 0, 0.45),
            0 0 30px rgba(255, 79, 163, 0.05);

        backdrop-filter: blur(20px);

        opacity: 0;

        visibility: hidden;

        transform:
            translateY(-10px) scale(0.96);

        transform-origin: top right;

        transition:
            opacity 0.25s ease,
            visibility 0.25s ease,
            transform 0.3s cubic-bezier(.2, .8, .2, 1);

        z-index: 1001;
    }


    .nav.active {

        opacity: 1;

        visibility: visible;

        transform:
            translateY(0) scale(1);
    }


    .nav a {

        padding: 12px 13px;

        border-radius: 10px;

        font-size: 0.68rem;

        color: var(--gray);
    }

    .nav a:hover {

        background: rgba(255, 255, 255, 0.05);

        color: white;
    }

    .nav a::after {

        display: none;
    }


    /* HAMBURGER → X */

    .menu-toggle.active span:nth-child(1) {

        transform:
            translateY(5.5px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {

        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {

        transform:
            translateY(-5.5px) rotate(-45deg);
    }


    /* HERO */

    .hero {
        min-height: auto;

        padding: 120px 20px 80px;

        display: flex;
        flex-direction: column;

        align-items: center;

        gap: 55px;

        text-align: center;
    }

    .hero-content {
        width: 100%;

        display: flex;
        flex-direction: column;

        align-items: center;
    }

    .hero h1 {
        width: 100%;
        max-width: 420px;

        font-size: clamp(2.8rem, 13vw, 4rem);

        line-height: 0.98;

        text-align: center;
    }

    .hero-description {
        max-width: 390px;

        margin-top: 25px;

        font-size: 0.84rem;

        line-height: 1.75;

        text-align: center;
    }

    .hero-buttons {
        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 10px;

        margin-top: 30px;
    }

    .hero-image-wrapper {
        width: 78%;

        max-width: 330px;

        margin: 0 auto;

        align-self: center;
    }

    .hero-image {
        width: 100%;
        aspect-ratio: 1176 / 1337;
    }

    /* SECTIONS */

    .section {

        padding:
            90px 20px;
    }

    .section-heading {

        margin-bottom: 45px;
    }

    .section-heading h2,
    .about-title h2,
    .trajectory-title h2 {

        font-size: clamp(2.4rem, 11vw, 3.4rem);
    }


    /* ABOUT */

    .about-content {

        margin-top: 50px;
    }


    /* PORTFOLIO */

    .projects-grid {

        grid-template-columns: 1fr;

        gap: 50px;
    }

    .project-large {

        grid-column: auto;
    }

    .project-large .project-image {

        aspect-ratio: 16 / 10;
    }

    .project-large .project-info,
    .project-info {

        grid-template-columns: 1fr;

        gap: 14px;
    }

    .project-large .project-info h3 {

        font-size: 2rem;
    }


    /* TRAJETÓRIA */

    .trajectory-content {

        margin-top: 50px;
    }

    .timeline {

        padding-left: 25px;
    }

    .timeline-item {

        grid-template-columns: 1fr;

        gap: 10px;

        padding-bottom: 45px;
    }

    .timeline-item::before {

        left: -29px;
    }


    /* SKILLS */

    .skills-grid {

        grid-template-columns: 1fr;
    }

    .skill {

        min-height: auto;

        padding: 28px;
    }


    /* CONTACT */

    .contact {

        min-height: 70vh;
    }

    .contact h2 {

        font-size: clamp(2.8rem, 13vw, 4.5rem);
    }


    /* FOOTER */

    .footer {

        padding: 35px 20px;
    }

    .footer-content {

        flex-direction: column;

        align-items: flex-start;
    }

}


/* =========================================================
   MOBILE PEQUENO
   ========================================================= */

@media (max-width: 400px) {

    .hero h1 {

        font-size: 2.65rem;
    }

    .contact h2 {

        font-size: 2.7rem;
    }

    .nav {

        right: 15px;

        width: 205px;
    }

}