/* Estilos Gerais */

    :root {
        --azul: #2e297d;
        --azul-escuro: #1d1a55;
        --vermelho: #d7141c;
        --texto: #2b2b33;
        --texto-suave: #5f6070;
        --fundo-claro: #f6f6f9;
        --altura-topo: 112px; /* atualizada pelo app.js conforme o cabeçalho */
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        padding-top: var(--altura-topo);
        font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
        color: var(--texto);
        overflow-x: hidden;
    }

    section[id], [id="maria"], [id="luis"] {
        scroll-margin-top: calc(var(--altura-topo) + 10px);
    }

    h1, h2, h3, .subtitulo, .subtitulo-left, .subtitulo-advogado {
        font-family: 'Cormorant Garamond', Georgia, serif;
        font-weight: 600;
    }

    .bg-light {
        background-color: var(--fundo-claro) !important;
    }

    .secao {
        padding: 80px 0;
    }

/* Fim Estilos Gerais */


/* Cabeçalho */

    .topo {
        box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    }

    .navbar-contato {
        background-color: var(--fundo-claro);
        padding: 4px 0;
    }

    .nav-contato-itens {
        font-size: 13px;
    }

    .nav-contato-itens .list-inline-item:not(:last-child) {
        margin-right: 18px;
    }

    .nav-contato-itens i {
        color: var(--azul);
        margin-right: 4px;
    }

    .nav-contato-itens a {
        color: var(--texto-suave);
    }

    .navbar-brand img {
        width: 240px;
        height: auto;
    }

    .navbar-nav .nav-link {
        color: var(--azul) !important;
        font-weight: 700;
        font-size: 15px;
        padding: 8px 14px !important;
        border-radius: 4px;
        transition: background-color .3s, color .3s;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .active > .nav-link {
        background-color: var(--azul);
        color: #fff !important;
    }

    .navbar-toggler {
        border-color: rgba(46, 41, 125, .3);
    }

/* Fim Cabeçalho */


/* Seção Início */

    .inicio {
        position: relative;
        display: flex;
        align-items: center;
        min-height: 560px;
        background:
            linear-gradient(90deg, rgba(29, 26, 85, .92) 0%, rgba(29, 26, 85, .75) 40%, rgba(29, 26, 85, .15) 75%),
            url("../img/escritorio-1.jpg") no-repeat center / cover;
        color: #fff;
    }

    .inicio-texto {
        max-width: 560px;
        padding: 60px 0;
    }

    .inicio-selo {
        display: inline-block;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .12em;
        text-transform: uppercase;
        border-left: 3px solid var(--vermelho);
        padding-left: 10px;
        margin-bottom: 18px;
    }

    .inicio h1 {
        font-size: 52px;
        line-height: 1.1;
        margin-bottom: 18px;
    }

    .inicio-sub {
        font-size: 18px;
        opacity: .9;
        margin-bottom: 30px;
    }

    .inicio-botoes .btn {
        margin: 0 10px 10px 0;
    }

    .btn-destaque {
        background-color: var(--vermelho);
        border-color: var(--vermelho);
        color: #fff;
        font-weight: 700;
    }

    .btn-destaque:hover,
    .btn-destaque:focus {
        background-color: #b01017;
        border-color: #b01017;
        color: #fff;
    }

    .btn-contorno {
        border: 2px solid #fff;
        color: #fff;
        font-weight: 700;
    }

    .btn-contorno:hover {
        background-color: #fff;
        color: var(--azul);
    }

/* Fim Início */


/* Títulos */

    .subtitulo {
        font-size: 42px;
        color: var(--azul);
        text-align: center;
        margin-bottom: 50px;
    }

    .subtitulo:after {
        content: "";
        display: block;
        width: 80px;
        height: 3px;
        background-color: var(--vermelho);
        margin: 12px auto 0;
    }

    .subtitulo-left {
        font-size: 42px;
        color: var(--azul);
        border-left: 3px solid var(--vermelho);
        padding-left: 16px;
        margin-bottom: 28px;
    }

/* Fim Títulos */


/* O Escritório */

    .escritorio p {
        font-size: 16px;
        line-height: 1.8;
        text-align: justify;
        hyphens: auto;
    }

    .escritorio strong {
        color: var(--azul);
    }

    .fotos-escritorio {
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
    }

    .fotos-escritorio .carousel-item img {
        height: auto;
        aspect-ratio: 3 / 2;
        object-fit: cover;
    }

/* Fim O Escritório */


/* Áreas de Atuação */

    .area {
        height: 100%;
        padding: 30px 16px;
        margin-bottom: 0;
        text-align: center;
        border: 1px solid #ececf3;
        border-radius: 8px;
        transition: transform .3s, box-shadow .3s, border-color .3s;
    }

    .areas-grade > div {
        margin-bottom: 24px;
    }

    .area:hover {
        transform: translateY(-4px);
        border-color: transparent;
        box-shadow: 0 10px 24px rgba(46, 41, 125, .12);
    }

    .area i {
        font-size: 40px;
        color: var(--azul);
        margin-bottom: 14px;
    }

    .area h3 {
        font-size: 24px;
        color: var(--azul);
        margin: 0;
    }

/* Fim Área de Atuação */


/* Sócios */

    .socio {
        padding: 30px 0;
    }

    .socio + .socio {
        border-top: 1px solid #e3e3ec;
    }

    .socio-foto {
        display: block;
        width: 100%;
        max-width: 380px;
        height: auto;
        aspect-ratio: 2 / 3;
        object-fit: cover;
        object-position: top;
        margin: 0 auto 24px;
        border-radius: 8px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
    }

    .socios p {
        font-size: 17px;
        line-height: 1.8;
        text-align: justify;
        hyphens: auto;
    }

    .subtitulo-advogado {
        font-size: 32px;
        color: var(--azul);
        margin-bottom: 4px;
    }

    .socios .subtitulo-cargo {
        color: var(--vermelho);
        font-weight: 700;
        font-size: 14px;
        letter-spacing: .1em;
        text-transform: uppercase;
        text-align: left;
        margin-bottom: 18px;
    }

/* Fim Sócios */


/* Contato */

    .contato-intro {
        color: var(--texto-suave);
        margin: -30px auto 40px;
        max-width: 620px;
    }

    .canais li {
        display: flex;
        align-items: flex-start;
        margin-bottom: 22px;
    }

    .canais i {
        flex: 0 0 44px;
        height: 44px;
        line-height: 44px;
        text-align: center;
        border-radius: 50%;
        background-color: var(--azul);
        color: #fff;
        margin-right: 14px;
    }

    .canais strong {
        display: block;
        color: var(--azul);
    }

    .canais a {
        color: var(--texto-suave);
        word-break: break-word;
    }

    .formulario {
        background-color: var(--fundo-claro);
        padding: 30px;
        border-radius: 8px;
    }

    .formulario label {
        font-weight: 700;
        font-size: 14px;
        color: var(--texto-suave);
    }

    .formulario .form-control {
        border-color: #dcdce6;
    }

    .formulario .form-control:focus {
        border-color: var(--azul);
        box-shadow: 0 0 0 .2rem rgba(46, 41, 125, .15);
    }

/* Fim Contato */


/* Rodapé */

    .footer {
        background-color: #262626;
        color: #999;
        font-size: 15px;
    }

    .footer li {
        margin-bottom: 6px;
    }

    .footer a {
        color: #999;
    }

    .footer a:hover {
        color: #fff;
        text-decoration: none;
    }

    .titulo-footer {
        color: #b0bcc9;
        font-size: 18px;
        margin-bottom: 16px;
    }

    .bg-copy {
        background-color: var(--azul);
        color: #fff;
        font-size: 14px;
    }

/* Fim Rodapé */


/* Estilos Botão Whats-App */

    .whatsapp-link {
        position: fixed;
        width: 60px;
        height: 60px;
        bottom: 24px;
        right: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #25d366;
        color: #fff;
        border-radius: 50%;
        font-size: 32px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
        z-index: 1040;
        transition: background-color .3s, transform .3s;
    }

    .whatsapp-link:hover {
        color: #fff;
        background-color: #128c4a;
        transform: scale(1.06);
        text-decoration: none;
    }

/* Fim Estilos Botão Whats-App */


/* Correção de estilos no tablet e mobile */

    @media (max-width: 991px) {
        .navbar-collapse {
            padding: 10px 0;
        }

        .navbar-nav .nav-link {
            padding: 10px 14px !important;
        }
    }

    @media (max-width: 767px) {
        .secao {
            padding: 56px 0;
        }

        .navbar-brand img {
            width: 190px;
        }

        .inicio {
            min-height: 0;
            background:
                linear-gradient(rgba(29, 26, 85, .85), rgba(29, 26, 85, .85)),
                url("../img/escritorio-1.jpg") no-repeat center / cover;
        }

        .inicio h1 {
            font-size: 36px;
        }

        .inicio-sub {
            font-size: 16px;
        }

        .subtitulo,
        .subtitulo-left {
            font-size: 34px;
        }

        .subtitulo {
            margin-bottom: 36px;
        }

        .contato-intro {
            margin-top: -16px;
        }

        .area {
            padding: 22px 10px;
        }

        .area i {
            font-size: 30px;
        }

        .area h3 {
            font-size: 20px;
        }

        .escritorio p,
        .socios p {
            text-align: left;
        }

        .socio-foto {
            max-width: 260px;
        }

        .formulario {
            padding: 20px;
        }

        .whatsapp-link {
            width: 54px;
            height: 54px;
            font-size: 28px;
            bottom: 16px;
            right: 16px;
        }
    }

/* fim correção */
