/* =========================================================
   GC SOLUÇÕES E SISTEMAS
   PROJETO INDIVIDUAL - V3 PREMIUM
========================================================= */

.project-detail-page {
    background: #ffffff;
}


/* =========================================================
   HERO
========================================================= */

.project-detail-hero {
    position: relative;

    overflow: hidden;

    padding:
        145px 0
        90px;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(22, 140, 255, .16),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #051426,
            #08213a 55%,
            #07182c
        );
}

.project-detail-grid {
    position: absolute;
    inset: 0;

    opacity: .18;

    background-image:
        linear-gradient(
            rgba(255,255,255,.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.035) 1px,
            transparent 1px
        );

    background-size:
        46px 46px;
}

.project-detail-hero .gc-container {
    position: relative;
    z-index: 2;
}

.project-back {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 40px;

    color: #91a7ba;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;

    transition:
        color .2s ease;
}

.project-back:hover {
    color: #ffffff;
}

.project-detail-head {
    display: grid;
    grid-template-columns:
        minmax(0, .95fr)
        minmax(430px, 1.05fr);

    align-items: center;

    gap: 65px;
}

.project-detail-copy {
    min-width: 0;
}

.project-detail-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 20px;
}

.project-category,
.project-featured-pill {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    padding: 7px 10px;

    border-radius: 999px;

    font-size: 9px;
    font-weight: 800;
}

.project-category {
    color: #6abbff;

    border:
        1px solid
        rgba(22,140,255,.18);

    background:
        rgba(22,140,255,.08);
}

.project-featured-pill {
    color: #f1c461;

    border:
        1px solid
        rgba(241,196,97,.18);

    background:
        rgba(241,196,97,.08);
}

.project-detail-copy h1 {
    max-width: 720px;

    margin: 0;

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        clamp(
            44px,
            5.6vw,
            72px
        );

    font-weight: 800;
    line-height: .98;

    letter-spacing: -3px;
}

.project-headline {
    max-width: 650px;

    margin:
        25px 0
        0;

    color: #9eb1c2;

    font-size: 15px;
    line-height: 1.75;
}

.project-hero-techs {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 24px;
}

.project-hero-techs span {
    padding: 7px 10px;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 8px;

    color: #c8d6e2;

    background:
        rgba(255,255,255,.035);

    font-size: 9px;
    font-weight: 700;
}

.project-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 32px;
}

.project-secondary-action {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 17px;

    border:
        1px solid
        rgba(255,255,255,.11);

    border-radius: 10px;

    color: #c2d1dd;

    background:
        rgba(255,255,255,.035);

    font-size: 10px;
    font-weight: 700;

    text-decoration: none;
}

.project-secondary-action i {
    color: #25d366;

    font-size: 13px;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.project-hero-preview {
    position: relative;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.11);

    border-radius: 20px;

    background: #0b2139;

    box-shadow:
        0 35px 80px
        rgba(0,0,0,.34);
}

.project-real-hero-image {
    position: relative;

    width: 100%;
    min-height: 410px;

    display: block;

    overflow: hidden;

    padding: 0;

    border: 0;

    background: #0a1b2e;

    cursor: zoom-in;
}

.project-real-hero-image img {
    width: 100%;
    height: 410px;

    display: block;

    object-fit: cover;
    object-position: top center;

    transition:
        transform .45s ease;
}

.project-real-hero-image:hover img {
    transform: scale(1.025);
}

.project-image-zoom {
    position: absolute;

    right: 14px;
    bottom: 14px;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 8px 10px;

    border-radius: 8px;

    color: #ffffff;

    background:
        rgba(5,18,32,.82);

    backdrop-filter:
        blur(7px);

    -webkit-backdrop-filter:
        blur(7px);

    font-size: 9px;
    font-weight: 700;
}


/* =========================================================
   OVERVIEW
========================================================= */

.project-overview {
    padding:
        95px 0;
}

.project-overview-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        350px;

    align-items: start;

    gap: 70px;
}

.project-main-content {
    min-width: 0;
}

.project-content-block {
    display: grid;
    grid-template-columns:
        52px
        minmax(0,1fr);

    gap: 22px;

    padding:
        0 0
        55px;
}

.project-content-block
+ .project-content-block {
    padding-top: 12px;
}

.content-number {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    color: #168cff;

    background: #edf6ff;

    font-size: 11px;
    font-weight: 800;
}

.project-content-block h2,
.project-results h2 {
    margin:
        8px 0
        16px;

    color: #0f2940;

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        clamp(
            28px,
            3vw,
            42px
        );

    font-weight: 800;

    letter-spacing: -1.5px;
}

.project-content-block p {
    max-width: 760px;

    margin: 0;

    color: #647b8f;

    font-size: 14px;
    line-height: 1.85;
}


/* =========================================================
   RESULTADOS
========================================================= */

.project-results {
    padding-top: 12px;
}

.project-results-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 12px;

    margin-top: 24px;
}

.result-card {
    min-height: 86px;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 16px;

    border:
        1px solid #e0e8ef;

    border-radius: 12px;

    background: #ffffff;

    box-shadow:
        0 8px 22px
        rgba(7,31,57,.04);
}

.result-card > span {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 32px;

    border-radius: 9px;

    color: #168cff;
    background: #edf6ff;

    font-size: 10px;
}

.result-card strong {
    color: #334d62;

    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   INFO CARD
========================================================= */

.project-info-card {
    position: sticky;

    top: 100px;

    overflow: hidden;

    border:
        1px solid #dce6ed;

    border-radius: 17px;

    background: #ffffff;

    box-shadow:
        0 18px 45px
        rgba(7,31,57,.07);
}

.project-info-card-head {
    padding: 20px;

    border-bottom:
        1px solid #e8eef3;

    background:
        linear-gradient(
            180deg,
            #f9fcff,
            #f4f8fb
        );
}

.project-info-card-head span {
    display: block;

    margin-bottom: 5px;

    color: #168cff;

    font-size: 8px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .7px;
}

.project-info-card-head strong {
    color: #18354d;

    font-size: 14px;
}

.project-info-section {
    padding: 17px 20px;

    border-bottom:
        1px solid #edf1f4;
}

.project-info-label {
    display: block;

    margin-bottom: 8px;

    color: #8a9aa8;

    font-size: 8px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .6px;
}

.project-info-section > strong {
    color: #3e566a;

    font-size: 11px;
}

.project-info-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;
}

.project-info-tags span {
    padding: 6px 8px;

    border-radius: 7px;

    color: #3373a6;
    background: #edf6ff;

    font-size: 8px;
    font-weight: 700;
}

.project-info-section ul {
    display: grid;

    gap: 8px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.project-info-section li {
    display: flex;
    align-items: flex-start;

    gap: 7px;

    color: #536b7f;

    font-size: 9px;
    line-height: 1.45;
}

.project-info-section li i {
    margin-top: 2px;

    color: #168cff;

    font-size: 8px;
}

.project-briefing-link {
    display: grid;
    grid-template-columns:
        36px
        minmax(0,1fr)
        18px;

    align-items: center;

    gap: 9px;

    padding: 17px 20px;

    color: inherit;
    background: #071b30;

    text-decoration: none;
}

.project-briefing-link > span {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    color: #5bb4ff;
    background:
        rgba(22,140,255,.1);
}

.project-briefing-link > div {
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.project-briefing-link strong {
    color: #e8f1f8;

    font-size: 10px;
}

.project-briefing-link small {
    margin-top: 3px;

    color: #758fa5;

    font-size: 8px;
    line-height: 1.4;
}

.project-briefing-link > i {
    color: #5aaeff;

    font-size: 9px;

    transition:
        transform .2s ease;
}

.project-briefing-link:hover > i {
    transform:
        translateX(3px);
}


/* =========================================================
   GALERIA
========================================================= */

.project-gallery {
    padding:
        90px 0;

    background: #f4f8fb;
}

.project-gallery-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 30px;
}

.project-gallery-heading h2 {
    max-width: 650px;

    margin:
        8px 0
        0;

    color: #102a43;

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        clamp(
            30px,
            4vw,
            48px
        );

    font-weight: 800;

    letter-spacing: -1.7px;
}

.project-gallery-count {
    padding: 7px 10px;

    border:
        1px solid #dae5ed;

    border-radius: 999px;

    color: #71879a;
    background: #ffffff;

    font-size: 9px;
    font-weight: 700;
}

.project-real-gallery {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 18px;
}

.project-real-gallery-item {
    position: relative;

    overflow: hidden;

    margin: 0;
    padding: 0;

    border:
        1px solid #dce6ed;

    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 16px 38px
        rgba(7,31,57,.06);

    cursor: zoom-in;
}

.project-real-gallery-item.featured {
    grid-column:
        1 / -1;
}

.project-real-gallery-item img {
    width: 100%;

    display: block;

    object-fit: cover;
    object-position: top center;

    transition:
        transform .4s ease;
}

.project-real-gallery-item:hover img {
    transform:
        scale(1.025);
}

.project-gallery-hover {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 8px;

    color: #ffffff;

    background:
        rgba(4,18,32,.63);

    opacity: 0;

    transition:
        opacity .25s ease;
}

.project-gallery-hover i {
    font-size: 18px;
}

.project-gallery-hover strong {
    font-size: 10px;
}

.project-real-gallery-item:hover
.project-gallery-hover {
    opacity: 1;
}

.project-gallery-caption {
    position: absolute;

    right: 12px;
    bottom: 12px;
    left: 12px;

    padding: 8px 10px;

    border-radius: 8px;

    color: #eaf2f8;

    background:
        rgba(4,18,32,.82);

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);

    font-size: 9px;
    line-height: 1.45;
}


/* =========================================================
   NAVEGAÇÃO ENTRE PROJETOS
========================================================= */

.project-navigation {
    padding:
        55px 0;

    border-top:
        1px solid #e8eef3;
}

.project-navigation-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 14px;
}

.project-nav-card {
    min-height: 115px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 20px;

    border:
        1px solid #dee7ee;

    border-radius: 13px;

    color: inherit;
    background: #ffffff;

    text-decoration: none;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.project-nav-card:hover {
    transform:
        translateY(-3px);

    border-color:
        rgba(22,140,255,.28);

    box-shadow:
        0 12px 30px
        rgba(7,31,57,.06);
}

.project-nav-card.next {
    text-align: right;
}

.project-nav-card span {
    display: flex;
    align-items: center;

    gap: 7px;

    color: #168cff;

    font-size: 9px;
    font-weight: 700;
}

.project-nav-card.next span {
    justify-content: flex-end;
}

.project-nav-card strong {
    margin-top: 8px;

    color: #294257;

    font-size: 14px;
}


/* =========================================================
   CTA
========================================================= */

.project-final-cta {
    padding:
        80px 0;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #06182c,
            #092541
        );
}

.project-final-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.project-final-inner h2 {
    margin:
        8px 0
        10px;

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        clamp(
            30px,
            4vw,
            48px
        );

    font-weight: 800;
}

.project-final-inner p {
    max-width: 570px;

    margin: 0;

    color: #8fa5b8;

    font-size: 13px;
}


/* =========================================================
   LIGHTBOX
========================================================= */

body.project-lightbox-open {
    overflow: hidden;
}

.project-lightbox {
    position: fixed;

    inset: 0;

    z-index: 9000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 26px;

    visibility: hidden;
    opacity: 0;

    transition:
        opacity .2s ease,
        visibility .2s ease;
}

.project-lightbox.open {
    visibility: visible;
    opacity: 1;
}

.project-lightbox-backdrop {
    position: absolute;

    inset: 0;

    background:
        rgba(2,10,18,.88);

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);
}

.project-lightbox-dialog {
    position: relative;
    z-index: 2;

    width:
        min(
            1200px,
            100%
        );

    max-height:
        calc(100vh - 52px);

    display: flex;
    align-items: center;
    justify-content: center;
}

.project-lightbox-content {
    width: 100%;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 15px;

    background: #061524;

    box-shadow:
        0 40px 100px
        rgba(0,0,0,.45);
}

.project-lightbox-content img {
    width: 100%;
    max-height:
        calc(100vh - 150px);

    display: block;

    object-fit: contain;

    background: #04111e;
}

.project-lightbox-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 65px;

    padding:
        12px 16px;
}

.project-lightbox-footer > div {
    display: flex;
    flex-direction: column;
}

.project-lightbox-footer span {
    color: #5baeff;

    font-size: 8px;
    font-weight: 700;
}

.project-lightbox-footer strong {
    margin-top: 4px;

    color: #d8e4ed;

    font-size: 10px;
}

.project-lightbox-close,
.project-lightbox-nav {
    position: absolute;

    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;

    color: #ffffff;

    background:
        rgba(7,24,42,.84);

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);

    cursor: pointer;
}

.project-lightbox-close {
    top: 12px;
    right: 12px;

    width: 40px;
    height: 40px;

    border-radius: 10px;
}

.project-lightbox-nav {
    top: 50%;

    width: 44px;
    height: 44px;

    border-radius: 50%;

    transform:
        translateY(-50%);
}

.project-lightbox-nav.previous {
    left: 12px;
}

.project-lightbox-nav.next {
    right: 12px;
}


/* =========================================================
   404
========================================================= */

.project-not-found {
    min-height: 75vh;

    display: flex;
    align-items: center;

    padding:
        150px 0
        90px;

    text-align: center;
}

.project-not-found span {
    color: #168cff;

    font-size: 12px;
    font-weight: 800;
}

.project-not-found h1 {
    margin:
        10px 0;

    color: #17334a;

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        clamp(
            38px,
            5vw,
            60px
        );
}

.project-not-found p {
    max-width: 570px;

    margin:
        0 auto
        25px;

    color: #718699;

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 1050px) {

    .project-detail-head {
        grid-template-columns: 1fr;
    }

    .project-overview-grid {
        grid-template-columns: 1fr;
    }

    .project-info-card {
        position: static;
    }
}


@media (max-width: 760px) {

    .project-detail-hero {
        padding:
            120px 0
            65px;
    }

    .project-detail-copy h1 {
        font-size:
            clamp(
                40px,
                12vw,
                58px
            );

        letter-spacing: -2px;
    }

    .project-real-hero-image,
    .project-real-hero-image img {
        min-height: 280px;
        height: 280px;
    }

    .project-overview {
        padding:
            65px 0;
    }

    .project-content-block {
        grid-template-columns: 1fr;
    }

    .project-results-grid,
    .project-real-gallery,
    .project-navigation-grid {
        grid-template-columns: 1fr;
    }

    .project-real-gallery-item.featured {
        grid-column: auto;
    }

    .project-final-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .project-gallery-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .project-nav-card.next {
        text-align: left;
    }

    .project-nav-card.next span {
        justify-content: flex-start;
    }

    .project-lightbox {
        padding: 10px;
    }

    .project-lightbox-nav.previous {
        left: 5px;
    }

    .project-lightbox-nav.next {
        right: 5px;
    }
}


/* =========================================================
   PROJECT V4 - LIGHTBOX CORRIGIDO / IMAGEM COMPLETA
========================================================= */

.project-lightbox {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    padding: 24px;

    visibility: hidden;
    opacity: 0;
    pointer-events: none;

    background: transparent;

    transition:
        opacity .2s ease,
        visibility .2s ease;
}

.project-lightbox.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.project-lightbox-backdrop {
    position: absolute;
    inset: 0;

    background:
        rgba(1, 8, 15, .92);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.project-lightbox-dialog {
    position: relative;
    z-index: 2;

    width: min(1450px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);

    display: flex;
    align-items: center;
    justify-content: center;
}

.project-lightbox-content {
    width: 100%;
    max-height: calc(100vh - 48px);

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.10);

    border-radius: 16px;

    background: #061321;

    box-shadow:
        0 36px 100px
        rgba(0,0,0,.55);
}

.project-lightbox-content img {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 125px);

    display: block;

    object-fit: contain;
    object-position: center;

    background:
        #020b13;
}

.project-lightbox-footer {
    min-height: 64px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 12px 18px;

    border-top:
        1px solid
        rgba(255,255,255,.06);

    background: #071725;
}

.project-lightbox-close {
    position: fixed !important;

    top: 18px !important;
    right: 18px !important;

    z-index: 100002 !important;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;

    color: #ffffff;
    background: rgba(8,26,44,.92);

    cursor: pointer;
}

.project-lightbox-nav {
    position: fixed !important;
    top: 50% !important;

    z-index: 100002 !important;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;

    color: #ffffff;
    background: rgba(8,26,44,.9);

    cursor: pointer;

    transform: translateY(-50%);
}

.project-lightbox-nav.previous {
    left: 18px !important;
}

.project-lightbox-nav.next {
    right: 18px !important;
}

.project-real-gallery-item,
.project-real-hero-image {
    cursor: zoom-in !important;
}

@media (max-width: 700px) {
    .project-lightbox {
        padding: 10px;
    }

    .project-lightbox-dialog {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
    }

    .project-lightbox-content {
        max-height: calc(100vh - 20px);
    }

    .project-lightbox-content img {
        max-height: calc(100vh - 100px);
    }

    .project-lightbox-close {
        top: 8px !important;
        right: 8px !important;

        width: 42px;
        height: 42px;
    }

    .project-lightbox-nav {
        width: 42px;
        height: 42px;
    }

    .project-lightbox-nav.previous {
        left: 6px !important;
    }

    .project-lightbox-nav.next {
        right: 6px !important;
    }
}
