:root {
    --font-family: 'General Sans', sans-serif;

    --color-black: #000;
    --color-gray: #999;
    --color-white: #fff;
    --color-blue: #017FE4;
    --color-blue-light: #cee9ff;

    --radius-lg: 55px;
    --radius-md: 12px;

    --fs-xl: 5rem;
    --fs-lg: 4rem;
    --fs-md: 1.8rem;
    --fs-sm: 1.5rem;
    --fs-base: 1rem;

    --spacing-section: 100px;
    --spacing-gap: 30px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

svg {
    shape-rendering: crispEdges;
}


body {
    height: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    scrollbar-width: none;
    /* Firefox */
}

body::-webkit-scrollbar {
    display: none;
    /* Chrome, Edge, Safari */
}

main {
    flex: 1;
}

/* --- Header + Menu --- */
header {
    position: fixed;
    z-index: 1000;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);

    width: 40%;

    text-align: center;
    font-weight: 400;

    border-radius: 35px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.menu-container-uxui {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.menu-item {
    color: var(--color-black);
    text-decoration: none;
    font-size: 18px;
    padding: 10px 20px;
    transition: color 0.3s ease;
}

.menu-item:hover,
.menu-item.active {
    text-decoration: underline 1.5px;
    text-underline-offset: 4px;
}

/* --- Section 1: Fullscreen Hero --- */
#home.project-section {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
    display: block;
}

/* --- Section 2: Overview + Disclaimer --- */
.disclaimer-overview-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding: 60px 5%;
    width: 70%;
}

.text-block {
    background: var(--color-white);
    padding: 20px 0;
    line-height: 1.6;
}

.disclaimer-title,
.overview-title {
    font-size: var(--fs-md);
    font-weight: 600;
    display: inline-block;
}

.text-block.disclaimer {
    margin-top: 2%;
}

.disclaimer-text,
.overview-text {
    display: block;
    line-height: 1.6;
}

/* --- Section 3: Process --- */
.process {
    padding: 70px 5% 50px 5%;
    text-align: center;
    background-color: var(--color-white);
}

.section3-title {
    text-align: left;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-gap) 60px;
    padding: 50px 3%;
}

.grid-item {
    text-align: left;
}

.item-title {
    font-size: var(--fs-sm);
    font-weight: 600;
    margin-bottom: 5px;
}

.number {
    font-size: var(--fs-sm);
    font-weight: 400;
    color: #777;
    margin-bottom: 10px;
    margin-top: 5%;
}

.item-text {
    font-size: var(--fs-base);
    line-height: 1.6;
    color: #333;
}

.flowchart-img {
    height: 80vh;
    width: auto;
    display: block;
    margin: 0 auto;
    justify-self: center;
    margin-top: 1%;
}

.ER-image {
    display: block;
    margin: 0 auto;
    justify-self: center;
    width: auto;
    max-width: 90%;
    height: auto;
    margin-top: 5%;
}

/* --- Fast & Furious Images --- */
.img2-ff,
.img3-ff,
.img4-ff,
.img5-ff {
    display: block;
    margin: 5% auto 0;
    width: 80%;
    height: auto;
}

.img4-ff {
    width: 60%;
}

.img5-ff {
    width: 70%;
}

/* --- Reflection --- */
.reflection {
    background-color: var(--color-white);
    margin-top: 10%;
}

.reflection-title {
    font-size: var(--fs-sm);
    font-weight: 600;
    margin-bottom: 5px;
    text-align: left;
}

.reflection-text {
    font-size: var(--fs-base);
    line-height: 1.6;
    color: #333;
    width: 70%;
    padding: 0;
    text-align: left;
}

/* --- Footer --- */
.footer {
    width: 90%;
    margin-left: 5%;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-gray);
    text-align: left;
    border-top: 1px solid #eee;
    padding: 20px 0 32px;
}


/* --- RESPONSIVIDADE - titulos --- */
.section3-title {
    font-size: clamp(2rem, 6vw, 5rem);
}

/* --- RESPONSIVIDADE --- */

/* Small desktops */
@media (min-width: 1025px) and (max-width: 1280px) {
    header {
        width: 50%;
        padding: 4px 0;
    }

    .section3-title {
        margin-top: 0;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 90%;
        margin: 0 auto;
    }
}


@media (min-width: 768px) and (max-width: 1024px) {
    header {
        width: 60%;
        padding: 0 5px;
    }

    .menu-container-uxui {
        gap: 10px;
        flex-wrap: wrap;
    }

    .disclaimer-overview-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        padding: 40px 5%;
        width: 80%;
    }

    .text-block {
        text-align: left;
        max-width: 90%;
        margin: 0 auto;
    }

    .disclaimer-title {
        margin-top: 10%;
    }

    .section3-title {
        text-align: center;
        margin-top: 5%;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 90%;
        margin: 0 auto;
    }

    .flowchart-img,
    .ER-image {
        display: block;
        max-width: 90%;
        height: auto;
    }

    .img2-ff,
    .img3-ff,
    .img4-ff,
    .img5-ff {
        display: block;
        max-width: 90%;
        height: auto;
    }

    .reflection-text {
        width: 80%;
    }

    .flowchart-img {
        max-width: 60%;
        height: auto;
        margin: 0 auto;
        display: block;
    }
}


@media (min-width: 610px) and (max-width: 767px) {
    header {
        width: 70%;
        padding: 2px 0;
    }

    .menu-container-uxui {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: space-around;
        width: 100%;
    }

    .menu-item {
        font-size: 14px;
        flex: 1;
        text-align: center;
        padding: 6px 2px;
    }

    .disclaimer-overview-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        padding: 40px 5%;
        width: 90%;
    }

    .text-block {
        text-align: left;
        max-width: 90%;
        margin: 0 auto;
    }

    .section3-title {
        font-size: 3rem;
        margin: 0 auto;
        text-align: center;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-grid .item-text {
        text-align: left;
    }

    .flowchart-img,
    .ER-image {
        max-width: 80%;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    .img2-ff,
    .img3-ff,
    .img4-ff,
    .img5-ff {
        width: 90%;
        display: block;
    }

    .reflection-text {
        width: 90%;
        text-align: left;
    }
}


/* Tablets */
@media (min-width: 481px) and (max-width: 609px) {
    header {
        width: 70%;
        padding: 2px 0;
    }

    .menu-container-uxui {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: space-around;
        width: 100%;
    }

    .menu-item {
        font-size: 14px;
        flex: 1;
        text-align: center;
        padding: 6px 2px;
    }

    .project-image {
        content: url("imgs/hero-ff-medium.svg");
    }

    .disclaimer-overview-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 30px 5%;
        width: 90%;
    }

    .text-block {
        text-align: left;
        max-width: 90%;
        margin: 0 auto;
    }

    .section3-title {
        font-size: 3rem;
        margin: 0 auto;
        text-align: center;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-grid .item-text {
        text-align: left;
    }

    .flowchart-img,
    .ER-image {
        max-width: 80%;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    .redesign-img,
    .img2-ff,
    .img3-ff,
    .img4-ff,
    .img5-ff {
        width: 90%;
        display: block;
    }

    .redesign-img.profile {
        width: 52%;
    }

    .redesign-img.random-hack {
        width: 85%;
    }

    .visuals {
        padding: 40px 5%;
    }

    .logo {
        width: 65%;
    }

    .reflection-text {
        width: 90%;
        text-align: left;
    }
}


/* Mobile */
@media (max-width: 480px) {
    header {
        width: 90%;
        padding: 2px 0;
    }

    .menu-container-uxui {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: space-around;
        width: 100%;
    }

    .menu-item {
        font-size: 14px;
        flex: 1;
        text-align: center;
        padding: 6px 2px;
    }

    .project-image {
        content: url("imgs/hero-ff-small.svg");
    }

    .disclaimer-overview-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 30px 5%;
        width: 90%;
    }

    .disclaimer-title {
        margin-top: 10%;
    }

    .text-block {
        text-align: left;
        max-width: 90%;
        margin: 0 auto;
    }

    .section3-title {
        font-size: 3rem;
        text-align: center;
        margin-top: 10%;
    }

    .process-grid,
    .visuals-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-grid .item-text {
        text-align: left;
    }

    .flowchart-img,
    .ER-image {
        max-width: 80%;
        height: auto;
        display: block;
    }

    .redesign-img,
    .img2-ff,
    .img3-ff,
    .img4-ff,
    .img5-ff {
        width: 90%;
        display: block;
    }

    .redesign-img.profile {
        width: 52%;
    }

    .redesign-img.random-hack {
        width: 85%;
    }

    .visuals {
        padding: 40px 5%;
    }

    .logo {
        width: 85%;
    }

    .reflection-text {
        width: 90%;
        text-align: left;
    }
}