/*
 * Luis Mesquita Advocacia — atualização visual 2026
 * Esta folha complementa o tema existente e preserva a estrutura HTML original.
 */

:root {
    --lm-red: #ec1d23;
    --lm-red-dark: #b50504;
    --lm-gold: #bb9a66;
    --lm-gold-dark: #917953;
    --lm-ink: #1e1e1e;
    --lm-ink-soft: #373737;
    --lm-paper: #f8f8f0;
    --lm-white: #ffffff;
    --lm-muted: #6d6d68;
    --lm-border: rgba(30, 30, 30, 0.11);
    --lm-shadow-sm: 0 10px 30px rgba(30, 30, 30, 0.08);
    --lm-shadow: 0 22px 60px rgba(30, 30, 30, 0.12);
    --lm-radius: 18px;
    --lm-transition: 220ms ease;
    --lm-font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
    --lm-font-heading: "Libre Baskerville", Georgia, serif;
    --lm-space-section: 64px;
    --lm-space-section-end: 72px;
    --lm-space-heading: 32px;
    --lm-space-grid: 20px;
    --lm-space-card-y: 36px;
    --lm-space-card-x: 40px;
    --lm-space-card-x-negative: -40px;
    --lm-space-card-x-double: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--lm-paper);
    color: var(--lm-ink-soft);
    font-family: var(--lm-font-body);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
    font-family: var(--lm-font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--lm-font-heading);
}

body,
h1,
h2,
h3,
h4,
h5,
p,
ul,
ol {
    margin-top: 0;
}

a {
    color: inherit;
    transition: color var(--lm-transition), background-color var(--lm-transition), border-color var(--lm-transition), transform var(--lm-transition), box-shadow var(--lm-transition);
}

    a:hover,
    a:focus {
        color: var(--lm-red);
        text-decoration: none;
    }

    a:focus-visible,
    button:focus-visible {
        outline: 3px solid rgba(236, 29, 35, 0.35);
        outline-offset: 3px;
    }

img {
    max-width: 100%;
    height: auto;
}

.main-container {
    background: var(--lm-white);
    overflow: hidden;
}

.container {
    width: min(1180px, calc(100% - 40px));
}

.section-padding {
    padding-bottom: 0;
    padding-top: var(--lm-space-section);
}

/* Header */
.header-main {
    background: var(--lm-white);
    position: relative;
    z-index: 1000;
}

.top-header {
    background: var(--lm-ink);
    border: 0;
    color: rgba(255, 255, 255, 0.82);
    min-height: 40px;
}

    .top-header .container > .row {
        align-items: center;
        display: flex;
        min-height: 40px;
    }

    .top-header .col-md-6:first-child p {
        display: none;
    }

    .top-header .col-md-6:last-child {
        align-items: center;
        display: flex;
        gap: 16px;
        justify-content: flex-end;
        width: 100%;
    }

    .top-header ul {
        border: 0;
        display: flex;
        gap: 8px;
        margin: 0;
        padding: 0;
    }

        .top-header ul li {
            border: 0;
            padding: 0;
        }

            .top-header ul li a {
                align-items: center;
                background: rgba(255, 255, 255, 0.08);
                border-radius: 50%;
                color: var(--lm-white);
                display: inline-flex;
                height: 28px;
                justify-content: center;
                width: 28px;
            }

                .top-header ul li a:hover {
                    background: var(--lm-red);
                    color: var(--lm-white);
                    transform: translateY(-1px);
                }

    .top-header .text-right > a {
        align-items: center;
        color: var(--lm-white);
        display: inline-flex;
        font-size: 12px;
        font-weight: 600;
        gap: 8px;
        letter-spacing: 0.04em;
        padding: 0;
        text-transform: uppercase;
    }

        .top-header .text-right > a img {
            filter: brightness(0) invert(1);
            height: 17px;
            margin: 0;
            opacity: 0.9;
            width: 17px;
        }

.middle-header {
    background: var(--lm-white);
    border: 0;
    padding: 20px 0 16px;
}

    .middle-header .row {
        align-items: center;
        display: flex;
        justify-content: center;
    }

    .middle-header .logo-block {
        float: none;
        text-align: center;
        width: auto;
    }

    .middle-header .image-logo {
        display: block;
    }

        .middle-header .image-logo img {
            height: 72px;
            object-fit: contain;
            width: auto;
        }

.ow-navigation {
    background: var(--lm-red);
    border: 0;
    border-radius: 0;
    box-shadow: 0 8px 28px rgba(181, 5, 4, 0.2);
    margin: 0;
    min-height: 58px;
    position: relative;
    z-index: 1001;
}

    .ow-navigation::before {
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        content: "";
        height: 1px;
        left: 0;
        opacity: 0.7;
        position: absolute;
        right: 0;
        top: 0;
    }

    .ow-navigation .navbar-nav {
        display: flex;
        float: none;
        gap: 6px;
        justify-content: center;
        margin: 0;
        width: 100%;
    }

        .ow-navigation .navbar-nav > li {
            float: none;
        }

            .ow-navigation .nav.navbar-nav li a,
            .ow-navigation .navbar-nav > li > a {
                background: transparent !important;
                color: var(--lm-white) !important;
                font-family: var(--lm-font-body);
                font-size: 13px;
                font-weight: 600;
                letter-spacing: 0.08em;
                padding: 20px 15px 18px;
                position: relative;
                text-transform: uppercase;
            }

                .ow-navigation .navbar-nav > li > a::after {
                    content: none;
                    display: none;
                }

                .ow-navigation .navbar-nav > li > a:hover,
                .ow-navigation .navbar-nav > li.active > a {
                    background: #ca151b !important;
                    color: var(--lm-white) !important;
                }

@media (min-width: 992px) {
    .ow-navigation .navbar-collapse {
        display: flex !important;
        float: none !important;
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

        .ow-navigation .navbar-collapse > .nav.navbar-nav {
            display: flex;
            float: none;
            justify-content: center;
            margin-left: 0 !important;
            margin-right: 0 !important;
            width: auto;
        }
}

/* Home hero */
.banner-section,
.banner-section .carousel,
.banner-section .carousel-inner,
.banner-section .carousel-inner > .item {
    height: clamp(500px, 68vh, 680px);
}

    .banner-section .carousel-inner > .item {
        background: var(--lm-ink);
        overflow: hidden;
    }

        .banner-section .carousel-inner > .item::after {
            background: linear-gradient(90deg, rgba(19, 20, 21, 0.88) 0%, rgba(19, 20, 21, 0.58) 42%, rgba(19, 20, 21, 0.08) 78%);
            content: "";
            inset: 0;
            pointer-events: none;
            position: absolute;
            z-index: 1;
        }

        .banner-section .carousel-inner > .item > img {
            height: 100%;
            object-fit: cover;
            object-position: center;
            width: 100%;
        }

    .banner-section .dark-shape,
    .banner-section .triangle-shape,
    .banner-section svg {
        display: none !important;
    }

    .banner-section .carousel-caption {
        align-items: center;
        bottom: 0;
        display: flex;
        inset: 0;
        left: 0;
        padding: 0;
        right: 0;
        text-align: left;
        text-shadow: none;
        transform: none !important;
        z-index: 2;
    }

        .banner-section .carousel-caption .container {
            padding-bottom: 25px;
        }

    .banner-section .banner-content {
        bottom: auto !important;
        max-width: 660px;
        padding: 0;
        top: auto !important;
        width: 58%;
    }

        .banner-section .banner-content::before {
            content: none;
            display: none;
        }

        .banner-section .banner-content h3,
        .banner-section .banner-content h3[style] {
            color: var(--lm-white);
            font-family: var(--lm-font-heading);
            font-size: clamp(30px, 3.5vw, 44px) !important;
            font-weight: 700;
            letter-spacing: -0.02em;
            line-height: 1.12;
            margin: 0 0 22px;
            text-shadow: none !important;
            white-space: nowrap;
        }

        .banner-section .banner-content p,
        .banner-section .banner-content p[style] {
            color: rgba(255, 255, 255, 0.9);
            font-family: var(--lm-font-body);
            font-size: clamp(15px, 1.25vw, 18px) !important;
            line-height: 1.7;
            margin: 0;
            max-width: 590px;
        }

    .banner-section .carousel-indicators {
        bottom: 26px;
        z-index: 5;
    }

        .banner-section .carousel-indicators li {
            background: rgba(255, 255, 255, 0.45);
            border: 0;
            height: 4px;
            margin: 0 4px;
            transition: width var(--lm-transition), background var(--lm-transition);
            width: 28px;
        }

            .banner-section .carousel-indicators li.active {
                background: var(--lm-red);
                height: 4px;
                width: 52px;
            }

/* Internal page hero */
.page-banner {
    background-position: center;
    background-size: cover;
    min-height: 280px;
    overflow: hidden;
    padding: 78px 0 62px;
    position: relative;
}

    .page-banner::before {
        background: linear-gradient(90deg, rgba(20, 21, 23, 0.91), rgba(20, 21, 23, 0.48));
        content: "";
        inset: 0;
        position: absolute;
    }

    .page-banner .container {
        position: relative;
        z-index: 1;
    }

    .page-banner h3 {
        color: var(--lm-white);
        font-family: var(--lm-font-heading);
        font-size: clamp(28px, 3vw, 40px);
        font-weight: 700;
        letter-spacing: -0.015em;
        line-height: 1.15;
        margin-bottom: 14px;
        white-space: nowrap;
    }

    .page-banner p {
        color: rgba(255, 255, 255, 0.82);
        font-family: var(--lm-font-body);
        font-size: 15px;
        letter-spacing: 0.02em;
    }

.page-route {
    height: 0;
    position: relative;
    z-index: 2;
}

    .page-route .container {
        height: 0;
        min-height: 0;
        position: relative;
    }

    .page-route .breadcrumb {
        align-items: center;
        background: transparent;
        border: 0;
        border-radius: 0;
        color: var(--lm-ink);
        display: inline-flex;
        float: none;
        gap: 8px;
        height: 32px;
        margin: 0;
        padding: 0;
        position: absolute;
        right: 15px;
        top: -54px;
    }

.attorney-banner + .page-route .breadcrumb {
    top: -79px;
}

.page-route .breadcrumb > li {
    color: var(--lm-ink);
    float: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

    .page-route .breadcrumb > li + li::before {
        color: rgba(30, 31, 34, 0.35);
        content: "/";
        padding: 0 2px 0 0;
    }

.page-route .breadcrumb a {
    color: var(--lm-red);
}

    .page-route .breadcrumb a:hover,
    .page-route .breadcrumb a:focus {
        color: var(--lm-gold-dark);
    }

/* Home: linha decorativa dos títulos de Diferenciais no mesmo vermelho das páginas internas. */
.home-page .about-section .section-header::after,
.home-page .service-section .section-header::after {
    background: linear-gradient(90deg, var(--lm-red), rgba(236, 29, 35, 0));
}

/* Shared section typography */
.section-header {
    margin-bottom: var(--lm-space-heading);
    text-align: left;
}

    .section-header h5,
    .section-header h2:first-child[style] {
        color: var(--lm-red);
        font-family: var(--lm-font-body);
        font-size: 18px !important;
        font-weight: 700;
        letter-spacing: 0.18em;
        margin-bottom: 12px;
        text-transform: uppercase;
    }

    .section-header h2,
    .section-header h3 {
        color: var(--lm-ink);
        font-family: var(--lm-font-heading);
        font-size: clamp(24px, 2.5vw, 34px);
        font-weight: 700;
        letter-spacing: -0.015em;
        line-height: 1.25;
        margin-bottom: 18px;
    }

        .section-header h2.red {
            color: var(--lm-red) !important;
            font-family: var(--lm-font-heading);
            font-size: 16px;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 8px;
        }

    .section-header::after {
        background: linear-gradient(90deg, var(--lm-gold), rgba(187, 154, 102, 0));
        content: "";
        display: block;
        height: 2px;
        margin-top: 18px;
        width: 86px;
    }

/* Main content headings */
.about-section .section-header,
.aboutone-section .section-header,
.attorney-section .section-header,
.service-center .section-header {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

    .about-section .section-header::after,
    .aboutone-section .section-header::after,
    .attorney-section .section-header::after,
    .service-center .section-header::after {
        margin-left: auto;
        margin-right: auto;
    }

/* Home philosophy */
.about-section {
    background: var(--lm-white);
    padding-bottom: var(--lm-space-section-end);
}

.home-page .about-section > .section-padding {
    padding-bottom: 0;
}

.about-section .row {
    display: flex;
    flex-wrap: wrap;
}

.about-section .section-header {
    width: 100%;
}

.about-testimonial-section,
.about-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .about-testimonial-section .carousel-inner {
        background: var(--lm-ink);
        border-radius: var(--lm-radius);
        box-shadow: var(--lm-shadow);
        min-height: 230px;
        overflow: hidden;
    }

    .about-testimonial-section .item {
        padding: 38px 42px 38px 96px;
        position: relative;
    }

    .about-testimonial-section .testimonial-right {
        color: var(--lm-gold);
        left: 42px;
        line-height: 1;
        margin: 0;
        position: absolute;
        top: 40px;
        width: 34px;
    }

        .about-testimonial-section .testimonial-right i {
            color: inherit;
            font-size: 34px;
            line-height: 1;
        }

    .about-testimonial-section .testimonial-left,
    .about-testimonial-section .testimonial-content {
        float: none;
        padding: 0;
        width: 100%;
    }

    .about-testimonial-section .testimonial-content {
        background: var(--lm-white);
        border-radius: 6px;
        margin: 0;
        min-height: 154px;
        padding: 26px 28px 24px;
        position: relative;
    }

        .about-testimonial-section .testimonial-content p {
            color: var(--lm-ink-soft);
            font-family: var(--lm-font-body);
            font-size: 16px;
            letter-spacing: 0;
            line-height: 1.7;
            margin: 0 0 18px;
            text-align: left;
        }

        .about-testimonial-section .testimonial-content span {
            color: var(--lm-gold);
            display: inline-block;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.14em;
            margin: 0;
            padding-left: 16px;
            width: auto;
            text-transform: uppercase;
        }

            .about-testimonial-section .testimonial-content span::before {
                background: var(--lm-gold);
                left: 0;
                top: 50%;
                width: 8px;
            }

        .about-testimonial-section .testimonial-content::after {
            bottom: -12px;
            left: 32px;
        }

.about-right {
    padding-left: 58px;
}

    .about-right p {
        color: var(--lm-muted);
        font-family: var(--lm-font-body);
        font-size: 17px;
        line-height: 1.8;
        margin: 0;
        text-align: justify;
    }

/* Service and differentiator cards */
.service-section {
    background: var(--lm-paper);
    position: relative;
}

    .service-section > img,
    .service-heading .pull-right {
        display: none;
    }

    .service-section .row {
        margin: 0;
    }

.home-page .service-section .section-header {
    margin: 0 0 var(--lm-space-heading);
    text-align: center;
}

.home-page .service-heading > .col-md-8 {
    float: none;
    padding: 0;
    width: 100%;
}

.home-page .service-heading > .col-md-4 {
    display: none;
}

.home-page .service-section .section-header::after {
    margin-left: auto;
    margin-right: auto;
}

.home-page .service-section > .section-padding:last-child {
    padding-top: var(--lm-space-section-end);
}

.service-section .container:last-child {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
}

    .service-section .container:last-child > .section-header {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        width: 100%;
    }

        .service-section .container:last-child > .section-header::after {
            margin-left: auto;
            margin-right: auto;
        }

.diferenciais-page .service-section .container:last-child {
    display: block;
}

.diferenciais-page .service-section .section-header {
    text-align: center;
}

    .diferenciais-page .service-section .section-header::after {
        margin-left: auto;
        margin-right: auto;
    }

.diferenciais-grid {
    display: grid;
    gap: var(--lm-space-grid);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-section .diferenciais-grid .service-block {
    float: none;
    margin: 0;
    min-width: 0;
    width: auto !important;
}

.service-section .service-block {
    background: var(--lm-white);
    border: 1px solid var(--lm-border);
    border-radius: var(--lm-radius);
    box-shadow: var(--lm-shadow-sm);
    margin: 8px;
    padding: var(--lm-space-card-y) var(--lm-space-card-x);
    text-align: left;
    transition: transform var(--lm-transition), box-shadow var(--lm-transition), border-color var(--lm-transition);
}

.service-section .col-md-4.service-block {
    width: calc(33.333% - 16px);
}

.service-section .col-md-6.service-block {
    width: calc(50% - 16px);
}

.service-section .service-block:hover {
    border-color: rgba(187, 154, 102, 0.55);
    box-shadow: var(--lm-shadow);
    transform: translateY(-5px);
}

/* Linha superior vermelha nos cards de Diferenciais da Home. */
.home-page .service-section .service-block {
    border-top: 4px solid var(--lm-red);
}

.service-section .service-block > img {
    background: rgba(187, 154, 102, 0.12);
    border-radius: 12px;
    height: 52px;
    margin: 0 0 24px !important;
    object-fit: contain;
    padding: 12px;
    width: 52px;
}

.service-section .service-block h3 {
    color: var(--lm-ink);
    font-family: var(--lm-font-heading);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 14px;
    text-align: left;
}

.service-section .service-block p,
.service-section .service-block p[style] {
    color: var(--lm-muted) !important;
    font-size: 15px !important;
    line-height: 1.75;
    margin: 0;
    text-align: justify !important;
}

.service-section .service-block ul {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.service-section .service-block li {
    color: var(--lm-muted);
    padding-left: 22px;
    position: relative;
}

    .service-section .service-block li::before {
        color: var(--lm-red);
        content: "•";
        font-size: 20px;
        left: 2px;
        position: absolute;
        top: -2px;
    }

/* About page */
.aboutone-section {
    background: var(--lm-white);
}

    .aboutone-section .row {
        align-items: center;
        display: flex;
    }

.aboutone-left p {
    color: var(--lm-muted);
    font-size: 16px;
    line-height: 1.9;
    white-space: pre-line;
}

.skill-section {
    padding-left: 70px;
}

.skill-progress-box {
    margin-bottom: 28px;
}

    .skill-progress-box .block-title {
        color: var(--lm-ink);
        display: flex;
        font-family: var(--lm-font-body);
        font-size: 13px;
        font-weight: 700;
        justify-content: space-between;
        letter-spacing: 0.1em;
        margin-bottom: 12px;
        text-transform: uppercase;
    }

        .skill-progress-box .block-title span {
            background: transparent !important;
            border: 0 !important;
            color: var(--lm-red);
            float: none !important;
            height: auto !important;
            position: static !important;
            transform: none !important;
            width: auto !important;
        }

    .skill-progress-box .progress {
        background: #eceae4;
        border-radius: 99px;
        box-shadow: none;
        height: 8px;
    }

    .skill-progress-box .progress-bar {
        background: linear-gradient(90deg, var(--lm-gold-dark), var(--lm-gold));
        border-radius: 99px;
        box-shadow: none;
        width: 100% !important;
    }

.aboutone-section > .col-md-12 {
    padding: 0 20px 90px;
}

    .aboutone-section > .col-md-12 img {
        border-radius: var(--lm-radius);
        box-shadow: var(--lm-shadow);
        max-height: 560px;
        max-width: 980px;
        object-fit: cover;
        width: 100%;
    }

/* Team page */
.attorney-section {
    background: var(--lm-paper);
    padding-bottom: var(--lm-space-section-end);
}

    .attorney-section .section-header {
        margin-bottom: var(--lm-space-heading);
    }

    .attorney-section .container > .row {
        margin: 0 0 var(--lm-space-grid);
    }

.attorney-block {
    background: var(--lm-white);
    border: 1px solid var(--lm-border);
    border-radius: var(--lm-radius);
    box-shadow: var(--lm-shadow-sm);
    overflow: hidden;
}

.attorney-left {
    align-items: stretch;
    display: grid;
    float: none;
    grid-template-columns: minmax(260px, 38%) 1fr;
    min-height: 350px;
    padding: 0;
    width: 100%;
}

.attorney-team-photo {
    float: none;
    min-height: 350px;
    overflow: hidden;
    width: 100%;
}

    .attorney-team-photo img,
    .attorney-team-photo img[width] {
        height: 100%;
        object-fit: cover;
        object-position: center 18%;
        transition: transform 500ms ease;
        width: 100%;
    }

.attorney-block:hover .attorney-team-photo img {
    transform: scale(1.025);
}

.attorney-team-details,
.attorney-team-details[style] {
    align-self: center;
    float: none;
    margin-top: 0 !important;
    padding: var(--lm-space-card-y) var(--lm-space-card-x);
    width: 100%;
}

    .attorney-team-details h3 {
        color: var(--lm-ink);
        font-family: var(--lm-font-heading);
        font-size: 25px;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .attorney-team-details span {
        color: var(--lm-red);
        display: block;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.14em;
        margin-bottom: 24px;
        text-transform: uppercase;
    }

    .attorney-team-details p {
        color: var(--lm-muted);
        font-size: 15px;
        line-height: 1.85;
        padding-bottom: 10px;
    }

/* Contact and client area */
.contact-page .contact-section-copy {
    text-align: justify !important;
}

.contact-form {
    background: var(--lm-paper);
    padding: var(--lm-space-section) 0 var(--lm-space-section-end);
}

    .contact-form .contact-intro {
        align-items: center;
        background: var(--lm-white);
        border: 1px solid var(--lm-border);
        border-radius: var(--lm-radius);
        box-shadow: var(--lm-shadow-sm);
        display: grid;
        gap: var(--lm-space-heading);
        grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
        margin: 0;
        overflow: hidden;
        padding: var(--lm-space-card-y) var(--lm-space-card-x);
        position: relative;
        text-align: left;
    }

        .contact-form .contact-intro::before {
            background: linear-gradient(90deg, var(--lm-red), var(--lm-gold));
            content: "";
            height: 4px;
            left: 0;
            position: absolute;
            right: 0;
            top: 0;
        }

        .contact-form .contact-intro::after {
            display: none;
        }

.contact-intro-copy h2 {
    font-size: clamp(26px, 2.4vw, 32px);
    line-height: 1.25;
    margin-bottom: 16px;
}

.contact-intro-copy p {
    color: var(--lm-muted);
    font-size: 16px;
    line-height: 1.75;
    margin: 0;
    max-width: 680px;
}

.contact-channels {
    display: grid;
    gap: 10px;
}

.contact-channel {
    align-items: center;
    background: #fbfaf7;
    border: 1px solid var(--lm-border);
    border-radius: 12px;
    color: var(--lm-ink-soft);
    display: flex;
    font-size: 13px;
    font-weight: 700;
    gap: 12px;
    letter-spacing: 0.02em;
    min-height: 54px;
    overflow-wrap: anywhere;
    padding: 11px 15px;
}

    .contact-channel i {
        align-items: center;
        background: rgba(236, 29, 35, 0.09);
        border-radius: 9px;
        color: var(--lm-red);
        display: inline-flex;
        flex: 0 0 32px;
        font-size: 15px;
        height: 32px;
        justify-content: center;
        width: 32px;
    }

a.contact-channel:hover,
a.contact-channel:focus {
    border-color: rgba(187, 154, 102, 0.65);
    box-shadow: 0 10px 24px rgba(30, 30, 30, 0.08);
    color: var(--lm-red-dark);
    transform: translateY(-2px);
}

.contact-channel-primary {
    background: var(--lm-red);
    border-color: var(--lm-red);
    color: var(--lm-white);
}

    .contact-channel-primary i {
        background: rgba(255, 255, 255, 0.16);
        color: var(--lm-white);
    }

a.contact-channel-primary:hover,
a.contact-channel-primary:focus {
    background: var(--lm-red-dark);
    border-color: var(--lm-red-dark);
    color: var(--lm-white);
}

.contact-channel-static {
    cursor: default;
}

.contact-form + .container {
    display: grid;
    gap: var(--lm-space-grid);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-bottom: 0;
}

    .contact-form + .container::before,
    .contact-form + .container::after {
        display: none;
    }

    .contact-form + .container > .service-block {
        background: var(--lm-white);
        border: 1px solid var(--lm-border);
        border-radius: var(--lm-radius);
        box-shadow: var(--lm-shadow-sm);
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: var(--lm-space-card-y) var(--lm-space-card-x) 0;
        text-align: left;
        width: 100%;
    }

        .contact-form + .container > .service-block br {
            display: none;
        }

        .contact-form + .container > .service-block h3 {
            color: var(--lm-ink);
            font-family: var(--lm-font-heading);
            font-size: 22px;
            margin: 0 0 24px;
            text-align: left;
        }

        .contact-form + .container > .service-block h2,
        .contact-form + .container > .service-block h2[style] {
            color: var(--lm-gold-dark);
            font-family: var(--lm-font-body);
            font-size: 10px !important;
            font-weight: 700;
            letter-spacing: 0.12em;
            margin: 20px 0 7px;
            text-align: left;
            text-transform: uppercase;
        }

        .contact-form + .container > .service-block p,
        .contact-form + .container > .service-block p[style] {
            color: var(--lm-muted) !important;
            font-size: 14px !important;
            line-height: 1.7;
            margin-bottom: 6px;
            text-align: left !important;
            white-space: pre-line;
        }

        .contact-form + .container > .service-block iframe {
            background: #f3f1ec url("../images/icon/location-ic.png") center / 46px no-repeat;
            border: 0;
            border-radius: 12px;
            height: 220px;
            margin-top: auto;
            padding-top: 24px;
            width: 100%;
        }

.contact-us {
    background: var(--lm-paper);
}

    .contact-us .contact-content {
        background: var(--lm-white);
        border: 1px solid var(--lm-border);
        border-radius: var(--lm-radius);
        box-shadow: var(--lm-shadow);
        padding: 56px 28px;
        text-align: center;
    }

        .contact-us .contact-content a {
            display: block;
        }

        .contact-us .contact-content img {
            height: 72px;
            margin-bottom: 22px;
            object-fit: contain;
            width: 72px;
        }

        .contact-us .contact-content h2 {
            color: var(--lm-ink);
            font-family: var(--lm-font-heading);
            font-size: clamp(24px, 2.8vw, 32px);
            font-weight: 700;
        }

/* Footer */
.footer-main {
    background: #111113;
    border-top: 3px solid var(--lm-red);
    color: rgba(255, 255, 255, 0.7);
    padding-top: var(--lm-space-section);
}

    .footer-main .footer-grid {
        display: grid;
        gap: clamp(42px, 6vw, 82px);
        grid-template-columns: 1.05fr 1.35fr 0.95fr;
        padding-bottom: 64px;
    }

.footer-brand-logo {
    background: var(--lm-white);
    display: inline-block;
    margin-bottom: 28px;
    padding: 8px 10px;
}

    .footer-brand-logo img {
        display: block;
        height: auto;
        max-width: 100%;
        width: 290px;
    }

.footer-brand-copy {
    color: rgba(255, 255, 255, 0.66);
    font-size: 13px;
    line-height: 1.75;
    margin: 0 0 24px;
    max-width: 330px;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social-link {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: var(--lm-white) !important;
    display: inline-flex;
    font-size: 10px;
    font-weight: 700;
    gap: 9px;
    letter-spacing: 0.08em;
    padding: 8px 13px 8px 8px;
    text-transform: uppercase;
}

    .footer-social-link i {
        align-items: center;
        background: rgba(236, 29, 35, 0.16);
        border-radius: 50%;
        color: #ff5b60;
        display: flex;
        font-size: 13px;
        height: 28px;
        justify-content: center;
        transition: background var(--lm-transition), color var(--lm-transition);
        width: 28px;
    }

    .footer-social-link:hover {
        border-color: rgba(236, 29, 35, 0.55);
        color: var(--lm-white) !important;
        transform: translateY(-2px);
    }

        .footer-social-link:hover i {
            background: var(--lm-red);
            color: var(--lm-white);
        }

.footer-eyebrow {
    color: #ff555b;
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.footer-location + .footer-location {
    margin-top: 22px;
}

.footer-location h4,
.footer-service h4 {
    color: var(--lm-white);
    font-family: var(--lm-font-heading);
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
}

.footer-location p {
    color: rgba(255, 255, 255, 0.64);
    font-size: 12px;
    line-height: 1.65;
    margin: 0;
}

.footer-service h4 {
    color: #ff555b;
    font-size: 21px;
    margin-bottom: 20px;
}

.footer-contact-list {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
}

    .footer-contact-list li {
        align-items: flex-start;
        display: flex;
        gap: 10px;
        margin-bottom: 11px;
    }

    .footer-contact-list i {
        color: #ff555b;
        font-size: 13px;
        margin-top: 4px;
        text-align: center;
        width: 15px;
    }

    .footer-contact-list a {
        color: rgba(255, 255, 255, 0.76) !important;
        font-size: 12px;
        line-height: 1.55;
    }

        .footer-contact-list a:hover {
            color: var(--lm-white) !important;
        }

.footer-bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 36px;
    justify-content: flex-start;
    padding: 22px 0;
}

    .footer-bottom p {
        color: rgba(255, 255, 255, 0.45);
        font-size: 9px;
        letter-spacing: 0.06em;
        margin: 0;
        text-transform: uppercase;
    }

/* WhatsApp action */
.float {
    align-items: center;
    background: #149d59;
    border: 3px solid var(--lm-white);
    border-radius: 50%;
    bottom: 24px;
    box-shadow: 0 12px 28px rgba(20, 157, 89, 0.3);
    color: var(--lm-white) !important;
    display: flex;
    font-size: 27px;
    height: 58px;
    justify-content: center;
    position: fixed;
    right: 24px;
    width: 58px;
    z-index: 1100;
}

    .float:hover {
        background: #0f854a;
        color: var(--lm-white) !important;
        transform: translateY(-3px);
    }

.my-float {
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .container {
        width: min(100% - 32px, 900px);
    }

    .middle-header {
        display: none;
    }

    .ow-navigation {
        min-height: 62px;
    }

        .ow-navigation .navbar-header {
            float: none;
        }

        .ow-navigation .navbar-brand,
        .ow-navigation .text-logo {
            color: var(--lm-white) !important;
            display: block !important;
            font-family: var(--lm-font-heading);
            font-size: 22px;
            font-weight: 700;
            height: 62px;
            line-height: 1;
            padding: 19px 0;
        }

        .ow-navigation .navbar-toggle {
            background: var(--lm-white);
            border: 0;
            border-radius: 9px;
            display: block;
            margin: 12px 0 0;
            padding: 12px;
        }

            .ow-navigation .navbar-toggle .icon-bar {
                background: var(--lm-red);
            }

        .ow-navigation .navbar-collapse {
            background: var(--lm-red);
            border: 0;
            border-top: 1px solid rgba(255, 255, 255, 0.18);
            box-shadow: 0 16px 30px rgba(120, 0, 0, 0.18);
            margin: 0 -16px;
            padding: 8px 16px 16px;
        }

            .ow-navigation .navbar-collapse.collapse {
                display: none !important;
            }

                .ow-navigation .navbar-collapse.collapse.in {
                    display: block !important;
                }

        .ow-navigation .navbar-nav {
            display: block;
        }

            .ow-navigation .navbar-nav > li > a {
                border-bottom: 1px solid rgba(255, 255, 255, 0.16);
                color: var(--lm-white) !important;
                padding: 14px 4px;
            }

                .ow-navigation .navbar-nav > li > a::after {
                    display: none;
                }

    #loginpanel {
        display: none !important;
    }

    .about-right {
        padding-left: 28px;
    }

    .service-section .col-md-4.service-block,
    .service-section .col-md-6.service-block {
        width: calc(50% - 16px);
    }

    .diferenciais-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-form + .container > .service-block {
        width: 100%;
    }

    .contact-form + .container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-main .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 15px;
    }

    .container {
        width: calc(100% - 28px);
    }

    .section-padding {
        padding-top: 58px;
    }

    .top-header .container > .row {
        display: block;
        padding: 8px 0;
    }

    .top-header .col-md-6:first-child {
        display: none;
    }

    .top-header .col-md-6:last-child {
        float: none;
        justify-content: space-between;
        padding: 0;
    }

    .top-header .text-right > a {
        font-size: 10px;
    }

    .banner-section,
    .banner-section .carousel,
    .banner-section .carousel-inner,
    .banner-section .carousel-inner > .item {
        height: 540px;
    }

        .banner-section .carousel-inner > .item::after {
            background: linear-gradient(90deg, rgba(19, 20, 21, 0.88), rgba(19, 20, 21, 0.42));
        }

        .banner-section .carousel-inner > .item > img {
            object-position: 62% center;
        }

        .banner-section .banner-content {
            width: 92%;
        }

            .banner-section .banner-content h3,
            .banner-section .banner-content h3[style] {
                font-size: clamp(19px, 6.5vw, 30px) !important;
            }

    .page-banner {
        min-height: 240px;
        padding: 58px 0 48px;
    }

        .page-banner .col-md-5 {
            width: 100%;
        }

    .page-route .container {
        height: 0;
        min-height: 0;
    }

    .page-route .breadcrumb {
        top: -54px;
    }

        .page-route .breadcrumb > li {
            font-size: 10px;
        }

    .section-header {
        margin-bottom: 32px;
    }

    .about-section {
        padding-bottom: 64px;
    }

        .about-section .row,
        .aboutone-section .row {
            display: block;
        }

    .about-testimonial-section,
    .about-right {
        float: none;
        padding: 0;
        width: 100%;
    }

        .about-testimonial-section .item {
            padding: 30px 22px 30px 68px;
        }

        .about-testimonial-section .testimonial-right {
            left: 22px;
            top: 32px;
        }

        .about-testimonial-section .testimonial-content {
            min-height: 0;
            padding: 22px 20px 20px;
        }

            .about-testimonial-section .testimonial-content p {
                font-size: 15px;
                line-height: 1.65;
            }

    .about-right {
        margin-top: 34px;
    }

        .about-right p {
            font-size: 17px;
        }

    .skill-section {
        margin-top: 40px;
        padding-left: 15px;
    }

    .service-section .container:last-child {
        display: block;
    }

    .service-section .col-md-4.service-block,
    .service-section .col-md-6.service-block {
        float: none;
        margin: 0 0 18px;
        width: 100%;
    }

    .diferenciais-grid {
        grid-template-columns: 1fr;
    }

    .service-section .diferenciais-grid .service-block {
        margin-bottom: 0;
    }

    .attorney-left {
        display: block;
    }

    .attorney-team-photo {
        height: 390px;
        min-height: 0;
    }

    .attorney-team-details,
    .attorney-team-details[style] {
        padding: 30px 26px 34px;
    }

        .attorney-team-details h3 {
            font-size: 24px;
        }

    .contact-form {
        padding-top: 62px;
    }

        .contact-form .contact-intro {
            gap: 30px;
            grid-template-columns: 1fr;
            padding: 36px 30px;
        }

    .contact-intro-copy h2 {
        font-size: 28px;
    }

    .contact-form + .container {
        display: grid;
        grid-template-columns: 1fr;
        padding-bottom: 60px;
    }

        .contact-form + .container > .service-block {
            margin-bottom: 18px;
            width: 100%;
        }

    .footer-main {
        padding-top: 54px;
    }

        .footer-main .footer-grid {
            gap: 40px;
            grid-template-columns: 1fr;
            padding-bottom: 46px;
        }

    .footer-brand {
        grid-column: auto;
    }

    .footer-brand-logo img {
        width: 260px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .float {
        bottom: 16px;
        height: 54px;
        right: 16px;
        width: 54px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Internal pages — 2026 editorial refresh */
.main-container h1,
.main-container h2,
.main-container h3,
.main-container h4,
.main-container h5,
.main-container h6 {
    color: var(--lm-ink) !important;
}

.main-container .banner-section .banner-content h3,
.main-container .page-banner h3,
.main-container .practice-overview h3 {
    color: var(--lm-white) !important;
}

.main-container .section-header h5,
.main-container .section-header h2:first-child[style] {
    color: var(--lm-red) !important;
}

.footer-main h1,
.footer-main h2,
.footer-main h3,
.footer-main h4,
.footer-main h5,
.footer-main h6 {
    color: var(--lm-white) !important;
}

.footer-main .footer-service h4 {
    color: var(--lm-white);
}

/* Remove os antigos ornamentos em zigue-zague dos títulos e perfis. */
.section-header h3,
.widget-title h3,
.post-comment h3 {
    background-image: none !important;
}

.section-header h3 {
    padding-bottom: 0;
}

.attorney-team-details span::after {
    content: none !important;
    display: none !important;
}

.internal-page .main-container {
    background: var(--lm-white);
}

.internal-page .page-banner {
    min-height: 270px;
}

    .internal-page .page-banner .col-md-5 {
        width: 100%;
    }

    .internal-page .page-banner::before {
        background: linear-gradient(90deg, rgba(17, 18, 20, 0.94), rgba(17, 18, 20, 0.52));
    }

    .internal-page .page-banner h3 {
        display: inline-block;
        position: relative;
        text-shadow: 0 4px 24px rgba(0, 0, 0, 0.34);
    }

        .internal-page .page-banner h3::after {
            content: none;
            display: none;
        }

    .internal-page .page-banner p {
        margin-top: 24px;
        max-width: 520px;
    }

.internal-page .section-padding {
    padding-top: var(--lm-space-section);
}

.internal-page .section-header {
    margin-bottom: var(--lm-space-heading);
    max-width: 850px;
}

    .internal-page .section-header h2,
    .internal-page .section-header h3 {
        text-wrap: balance;
    }

    .internal-page .section-header::after {
        background: linear-gradient(90deg, var(--lm-red), rgba(236, 29, 35, 0));
        width: 72px;
    }

/* Sobre */
.about-page .aboutone-section {
    background: radial-gradient(circle at 8% 14%, rgba(236, 29, 35, 0.07), transparent 28%), linear-gradient(180deg, #fbfaf7 0%, var(--lm-white) 100%);
    padding-bottom: var(--lm-space-section-end);
}

    .about-page .aboutone-section > .section-padding:first-child {
        padding-top: var(--lm-space-section);
    }

    .about-page .aboutone-section .row {
        align-items: stretch;
        background: var(--lm-white);
        border: 1px solid var(--lm-border);
        border-radius: 24px;
        box-shadow: var(--lm-shadow);
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
        margin: 0;
        overflow: hidden;
    }

        .about-page .aboutone-section .row::before,
        .about-page .aboutone-section .row::after {
            display: none;
        }

.about-page .aboutone-left,
.about-page .skill-section {
    float: none;
    min-width: 0;
    width: 100%;
}

.about-page .aboutone-left {
    padding: var(--lm-space-card-y) var(--lm-space-card-x);
}

    .about-page .aboutone-left p {
        color: #555550;
        font-size: 16px;
        line-height: 1.9;
        margin: 0;
    }

.about-page .skill-section {
    background: linear-gradient(145deg, rgba(236, 29, 35, 0.09), rgba(187, 154, 102, 0.12));
    border-left: 1px solid rgba(236, 29, 35, 0.14);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--lm-space-card-y) var(--lm-space-card-x);
}

    .about-page .skill-section br {
        display: none;
    }

.about-page .skill-progress-box {
    margin-bottom: var(--lm-space-grid);
}

    .about-page .skill-progress-box:last-child {
        margin-bottom: 0;
    }

    .about-page .skill-progress-box .block-title {
        color: var(--lm-red) !important;
        font-size: 12px;
    }

    .about-page .skill-progress-box .progress {
        background: rgba(255, 255, 255, 0.82);
        height: 7px;
    }

    .about-page .skill-progress-box .progress-bar {
        background: linear-gradient(90deg, var(--lm-red-dark), var(--lm-red));
    }

.about-page .aboutone-section > .section-padding:nth-of-type(2) {
    padding-top: var(--lm-space-heading);
}

.about-page .aboutone-section > .container + .section-padding {
    padding-top: var(--lm-space-heading);
}

.about-page .aboutone-section > .col-md-12 {
    background: transparent !important;
    float: none;
    padding: 0 20px;
    width: 100%;
}

    .about-page .aboutone-section > .col-md-12 img {
        border: 10px solid var(--lm-white);
        border-radius: 24px;
        box-shadow: var(--lm-shadow);
        display: block;
        height: 430px;
        margin: 0 auto;
        max-width: 1040px;
        object-fit: cover;
        object-position: center 32%;
        width: 100%;
    }

/* Diferenciais */
.diferenciais-page .service-section {
    background: radial-gradient(circle at 95% 8%, rgba(236, 29, 35, 0.08), transparent 26%), var(--lm-paper);
    padding-bottom: var(--lm-space-section-end);
}

.diferenciais-page .diferenciais-layout {
    max-width: 1120px;
}

.diferenciais-page .diferenciais-cards {
    display: grid;
    gap: var(--lm-space-grid);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.diferenciais-page .service-section .diferenciais-cards .service-block {
    border: 1px solid rgba(30, 30, 30, 0.09);
    border-top: 4px solid var(--lm-red);
    box-shadow: 0 18px 46px rgba(30, 30, 30, 0.09);
    margin: 0;
    min-height: 330px;
    overflow: hidden;
    padding: var(--lm-space-card-y) var(--lm-space-card-x);
    position: relative;
    width: auto !important;
}

    .diferenciais-page .service-section .diferenciais-cards .service-block > img {
        background: rgba(236, 29, 35, 0.09);
        height: 58px;
        position: relative;
        width: 58px;
        z-index: 1;
    }

    .diferenciais-page .service-section .diferenciais-cards .service-block h3 {
        font-size: 23px;
        position: relative;
        z-index: 1;
    }

    .diferenciais-page .service-section .diferenciais-cards .service-block p {
        font-size: 15px !important;
        line-height: 1.82;
        position: relative;
        z-index: 1;
    }

/* Equipe */
.team-page .attorney-section {
    background: linear-gradient(135deg, rgba(236, 29, 35, 0.035), transparent 38%), var(--lm-paper);
    padding-bottom: var(--lm-space-section-end);
}

    .team-page .attorney-section .container {
        max-width: 1120px;
    }

        .team-page .attorney-section .container > .row {
            margin: 0 0 var(--lm-space-grid);
        }

            .team-page .attorney-section .container > .row:last-child {
                margin-bottom: 0;
            }

.team-page .attorney-block {
    border: 0;
    border-radius: 22px;
    box-shadow: 0 18px 52px rgba(30, 30, 30, 0.1);
    position: relative;
    text-align: justify;
}

    .team-page .attorney-block .paragraph {
        padding-bottom: 10px !important;
    }

    .team-page .attorney-block::before {
        background: var(--lm-red);
        content: "";
        inset: 0 auto 0 0;
        position: absolute;
        width: 4px;
        z-index: 3;
    }

.team-page .attorney-left {
    grid-template-columns: 300px minmax(0, 1fr);
    min-height: 290px;
}

.team-page .attorney-team-photo {
    height: auto;
    min-height: 320px;
    position: relative;
}

    .team-page .attorney-team-photo img,
    .team-page .attorney-team-photo img[width] {
        height: 100%;
        inset: 0;
        position: absolute;
        width: 100%;
    }

.team-page .attorney-team-details,
.team-page .attorney-team-details[style] {
    padding: var(--lm-space-card-y) var(--lm-space-card-x);
}

    .team-page .attorney-team-details h3 {
        font-size: 25px;
        margin-bottom: 10px;
    }

    .team-page .attorney-team-details span {
        border-bottom: 1px solid rgba(236, 29, 35, 0.16);
        padding-bottom: 18px;
    }

    .team-page .attorney-team-details p {
        font-size: 15px;
        line-height: 1.82;
        margin: 0;
    }

.team-page .attorney-section .container > .row:nth-of-type(odd) .attorney-left {
    grid-template-columns: minmax(0, 1fr) 300px;
}

.team-page .attorney-section .container > .row:nth-of-type(odd) .attorney-team-photo {
    order: 2;
}

.team-page .attorney-section .container > .row:nth-of-type(odd) .attorney-team-details {
    order: 1;
}

/* Áreas de atuação */
.practice-page .service-section {
    background: radial-gradient(circle at 8% 10%, rgba(236, 29, 35, 0.08), transparent 24%), var(--lm-paper);
    padding-bottom: var(--lm-space-section-end);
}

.practice-page .practice-layout {
    display: block !important;
    max-width: 1120px;
}

.practice-overview {
    align-items: center;
    background: var(--lm-ink);
    border-radius: 24px;
    box-shadow: var(--lm-shadow);
    display: grid;
    gap: var(--lm-space-heading);
    grid-template-columns: 96px minmax(0, 1fr);
    margin-bottom: var(--lm-space-grid);
    overflow: hidden;
    padding: var(--lm-space-card-y) var(--lm-space-card-x);
    position: relative;
}

    .practice-overview::after {
        background: linear-gradient(180deg, var(--lm-red), var(--lm-red-dark));
        content: "";
        inset: 0 0 0 auto;
        position: absolute;
        width: 5px;
    }

.practice-overview-icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    display: flex;
    height: 88px;
    justify-content: center;
    width: 88px;
}

    .practice-overview-icon img {
        filter: brightness(0) invert(1);
        height: 42px;
        object-fit: contain;
        width: 42px;
    }

.practice-kicker {
    color: rgba(255, 255, 255, 0.64);
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.practice-overview h3 {
    font-size: 27px;
    margin: 0 0 12px;
}

.practice-overview p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 1.78;
    margin: 0;
    max-width: 850px;
    text-align: justify;
}

.practice-areas-grid {
    display: grid;
    gap: var(--lm-space-grid);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.practice-card {
    background: var(--lm-white);
    border: 1px solid var(--lm-border);
    border-top: 4px solid var(--lm-red);
    border-radius: 18px;
    box-shadow: var(--lm-shadow-sm);
    min-height: 220px;
    overflow: hidden;
    padding: var(--lm-space-card-y) var(--lm-space-card-x);
    position: relative;
    transition: transform var(--lm-transition), box-shadow var(--lm-transition), border-color var(--lm-transition);
}

    .practice-card::before {
        color: rgba(236, 29, 35, 0.08);
        font-family: var(--lm-font-heading);
        font-size: 60px;
        font-weight: 700;
        line-height: 1;
        position: absolute;
        right: 20px;
        top: 22px;
    }

    .practice-card:hover {
        border-color: rgba(236, 29, 35, 0.3);
        box-shadow: var(--lm-shadow);
        transform: translateY(-4px);
    }

    .practice-card img {
        background: rgba(236, 29, 35, 0.08);
        border-radius: 12px;
        height: 50px;
        margin-bottom: 22px;
        object-fit: contain;
        padding: 11px;
        position: relative;
        width: 50px;
        z-index: 1;
    }

    .practice-card h3 {
        font-size: 21px;
        margin: 0 0 10px;
        position: relative;
        z-index: 1;
    }

    .practice-card p {
        color: var(--lm-muted);
        font-size: 15px;
        line-height: 1.72;
        margin: 0;
        max-width: 390px;
        position: relative;
        z-index: 1;
        text-align: justify;
    }

/* Contato */
.contact-page .contact-form {
    background: radial-gradient(circle at 10% 0%, rgba(236, 29, 35, 0.08), transparent 25%), var(--lm-paper);
    margin-bottom: 0;
    padding-bottom: 0;
}

    .contact-page .contact-form .contact-intro {
        border: 0;
        border-left: 5px solid var(--lm-red);
        border-radius: 22px;
        box-shadow: var(--lm-shadow);
        margin-bottom: 0;
    }

.contact-page .contact-channel {
    border-radius: 11px;
    min-height: 58px;
}

.contact-page .contact-form + .container {
    gap: var(--lm-space-grid);
    padding-bottom: var(--lm-space-section-end);
    padding-top: var(--lm-space-heading);
}

    .contact-page .contact-form + .container > .service-block {
        border: 0;
        border-top: 4px solid var(--lm-red);
        border-radius: 18px;
        box-shadow: 0 16px 46px rgba(30, 30, 30, 0.1);
        overflow: hidden;
        padding: var(--lm-space-card-y) var(--lm-space-card-x) 0;
        position: relative;
    }

        .contact-page .contact-form + .container > .service-block h3 {
            align-items: center;
            display: flex;
            gap: 10px;
        }

            .contact-page .contact-form + .container > .service-block h3::before {
                color: var(--lm-red);
                content: "\f041";
                font-family: FontAwesome;
                font-size: 16px;
            }

        .contact-page .contact-form + .container > .service-block h2,
        .contact-page .contact-form + .container > .service-block h2[style] {
            color: var(--lm-red) !important;
            font-size: 10px !important;
        }

        .contact-page .contact-form + .container > .service-block p,
        .contact-page .contact-form + .container > .service-block p[style] {
            font-size: 14px !important;
            line-height: 1.68;
        }

        .contact-page .contact-form + .container > .service-block iframe {
            border-radius: 0;
            height: 230px;
            margin: 24px var(--lm-space-card-x-negative) 0;
            padding-top: 0;
            width: calc(100% + var(--lm-space-card-x-double));
        }

/* Remove espaçadores antigos que duplicavam o ritmo vertical. */
.practice-page .service-section > .section-padding:last-child,
.client-page .contact-us > .container > .section-padding,
.client-page .contact-us > .section-padding {
    display: none;
}

.diferenciais-page .service-section > br,
.team-page .main-container > br,
.contact-page .main-container > br {
    display: none;
}

/* Área do cliente */
.client-page .contact-us {
    background: radial-gradient(circle at 15% 18%, rgba(236, 29, 35, 0.1), transparent 28%), linear-gradient(180deg, #fbfaf7, var(--lm-paper));
    min-height: 0;
    padding: var(--lm-space-section) 0 var(--lm-space-section-end);
}

    .client-page .contact-us .container {
        max-width: 980px;
    }

    .client-page .contact-us .contact-content {
        border: 0;
        border-radius: 24px;
        box-shadow: var(--lm-shadow);
        margin: 0 auto;
        overflow: hidden;
        padding: var(--lm-space-card-y) var(--lm-space-card-x);
        position: relative;
    }

        .client-page .contact-us .contact-content::before {
            background: linear-gradient(90deg, var(--lm-red-dark), var(--lm-red), var(--lm-gold));
            content: "";
            height: 5px;
            inset: 0 0 auto;
            position: absolute;
        }

        .client-page .contact-us .contact-content a {
            align-items: center;
            display: grid;
            gap: 28px;
            grid-template-columns: 94px minmax(0, 1fr) auto;
            text-align: left;
        }

            .client-page .contact-us .contact-content a::after {
                align-items: center;
                background: var(--lm-red);
                border-radius: 999px;
                color: var(--lm-white);
                content: "Acessar consulta \2197";
                display: inline-flex;
                font-size: 12px;
                font-weight: 700;
                justify-content: center;
                letter-spacing: 0.08em;
                min-height: 46px;
                min-width: 190px;
                padding: 12px 16px;
                text-align: center;
                text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
                text-transform: uppercase;
                white-space: nowrap;
            }

        .client-page .contact-us .contact-content img {
            background: rgba(236, 29, 35, 0.07);
            border: 1px solid rgba(236, 29, 35, 0.15);
            border-radius: 20px;
            height: 88px;
            margin: 0;
            padding: 17px;
            width: 88px;
        }

        .client-page .contact-us .contact-content h2 {
            font-size: clamp(24px, 2.6vw, 31px);
            line-height: 1.35;
            margin: 0;
            text-align: left;
        }

@media (max-width: 991px) {
    .about-page .aboutone-section .row {
        grid-template-columns: 1fr;
    }

    .about-page .skill-section {
        border-left: 0;
        border-top: 1px solid rgba(236, 29, 35, 0.14);
    }

    .diferenciais-page .diferenciais-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-page .attorney-left,
    .team-page .attorney-section .container > .row:nth-of-type(odd) .attorney-left {
        grid-template-columns: 270px minmax(0, 1fr);
    }

    .team-page .attorney-section .container > .row:nth-of-type(odd) .attorney-team-photo,
    .team-page .attorney-section .container > .row:nth-of-type(odd) .attorney-team-details {
        order: initial;
    }

    .practice-overview {
        padding: 36px 38px;
    }

    .client-page .contact-us .contact-content a {
        grid-template-columns: 82px minmax(0, 1fr);
    }

        .client-page .contact-us .contact-content a::after {
            grid-column: 2;
            justify-self: start;
        }
}

@media (max-width: 767px) {
    :root {
        --lm-space-section: 48px;
        --lm-space-section-end: 56px;
        --lm-space-heading: 28px;
        --lm-space-grid: 16px;
        --lm-space-card-y: 28px;
        --lm-space-card-x: 24px;
        --lm-space-card-x-negative: -24px;
        --lm-space-card-x-double: 48px;
    }

    .internal-page .page-banner {
        min-height: 235px;
    }

        .internal-page .page-banner h3 {
            font-size: clamp(20px, 7vw, 28px);
        }

    .internal-page .section-padding {
        padding-top: var(--lm-space-section);
    }

    .about-page .aboutone-section {
        padding-bottom: var(--lm-space-section-end);
    }

    .about-page .aboutone-left,
    .about-page .skill-section {
        padding: var(--lm-space-card-y) var(--lm-space-card-x);
    }

    .about-page .skill-section {
        margin-top: 0;
    }

    .about-page .aboutone-section > .col-md-12 img {
        border-width: 6px;
        height: 300px;
    }

    .diferenciais-page .diferenciais-cards,
    .practice-areas-grid {
        grid-template-columns: 1fr;
    }

    .diferenciais-page .service-section .diferenciais-cards .service-block {
        min-height: 0;
    }

    .team-page .attorney-left,
    .team-page .attorney-section .container > .row:nth-of-type(odd) .attorney-left {
        display: block;
    }

    .team-page .attorney-team-photo {
        height: 330px;
        min-height: 0;
    }

    .team-page .attorney-team-details,
    .team-page .attorney-team-details[style] {
        padding: var(--lm-space-card-y) var(--lm-space-card-x);
    }

    .practice-overview {
        gap: 24px;
        grid-template-columns: 1fr;
        padding: var(--lm-space-card-y) var(--lm-space-card-x);
    }

    .practice-overview-icon {
        height: 72px;
        width: 72px;
    }

    .practice-card {
        min-height: 0;
        padding: var(--lm-space-card-y) var(--lm-space-card-x);
    }

    .contact-page .contact-form + .container {
        padding-top: var(--lm-space-heading);
    }

        .contact-page .contact-form + .container > .service-block {
            padding-left: var(--lm-space-card-x);
            padding-right: var(--lm-space-card-x);
        }

            .contact-page .contact-form + .container > .service-block iframe {
                margin-left: var(--lm-space-card-x-negative);
                margin-right: var(--lm-space-card-x-negative);
                width: calc(100% + var(--lm-space-card-x-double));
            }

    .client-page .contact-us .contact-content {
        padding: var(--lm-space-card-y) var(--lm-space-card-x);
    }

        .client-page .contact-us .contact-content a {
            grid-template-columns: 1fr;
            text-align: center;
        }

            .client-page .contact-us .contact-content a::after {
                grid-column: auto;
                justify-self: center;
            }

        .client-page .contact-us .contact-content img {
            justify-self: center;
        }

        .client-page .contact-us .contact-content h2 {
            text-align: center;
        }
}

/* Equipe - grade compacta para os demais membros */
.team-page .team-members-grid {
    display: grid;
    gap: var(--lm-space-grid);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
}

.team-page .team-member-card {
    background: var(--lm-white);
    border: 1px solid var(--lm-border);
    border-top: 4px solid var(--lm-red);
    border-radius: 18px;
    box-shadow: var(--lm-shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: transform var(--lm-transition), box-shadow var(--lm-transition), border-color var(--lm-transition);
}

    .team-page .team-member-card:hover {
        border-color: rgba(236, 29, 35, 0.3);
        box-shadow: var(--lm-shadow);
        transform: translateY(-4px);
    }

.team-page .team-member-photo {
    aspect-ratio: 3 / 2;
    background: linear-gradient(180deg, rgba(236, 29, 35, 0.05), rgba(0, 0, 0, 0));
    height: auto;
    overflow: hidden;
    position: relative;
}

    .team-page .team-member-photo img {
        display: block;
        height: auto;
        left: 0;
        max-width: none;
        position: absolute;
        top: var(--team-photo-top, -50%);
        width: 100%;
    }

.team-page .team-member-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 24px 24px 28px;
    text-align: center;
}

    .team-page .team-member-content h3 {
        color: var(--lm-ink);
        font-family: var(--lm-font-heading);
        font-size: 18px;
        font-weight: 700;
        line-height: 1.4;
        margin: 0 0 10px;
    }

    .team-page .team-member-content span {
        color: var(--lm-red);
        display: block;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.14em;
        margin-bottom: 24px;
        text-transform: uppercase;
    }

.team-page .team-group-showcase {
    background: var(--lm-white);
    border: 1px solid var(--lm-border);
    border-top: 4px solid var(--lm-red);
    border-radius: 22px;
    box-shadow: var(--lm-shadow-sm);
    overflow: hidden;
    width: 100%;
}

.team-page .team-group-header {
    padding: 28px 32px 0;
    text-align: center;
}

.team-page .team-group-kicker {
    color: var(--lm-red);
    display: block;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.team-page .team-group-header h3 {
    font-size: clamp(26px, 3vw, 34px);
    margin: 0;
}

.team-page .team-group-photo-wrap {
    padding: 28px 32px 32px;
}

    .team-page .team-group-photo-wrap img {
        border-radius: 18px;
        box-shadow: 0 16px 40px rgba(30, 30, 30, 0.12);
        display: block;
        width: 100%;
    }

@media (max-width: 991px) {
    .team-page .team-members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-page .team-member-photo {
        height: auto;
    }
}

@media (max-width: 767px) {
    .team-page .team-members-grid {
        grid-template-columns: 1fr;
    }

    .team-page .team-member-photo {
        height: auto;
    }

    .team-page .team-member-content {
        padding: 22px 22px 26px;
    }

    .team-page .team-group-header {
        padding: 24px 24px 0;
    }

    .team-page .team-group-photo-wrap {
        padding: 22px 24px 24px;
    }
}

/* Equipe - enquadramento individual das fotos */
.team-page .attorney-team-photo .team-founder-portrait {
    object-position: center 58%;
}

/* Membros: sem object-fit. A proporção original é preservada e o quadro apenas recorta o excedente. */
.team-page .team-member-luana {
    --team-photo-top: -68.25%;
}

.team-page .team-member-isabel {
    --team-photo-top: -10%;
}

.team-page .team-member-diane {
    --team-photo-top: -39.25%;
}

.team-page .team-member-gleice {
    --team-photo-top: -38.5%;
}

.team-page .team-member-ariana {
    --team-photo-top: -45.5%;
}

.team-page .team-member-elis {
    --team-photo-top: -44.5%;
}

/* Equipe - sócio fundador sem object-fit: preserva a proporção natural da foto */
.team-page .attorney-team-photo .team-founder-portrait,
.team-page .attorney-team-photo .team-founder-portrait[width] {
    display: block;
    height: auto;
    left: 0;
    max-width: none;
    object-fit: initial;
    object-position: initial;
    position: absolute;
    top: -8%;
    transform: none !important;
    width: 100%;
}

.team-page .attorney-block:hover .attorney-team-photo .team-founder-portrait {
    transform: none !important;
}

@media (max-width: 767px) {
    .team-page .attorney-team-photo .team-founder-portrait,
    .team-page .attorney-team-photo .team-founder-portrait[width] {
        top: -5%;
    }
}

/* Ajuste final do sócio fundador: proporção natural, sem object-fit */
.team-page .attorney-team-photo .team-founder-portrait,
.team-page .attorney-team-photo .team-founder-portrait[width] {
    bottom: auto;
    display: block;
    height: auto;
    left: -7.5%;
    max-width: none;
    object-fit: unset !important;
    object-position: initial;
    position: absolute;
    right: auto;
    top: 0;
    transform: none !important;
    width: 115%;
}

.team-page .attorney-block:hover .attorney-team-photo .team-founder-portrait {
    transform: none !important;
}

@media (max-width: 767px) {
    .team-page .attorney-team-photo .team-founder-portrait,
    .team-page .attorney-team-photo .team-founder-portrait[width] {
        left: -7.5%;
        top: -32%;
        width: 115%;
    }
}

.home-page .home-hero {
    background: #111;
    overflow: hidden;
    position: relative;
}

    .home-page .home-hero .carousel-inner,
    .home-page .home-hero .item {
        height: clamp(500px, 31.25vw, 600px);
        min-height: 500px;
    }

    .home-page .home-hero .item {
        overflow: hidden;
        position: relative;
    }

.home-page .home-hero-image {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.005);
}

.home-page .home-hero .item::before {
    background: linear-gradient(90deg, rgba(9, 10, 12, 0.96) 0%, rgba(9, 10, 12, 0.86) 31%, rgba(9, 10, 12, 0.52) 52%, rgba(9, 10, 12, 0.10) 78%, rgba(9, 10, 12, 0.04) 100%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

.home-page .home-hero .item::after {
    background: linear-gradient(180deg, rgba(0,0,0,.08), transparent 34%, rgba(0,0,0,.24));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

.home-page .home-hero .carousel-caption {
    bottom: 0;
    left: 0;
    padding: 0;
    right: 0;
    text-align: left;
    text-shadow: none;
    top: 0;
    z-index: 3;
}

    .home-page .home-hero .carousel-caption > .container {
        align-items: center;
        display: flex;
        height: 100%;
    }

.home-page .home-hero-content {
    max-width: 690px;
    padding: 52px 0 58px;
}

.home-page .home-hero-kicker {
    align-items: center;
    color: #ec1d23;
    display: flex;
    font-family: "Source Sans 3", sans-serif;
    font-size: 12px;
    font-weight: 700;
    gap: 12px;
    letter-spacing: .18em;
    margin: 0 0 17px;
    text-transform: uppercase;
}

    .home-page .home-hero-kicker::before {
    }

.home-page .home-hero-title {
    color: #ffffff !important;
    font-family: "Libre Baskerville", "EB Garamond", serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.12;
    margin: 0 0 19px;
    max-width: 680px;
    text-transform: none;
}

    .home-page .home-hero-title strong {
        color: #fff;
        font-weight: 700;
    }

.home-page .home-hero-copy {
    color: rgba(255,255,255,.78);
    font-family: "Source Sans 3", sans-serif;
    font-size: 16px;
    line-height: 1.68;
    margin: 0 0 27px;
    max-width: 625px;
}

.home-page .home-hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 30px;
    padding: 0;
}

    .home-page .home-hero-benefits span {
        background: rgba(255,255,255,.075);
        border: 1px solid rgba(255,255,255,.14);
        border-radius: 999px;
        color: rgba(255,255,255,.9);
        font-family: "Source Sans 3", sans-serif;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: .04em;
        padding: 8px 13px;
    }

.home-page .home-hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-page .home-hero-btn {
    align-items: center;
    border-radius: 4px;
    display: inline-flex;
    font-family: "Source Sans 3", sans-serif;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    letter-spacing: .075em;
    min-height: 47px;
    padding: 12px 21px;
    text-transform: uppercase;
    transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}

    .home-page .home-hero-btn:hover,
    .home-page .home-hero-btn:focus {
        text-decoration: none;
        transform: translateY(-2px);
    }

.home-page .home-hero-btn-primary {
    background: #ec1d23;
    border: 1px solid #ec1d23;
    color: #fff;
}

    .home-page .home-hero-btn-primary:hover,
    .home-page .home-hero-btn-primary:focus {
        background: #c9151a;
        border-color: #c9151a;
        color: #fff;
    }

.home-page .home-hero-btn-ghost {
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.42);
    color: #fff;
}

    .home-page .home-hero-btn-ghost:hover,
    .home-page .home-hero-btn-ghost:focus {
        background: #fff;
        border-color: #fff;
        color: #171717;
    }

.home-page .home-hero-areas {
    color: rgba(255,255,255,.74);
    font-family: "Source Sans 3", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .025em;
    line-height: 1.8;
    margin: -7px 0 27px;
}

    .home-page .home-hero-areas b {
        color: #ec1d23;
        font-weight: 700;
        margin: 0 7px;
    }

.home-page .home-hero .carousel-indicators {
    bottom: 25px;
    display: flex;
    gap: 8px;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
    width: auto;
    z-index: 5;
}

    .home-page .home-hero .carousel-indicators li {
        background: rgba(255,255,255,.38);
        border: 0;
        border-radius: 999px;
        height: 3px;
        margin: 0;
        transition: width .25s ease, background .25s ease;
        width: 28px;
    }

    .home-page .home-hero .carousel-indicators .active {
        background: #ec1d23;
        height: 3px;
        margin: 0;
        width: 52px;
    }

.home-page .home-hero-control {
    align-items: center;
    background: rgba(8,8,8,.28);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: 26px;
    height: 46px;
    justify-content: center;
    opacity: .85;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background .2s ease, opacity .2s ease;
    width: 46px;
    z-index: 5;
}

    .home-page .home-hero-control:hover,
    .home-page .home-hero-control:focus {
        background: #ec1d23;
        color: #fff;
        opacity: 1;
        text-decoration: none;
    }

    .home-page .home-hero-control.left {
        left: 24px;
    }

    .home-page .home-hero-control.right {
        right: 24px;
    }

.home-page .home-hero .item .home-hero-content > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease;
}

.home-page .home-hero .item.active .home-hero-content > * {
    opacity: 1;
    transform: translateY(0);
}

    .home-page .home-hero .item.active .home-hero-content > *:nth-child(2) {
        transition-delay: .06s;
    }

    .home-page .home-hero .item.active .home-hero-content > *:nth-child(3) {
        transition-delay: .12s;
    }

    .home-page .home-hero .item.active .home-hero-content > *:nth-child(4) {
        transition-delay: .18s;
    }

    .home-page .home-hero .item.active .home-hero-content > *:nth-child(5) {
        transition-delay: .24s;
    }

@media (max-width: 991px) {
    .home-page .home-hero .carousel-inner,
    .home-page .home-hero .item {
        height: 560px;
        min-height: 560px;
    }

        .home-page .home-hero .item::before {
            background: linear-gradient(90deg, rgba(8,9,11,.97) 0%, rgba(8,9,11,.90) 48%, rgba(8,9,11,.48) 100%);
        }

    .home-page .home-hero-content {
        max-width: 620px;
        padding-left: 36px;
        padding-right: 36px;
    }

    .home-page .home-hero-control {
        display: none;
    }
}

@media (max-width: 767px) {
    .home-page .home-hero .carousel-inner,
    .home-page .home-hero .item {
        height: 590px;
        min-height: 590px;
    }

    .home-page .home-hero-image {
        object-position: 66% center;
    }

    .home-page .home-hero .item::before {
        background: linear-gradient(90deg, rgba(8,9,11,.98) 0%, rgba(8,9,11,.92) 62%, rgba(8,9,11,.66) 100%);
    }

    .home-page .home-hero .carousel-caption > .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .home-page .home-hero-content {
        max-width: 100%;
        padding: 42px 8px 58px;
    }

    .home-page .home-hero-kicker {
        font-size: 10px;
        margin-bottom: 14px;
    }

    .home-page .home-hero-title {
        font-size: clamp(31px, 9vw, 42px);
        margin-bottom: 16px;
    }

    .home-page .home-hero-copy {
        font-size: 16px;
        line-height: 1.58;
        margin-bottom: 20px;
    }

    .home-page .home-hero-benefits {
        gap: 7px;
        margin-bottom: 23px;
    }

        .home-page .home-hero-benefits span {
            font-size: 11px;
            padding: 7px 10px;
        }

    .home-page .home-hero-actions {
        align-items: stretch;
        flex-direction: column;
        max-width: 280px;
    }

    .home-page .home-hero-btn {
        width: 100%;
    }

    .home-page .home-hero-areas {
        font-size: 12px;
        line-height: 1.65;
    }

    .home-page .home-hero .carousel-indicators {
        bottom: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page .home-hero .item .home-hero-content > *,
    .home-page .home-hero-btn,
    .home-page .home-hero .carousel-indicators li {
        transition: none;
    }
}

.contact-page .contact-main {
    background: radial-gradient(circle at 8% 8%, rgba(236, 29, 35, 0.065), transparent 24%), linear-gradient(180deg, #fbfaf7 0%, #f7f4ee 100%);
    padding: 0 0 82px;
}

    .contact-page .contact-main .container {
        max-width: 1120px;
    }

.contact-page .contact-heading {
    margin: 0 auto 38px;
    max-width: 760px;
    text-align: center;
}

.contact-page .contact-eyebrow,
.contact-page .office-kicker {
    color: var(--lm-red);
    display: block;
    font-family: var(--lm-font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.contact-page .contact-heading h2 {
    color: var(--lm-ink);
    font-family: var(--lm-font-heading);
    font-size: clamp(29px, 3.4vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 14px;
}

.contact-page .contact-heading p {
    color: var(--lm-muted);
    font-family: var(--lm-font-body);
    font-size: 16px;
    line-height: 1.75;
    margin: 0 auto;
    max-width: 700px;
}

.contact-page .contact-main .section-header {
    margin-left: auto;
    margin-right: auto;
    max-width: 820px;
    text-align: center;
}

    .contact-page .contact-main .section-header::after {
        margin-left: auto;
        margin-right: auto;
    }

.contact-page .contact-section-copy {
    color: var(--lm-muted);
    font-family: var(--lm-font-body);
    font-size: 16px;
    line-height: 1.75;
    margin: -10px auto 38px;
    max-width: 700px;
    text-align: center;
}

.contact-page .contact-actions {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 34px;
}

.contact-page .contact-action {
    align-items: center;
    background: var(--lm-white);
    border: 1px solid var(--lm-border);
    border-radius: 18px;
    box-shadow: var(--lm-shadow-sm);
    color: var(--lm-ink);
    display: grid;
    gap: 16px;
    grid-template-columns: 54px minmax(0, 1fr) 28px;
    min-height: 104px;
    padding: 22px 22px;
    text-decoration: none !important;
    transition: transform var(--lm-transition), box-shadow var(--lm-transition), border-color var(--lm-transition);
}

    .contact-page .contact-action:hover {
        border-color: rgba(236, 29, 35, .28);
        box-shadow: var(--lm-shadow);
        color: var(--lm-ink);
        transform: translateY(-3px);
    }

.contact-page .contact-action-icon {
    align-items: center;
    background: rgba(236, 29, 35, .08);
    border-radius: 14px;
    color: var(--lm-red);
    display: flex;
    font-size: 23px;
    height: 54px;
    justify-content: center;
    width: 54px;
}

.contact-page .contact-action-label {
    color: var(--lm-red);
    display: block;
    font-family: var(--lm-font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.contact-page .contact-action-value {
    color: var(--lm-ink);
    display: block;
    font-family: var(--lm-font-heading);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.contact-page .contact-action-arrow {
    color: var(--lm-red);
    font-size: 18px;
    text-align: right;
}

.contact-page .contact-action-primary {
    background: linear-gradient(135deg, var(--lm-red-dark), var(--lm-red));
    border-color: transparent;
}

    .contact-page .contact-action-primary .contact-action-icon {
        background: rgba(255,255,255,.14);
        color: #fff;
    }

    .contact-page .contact-action-primary .contact-action-label,
    .contact-page .contact-action-primary .contact-action-value,
    .contact-page .contact-action-primary .contact-action-arrow {
        color: #fff;
    }

    .contact-page .contact-action-primary:hover {
        border-color: transparent;
        color: #fff;
    }

.contact-page .contact-note {
    align-items: center;
    background: rgba(20, 21, 23, .035);
    border: 1px solid rgba(20, 21, 23, .07);
    border-radius: 14px;
    color: var(--lm-muted);
    display: flex;
    font-family: var(--lm-font-body);
    font-size: 13px;
    gap: 10px;
    justify-content: center;
    margin: 0 auto 44px;
    max-width: 760px;
    padding: 12px 18px;
    text-align: center;
}

    .contact-page .contact-note i {
        color: var(--lm-red);
    }

.contact-page .offices-heading {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
}

    .contact-page .offices-heading h3 {
        color: var(--lm-ink);
        font-family: var(--lm-font-heading);
        font-size: 28px;
        font-weight: 700;
        margin: 0;
    }

    .contact-page .offices-heading p {
        color: var(--lm-muted);
        font-family: var(--lm-font-body);
        font-size: 14px;
        margin: 0;
    }

.contact-page .offices-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-page .office-card {
    background: var(--lm-white);
    border: 1px solid var(--lm-border);
    border-top: 4px solid var(--lm-red);
    border-radius: 20px;
    box-shadow: var(--lm-shadow-sm);
    overflow: hidden;
}

.contact-page .office-card-body {
    padding: 30px 30px 25px;
}

.contact-page .office-title-row {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 22px;
}

    .contact-page .office-title-row h3 {
        color: var(--lm-ink);
        font-family: var(--lm-font-heading);
        font-size: 25px;
        font-weight: 700;
        line-height: 1.25;
        margin: 0;
    }

.contact-page .office-badge {
    background: rgba(236, 29, 35, .08);
    border-radius: 999px;
    color: var(--lm-red);
    font-family: var(--lm-font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    padding: 7px 10px;
    text-transform: uppercase;
    white-space: nowrap;
}

.contact-page .office-info {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .contact-page .office-info li {
        align-items: flex-start;
        border-top: 1px solid rgba(20,21,23,.065);
        color: var(--lm-muted);
        display: grid;
        font-family: var(--lm-font-body);
        font-size: 14px;
        gap: 13px;
        grid-template-columns: 20px minmax(0, 1fr);
        line-height: 1.55;
        padding: 13px 0;
    }

        .contact-page .office-info li:first-child {
            border-top: 0;
            padding-top: 0;
        }

    .contact-page .office-info i {
        color: var(--lm-red);
        font-size: 15px;
        margin-top: 3px;
        text-align: center;
    }

    .contact-page .office-info a {
        color: var(--lm-ink);
        font-weight: 600;
        text-decoration: none;
    }

        .contact-page .office-info a:hover {
            color: var(--lm-red);
        }

.contact-page .office-map {
    background: #eee;
    height: 280px;
    overflow: hidden;
}

    .contact-page .office-map iframe {
        border: 0;
        display: block;
        height: 100%;
        width: 100%;
    }

.contact-page .contact-cta {
    align-items: center;
    background: linear-gradient(120deg, rgba(255,255,255,.03), rgba(255,255,255,0)), var(--lm-ink);
    border-radius: 20px;
    box-shadow: var(--lm-shadow);
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 30px;
    overflow: hidden;
    padding: 30px 34px;
    position: relative;
}

    .contact-page .contact-cta::before {
        background: var(--lm-red);
        content: "";
        inset: 0 auto 0 0;
        position: absolute;
        width: 4px;
    }

    .contact-page .contact-cta h3 {
        color: #fff;
        font-family: var(--lm-font-heading);
        font-size: 23px;
        margin: 0 0 7px;
    }

    .contact-page .contact-cta p {
        color: rgba(255,255,255,.68);
        font-family: var(--lm-font-body);
        font-size: 14px;
        margin: 0;
    }

.contact-page .contact-cta-button {
    align-items: center;
    background: var(--lm-red);
    border-radius: 999px;
    color: #fff !important;
    display: inline-flex;
    font-family: var(--lm-font-body);
    font-size: 12px;
    font-weight: 700;
    gap: 9px;
    justify-content: center;
    letter-spacing: .06em;
    min-height: 46px;
    padding: 12px 20px;
    text-decoration: none !important;
    text-transform: uppercase;
    white-space: nowrap;
}

    .contact-page .contact-cta-button:hover {
        background: var(--lm-red-dark);
    }

@media (max-width: 991px) {
    .contact-page .contact-actions {
        grid-template-columns: 1fr;
    }

    .contact-page .offices-grid {
        grid-template-columns: 1fr;
    }

    .contact-page .offices-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 767px) {
    .contact-page .contact-main {
        padding: 0 0 60px;
    }

    .contact-page .contact-section-copy {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .contact-page .contact-action {
        grid-template-columns: 48px minmax(0, 1fr) 22px;
        min-height: 92px;
        padding: 18px;
    }

    .contact-page .contact-action-icon {
        border-radius: 12px;
        font-size: 20px;
        height: 48px;
        width: 48px;
    }

    .contact-page .office-card-body {
        padding: 24px 22px 20px;
    }

    .contact-page .office-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .contact-page .office-map {
        height: 235px;
    }

    .contact-page .contact-cta {
        grid-template-columns: 1fr;
        padding: 27px 24px 27px 28px;
    }

    .contact-page .contact-cta-button {
        justify-self: start;
    }
}