:root {
    /* CORES PRINCIPAIS */
    --cor-1: rgb(0, 58, 112);
    --cor-2: rgb(93, 137, 180);
    --cor-3: rgb(195, 198, 200);
    --cor-branco: #ffffff;
    --cor-preto: #000000;
    --cor1-fundo: #144b7e;

    /* FONTES */
    --fonte-principal: 'Poppins', sans-serif;

    /* TRANSIÇÕES */
    --transicao-padrao: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--fonte-principal);
}

p,
a {
    color: #666 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--cor-1);
}

h2 {
    font-size: 42px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: rgb(227, 227, 227);
}

/* TOPBAR */
.topbar {
    background: var(--cor-1);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9rem;
}

.topbar i {
    opacity: 0.95;
}

/* LOGO */
.brand-logo {
    height: 85px;
    width: auto;
}

/* LINKS DO MENU */
.navbar .nav-link {
    font-weight: 500;
    color: var(--texto);
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
    transition: var(--transition);
}

.navbar .nav-link:hover {
    color: var(--cor-1);
}

.nav-link {
    position: relative;
    display: inline-block;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: #1f4e79;
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(.4, 0, .2, 1);
}

.nav-link:hover::after {
    width: 100%;
}

/* BOTÃO WHATS */
.btn-whats {
    color: #fff !important;
    font-weight: 600;
    padding: 0.65rem 1rem;
    border: 0;
    border-radius: 13px;
    box-shadow: 0 10px 25px rgba(25, 135, 84, 0.18);
    background: green !important;
}

.btn-whats:hover {
    background-color: rgb(0, 158, 0) !important;
    color: #fff;
}

/* Ajuste do toggler */
x .navbar-toggler {
    border-radius: 12px;
}

/* HERO */
.hero {
    padding: 90px 40px;
    background: #f5f7fa;
}

.hero-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 620px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.1;
    margin: 0 0 16px;
}

.hero p {
    font-size: 18px;
    margin: 0 0 26px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-media img {
    width: 120%;
    height: auto;
    border-radius: 18px;
}

/* BOTÕES GERAIS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary {
    background: var(--cor-1);
    color: #fff !important;
    border: 1px solid var(--cor-1);
}

.btn-primary:hover {
    background: var(--cor1-fundo);
    border: 1px solid var(--cor1-fundo);
    color: #fff;
}

.btn-outline {
    border: 1px solid var(--cor-1);
    color: #0b3a6a !important;
    background: transparent;
}

.btn-outline:hover {
    background: #fff;
    color: var(--cor-1);
    border: 1px solid var(--cor-1);
}

/* === SOBRE === */
.sobre {
    padding: 80px 20px;
}

.sobre .container {
    max-width: 1200px;
    margin: 0 auto;
}

.sobre h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
}

.sobre-texto {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
    color: #555;
}

.sobre-mvv {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
    align-items: start;
}

.mvv-item {
    text-align: center;
}

.mvv-item::before {
    content: "";
    display: block;
    width: 45px;
    height: 3px;
    background: var(--cor-1);
    margin: 0 auto 18px;
    border-radius: 2px;
}

.mvv-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.mvv-item p {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #666;
}


/* LISTA DE VALORES */
.valores-lista {
    margin: 15px auto 0;
    width: fit-content;
    color: #666;
}

.mvv-item .valores-lista li {
    display: list-item;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
    text-align: left;
}


.mvv-item .valores-lista {
    padding-left: 20px;
    margin: 0;
}

/* === SERVIÇOS === */
.servicos {
    padding: 80px 0;
    background: #f6f7f8;
    text-align: center;
}

.servicos h2 {
    margin-bottom: 10px;
}

.servicos-desc {
    color: #666;
    margin-bottom: 50px;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.servico-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.servico-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.servico-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px auto;
    background: #0b3d6b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servico-icon i {
    font-size: 24px;
}

.servico-card h3 {
    margin-bottom: 10px;
}

.servico-card p {
    color: #666;
    font-size: 15px;
}

/* === PROJETOS ===*/
.projects {
    padding: 90px 0;
}

.projects-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.projects-kicker {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.12em;
    font-size: 12px;
    color: #0b3d6b;
    margin-bottom: 8px;
}

.projects-title h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 44px);
    color: #0b3d6b;
}

.projects-btn {
    padding: 12px 22px;
    border-radius: 999px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.project-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.project-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.project-media {
    height: 240px;
    background: #e9ecef;
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-body {
    padding: 18px 22px 22px;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #7b7b7b;
    font-size: 14px;
    margin-bottom: 12px;
}

.project-meta i {
    margin-right: 6px;
}

.project-title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.2;
    color: #111;
}

.project-desc {
    margin: 0 0 14px;
    color: #666;
    font-size: 15px;
    line-height: 1.55;
}

.project-more {
    font-weight: 600;
    color: #0b3d6b;
}

/* === CONTATO === */
.cta-contato {
    padding: 90px 0;
    background: #0b3d6b;
    color: white;
}

.cta-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-texto h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #fff;
}

.cta-texto p {
    max-width: 500px;
    opacity: 0.9;
    color: #fff !important;
}

.cta-botao .btn {
    background: white;
    color: #0b3d6b !important;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.cta-botao .btn:hover {
    background: #e6e6e6;
}

/* === FOOTER === */
.footer {
    background: #ffffff;
    color: #1a1a1a;
    padding: 40px 0 0;
    border-top: 1px solid #e6ecf2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.8fr;
    gap: 30px;
    align-items: start;
}

.footer-col h4 {
    margin: 0 0 14px;
    color: #0b3d6b;
    font-weight: 700;
}

.footer-col p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    max-width: 520px;
    font-size: 14px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #222;
}

.footer-col ul li i {
    margin-top: 3px;
    color: #0b3d6b;
}

.footer-col a {
    color: #222;
    text-decoration: none;
}

.footer-col a:hover {
    color: #0b3d6b;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #0b3d6b !important;
    transition: 0.2s;
}

.footer-social a:hover {
    background: #e7eef7;
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 30px;
    padding: 14px 0;
    text-align: center;
    background: #f5f7fa;
    color: #556;
    font-size: 14px;
}

.footer-logo {
    width: 140px;
    margin-top: 12px;
}

/* === INTERNA CONTATO === */

.contato-section {
    padding: 80px 0;
}

.contato-esquerda {
    background: #f5f7fa;
    padding: 60px 50px;
    border-radius: 13px;
}

.contato-direita {
    padding: 60px 50px;
}

.contato-titulo-esquerda,
.contato-titulo-direita {
    color: #0b3c6f;
    line-height: 1.1;
    margin-bottom: 30px;
}

.contato-subtexto {
    font-size: 18px;
    color: #6c757d;
    max-width: 550px;
    margin-bottom: 30px;
}

.contato-info h4 {
    color: #0b3c6f;
    margin-bottom: 8px;
}

.contato-info p {
    margin-bottom: 15px;
}

.contato-info a {
    color: #6c757d;
    text-decoration: underline;
}

.form-contato input,
.form-contato textarea {
    background: #f7f7f7;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    padding: 14px;
    font-size: 17px;
}

.form-contato input {
    height: 55px;
}

.form-contato textarea {
    height: 160px;
    resize: none;
}

.btn-contato {
    margin-top: 10px;
    background: #0b3c6f;
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-contato:hover {
    background: #072c52;
}

.mapa-contato {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.em-construcao {
    margin-top: 65px;
    margin-bottom: 65px;
}

/* === INTERNA PROJETOS === */

.projeto-interno {
    padding: 60px 0;
}

.titulo-projeto {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 24px;
    max-width: 1000px;
    margin-bottom: 20px;

}

.descricao-projeto {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    max-width: 900px;
    margin-bottom: 35px;
}

.infos-projeto {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin: 30px 0 40px 0;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item i {
    font-size: 18px;
    color: #0d4c8b;
}

.info-item strong {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.info-item span {
    font-size: 16px;
    color: #666;
}

.galeria-projeto {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.projeto-divider {
    border-top: 1px solid #e5e5e5;
    margin: 50px 0;
}

.galeria-projeto {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.img-galeria {
    width: 320px;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
}

.img-galeria:hover {
    transform: scale(1.03);
    opacity: 0.95;
}

.modal-galeria {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.76);
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.modal-galeria.ativo {
    display: flex;
}

.conteudo-modal-galeria {
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#imagemModal {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}

.fechar-galeria {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 42px;
    color: #fff;
    cursor: pointer;
    font-weight: 300;
    line-height: 1;
    z-index: 10000;
}

.seta-galeria {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    font-size: 34px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10000;
}

.seta-galeria:hover {
    background: rgba(255, 255, 255, 0.22);
}

.seta-esquerda {
    left: 25px;
}

.seta-direita {
    right: 25px;
}



.link-projeto {
    color: #0b3d6b !important;
    text-decoration: none !important;
    font-weight: 600;
}



/* === BREADCRUMB === */

.breadcrumb-eng {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 28px;
}

.breadcrumb-eng a {
    color: #6b6b6b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-eng a:hover {
    text-decoration: underline;
    color: #0d4c8b;
}

.breadcrumb-eng .sep {
    margin: 0 12px;
    color: #9a9a9a;
}

.breadcrumb-eng span {
    margin: 0 6px;
}

.breadcrumb-eng .sep {
    margin: 0 12px;
    color: #9a9a9a;
}

.portfolio-interno {
    padding: 60px 0;
}

/* RESPONSIVO */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-media img {
        height: 280px;
    }

    .hero {
        padding: 60px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-logo {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .sobre-mvv {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .hero-media img {
        height: 280px;
        width: 100%;
        margin-top: 10px;
    }

    .sobre {
        padding: 30px 20px;
    }

    .mvv-item .valores-lista {
        padding-left: 18px;
    }

    .mvv-item .valores-lista li {
        font-size: 16px;
    }

    .titulo-projeto {
        font-size: 25px;
        line-height: 1.3;
        margin-bottom: 24px;
        max-width: 1000px;
        margin-bottom: 20px;
    }

    .nao-mostrar-mobile{
        display: none;
    }

    .conteudo-modal-galeria {
        width: 95%;
        max-width: 95%;
    }

    #imagemModal {
        width: 100%;
        height: auto;
        max-height: 85vh;
    }

}

@media (max-width: 640px) {
    .projects-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-media {
        height: 220px;
    }

    .servicos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .galeria-projeto {
        gap: 20px;
    }

    .img-galeria {
        width: 100%;
        height: auto;
    }

    .seta-galeria {
        width: 45px;
        height: 45px;
        font-size: 26px;
    }

    .fechar-galeria {
        top: 15px;
        right: 20px;
        font-size: 36px;
    }
}

@media (min-width: 1200px) {

    .h4,
    h4 {
        font-size: 1.3rem;
    }
}