/* ======= MENU FIXO ======= */
#divMenuFixo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    padding: 10px 0;
    background-color: rgba(249, 247, 243, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-menu {
    min-height: 100px;
}

#divMenuFixo .navbar-nav .nav-link {
    padding-left: 1rem;
    padding-right: 1rem;
}

.logo-home {
    max-height: 50px;
}


@media (max-width: 767.98px) {
    #divMenuFixo .navbar {
        flex-grow: 1;
        width: auto;
    }

}


@media (min-width: 1200px) {
    .secao-rodape {
        padding-bottom: 18rem !important;
    }
}


[id] {
    scroll-margin-top: 100px;
}

/* ======= TIPOGRAFIA GLOBAL RESPONSIVA ======= */
h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.8rem, 4.5vw, 2.6rem);
    line-height: 1.3;
}

h3 {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
}

p {
    font-size: clamp(1rem, 2.3vw, 1.2rem);
}

/* ======= SEÇÃO GENÉRICA ======= */
.secao {
    padding-top: 20px;
}

/* ======= BOTÕES ======= */
.btn-default {
    background-color: #66142E;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-default:hover {
    background-color: white;
    color: #66142E;
    border: 1px solid #66142E;
}

.btn-branco {
    background-color: white;
    color: #66142E;
    border: none;
    transition: all 0.3s ease;
}

.btn-branco:hover {
    background-color: #66142E;
    color: white;
    border: 1px solid #66142E;
}

.botao-contato {
    background-color: #FFFFFF;
    color: #66142E;
    border-color: #66142E;
}

/* ======= MENU / NAVBAR ======= */
.navbar .nav-link {
    color: #66142E !important;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.navbar .nav-link.active {
    color: #66142E !important;
    font-weight: 600;
    border-bottom: 2px solid #66142E;
}

.navbar .nav-link:hover {
    color: #4d0f26 !important;
    border-bottom: 2px solid #4d0f26;
}

/* ======= SEÇÃO HOME (TOPO) ======= */
.secao_topo_home {
    position: relative;
    display: flex;
    min-height: 600px;
    overflow: hidden;
    color: #fff;
}

.secao_topo_home::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("./img/backgroudLivros.jpg") center/cover no-repeat;
    filter: brightness(50%) blur(1px);
    transform: scale(1.1);
    animation: zoomEffect 15s ease-in-out infinite alternate;
    background-attachment: fixed;
    will-change: transform;
    z-index: 10;
}

.secao_topo_home::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 11;
}

.secao_topo_home>* {
    position: relative;
    z-index: 12;
}

@keyframes zoomEffect {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1.2);
    }
}

.titulo-home {
    padding-top: 100px;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: normal;
    line-height: 1.3;
    color: #DBDBDB;
}

.descricao-home {
    font-family: "Arial", sans-serif;
    font-size: clamp(1rem, 2.3vw, 1.3rem);
    line-height: 1.6;
    color: #DBDBDB;
}

.logo-home {
    max-height: 50px;
    padding-top: 10px;
}

/* ======= SEÇÃO SOBRE NÓS ======= */
.sobre-advogado {
    background-color: #f9f7f3;
    padding: 4rem 2rem;
}

.sobre-advogado h2 {
    color: #976C7A;
}

.sobre-advogado h3 {
    color: #5F5F5F;
}

.sobre-advogado p {
    text-align: justify;
}

/* ======= CAROUSEL ======= */
.carousel-inner img {
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

/* ======= SEÇÃO ADVOGADO TOPO ======= */
.secao_topo_advogado {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("./img/backgroudLivros.jpg") !important;
    background-size: cover;
    background-position: center;
    height: 200px;
    color: white;
}

.titulo-escritorio {
    padding-top: 80px;
}

/* ======= SEÇÃO ÁREA DE ATUAÇÃO E ADVOGADOS ======= */
.secao-area-atuacao,
.advogado-secao {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    overflow: hidden;
    color: white;
}

.secao-area-atuacao::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("./img/backgroudEstatuaJustica.jpg") center/cover no-repeat;
    filter: brightness(40%) contrast(80%);
    z-index: 0;
}

.secao-area-atuacao::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.secao-area-atuacao>*,
.advogado-secao>* {
    position: relative;
    z-index: 2;
}

.secao-area-atuacao h2,
.advogado-secao h2,
.secao-rodape h2 {
    font-family: "Arial", sans-serif;
    font-size: clamp(1.6rem, 5vw, 3rem);
    color: #E3E3E3;
}

.secao-area-atuacao h3,
.advogado-secao h3,
.secao-rodape h3 {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 400;
    letter-spacing: 2px;
    color: #976C7A;
}

.secao-area-atuacao p,
.advogado-secao p {
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    text-align: justify;
    color: rgb(122, 122, 122);
}

.advogado-secao .texto-descricao {
    font-size: clamp(1.2rem, 2.8vw, 1.75rem);
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: -0.4px;
    text-align: justify;
    color: #E2E2E2;
}

/* ======= CARD ADVOGADO ======= */


.card-adv {
    background-color: #222;
    border: none;
    border-radius: 10px;
    transition: transform 0.2s ease;
}

.card-adv:hover {
    transform: translateY(-5px);
}

.card-adv .card-body {
    color: #ddd;
}

.card-adv img {
    width: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    margin: auto;
}

.card-adv .texto-email {
    font-size: 78%;
}

/* ======= SEÇÃO SOLUÇÕES JURÍDICAS ======= */
.secao-solucoes-juridicas {
    background-color: #F9F7F3;
}

.secao-solucoes-juridicas .titulo {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 400;
    letter-spacing: 2px;
    color: #818181;
    padding-top: 20px;
}

.secao-solucoes-juridicas h2 {
    font-family: "Arial", sans-serif;
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 400;
    color: #66142E;
}

.secao-solucoes-juridicas p {
    text-align: justify;
    color: rgb(122, 122, 122);
}

/* ======= OUTROS ======= */
.logo-customizado {
    width: 400px;
    z-index: 3;
    padding: 20px;
}

@media (min-width: 768px) {
    .div-imagem {
        padding-top: 100px;
    }
}


.logo-selo {
    max-width: 140px;
    height: auto;
    padding: 10px;
}

.secao-direito h2 {
    color: #66142E;
}


.secao-direito {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    overflow: hidden;
    color: white;
}

.secao-direito::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("./img/carrossel/08.jpg") center/cover no-repeat;
    filter: brightness(80%) contrast(100%);
    /* imagem mais clara e menos destacada */
    z-index: 0;
}

.secao-direito::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.9);
    /* quase branco sólido */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1;
}

.secao-direito>* {
    position: relative;
    z-index: 2;
}

	

/* A–Z: por padrão pode quebrar em várias linhas */
#corpo-juridico #cj-az {
  overflow: visible;       /* não força linha única */
  row-gap: .5rem;          /* espaço vertical entre linhas quando quebrar */
}

/* No mobile, manter uma linha com rolagem horizontal para economizar espaço */
@media (max-width: 575.98px) {
  #corpo-juridico #cj-az {
    flex-wrap: nowrap;     /* volta a ser uma linha */
    overflow-x: auto;      /* rolagem horizontal suave */
    -webkit-overflow-scrolling: touch;
  }
}
