@import url('https://fonts.cdnfonts.com/css/urbanist');
@import url('https://fonts.cdnfonts.com/css/dolce-vita-heavy');
@import url('https://fonts.cdnfonts.com/css/nexa');

html,
body {
    background-color: rgb(192, 184, 182);
    ;
    font-family: 'Dolce', sans-serif;

    margin: 0 !important;
    padding: 0 !important;

    scroll-behavior: smooth;
    overflow-x: hidden;

    color: rgb(24, 37, 50);
}

/* Cabeçalho */
header {
    background-color: rgb(192, 184, 182);
    width: 100%;
    height: 15vh;

    margin: 0;
    padding: 0;
    box-sizing: border-box;

    z-index: 999;
    position: fixed;
    top: 0;

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


    transition: transform 0.4s ease-in-out;
}


header.hidden {
    transform: translateY(-100%);
}


.header-content {
    width: 100%;
    max-width: 100%;

    margin: 0 auto;

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

    padding: 0 16px 0 0;
}

.sessoes-header {
    display: flex;
}

/* Logo */
.logo {
    height: fit-content;
    width: 30vh;

    margin: 15px;
    padding: 15px;
    transition: all 0.3s ease-in-out;
}

.logo:hover {
    transform: scale(1.1);
}

/* Link whatsapp */

.btn-whatsapp {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 14px 32px;
    border: 1.5px solid #3a3a3a;
    border-radius: 999px;
    text-decoration: none;
    color: #2c2c2a;
    background: transparent;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.18s, all 0.3s ease-in-out, color 0.18s;
}

.btn-whatsapp:hover {
    background: #f1f1f1;
    transform: scale(1.05);
}

.btn-whatsapp svg {
    flex-shrink: 0;
}


/* Navegacao */
nav {
    width: 100%;
    height: 15vh;
    display: flex;
    justify-content: flex-end;
    align-items: center;

    font-family: lorem, ips, um;

}

nav a:hover {
    text-decoration: underline;
}

.nav-links {
    display: flex;
    gap: 60px;
}

#inicio {
    top: 0;
    scroll-behavior: smooth;
}

#sobre {
    top: 15vh;
    scroll-behavior: smooth;
}

#servicos {
    top: 30vh;
    scroll-behavior: smooth;
}

#projetos {
    scroll-behavior: 45vh;
}

#contato {
    top: 60vh;
    scroll-behavior: smooth;
}


section {
    overflow-x: hidden;
    max-width: 100vw;
}



/* links */
a {
    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 18px;
    color: black;
    text-decoration: none;
    font-family: 'Urbanist', sans-serif;
}

.container-content {
    width: 100%;
    max-width: 600px;

    gap: 8px;

    display: flex;
    flex-direction: column;
}

/* bannerInicio */

.banner {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
    background-color: rgb(192, 184, 182);
}

.banner-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* Gradiente em cima da imagem, não no .banner */
.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.5) 25%,
            rgba(0, 0, 0, 0) 50%);
    z-index: 1;
}

/* Apenas UMA definição de .img_projeto */
.img_projeto {
    width: 100%;
    height: 100%;
    object-fit: fill !important;
    /* ← isso é essencial */
    object-position: center;
    display: block;


}

.banner-textC,
.banner-textE {
    position: absolute;
    bottom: 5%;
    left: 10%;
    color: rgb(255, 255, 255);
    /* ← branco para aparecer */
    z-index: 3;
    /* ← acima do ::after */
    font-family: 'Dolce', sans-serif;
    max-width: 600px;
    font-size: 20px;
}

main {
    position: relative;
    z-index: 10;
    padding: 0;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
}

.container-somos {

    /* background-color: rgb(192, 184, 182); */
    width: 60%;
    height: 50vh;
    padding: 16px;
    border-radius: 8px;

    display: flex;
}



.quem-somos {
    width: 100%;
    height: 100%;
    max-width: 600px;
    margin: 0 auto;

    font-size: 25px;

    display: flex;
    flex-direction: column;
    gap: 8px;

    text-align: justify;

    z-index: 0;
}

.container-ceos {
    background-image: url('./assets/068A8077.jpg');
    background-size: cover;
    width: 30%;
    height: 70vh;
    padding: 16px;
    border-radius: 8px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;

    z-index: 0;
}

.sobre-flex-container {
    width: 100%;
    max-width: 1200px;
    /* Alinha com o limite do restante do seu site */
    margin: 0 auto;
    /* Centraliza o bloco inteiro na página */
    padding: 60px 20px;

    display: flex;
    /* ATIVA O LADO A LADO */
    flex-direction: row;
    /* Garante que fiquem em linha */
    justify-content: center;
    /* Centraliza os dois blocos na tela */
    gap: 200px;
    /* Controla o espaçamento de separação entre os dois quadrados */
}

.container-ceos:hover {

    background-size: cover;
    width: 30%;
    height: 70vh;
    padding: 16px;
    border-radius: 8px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;

    z-index: 0;

    transform: scale(1.05);
    transition: all 1.3s ease;
}

.container-obras-sucesso {
    width: 100%;
    height: 100vh;
    margin: 0 auto;

    background-image: url('./assets/IMG_0297.jpeg');
    background-size: cover;
    background-position: center;
    background-color: rgb(192, 184, 182);

    overflow: hidden;
    touch-action: pan-y;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.container-obras-flex {
    width: 100%;
    max-width: 1200px;
    /* Alinha com o limite do restante do seu site */
    margin: 0 auto;
    /* Centraliza o bloco inteiro na página */
    padding: 60px 20px;


    display: flex;
    /* ATIVA O LADO A LADO */
    flex-direction: row;
    /* Garante que fiquem em linha */
    justify-content: center;
    /* Centraliza os dois blocos na tela */
    gap: 70px;
    /* Controla o espaçamento de separação entre os dois quadrados */
}

.card-obras-realizadas {
    width: 200%;
    height: 25vh;
    max-width: 400px;
    border-radius: 8px;
    margin-top: 450px;

    border: 0px solid white;

    background-color: rgba(194, 194, 194, 0.685);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    text-align: center;

    gap: 0px;

    padding: 16px;
}

.card-obras-realizadas:hover {
    width: 200%;
    height: 25vh;
    max-width: 400px;
    border-radius: 8px;
    margin-top: 450px;

    border: 4px solid white;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;

    z-index: 0;

    transform: scale(1.05);
    transition: all 0.8s ease;
}

.card-experiencia {
    width: 200%;
    height: 25vh;
    max-width: 400px;
    border-radius: 8px;
    margin-top: 450px;

    border: 0px solid white;

    background-color: rgba(194, 194, 194, 0.4);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 0px;

    padding: 16px;
}

.card-experiencia:hover {
    width: 200%;
    height: 25vh;
    max-width: 400px;
    border-radius: 8px;
    margin-top: 450px;

    border: 4px solid white;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;

    z-index: 0;

    transform: scale(1.05);
    transition: all 0.5s ease-in-out;
}

.card-escritorios {
    width: 200%;
    height: 25vh;
    max-width: 400px;
    border-radius: 8px;
    margin-top: 450px;

    border: 0px solid white;

    background-color: rgba(194, 194, 194, 0.4);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 0px;

    padding: 16px;
}

.card-escritorios:hover {
    width: 200%;
    height: 25vh;
    max-width: 400px;
    border-radius: 8px;
    margin-top: 450px;

    border: 4px solid white;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;

    z-index: 0;

    transform: scale(1.05);
    transition: all 0.5s ease-in-out;
}

.margin {
    margin: fit-content;
}

.h2 {
    font-size: 80px;
    margin: 0 auto;
    padding: 16px;
    font-family: 'Dolce Vita Heavy', sans-serif;
}

h1 {
    font-family: 'Dolce Vita Heavy', sans-serif;
}

p {
    font-family: 'Nexa', sans-serif;
}

.texto-heritage {
    padding: 16px;
    margin-left: 100px;

    font-size: 20px;
}

.container-projetos {
    width: 100%;
    height: auto;        /* ← troque min-height por height: auto */
    margin: 0;
    padding: 0;
    background-color: rgb(192, 184, 182);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.container-projetos-flex {
    width: 100%;
    max-width: 1200px;
    /* Alinha com o limite do restante do seu site */
    margin: 0 auto;
    /* Centraliza o bloco inteiro na página */
    padding: 60px 20px;


    display: flex;
    /* ATIVA O LADO A LADO */
    flex-direction: row;
    /* Garante que fiquem em linha */
    justify-content: flex-start;
    /* Centraliza os dois blocos na tela */
    gap: 100px;
    /* Controla o espaçamento de separação entre os dois quadrados */
}

.planta-heritage {
    width: 90%;
    height: 70vh;

    background-color: #2c2c2a;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;


    border-radius: 10px;
    border: 40px;

}

.img-planta-heritage {
    width: 100%;
    height: 100%;
}

/* galeria de fotos */

.galeria-projeto {
    width: 100%;
    height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(192, 184, 182);
    overflow: hidden;
    touch-action: pan-y;
}

.galeria-container {
    width: 80%;
    height: 100%;
    position: relative;
}

.foto-galeria {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.foto-galeria.active {
    opacity: 1;
}

.btn-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: white;
    font-size: 28px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;

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

.btn-nav:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.btn-nav.anterior {
    left: 20px;
}

.btn-nav.proximo {
    right: 20px;
}

.galeria-contador {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 16px;
    border-radius: 999px;
}

/* Galeria das outras obras */
.outras-obras {
    display: none;
    flex-direction: column;
    gap: 60px;
    padding: 40px 20px;
    width: 100%;        /* ← garante largura total */
    max-width: 100%;    /* ← remove o limite de 1200px que estava estreitando */
    box-sizing: border-box;
}

.outras-obras.aberto {
    display: flex;
}

.obra-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;        /* ← ocupa toda a largura */
}

.obra-item .galeria-projeto {
    width: 100%;
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(192, 184, 182);
    overflow: hidden;
    touch-action: pan-y;
    box-sizing: border-box;
    padding: 0 60px;    /* ← abre espaço para as setas nas laterais */
}

.obra-item .galeria-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.obra-item .foto-galeria {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.obra-item .foto-galeria.active {
    opacity: 1;
}

/* Setas fora da imagem, dentro do padding */
.obra-item .btn-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(44, 44, 42, 0.15);
    backdrop-filter: blur(6px);
    border: 1.5px solid rgba(44, 44, 42, 0.3);
    color: rgb(24, 37, 50);
    font-size: 28px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.obra-item .btn-nav.anterior {
    left: 0px;   /* ← fica no padding, fora da imagem */
}

.obra-item .btn-nav.proximo {
    right: 0px;  /* ← fica no padding, fora da imagem */
}

.obra-item .btn-nav:hover {
    background: rgba(44, 44, 42, 0.3);
    transform: translateY(-50%) scale(1.1);
}

/* Ver mais */

.ver-mais-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 0;  /* ← reduza o padding */
    background: transparent;
}

.btn-ver-mais {
    background: transparent;
    border: 1.5px solid #3a3a3a;
    border-radius: 999px;
    padding: 14px 36px;
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    color: rgb(24, 37, 50);
}

.btn-ver-mais:hover {
    background: #e8e4e3;
    transform: scale(1.05);
}

/* Outras obras — começa escondido */
.outras-obras {
    display: none;
    flex-direction: column;
    gap: 60px;
    padding: 40px 20px;
    margin: 0 auto;
}

.outras-obras.aberto {
    display: flex;
}

.obra-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.obra-titulo {
    font-family: 'Dolce Vita Heavy', sans-serif;
    font-size: 28px;
    text-align: center;
    color: rgb(24, 37, 50);
}

/* Importação do FontAwesome para os ícones funcionarem (caso não tenha no projeto) */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

.site-footer {
    background-color: #11161d; /* Tom escuro idêntico ao da imagem */
    color: #ffffff;
    font-family: 'Urbanist', sans-serif;
    padding: 40px 20px;
    width: 100%;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* Permite quebrar linha em telas menores */
    gap: 20px;
}

/* Divisórias Verticais */
.footer-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2); /* Linha sutil branca */
}

/* Estilização da Logo (Simulada em texto baseada na imagem) */
.logo-placeholder {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.logo-placeholder .logo-r {
    font-weight: 800;
    margin-right: -3px;
}
.logo-placeholder .sub-logo {
    display: block;
    font-size: 10px;
    text-transform: lowercase;
    margin-top: -5px;
    text-align: right;
    opacity: 0.7;
}

/* Texto de Copyright */
.footer-copyright {
    font-size: 14px;
    font-weight: 300;
    font-style: italic;
    opacity: 0.8;
}

/* Bloco de Contatos */
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-name {
    font-style: italic;
    opacity: 0.9;
}

.contact-phone {
    font-weight: 300;
}

/* Ícones Sociais */
.footer-socials {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-socials a {
    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
    transition: opacity 0.2s ease;
    opacity: 0.8;
}

.footer-socials a:hover {
    opacity: 1;
}

/* Ícone do WhatsApp com fundo circular sutil (opcional, como na foto) */
.footer-socials a.whatsapp-icon {
    background-color: rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    opacity: 0.75;
    filter: brightness(0) invert(1); /* ← deixa a logo branca */
    transition: opacity 0.2s;
}

.footer-logo-img:hover {
    opacity: 1;
}

/* ============================================================
   Responsividade para tablet e celulares
   ============================================================ */

@media (max-width: 1024px) {

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    html {
        scroll-padding-top: 130px;
    }

    body {
        min-width: 0;
    }

    header {
        height: auto;
        min-height: 96px;
        padding: 8px 0;
    }

    nav {
        height: auto;
        justify-content: center;
    }

    .header-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
        padding: 0 16px;
    }

    .logo {
        width: min(190px, 24vw);
        margin: 0;
        padding: 4px;
    }

    .nav-links {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px 18px;
    }

    nav a {
        font-size: 15px;
        line-height: 1.15;
        text-align: center;
    }

    .btn-whatsapp {
        min-height: 42px;
        padding: 10px 18px;
        gap: 8px;
        font-size: 12px;
        letter-spacing: 0.02em;
        white-space: nowrap;
    }

    section {
        scroll-margin-top: 130px;
    }

    .img_projeto {
        object-fit: cover !important;
    }

    .banner-textC,
    .banner-textE {
        left: 6%;
        right: 6%;
        bottom: 7%;
        max-width: 560px;
        font-size: 18px;
    }

    .banner-textC h1,
    .banner-textE h1 {
        font-size: 34px;
        line-height: 1.08;
        margin: 0 0 10px;
    }

    .banner-textC p,
    .banner-textE p {
        font-size: 16px;
        line-height: 1.45;
        margin: 0;
    }

    .sobre-flex-container,
    .container-obras-flex,
    .container-projetos-flex {
        max-width: 100%;
        padding-right: 24px;
        padding-left: 24px;
    }

    .sobre-flex-container {
        gap: 44px;
    }

    .container-somos {
        width: 58%;
        height: auto;
    }

    .quem-somos {
        font-size: 19px;
        line-height: 1.48;
    }

    .container-ceos {
        width: 42%;
        height: auto;
        min-height: 460px;
        background-position: center top;
    }

    .container-obras-flex {
        gap: 24px;
    }

    .card-obras-realizadas,
    .card-experiencia,
    .card-escritorios {
        width: 100%;
        max-width: 300px;
        min-height: 190px;
        height: auto;
        margin-top: 300px;
        justify-content: center;
    }

    .card-obras-realizadas:hover,
    .card-experiencia:hover,
    .card-escritorios:hover {
        width: 100%;
        max-width: 300px;
        min-height: 190px;
        height: auto;
        margin-top: 300px;
    }

    .h2 {
        font-size: 58px;
        padding: 8px;
    }

    .container-projetos-flex {
        gap: 40px;
    }

    .texto-heritage {
        margin-left: 0;
    }

    .planta-heritage {
        width: 100%;
        height: auto;
        min-height: 480px;
    }

    .img-planta-heritage {
        object-fit: contain;
    }

    .galeria-projeto {
        min-height: 480px;
        height: 58vh;
    }

    .galeria-container {
        width: 92%;
    }

    .obra-item .galeria-projeto {
        min-height: 520px;
        height: 65vh;
        padding: 0 48px;
    }
}

@media (max-width: 768px) {

    html {
        scroll-padding-top: 170px;
    }

    header {
        position: sticky;
        top: 0;
        min-height: 0;
        padding: 8px 0 10px;
    }

    nav,
    .header-content {
        width: 100%;
    }

    .header-content {
        gap: 8px;
        padding: 0 12px;
    }

    .logo {
        width: 128px;
    }

    .nav-links {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .nav-links a:not(.btn-whatsapp) {
        min-height: 34px;
        padding: 6px 4px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.16);
        font-size: 12px;
        line-height: 1.1;
    }

    .btn-whatsapp {
        grid-column: 1 / -1;
        justify-self: center;
        width: min(100%, 330px);
        min-height: 44px;
        padding: 10px 14px;
        font-size: 12px;
        line-height: 1.1;
    }

    .btn-whatsapp svg {
        width: 20px;
        height: 20px;
    }

    section {
        scroll-margin-top: 170px;
    }

    .banner {
        height: 100svh;
        min-height: 520px;
    }

    .banner-textC,
    .banner-textE {
        left: 18px;
        right: 18px;
        bottom: 32px;
        max-width: none;
        font-size: 16px;
    }

    .banner-textC h1,
    .banner-textE h1 {
        font-size: 29px;
        line-height: 1.1;
    }

    .banner-textC p,
    .banner-textE p {
        font-size: 15px;
    }

    .slide::after {
        background: linear-gradient(to top,
                rgba(0, 0, 0, 0.88) 0%,
                rgba(0, 0, 0, 0.56) 34%,
                rgba(0, 0, 0, 0.08) 68%);
    }

    .sobre-flex-container {
        flex-direction: column;
        gap: 26px;
        padding: 42px 18px;
    }

    .container-somos,
    .container-ceos {
        width: 100%;
        padding: 0;
    }

    .quem-somos {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.6;
        text-align: left;
    }

    .quem-somos h1 {
        font-size: 30px;
        line-height: 1.1;
        margin: 0 0 12px;
    }

    .container-ceos {
        min-height: 360px;
        border-radius: 8px;
    }

    .container-obras-sucesso {
        height: auto;
        min-height: 0;
        padding: 72px 16px;
        background-position: center;
    }

    .container-obras-flex {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding: 0;
    }

    .card-obras-realizadas,
    .card-experiencia,
    .card-escritorios,
    .card-obras-realizadas:hover,
    .card-experiencia:hover,
    .card-escritorios:hover {
        width: 100%;
        max-width: 380px;
        min-height: 148px;
        height: auto;
        margin-top: 0;
        padding: 18px;
        justify-content: center;
        transform: none;
    }

    .card-obras-realizadas h3,
    .card-experiencia h3,
    .card-escritorios h3 {
        margin: 0;
        font-size: 16px;
        line-height: 1.25;
    }

    .h2 {
        font-size: 48px;
        line-height: 1;
        padding: 0 0 8px;
    }

    .container-projetos {
        gap: 0;
    }

    .texto-heritage {
        padding: 36px 18px 8px;
        font-size: 16px;
        text-align: center;
    }

    .texto-heritage h1 {
        margin: 0 0 4px;
        font-size: 32px;
        line-height: 1;
    }

    .texto-heritage p {
        margin: 0;
    }

    .container-projetos-flex {
        flex-direction: column;
        gap: 24px;
        padding: 24px 14px 36px;
    }

    .planta-heritage {
        width: 100%;
        min-height: 0;
        height: auto;
        aspect-ratio: 4 / 5;
        border-radius: 8px;
    }

    .galeria-projeto,
    .obra-item .galeria-projeto {
        width: 100%;
        min-height: 380px;
        height: 64svh;
        max-height: 560px;
        padding: 0;
    }

    .galeria-container,
    .obra-item .galeria-container {
        width: 100%;
        height: 100%;
    }

    .foto-galeria,
    .obra-item .foto-galeria {
        object-fit: contain;
    }

    .btn-nav,
    .obra-item .btn-nav {
        width: 44px;
        height: 44px;
        font-size: 22px;
        background: rgba(24, 37, 50, 0.52);
        border-color: rgba(255, 255, 255, 0.52);
        color: #ffffff;
    }

    .btn-nav.anterior,
    .obra-item .btn-nav.anterior {
        left: 8px;
    }

    .btn-nav.proximo,
    .obra-item .btn-nav.proximo {
        right: 8px;
    }

    .galeria-contador {
        bottom: 10px;
        font-size: 13px;
        padding: 5px 12px;
    }

    .ver-mais-container {
        padding: 12px 16px 28px;
    }

    .btn-ver-mais {
        width: min(100%, 320px);
        min-height: 44px;
        justify-content: center;
        padding: 10px 18px;
        font-size: 14px;
    }

    .outras-obras {
        gap: 44px;
        padding: 20px 14px 42px;
    }

    .obra-item {
        gap: 12px;
    }

    .obra-titulo {
        font-size: 22px;
        line-height: 1.15;
        margin: 0;
    }

    .site-footer {
        padding: 34px 18px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 22px;
    }

    .footer-divider {
        display: none;
    }

    .footer-copyright {
        max-width: 320px;
        line-height: 1.5;
    }

    .footer-contacts,
    .contact-item {
        align-items: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-socials a {
        width: 44px;
        height: 44px;
    }

    .footer-logo-img {
        height: 34px;
    }

    .logo:hover,
    .container-ceos:hover,
    .btn-whatsapp:hover,
    .btn-ver-mais:hover,
    .btn-nav:hover,
    .obra-item .btn-nav:hover {
        transform: none;
    }
}

@media (max-width: 480px) {

    html {
        scroll-padding-top: 160px;
    }

    section {
        scroll-margin-top: 160px;
    }

    .header-content {
        padding: 0 10px;
    }

    .logo {
        width: 112px;
    }

    .nav-links {
        gap: 6px;
    }

    .nav-links a:not(.btn-whatsapp) {
        min-height: 32px;
        font-size: 11px;
        padding: 5px 3px;
    }

    .btn-whatsapp {
        min-height: 42px;
        font-size: 11px;
        padding: 9px 12px;
    }

    .banner {
        min-height: 500px;
    }

    .banner-textC,
    .banner-textE {
        bottom: 26px;
    }

    .banner-textC h1,
    .banner-textE h1 {
        font-size: 24px;
    }

    .banner-textC p,
    .banner-textE p {
        font-size: 14px;
    }

    .sobre-flex-container {
        padding: 34px 14px;
    }

    .quem-somos {
        font-size: 15px;
    }

    .quem-somos h1 {
        font-size: 26px;
    }

    .container-ceos {
        min-height: 300px;
    }

    .container-obras-sucesso {
        padding: 56px 14px;
    }

    .card-obras-realizadas,
    .card-experiencia,
    .card-escritorios,
    .card-obras-realizadas:hover,
    .card-experiencia:hover,
    .card-escritorios:hover {
        min-height: 132px;
        padding: 16px 12px;
    }

    .h2 {
        font-size: 40px;
    }

    .card-obras-realizadas h3,
    .card-experiencia h3,
    .card-escritorios h3 {
        font-size: 14px;
    }

    .texto-heritage h1 {
        font-size: 28px;
    }

    .container-projetos-flex {
        padding: 20px 10px 30px;
    }

    .planta-heritage {
        aspect-ratio: 3 / 4;
    }

    .galeria-projeto,
    .obra-item .galeria-projeto {
        min-height: 320px;
        height: 58svh;
        max-height: 500px;
    }

    .btn-nav,
    .obra-item .btn-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .btn-nav.anterior,
    .obra-item .btn-nav.anterior {
        left: 6px;
    }

    .btn-nav.proximo,
    .obra-item .btn-nav.proximo {
        right: 6px;
    }

    .outras-obras {
        padding-right: 10px;
        padding-left: 10px;
    }

    .obra-titulo {
        font-size: 19px;
    }
}
