/* =========================================================
   NETSERVICE ANGOLA
   PÁGINA: PROJECTOS
   VERSÃO 3
========================================================= */


/* =========================================================
   01. HERO
========================================================= */

.projects-hero {
    position: relative;

    min-height: 535px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--ns-blue);
}


.projects-hero-photo {
    position: absolute;
    inset: 0;

    background-image:
        url("../images/projectos/reais/equipa-seguranca-01.webp");

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 42%;
}


.projects-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 27, 46, .99) 0%,
            rgba(5, 27, 46, .95) 37%,
            rgba(5, 27, 46, .72) 63%,
            rgba(5, 27, 46, .36) 100%
        );
}


.projects-hero-inner {
    position: relative;
    z-index: 2;
}


.projects-hero-content {
    width: min(675px, 60%);

    padding: 68px 0;
}


.projects-hero-label {
    margin: 0 0 15px;

    color: var(--ns-green);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
}


.projects-hero h1 {
    max-width: 670px;

    margin: 0;

    color: #ffffff;

    font-size:
        clamp(
            44px,
            4.5vw,
            64px
        );

    font-weight: 800;
    line-height: .99;
    letter-spacing: -.047em;
}


.projects-hero-text {
    max-width: 590px;

    margin: 21px 0 0;

    color:
        rgba(
            255,
            255,
            255,
            .82
        );

    font-size: 15px;
    line-height: 1.65;
}


.projects-hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 11px;

    margin-top: 26px;
}


.projects-hero-primary,
.projects-hero-secondary {
    min-height: 45px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 20px;

    border-radius: 7px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition:
        transform .2s ease,
        background .2s ease;
}


.projects-hero-primary {
    background: var(--ns-green);
    color: #10200c;
}


.projects-hero-secondary {
    border:
        1px solid
        rgba(255, 255, 255, .43);

    color: #ffffff;
}


.projects-hero-primary:hover,
.projects-hero-secondary:hover {
    transform: translateY(-2px);
}



/* =========================================================
   02. INTRODUÇÃO
   NOME ÚNICO PARA NÃO COLIDIR COM NETSERVICE.CSS
========================================================= */

.projects-page-intro {
    padding: 58px 0 42px;

    background: #ffffff;
}


.projects-intro-grid {
    display: grid;

    grid-template-columns:
        minmax(0, .9fr)
        minmax(0, 1.1fr);

    gap: 90px;

    align-items: start;
}


.projects-page-intro h2,
.projects-section-heading h2,
.projects-method h2 {
    max-width: 640px;

    margin: 0;

    color: var(--ns-blue);

    font-size:
        clamp(
            36px,
            3.3vw,
            49px
        );

    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -.04em;
}


.projects-intro-copy {
    max-width: 590px;
}


.projects-intro-copy p {
    margin: 0 0 14px;

    color: #65727d;

    font-size: 15px;
    line-height: 1.7;
}


.projects-intro-copy p:last-child {
    margin-bottom: 0;
}



/* =========================================================
   03. INDICADORES
========================================================= */

.projects-indicators {
    padding: 0 0 56px;

    background: #ffffff;
}


.projects-indicators-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    overflow: hidden;

    border: 1px solid #dfe5e8;
    border-radius: 10px;

    background: #ffffff;
}


.projects-indicator {
    min-height: 128px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 22px 24px;

    border-right:
        1px solid #dfe5e8;
}


.projects-indicator:last-child {
    border-right: 0;
}


.projects-indicator strong {
    color: var(--ns-blue);

    font-size: 22px;
    font-weight: 800;

    letter-spacing: -.025em;
}


.projects-indicator span {
    max-width: 210px;

    margin-top: 7px;

    color: #65727d;

    font-size: 12px;
    line-height: 1.45;
}



/* =========================================================
   04. CABEÇALHOS
========================================================= */

.projects-section-heading {
    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(0, .7fr);

    gap: 70px;

    align-items: end;

    margin-bottom: 30px;
}


.projects-section-heading > p {
    max-width: 430px;

    margin: 0;

    color: #65727d;

    font-size: 14px;
    line-height: 1.65;
}



/* =========================================================
   05. PROJECTOS REAIS
========================================================= */

.projects-real {
    padding: 56px 0 60px;

    background: #f5f7f8;
}


.real-project {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, .95fr);

    margin-top: 18px;

    overflow: hidden;

    border:
        1px solid #dfe5e8;

    border-radius: 12px;

    background: #ffffff;

    box-shadow:
        0 6px 20px
        rgba(8, 34, 56, .035);
}


.real-project:first-of-type {
    margin-top: 0;
}


.real-project-reverse
.real-project-gallery {
    order: 2;
}


.real-project-reverse
.real-project-content {
    order: 1;
}



/* =========================================================
   06. GALERIA DE CADA PROJECTO
   ALTURA CONTROLADA
========================================================= */

.real-project-gallery {
    display: grid;

    grid-template-rows:
        310px 154px;

    height: 468px;

    min-width: 0;

    gap: 4px;

    background: #ffffff;
}


.real-project-main-image {
    position: relative;

    width: 100%;
    height: 310px;

    overflow: hidden;

    background: #dce3e6;
}


.real-project-main-image img {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .4s ease;
}


.real-project:hover
.real-project-main-image img {
    transform: scale(1.025);
}


.real-project-number {
    position: absolute;

    z-index: 3;

    left: 19px;
    bottom: 18px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: var(--ns-green);

    color: #10200c;

    font-size: 11px;
    font-weight: 800;

    box-shadow:
        0 5px 16px
        rgba(0, 0, 0, .14);
}


.real-project-small-images {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 4px;

    height: 154px;

    overflow: hidden;
}


.real-project-small-images img {
    display: block;

    width: 100%;
    height: 154px;

    min-width: 0;

    object-fit: cover;
}



/* =========================================================
   07. CONTEÚDO PROJECTO
========================================================= */

.real-project-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;

    padding: 36px 40px;
}


.real-project-type {
    margin: 0 0 11px;

    color: var(--ns-green);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .14em;
}


.real-project-content h3 {
    max-width: 530px;

    margin: 0;

    color: var(--ns-blue);

    font-size:
        clamp(
            27px,
            2.5vw,
            36px
        );

    font-weight: 800;
    line-height: 1.05;

    letter-spacing: -.038em;
}


.real-project-content
> p:not(.real-project-type) {
    max-width: 540px;

    margin: 14px 0 0;

    color: #65727d;

    font-size: 13px;
    line-height: 1.6;
}


.real-project-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    margin-top: 16px;
}


.real-project-tags span {
    padding: 6px 9px;

    border: 1px solid #dfe5e8;
    border-radius: 5px;

    background: #f5f7f8;

    color: var(--ns-blue);

    font-size: 10px;
    font-weight: 700;
}


.real-project-note {
    margin-top: 18px;

    padding-top: 14px;

    border-top:
        1px solid #dfe5e8;
}


.real-project-note strong {
    display: block;

    margin-bottom: 4px;

    color: var(--ns-blue);

    font-size: 11px;
    font-weight: 800;
}


.real-project-note p {
    max-width: 530px;

    margin: 0;

    color: #65727d;

    font-size: 12px;
    line-height: 1.5;
}


.real-project-content > a {
    width: fit-content;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    margin-top: 17px;

    color: var(--ns-blue);

    text-decoration: none;

    font-size: 12px;
    font-weight: 800;
}


.real-project-content > a span {
    color: var(--ns-green);

    font-size: 15px;

    transition:
        transform .2s ease;
}


.real-project-content > a:hover span {
    transform: translateX(4px);
}



/* =========================================================
   08. GALERIA OPERACIONAL
========================================================= */

.projects-gallery-section {
    padding: 56px 0 58px;

    background: #ffffff;
}


.projects-photo-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    grid-auto-rows: 245px;

    gap: 9px;
}


.projects-photo {
    position: relative;

    min-width: 0;

    margin: 0;

    overflow: hidden;

    border-radius: 9px;

    background: #dce3e6;
}


.projects-photo-large {
    grid-row: span 2;
}


.projects-photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .4s ease;
}


.projects-photo:hover img {
    transform: scale(1.025);
}


.projects-photo::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 43%,
            rgba(5, 27, 46, .86) 100%
        );
}


.projects-photo figcaption {
    position: absolute;

    z-index: 2;

    left: 18px;
    right: 18px;
    bottom: 16px;

    color: #ffffff;
}


.projects-photo figcaption strong {
    display: block;

    font-size: 14px;
    font-weight: 800;
}


.projects-photo figcaption span {
    display: block;

    margin-top: 4px;

    color:
        rgba(
            255,
            255,
            255,
            .77
        );

    font-size: 11px;
    line-height: 1.4;
}



/* =========================================================
   09. METODOLOGIA
========================================================= */

.projects-method {
    padding: 54px 0;

    background: var(--ns-blue);

    color: #ffffff;
}


.projects-method-grid {
    display: grid;

    grid-template-columns:
        minmax(0, .85fr)
        minmax(0, 1.15fr);

    gap: 82px;
}


.projects-method h2 {
    color: #ffffff;
}


.projects-method-intro
> p:last-child {
    max-width: 475px;

    margin: 15px 0 0;

    color:
        rgba(
            255,
            255,
            255,
            .70
        );

    font-size: 13px;
    line-height: 1.6;
}


.projects-method-list {
    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            .16
        );
}


.projects-method-item {
    display: grid;

    grid-template-columns:
        42px 1fr;

    gap: 15px;

    padding: 14px 0;

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            .16
        );
}


.projects-method-item > span {
    color: var(--ns-green);

    font-size: 10px;
    font-weight: 800;
}


.projects-method-item h3 {
    margin: 0;

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;
}


.projects-method-item p {
    margin: 4px 0 0;

    color:
        rgba(
            255,
            255,
            255,
            .67
        );

    font-size: 12px;
    line-height: 1.5;
}



/* =========================================================
   10. OUTRAS CAPACIDADES
========================================================= */

.projects-capabilities {
    padding: 54px 0;

    background: #f5f7f8;
}


.projects-capabilities-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;
}


.projects-capability {
    min-height: 185px;

    display: flex;
    flex-direction: column;

    padding: 21px;

    border:
        1px solid #dfe5e8;

    border-radius: 9px;

    background: #ffffff;

    color: inherit;
    text-decoration: none;

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}


.projects-capability:hover {
    transform: translateY(-3px);

    border-color: #ccd7dc;

    box-shadow:
        0 10px 25px
        rgba(8, 34, 56, .07);
}


.projects-capability > span {
    color: var(--ns-green);

    font-size: 10px;
    font-weight: 800;
}


.projects-capability h3 {
    margin: 18px 0 7px;

    color: var(--ns-blue);

    font-size: 16px;
    font-weight: 800;

    line-height: 1.2;
}


.projects-capability p {
    margin: 0;

    color: #65727d;

    font-size: 12px;
    line-height: 1.5;
}


.projects-capability strong {
    margin-top: auto;

    padding-top: 16px;

    color: var(--ns-blue);

    font-size: 11px;
    font-weight: 800;
}



/* =========================================================
   11. SECTORES
========================================================= */

.projects-sectors {
    padding: 52px 0;

    background: #ffffff;
}


.projects-sector-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 9px;
}


.projects-sector-grid div {
    min-height: 58px;

    display: flex;
    align-items: center;

    padding: 0 17px;

    border: 1px solid #dfe5e8;
    border-radius: 7px;

    background: #f5f7f8;

    color: var(--ns-blue);

    font-size: 14px;
    font-weight: 700;
}


.projects-sector-grid div::before {
    content: "";

    width: 4px;
    height: 19px;

    margin-right: 11px;

    flex-shrink: 0;

    border-radius: 4px;

    background: var(--ns-green);
}



/* =========================================================
   12. CTA
========================================================= */

.projects-contact {
    padding: 44px 0;

    background:
        var(
            --ns-green-dark,
            #1f5b3a
        );

    color: #ffffff;
}


.projects-contact-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(0, .8fr);

    gap: 65px;

    align-items: center;
}


.projects-contact-label {
    margin: 0 0 9px;

    color:
        rgba(
            255,
            255,
            255,
            .72
        );

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .15em;
}


.projects-contact h2 {
    margin: 0;

    color: #ffffff;

    font-size:
        clamp(
            32px,
            3vw,
            43px
        );

    font-weight: 800;
    line-height: 1.03;

    letter-spacing: -.04em;
}


.projects-contact-grid
> div
> p:last-child {
    max-width: 570px;

    margin: 13px 0 0;

    color:
        rgba(
            255,
            255,
            255,
            .78
        );

    font-size: 13px;
    line-height: 1.55;
}


.projects-contact-actions {
    display: flex;

    justify-content: flex-end;
    align-items: center;

    flex-wrap: wrap;

    gap: 9px;
}


.projects-contact-primary,
.projects-contact-phone {
    min-height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 18px;

    border-radius: 6px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;
}


.projects-contact-primary {
    background: #ffffff;
    color: var(--ns-blue);
}


.projects-contact-phone {
    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .45
        );

    color: #ffffff;
}



/* =========================================================
   13. TABLET
========================================================= */

@media (max-width: 900px) {

    .projects-intro-grid,
    .projects-section-heading,
    .projects-method-grid,
    .projects-contact-grid {
        grid-template-columns: 1fr;
    }


    .projects-intro-grid,
    .projects-method-grid {
        gap: 34px;
    }


    .projects-section-heading {
        gap: 18px;
    }


    .projects-hero-content {
        width: 72%;
    }


    .projects-indicators-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .projects-indicator:nth-child(2) {
        border-right: 0;
    }


    .projects-indicator:nth-child(1),
    .projects-indicator:nth-child(2) {
        border-bottom:
            1px solid #dfe5e8;
    }


    .real-project {
        grid-template-columns: 1fr;
    }


    .real-project-gallery,
    .real-project-reverse
    .real-project-gallery {
        order: 1;

        height: 500px;

        grid-template-rows:
            330px 166px;
    }


    .real-project-main-image {
        height: 330px;
    }


    .real-project-small-images {
        height: 166px;
    }


    .real-project-small-images img {
        height: 166px;
    }


    .real-project-content,
    .real-project-reverse
    .real-project-content {
        order: 2;
    }


    .projects-photo-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .projects-capabilities-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .projects-contact-actions {
        justify-content: flex-start;
    }

}



/* =========================================================
   14. MOBILE
========================================================= */

@media (max-width: 700px) {

    .projects-hero {
        min-height: 550px;
    }


    .projects-hero-photo {
        background-position:
            57% center;
    }


    .projects-hero-overlay {
        background:
            rgba(
                5,
                27,
                46,
                .86
            );
    }


    .projects-hero-content {
        width: 100%;

        padding: 50px 0;
    }


    .projects-hero h1 {
        font-size: 40px;
    }


    .projects-page-intro,
    .projects-real,
    .projects-gallery-section,
    .projects-method,
    .projects-capabilities,
    .projects-sectors {
        padding: 44px 0;
    }


    .projects-indicators {
        padding:
            0 0 44px;
    }


    .projects-indicators-grid {
        grid-template-columns: 1fr;
    }


    .projects-indicator,
    .projects-indicator:nth-child(2) {
        border-right: 0;

        border-bottom:
            1px solid #dfe5e8;
    }


    .projects-indicator:last-child {
        border-bottom: 0;
    }


    .real-project {
        margin-top: 14px;
    }


    .real-project-gallery,
    .real-project-reverse
    .real-project-gallery {
        height: 410px;

        grid-template-rows:
            270px 136px;
    }


    .real-project-main-image {
        height: 270px;
    }


    .real-project-small-images {
        height: 136px;
    }


    .real-project-small-images img {
        height: 136px;
    }


    .real-project-content {
        padding: 28px 22px 30px;
    }


    .real-project-content h3 {
        font-size: 29px;
    }


    .projects-photo-grid {
        grid-template-columns: 1fr;

        grid-auto-rows: 255px;
    }


    .projects-photo-large {
        grid-row: span 1;
    }


    .projects-capabilities-grid,
    .projects-sector-grid {
        grid-template-columns: 1fr;
    }


    .projects-contact {
        padding: 40px 0;
    }


    .projects-contact-actions {
        flex-direction: column;

        align-items: stretch;
    }


    .projects-contact-primary,
    .projects-contact-phone {
        width: 100%;
    }

}



/* =========================================================
   15. MOBILE PEQUENO
========================================================= */

@media (max-width: 420px) {

    .projects-hero h1 {
        font-size: 36px;
    }


    .projects-page-intro h2,
    .projects-section-heading h2,
    .projects-method h2,
    .projects-contact h2 {
        font-size: 31px;
    }


    .real-project-content h3 {
        font-size: 27px;
    }

}