/* =========================================
   SEÇÃO 7 — PORTFÓLIO
========================================= */

.portfolio-section {
    position: relative;

    overflow: hidden;


    background: #ffffff;

    color: #0f1b26;
}


/* =========================================
   CABEÇALHO
========================================= */

.portfolio-eyebrow {
    color: #008679;
}


.portfolio-title {
    color: #0f1b26;
}


.portfolio-description {
    color: #68767d;
}


/* =========================================
   CARD DO PROJETO
========================================= */

.portfolio-card {
    height: 100%;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e4eaec;

    border-radius: 16px;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}


.portfolio-card:hover {
    transform: translateY(-7px);

    border-color: rgba(2, 190, 178, .35);

    box-shadow:
        0 25px 60px rgba(15, 27, 38, .10);
}


/* =========================================
   IMAGEM
========================================= */

.portfolio-image {
    position: relative;

    height: 540px;

    overflow: hidden;

    background: #0f1b26;
}


.portfolio-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .7s ease;
}


.portfolio-card:hover .portfolio-image img {
    transform: scale(1.04);
}


/* Overlay */

.portfolio-image-overlay {
    position: absolute;

    inset: 0;

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

    background: rgba(15, 27, 38, .55);

    opacity: 0;

    transition: opacity .35s ease;
}


.portfolio-image-overlay span {
    padding: 12px 20px;

    color: #0f1b26;

    background: #02beb2;

    border-radius: 5px;

    font-size: 13px;
    font-weight: 800;
}


.portfolio-card:hover .portfolio-image-overlay {
    opacity: 1;
}


/* =========================================
   CONTEÚDO
========================================= */

.portfolio-content {
    padding: 30px;
}


/* Meta */

.portfolio-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 15px;

    color: #008679;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .07em;
    text-transform: uppercase;
}


.portfolio-meta span:last-child {
    color: #77858c;

    text-align: right;
}


/* Empresa */

.portfolio-content h3 {
    margin: 0 0 5px;

    color: #0f1b26;

    font-size: 25px;
    line-height: 1.25;

    font-weight: 700;
}


/* Segmento */

.portfolio-segment {
    margin: 0 0 15px;

    color: #66757c;

    font-size: 13px;
    font-weight: 600;
}


/* Resultado */

.portfolio-result {
    min-height: 70px;

    margin: 0 0 24px;

    color: #68767d;

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================
   BOTÃO
========================================= */

.portfolio-button {
    min-height: 48px;

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

    gap: 8px;

    padding: 0 22px;

    border-radius: 5px;

    font-size: 13px;
    font-weight: 700;
}


.portfolio-button i {
    font-size: 16px;
}


/* =========================================
   MODAL
========================================= */

.portfolio-modal .modal-dialog {
    max-width: 1180px;
}


.portfolio-modal .modal-content {
    overflow: hidden;

    border: 0;

    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 30px 100px rgba(0, 0, 0, .30);
}


.portfolio-modal .modal-header {
    display: flex;
    align-items: center;

    padding: 28px 35px;

    border-bottom: 1px solid #e7ecee;
}


.modal-project-type {
    display: block;

    margin-bottom: 5px;

    color: #008679;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .08em;
    text-transform: uppercase;
}


.portfolio-modal .modal-title {
    margin: 0;

    color: #0f1b26;

    font-size: 28px;
    font-weight: 700;
}


.portfolio-modal .modal-body {
    padding: 35px;
}


/* =========================================
   GALERIA
========================================= */

.portfolio-modal-main-image {
    display: block;

    width: 100%;

    /* max-height: 520px; */

    object-fit: cover;

    border-radius: 10px;
}


.portfolio-modal-thumb {
    display: block;

    width: 100%;
    height: 110px;

    object-fit: cover;

    border-radius: 7px;

    cursor: pointer;

    opacity: .75;

    transition:
        opacity .3s ease,
        transform .3s ease;
}


.portfolio-modal-thumb:hover {
    opacity: 1;

    transform: translateY(-2px);
}


/* =========================================
   INFORMAÇÕES DO PROJETO
========================================= */

.portfolio-modal-info {
    padding: 10px 10px 10px 25px;
}


.portfolio-info-label {
    display: block;

    margin-bottom: 15px;

    color: #008679;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .08em;
    text-transform: uppercase;
}


.portfolio-modal-info > p {
    margin: 0 0 25px;

    color: #66757c;

    font-size: 15px;
    line-height: 1.7;
}


.portfolio-info-item {
    padding: 18px 0;

    border-top: 1px solid #e7ecee;
}


.portfolio-info-item span {
    display: block;

    margin-bottom: 6px;

    color: #89959b;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .06em;
    text-transform: uppercase;
}


.portfolio-info-item strong {
    display: block;

    color: #0f1b26;

    font-size: 14px;
    line-height: 1.5;

    font-weight: 600;
}


/* =========================================
   RESPONSIVO
========================================= */

@media (max-width: 991.98px) {

    .portfolio-section {
        padding: 90px 0;
    }

    .portfolio-image {
        height: 320px;
    }

    .portfolio-modal-info {
        padding: 20px 0 0;
    }

}


@media (max-width: 767.98px) {

    .portfolio-section {
        padding: 75px 0;
    }

    .portfolio-image {
        height: 280px;
    }

    .portfolio-content {
        padding: 25px;
    }

    .portfolio-result {
        min-height: auto;
    }

    .portfolio-modal .modal-header {
        padding: 22px;
    }

    .portfolio-modal .modal-body {
        padding: 22px;
    }

}


@media (max-width: 575.98px) {

    .portfolio-section {
        padding: 65px 0;
    }

    .portfolio-image {
        height: 230px;
    }

    .portfolio-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .portfolio-meta span:last-child {
        text-align: left;
    }

    .portfolio-button {
        width: 100%;
    }

}