/* =========================
   HOME
========================= */

.home-page {
    font-family: "Manrope", sans-serif;
    color: #161616;
}


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

.home-hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: #ffffff;
}


.hero-background {
    position: absolute;

    inset: 0;
}


.hero-background img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.42) 55%,
            rgba(0, 0, 0, 0.12) 100%
        );
}


.hero-content {
    position: relative;

    z-index: 2;

    width: min(1140px, calc(100% - 60px));

    margin: 0 auto;

    padding-top: 70px;
}


.hero-label {
    display: block;

    margin-bottom: 25px;

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.18rem;
}


.hero-content h1 {
    max-width: 950px;

    margin-bottom: 30px;

    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 600;

    line-height: 1.02;

    letter-spacing: -0.18rem;
}


.hero-content p {
    max-width: 610px;

    margin-bottom: 40px;

    color: rgba(255,255,255,0.82);

    font-size: 1.1rem;

    line-height: 1.8;
}


.hero-actions {
    display: flex;

    align-items: center;

    gap: 25px;
}


.hero-primary {
    display: flex;

    align-items: center;

    gap: 45px;

    padding: 18px 24px;

    color: #0f0867;

    background-color: #ffffff;

    font-size: 0.9rem;
    font-weight: 600;
}


.hero-secondary {
    color: #ffffff;

    font-size: 0.9rem;
    font-weight: 600;

    border-bottom: 1px solid rgba(255,255,255,0.6);

    padding-bottom: 4px;
}


.hero-bottom {
    position: absolute;

    z-index: 2;

    bottom: 35px;

    left: 50%;

    transform: translateX(-50%);

    width: min(1140px, calc(100% - 60px));

    display: flex;

    justify-content: space-between;

    color: rgba(255,255,255,0.6);

    font-size: 0.8rem;
}


/* =========================
   GERAL
========================= */

.section-label {
    display: block;

    margin-bottom: 18px;

    color: #0f0867;

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.18rem;
}


/* =========================
   INTRODUÇÃO
========================= */

.home-intro {
    max-width: 1200px;

    margin: 0 auto;

    padding: 120px 30px;
}


.home-intro > h2 {
    max-width: 900px;

    margin-bottom: 80px;

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

    line-height: 1.08;

    letter-spacing: -0.12rem;
}


.home-intro-content {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    padding-top: 50px;

    border-top: 1px solid #d8d8d8;
}


.home-intro-highlight {
    color: #161616;

    font-size: 1.5rem;

    line-height: 1.5;
}


.home-intro-text p {
    margin-bottom: 30px;

    color: #666666;

    line-height: 1.8;
}


.home-intro-text a {
    display: inline-flex;

    gap: 25px;

    align-items: center;

    font-weight: 600;
}


/* =========================
   SERVIÇOS
========================= */

.home-services {
    padding:
        110px
        max(30px, calc((100% - 1140px) / 2));

    background-color: #f5f5f5;
}


.services-heading {
    max-width: 750px;

    margin-bottom: 70px;
}


.services-heading h2 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);

    font-weight: 600;

    line-height: 1.2;
}


.services-grid {
    display: grid;

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

    border-top: 1px solid #cccccc;
}


.service-item {
    padding: 35px 30px 20px 0;
}


.service-item + .service-item {
    padding-left: 30px;

    border-left: 1px solid #cccccc;
}


.service-image {
    width: 100%;
    height: 220px;

    margin-bottom: 28px;

    overflow: hidden;

    background-color: #e9e9e9;
}


.service-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.4s ease;
}


.service-item:hover .service-image img {
    transform: scale(1.025);
}



.service-number {
    color: #0f0867;

    font-size: 0.75rem;
    font-weight: 700;
}


.service-item h3 {
    margin: 35px 0 15px;

    font-size: 1.25rem;
    font-weight: 600;
}


.service-item p {
    color: #666666;

    font-size: 0.92rem;

    line-height: 1.7;
}


/* =========================
   PROJETOS
========================= */

.home-projects {
    max-width: 1200px;

    margin: 0 auto;

    padding: 120px 30px;
}


.home-projects-heading {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 40px;

    margin-bottom: 65px;
}


.home-projects-heading h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);

    font-weight: 600;
}


.all-projects-link {
    display: flex;

    gap: 25px;

    font-weight: 600;

    white-space: nowrap;
}


.home-projects-grid {
    display: grid;

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

    gap: 30px;
}


.home-project-card {
    min-width: 0;
}


.home-project-image {
    position: relative;

    display: block;

    overflow: hidden;
}


.home-project-image img {
    width: 100%;

    aspect-ratio: 4 / 3;

    object-fit: cover;

    display: block;

    transition: transform 0.4s ease;
}


.home-project-card:hover img {
    transform: scale(1.025);
}


.project-arrow {
    position: absolute;

    right: 18px;
    bottom: 18px;

    width: 46px;
    height: 46px;

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

    color: #0f0867;

    background-color: #ffffff;
}


.home-project-info {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 20px;

    padding-top: 20px;
}


.project-type {
    display: block;

    margin-bottom: 7px;

    color: #0f0867;

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

    letter-spacing: 0.12rem;

    text-transform: uppercase;
}


.home-project-info h3 {
    font-size: 1.2rem;

    font-weight: 600;
}


.home-project-info p {
    font-size: 0.85rem;

    text-align: right;
}


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

.home-experience {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    padding:
        110px
        max(30px, calc((100% - 1140px) / 2));

    background-color: #f5f5f5;
}


.experience-heading h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);

    font-weight: 600;
}


.experience-content {
    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    align-items: flex-start;
}


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

    margin-bottom: 30px;

    color: #5f5f5f;

    font-size: 1.05rem;

    line-height: 1.8;
}


.experience-content a {
    display: flex;

    align-items: center;

    gap: 25px;

    font-weight: 600;
}


/* =========================
   CTA
========================= */

.home-cta {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        90px
        max(30px, calc((100% - 1140px) / 2));

    color: #ffffff;

    background-color: #0f0867;
}


.home-cta .section-label {
    color: #b9b6e5;
}


.home-cta h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);

    font-weight: 500;
}


.home-cta > a {
    display: flex;

    align-items: center;

    gap: 40px;

    padding: 18px 25px;

    color: #0f0867;

    background-color: #ffffff;

    font-weight: 600;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 950px) {

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


    .service-item {
        border-bottom: 1px solid #cccccc;
    }


    .service-item + .service-item {
        border-left: none;
    }


    .home-projects-grid {
        grid-template-columns: 1fr 1fr;
    }


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

        gap: 50px;
    }

}


@media (max-width: 750px) {

    .home-intro-content {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .home-projects-heading {
        align-items: flex-start;

        flex-direction: column;
    }


    .home-projects-grid {
        grid-template-columns: 1fr;
    }


    .home-cta {
        align-items: flex-start;

        flex-direction: column;

        gap: 40px;
    }

}


@media (max-width: 600px) {

    .service-image {
        height: 220px;
    }

    .hero-content {
        width: calc(100% - 40px);
    }


    .hero-content h1 {
        letter-spacing: -0.1rem;
    }


    .hero-actions {
        align-items: flex-start;

        flex-direction: column;
    }


    .hero-bottom {
        width: calc(100% - 40px);
    }


    .home-intro,
    .home-projects {
        padding:
            80px
            20px;
    }


    .home-services,
    .home-experience {
        padding:
            80px
            20px;
    }


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


    .service-item,
    .service-item + .service-item {
        padding:
            30px
            0;

        border-left: none;

        border-bottom: 1px solid #cccccc;
    }


    .home-project-info {
        align-items: flex-start;

        flex-direction: column;

        gap: 7px;
    }


    .home-project-info p {
        text-align: left;
    }


    .home-cta {
        padding:
            70px
            20px;
    }

}