:root {
    --color-bg: #F7F4EF;
    --color-accent: #E46838;
    --color-text: #1A1A1A;
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* ================= HEADER ================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
    color: #fff;
}

.logo {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
}

.nav a {
    margin-left: 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.nav a:hover {
    opacity: 0.5;
}

/* ================= HERO ================= */
.section--hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: grid;
    grid-template-rows: 1fr auto;
    align-items: stretch;
}

/* Background Layer */
.hero-bg-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background-color: #000;
}

.hero-bg-scenery,
.hero-bg-person {
    position: absolute;
    top: -5%;
    left: -10%;
    width: 120%;
    height: 130vh;
    object-fit: cover;
    object-position: center;
    will-change: transform;
}

.hero-bg-person {
    z-index: 4;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(10,0,0,0) 70%, rgba(10,0,0,1) 100%);
    z-index: 5;
}

.hero-inner {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 5rem 5rem;
    height: 100%;
    gap: 2.5rem;
}

.hero-title {
    position: absolute;
    top: 22%;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 3;
    will-change: transform;
}

.hero-title__name {
    display: block;
    font-family: 'Germania One', serif;
    font-size: clamp(6rem, 15vw, 15rem);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.03em;
    color: #ffffff;
    filter: drop-shadow(0 4px 0 rgba(0,0,0,0.4));
}

.dot {
    color: var(--color-accent);
}

/* H2 - Subtitle */
.hero-subtitle-wrap {
    border-left: 4px solid var(--color-accent);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    max-width: 600px;
    will-change: transform;
}

.hero-subtitle {
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 1px 20px rgba(0,0,0,0.3);
}

.subtitle-gray {
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    font-style: italic;
}

/* Bio Grid - bottom of hero */
.hero-bio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    will-change: transform;
}

.bio-card {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.5rem;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    will-change: transform;
}

.bio-card__eyebrow {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.bio-card__primary {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.bio-card__secondary {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
}

.bio-card__tools {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    right: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.4);
    z-index: 5;
}

.mouse-icon {
    width: 22px;
    height: 34px;
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
}

.mouse-icon::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    animation: scrollWheel 2s infinite ease-out;
}

@keyframes scrollWheel {
    0% { top: 5px; opacity: 1; }
    100% { top: 18px; opacity: 0; }
}


/* ================= PROJETOS ================= */
.projects {
    background-color: var(--color-bg);
}

.projects-pin {
    display: flex;
    align-items: flex-start;
    position: relative;
    width: 100vw;
}

/* Text Column */
.projects-text {
    width: 50%;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    padding-left: 5rem;
    padding-right: 3rem;
}

.project-info {
    position: absolute;
    width: 85%;
    opacity: 0;
    pointer-events: none;
}

.project-info#info-1 {
    opacity: 1;
    pointer-events: auto;
}

.project-info h3 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.project-info .category {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 2.5rem;
}

.project-info .btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background-color: var(--color-text);
    color: var(--color-bg);
    font-weight: 600;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.project-info .btn:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
}

/* Visual Column */
.projects-visual {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.cluster {
    height: 250vh;
    position: relative;
    width: 100%;
}

.cluster img {
    position: absolute;
    object-fit: contain;
    background: transparent;
    box-shadow: none;
    will-change: transform;
}

.img-1 { width: 25%; top: 5%; left: 30%; z-index: 2; }
.img-2 { width: 35%; top: 25%; left: 30%; z-index: 1; }
.img-3 { width: 85%; top: 45%; left: 30%; transform: translateX(-50%); z-index: 4; }
.img-4 { width: 50%; top: 60%; left: 5%; z-index: 3; }


/* ================= CONTATO ================= */
.contact {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5rem;
    background-color: var(--color-bg);
    color: var(--color-text);
}

.contact h2 {
    font-size: clamp(4rem, 8vw, 7.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 4rem;
    color: var(--color-text);
}

.contact-list {
    width: 100%;
    max-width: 1000px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 2.5rem 0 1.5rem;
}

.contact-label {
    font-size: 0.75rem;
    color: rgba(26, 26, 26, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--color-text);
    transition: color 0.3s ease;
    border: none;
    padding-bottom: 0;
}

.contact-link:hover {
    color: var(--color-accent);
}

.contact-link .arrow {
    font-weight: 400;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    transition: transform 0.3s ease;
    color: rgba(26, 26, 26, 0.3);
}

.contact-link:hover .arrow {
    transform: translateX(15px) rotate(-45deg);
    color: var(--color-accent);
}


/* ================= RESPONSIVO ================= */
@media (max-width: 900px) {
    .header {
        padding: 1.5rem 2rem;
    }

    .section--hero {
        height: 100dvh;
    }

    .hero-inner {
        padding: 0 2rem 4rem;
        gap: 2rem;
    }

    .hero-title {
        top: 10vh;
        left: 2rem;
        right: 2rem;
    }

    .hero-title__name {
        font-size: clamp(3.5rem, 13vw, 6rem);
    }

    .hero-subtitle {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    .hero-bio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1rem;
    }

    .bio-card {
        padding-right: 0;
    }

    .scroll-indicator {
        right: 2rem;
        bottom: 2rem;
    }

    .projects-pin {
        flex-direction: column;
    }

    .projects-text {
        width: 100%;
        padding: 0 2rem;
        position: relative;
        height: auto;
        min-height: 50vh;
    }

    .projects-visual {
        display: none;
    }

    .contact {
        padding: 5rem 2rem;
    }
}
