/* --- ESTILOS GERAIS E FONTES --- */
/* Adicionado para garantir consistência no layout */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* NOVA REGRA - CORRIGIDA */
body {
    background-color: #f9f9f9; 
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* --- CONTAINER PRINCIPAL --- */

.container-principal {
    width: 100%;
    min-height: 100vh;
    background-color: #f9f9f9;


/* --- CABEÇALHO --- */
.cabecalho {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 93px;
    padding: 0 1rem; /* 16px */
    background-color: white;
    border-bottom: 1px solid #EDEDED;
    z-index: 20;
}

.logo {
    height: 60px;
    width: auto;
    margin-top: 8px;
}

.botao-menu-hamburguer {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem; /* 6px */
    margin-right: 10px;
    transition: background-color 0.2s;
    background-color: white;
    cursor: pointer;
}
.botao-menu-hamburguer:hover {
    background-color: #f3f4f6; /* gray-100 */
}

.icone-menu {
    width: 1.5rem; /* 24px */
    height: 1.5rem; /* 24px */
    color: #2A487A;
}

/* --- MENU LATERAL E OVERLAY --- */
.menu-fundo-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
    transition: opacity 0.3s ease-in-out;
}
.menu-fundo-overlay.hidden {
    display: none;
}

.menu-lateral {
    position: fixed;
    top: 0;
    right: 0;
    width: 265px;
    height: auto;
    min-height: 20pv;
    background-color: white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 50;
    transform: translateX(100%); 
    transition: transform 0.3s ease-in-out;
    border-bottom-left-radius: 10px ;
}
.menu-lateral.menu-aberto {
    transform: translateX(0);
}


.menu-conteudo {
    display: flex;
    flex-direction: column;
}

.menu-cabecalho-interno {
  width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-bottom: 1px solid #EDEDED;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.botao-fechar-menu {
    padding: 0.5rem; /* 8px */
    background: none;
    border: none;
    cursor: pointer;
}

.icone-fechar {
    width: 1.75rem; /* 28px */
    height: 1.75rem; /* 28px */
    color: #C2C2C2;
    transition: color 0.2s;
}
.icone-fechar:hover {
    color: #606060;
}

.menu-opcoes {
    width: 100%;
    padding-top: 0; /* <-- ZERADO PARA REMOVER O ESPAÇO EXTRA NO TOPO */
    padding-bottom: 1rem;
}

.menu-item-borda {
    border-bottom: 1px solid #EDEDED;
}

/* --- MENU ACCORDION --- */
.accordion-toggle {
    /* A linha 'margin-top' foi removida para eliminar espaço extra */
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    color: #2A487A;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.75rem; /* 12px */
    text-transform: uppercase;
    /* O padding vertical foi drasticamente reduzido para 0.6rem */
    padding: 0.6rem 1.5rem; 
    transition: background-color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
}
.accordion-toggle:hover {
    background-color: #f9fafb; /* gray-50 */
}

.arrow {
    width: 1rem; /* 16px */
    height: 1rem; /* 16px */
    color: #C2C2C2;
    transition: transform 0.3s;
}
.arrow.rotate-90 {
    transform: rotate(90deg);
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.submenu-item {
    display: block;
    text-align: left;
    color: #496BA5;
    background-color: #f8f9fa;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 10px;
    padding: 0.75rem 2rem; /* 12px 32px */
    border-top: 1px solid #EDEDED;
    transition: background-color 0.2s;
    text-decoration: none;
}
.submenu-item:hover {
    background-color: #e5e7eb; /* gray-200 */
}

.menu-link-direto {
   display: block;
    text-align: left;
    color: #2A487A;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.75rem; /* 12px */
    text-transform: uppercase;
     /* O padding vertical foi reduzido para 0.6rem para alinhar com o item de cima */
    padding: 0.6rem 1.5rem;
    transition: background-color 0.2s;
    text-decoration: none;
}

.menu-link-direto:hover {
    background-color: #f9fafb; /* gray-50 */
}

/* --- CARROSSEL --- */
.carrossel {
    
    position: relative;
    width: 100%;
    height: 336px;
    overflow: hidden;
}

.carrossel-trilha {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    width: 100%;
    flex-shrink: 0;
}
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.botao-carrossel {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 0.5rem; /* 8px */
    border-radius: 9999px; /* rounded-full */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.botao-carrossel:hover {
    background-color: rgba(0, 0, 0, 0.6);
}
.botao-carrossel svg {
    width: 1.5rem; /* 24px */
    height: 1.5rem; /* 24px */
}

.botao-anterior {
    left: 0.75rem; /* 12px */
}

.botao-proximo {
    right: 0.75rem; /* 12px */
}

/* --- SEÇÃO DE SERVIÇOS --- */
.secao-servicos {
    background-color: #f9f9f9;
    padding: 2rem 1rem;
}

.titulo-secao {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-size: 1.875rem; /* 30px */
    color: #FFDD00;
    letter-spacing: 0.0em;
    margin-bottom: 1.5rem; /* 24px */
    
    
}

.grade-servicos {
    background-color: #f9f9f9;
    display: grid;
    /* Define 2 colunas com o tamanho exato dos cards */
    grid-template-columns: 178px 178px;
    /* Define o espaçamento entre as colunas e linhas */
    gap: 1rem; /* 16px */
    /* Centraliza a grade inteira na horizontal, garantindo margens iguais */
    justify-content: center;
}

.cartao-servico {
    width: 178px;
    height: 173px;
    background-color: rgb(255, 255, 255);
    border-radius: 0.5rem; /* 8px */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.5rem; /* 8px */
    transition: box-shadow 0.2s;
    text-decoration: none;
}
.cartao-servico:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.cartao-servico img {
    margin-bottom: 0.5rem; /* 8px */
}

.cartao-servico-titulo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #2A487A;
    line-height: 1.2;
}

.cartao-servico-descricao {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    color: #979797;
    margin-top: 0.25rem; /* 4px */
    line-height: 1.2;
}
.rodape {
    width: 100%;
    background-color: #2A487A;
    padding: 1rem;
    text-align: center;
    margin-top: 45px;
}
.rodape p {
    font-family: 'Poppins', sans-serif;
    color: white;
    font-size: 0.75rem;
}
