.terrazzo {
    display: grid;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 50px;

    color: #ffff;
}

.terrazzo p {
    text-align: center;
}

.terrazzo-descr {
    display: grid;
    grid-template-columns: 35% 35%;
    grid-template-rows: 50% 50%;
    column-gap: 20px;
    justify-content: center;

    color: #ffffff;
}

.img_left_terrazzo_descr figure p {
    padding-top: 16px;
}

.img_right_descr figure p {
    padding-top: 16px;
}

.row img {
    display: none;
}

.title_dt_right {
    font-size: 1.8rem;
    font-family: 'b-semibold';
    text-align: center;
    margin-top: 20px;
}

.txt-loc-1 {
    margin-bottom: 30px;
}

.text_dt_right {
    font-family: 's-regular';
    padding-left: 20px;
    display: block;
    margin-top: 12px;
}

.text_dt_right p {
    margin-top: 0;
    margin-bottom: 10px;
    margin-block-start: 0;
    line-height: 1.5;
    background: #DED4AF;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #82734C;
    font-size: 1.2rem;

}

.container-terrazzo {
    background: url('../image/terrazzo/background.webp');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding-bottom: 100px;
    padding-top: 46px;
}

.terrazzo-descr img {
    width: 100%;
}

.terrazzo-descr-text img {
    margin-top: 10px;
    width: 100%;
}

.img_right_descr {
}

.descr-text {
    display: flex;
    flex-direction: column;
}

.text-title {
    font-size: 2.5rem;
    background: linear-gradient(90deg, #82734C, #DED4AF, #796640);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #82734C;
    font-family: 'b-bold';
}


.text-subtile {
    font-family: 's-italic';

}

.terrazzo-descr-text img {
    margin-top: 60px;
}


@media only screen and (max-width: 782px) {

    .terrazzo {
        display: grid;
        justify-content: center;
        padding-top: 10px;
        padding-bottom: 0px;
        background-color: #003B3A;
        color: #ffff;
    }

    .terrazzo-descr-text img {
        margin-top: 10px;
    }

    .row-b {
        margin-top: -16px;
    }

    .mt-tb {
        margin-top: 0px !important;
    }

    .text-title {
        font-size: 2rem;
        color: #AD7D59;
        margin-top: 226px;
    }

    .terrazzo-descr {
        display: grid;
        grid-template-columns: 90%;
        grid-template-rows: max-content;
        justify-content: center;
        background-color: #003B3A;
        color: #ffffff;

    }

    .terrazzo-descr img {
        width: 100%;

        order: 2;
    }

    .title_dt_right {
        font-size: 2.5rem;
        font-family: 'b-semibold';
    }
}

.container-terrazzo .btn-primary {
    margin-inline: auto;
    margin-top: 56px;
    display: table;
}

/* =========================================
   CORREÇÃO DO MENU (Adicionado ao final)
   ========================================= */

/* 1. Fixar o Menu no Topo */
nav {
    position: fixed !important; /* Força ficar fixo */
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; /* Altura da barra */
    background-color: #032b26; /* Cor verde escura do tema */
    z-index: 9999; /* Garante que fique na frente de tudo */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    box-sizing: border-box;
}

/* Empurra o conteúdo para baixo para não ficar escondido atrás do menu */
body {
    padding-top: 80px;
}

/* Ajuste da Logo dentro do menu */
nav .logo img {
    height: 60px; /* Ajuste o tamanho da logo aqui */
    width: auto;
    margin-top: 5px;
}

/* 2. Estilo do Menu Desktop */
ul.menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

ul.menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-family: 's-regular', sans-serif; /* Usando a fonte do seu site */
    text-transform: uppercase;
}

/* Esconde o botão de celular no Desktop */
.menu-btn {
    display: none;
    cursor: pointer;
}

.menu-btn svg {
    fill: #DED4AF; /* Cor dourada do seu tema */
    width: 30px;
    height: 30px;
}

/* =========================================
   CORREÇÃO FINAL DO MENU (Substitua o anterior por este)
   ========================================= */

/* 1. Esconde os menus antigos para não duplicar */
header, 
.mobile-container {
    display: none !important; /* Remove o menu lateral antigo e a barra mobile antiga */
}

/* 2. Configuração da Barra Fixa (Nav) */
nav {
    display: flex !important; /* Força o menu novo a aparecer sempre */
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px; /* Aumentei um pouco para caber melhor a logo */
    
    /* AQUI É A COR: Tentei usar a mesma cor do seu CSS original */
    background-color: #012826; 
    
    z-index: 9999;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    box-sizing: border-box;
}

/* Garante que o fundo da logo não fique com cor diferente */
nav .logo {
    background-color: transparent !important;
    display: flex;
    align-items: center;
}

/* Ajuste da Imagem da Logo */
nav .logo img {
    height: 70px; /* Tamanho da logo */
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply; /* Tenta mesclar o fundo da imagem se ela não for transparente */
}

/* Empurra o site para baixo */
body {
    padding-top: 90px;
}

/* Estilo dos Links (Desktop) */
ul.menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

ul.menu li a {
    color: #fff; /* Texto Branco */
    text-decoration: none;
    font-size: 1rem;
    font-family: sans-serif;
    text-transform: uppercase;
    font-weight: bold;
}

/* Botão do Mobile (Hambúrguer) */
.menu-btn {
    display: none;
    cursor: pointer;
}

.menu-btn svg {
    fill: #DED4AF; /* Cor dourada */
    width: 35px;
    height: 35px;
}


/* =========================================
   CORREÇÃO FINAL DO MENU (Versão Ajustada: Cor e Altura)
   ========================================= */

/* 1. Esconde os menus antigos para não duplicar */
header, 
.mobile-container {
    display: none !important; 
}

/* 2. Configuração da Barra Fixa (Nav) */
nav {
    display: flex !important;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    
    /* ALTURA REDUZIDA: De 90px para 70px para ficar mais estreito */
    height: 70px; 
    
    /* A COR EXATA DA SEÇÃO PROJETO */
    background-color: #003B3A; 
    
    z-index: 9999;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%; /* Padding zero em cima/baixo para não alargar */
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    box-sizing: border-box;
}

/* Garante que o fundo da logo não fique com cor diferente */
nav .logo {
    background-color: transparent !important;
    display: flex;
    align-items: center;
    height: 100%; /* Ocupa toda altura da barra */
}

/* Ajuste da Imagem da Logo */
nav .logo img {
    /* Logo um pouco menor para caber na barra estreita */
    height: 55px; 
    width: auto;
    object-fit: contain;
    margin: 0; /* Remove margens que empurram a barra */
    padding: 0;
}

/* Empurra o site para baixo (compensação da barra fixa) */
body {
    padding-top: 70px; /* Mesma altura da nav */
}

/* Estilo dos Links (Desktop) */
ul.menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
    align-items: center; /* Centraliza verticalmente */
}

ul.menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem; /* Levemente menor para ficar elegante */
    font-family: sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Efeito Hover nos links */
ul.menu li a:hover {
    color: #DED4AF; /* Cor dourada do tema ao passar o mouse */
}

/* Botão do Mobile (Hambúrguer) */
.menu-btn {
    display: none;
    cursor: pointer;
    align-items: center; /* Centraliza o ícone */
}

.menu-btn svg {
    fill: #DED4AF; /* Cor dourada */
    width: 30px;
    height: 30px;
}

/* =========================================
   AJUSTES PARA CELULAR (Mobile)
   ========================================= */
@media screen and (max-width: 900px) {
    .menu-btn {
        display: flex; /* Mostra o botão */
    }

    ul.menu {
        display: none; /* Esconde a lista de links inicialmente */
        position: absolute;
        
        /* IMPORTANTE: Deve ter a mesma altura da nav (70px) */
        top: 70px; 
        
        left: 0;
        width: 100%;
        background-color: #003B39; /* Mesma cor do header */
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 10px 10px rgba(0,0,0,0.2);
    }

    ul.menu li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    ul.menu li a {
        display: block;
        padding: 10px;
    }
    
    /* Classe para mostrar o menu ao clicar */
    ul.menu.open {
        display: flex;
    }
}


/* --- FORÇAR MENU NO TOPO (Código de Correção) --- */

/* Garante que o menu antigo fique oculto */
header, 
.mobile-container {
    display: none !important;
}

/* Força a barra nova a ficar fixa no topo */
nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 70px !important; /* Altura fixa */
    background-color: #003B39 !important;
    z-index: 99999 !important; /* Valor bem alto para ficar acima do slider */
    
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    margin: 0 !important;
    box-sizing: border-box;
}

/* Garante que o corpo do site desça para não ficar escondido atrás do menu */
body {
    padding-top: 70px !important;
}

/* Ajuste da Logo */
nav .logo img {
    height: 50px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain;
}

.menu-btn {
  position: relative;
  z-index: 100000;
}

ul.menu {
  z-index: 100000;
}
