/* Página Representantes — Grupo BAW */
/* Layout da página (alinhado a serviços / service-details) */
.baw-representantes-page {
    position: relative;
    border-top: 1px solid #dad9d7;
    background: #fff;
}
.baw-representantes-page .auto-container {
    position: relative;
    z-index: 1;
}
.baw-representantes-page .line-box {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    max-width: 1170px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    pointer-events: none;
}
.baw-representantes-page .line-box .line {
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    background: #d6d6d6;
}
.baw-representantes-page .line-box .line-1 {
    left: 0;
}
.baw-representantes-page .line-box .line-2 {
    left: 33.3334%;
}
.baw-representantes-page .line-box .line-3 {
    left: 66.666%;
}
.baw-representantes-page .line-box .line-4 {
    right: 0;
}
.baw-representantes-page__intro {
    max-width: 720px;
    margin-bottom: 48px;
}
.baw-representantes-page__body {
    align-items: flex-start;
    padding-top: 8px;
}
.baw-representantes-page__list-col {
    order: 1;
}
.baw-representantes-page__map-col {
    order: 2;
}
@media (min-width: 992px) {
    .baw-representantes-page__map-col {
        position: sticky;
        top: 100px;
    }
}
@media (max-width: 991.98px) {
    .baw-representantes-page__map-col {
        margin-top: 48px;
    }
}
.baw-representantes-intro__sub {
    display: inline-block;
    font-size: 14px;
    line-height: 24px;
    font-family: 'Monda', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #827e7d;
    letter-spacing: 0.04em;
    padding-bottom: 10px;
    margin-bottom: 14px;
    border-bottom: 2px solid #e4492e;
}
.baw-representantes-intro h2 {
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
    color: #1c1c1c;
    margin: 0 0 18px;
}
.baw-representantes-intro__text {
    margin: 0 0 24px;
    color: #827e7d;
    line-height: 1.65;
    font-size: 16px;
    max-width: 520px;
}
.baw-representantes-intro .baw-servicos-cta {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    line-height: 24px;
    font-family: 'Monda', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: #1c1c1c;
}
.baw-representantes-intro .baw-servicos-cta:link,
.baw-representantes-intro .baw-servicos-cta:visited {
    color: #1c1c1c;
    text-decoration: none;
}
.baw-representantes-intro .baw-servicos-cta:hover,
.baw-representantes-intro .baw-servicos-cta:focus-visible,
.baw-representantes-intro .baw-servicos-cta:active {
    color: #e4492e;
    text-decoration: none;
}
.baw-representantes-intro .baw-servicos-cta__ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    box-sizing: border-box;
    background: transparent;
    border: 2px solid #e4492e;
    color: #e4492e;
    flex-shrink: 0;
    transition:
        border-color 0.25s ease,
        color 0.25s ease;
}
.baw-representantes-intro .baw-servicos-cta__ico i {
    font-size: 14px;
    line-height: 1;
}
.baw-representantes-intro .baw-servicos-cta:hover .baw-servicos-cta__ico,
.baw-representantes-intro .baw-servicos-cta:focus-visible .baw-servicos-cta__ico,
.baw-representantes-intro .baw-servicos-cta:active .baw-servicos-cta__ico {
    border-color: #c73d28;
    color: #c73d28;
}
.baw-representantes-intro__map {
    margin: 0;
    padding: 0 0 0 12px;
}
.baw-representantes-intro__map img {
    width: 100%;
    display: block;
    border-radius: 4px;
}
@media only screen and (max-width: 991px) {
    .baw-representantes-intro__map {
        padding-left: 0;
        padding-top: 28px;
    }
    .baw-representantes-intro h2 {
        font-size: 32px;
    }
}
.baw-representantes-list {
    padding-top: 8px;
}
.baw-representantes-list__row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
.baw-representantes-list__row > [class*='col-'] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.baw-representantes-list__row .baw-rep-card {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
}
.baw-representantes-list__head {
    margin-bottom: 28px;
}
.baw-representantes-list__title {
    margin: 0 0 12px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
    color: #1c1c1c;
    font-family: 'Monda', sans-serif;
}
.baw-representantes-list__rule {
    display: block;
    width: 56px;
    height: 3px;
    background: #e4492e;
}
.baw-rep-card {
    position: relative;
    background: #fafafa;
    border: 1px solid #e8e6e4;
    padding: 15px;
    margin-bottom: 28px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}
.baw-rep-card:hover {
    border-color: #d6d4d2;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}
.baw-rep-card__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 12px;
}
.baw-rep-card__bar {
    width: 5px;
    min-height: 28px;
    background: #e4492e;
    flex-shrink: 0;
    margin-top: 4px;
}
.baw-rep-card__role {
    margin: 0;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
    color: #1c1c1c;
    font-family: 'Monda', 'Manrope', sans-serif;
}
.baw-rep-card__name {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.5;
    color: #5a5755;
}
.baw-rep-card__region {
    margin: -8px 0 14px;
    font-size: 14px;
    line-height: 1.45;
    color: #827e7d;
}
.baw-rep-card__meta {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.baw-rep-card__meta li {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.baw-rep-card__meta li + li {
    margin-top: 8px;
}
.baw-rep-card__meta a {
    font-size: 14px;
    line-height: 1.5;
    color: #e4492e;
    text-decoration: none;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.baw-rep-card__meta a:hover {
    color: #c73d28;
    text-decoration: underline;
}
.baw-rep-card__meta i {
    width: 1.1em;
    margin-right: 10px;
    text-align: center;
    color: #827e7d;
}
.baw-representantes-strip {
    background: #f7f6f5;
    border-top: 1px solid #e8e6e4;
    border-bottom: 1px solid #e8e6e4;
}
.baw-rep-strip-card {
    text-align: center;
    padding: 28px 18px 32px;
    height: 100%;
}
.baw-rep-strip-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    border: 2px solid #e4492e;
    color: #e4492e;
    font-size: 22px;
    box-sizing: border-box;
}
.baw-rep-strip-card h4 {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
    color: #1c1c1c;
    font-family: 'Monda', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.baw-rep-strip-card p {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.55;
    color: #6b6866;
}
.baw-rep-strip-card p:last-child {
    margin-bottom: 0;
}
.baw-rep-strip-card a:not(.theme-btn) {
    color: #1c1c1c;
    text-decoration: none;
}
.baw-rep-strip-card a:not(.theme-btn):hover {
    color: #e4492e;
}
.baw-rep-strip-card .theme-btn {
    margin-top: 4px;
}
@media only screen and (max-width: 767px) {
    .baw-rep-strip-card {
        margin-bottom: 8px;
    }
}
.baw-representantes-cta {
    position: relative;
    overflow: hidden;
    min-height: clamp(300px, 38vh, 440px);
    display: flex;
    align-items: center;
    background-image: var(--baw-representantes-cta-bg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.baw-representantes-cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(15, 15, 15, 0.88) 0%,
        rgba(28, 28, 28, 0.55) 48%,
        rgba(28, 28, 28, 0.35) 100%
    );
}
.baw-representantes-cta .auto-container {
    position: relative;
    z-index: 2;
}
.baw-representantes-cta__inner {
    max-width: 560px;
    padding: 48px 0;
}
.baw-representantes-cta__title {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    font-weight: 700;
    color: #fff;
    font-family: 'Monda', sans-serif;
}
.baw-representantes-cta__text {
    margin: 0 0 26px;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    max-width: 480px;
}
@media (max-width: 991.98px) {
    .baw-representantes-cta {
        background-attachment: scroll;
    }
}

/* Remove as linhas verticais decorativas desta página */
body.page-representantes .line-box {
    display: none !important;
}

@media (max-width: 1050px) {
    .baw-representantes-page .representatives-map {
        width: 100%;
        margin-bottom: 0;
        margin-top: 0;
        text-align: center;
    }
}

.baw-representantes-page .representatives-map #svg-map {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 991.98px) {
    .baw-representantes-page .representatives-map #svg-map {
        max-width: min(600px, 100%);
    }
}

@media (max-width: 560px) {
    .baw-representantes-page .representatives-map #svg-map {
        max-width: 100%;
    }
}

/* Mapa: fundo cinza, UFs em cinza médio, texto preto, hover/ativo laranja BAW */
#lista-representantes {
    scroll-margin-top: 120px;
}

.baw-representantes-page .baw-representantes-map.representatives-map {
    border-radius: 12px;
    padding: 20px 16px;
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.baw-representantes-page .representatives-map #svg-map path {
    fill: #e8e6e4;
    stroke: #b8b8b8;
    transition:
        fill 0.2s ease,
        stroke 0.2s ease;
}

.baw-representantes-page .representatives-map #svg-map a {
    text-decoration: none;
    cursor: pointer;
}

.baw-representantes-page .representatives-map #svg-map a:focus-visible {
    outline: 2px solid #e4492e;
    outline-offset: 3px;
    border-radius: 2px;
}

/* SVG <text>: não use o atalho "font:" incompleto — defina font-size + family + weight */
.baw-representantes-page .representatives-map #svg-map {
    font-family: 'Monda', 'Manrope', sans-serif;
}

.baw-representantes-page .representatives-map #svg-map text {
    fill: #1a1a1a;
    pointer-events: none;
    transition: fill 0.2s ease;
    font-family: 'Monda', 'Manrope', sans-serif !important;
    font-weight: 700 !important;
    font-size: 9px !important;
    font-style: normal !important;
}

.baw-representantes-page .representatives-map #svg-map a.baw-map-estado--has-reps:not(.is-active) path {
    fill: #d8d4d0;
    stroke: #9a9590;
}

.baw-representantes-page .representatives-map #svg-map a:hover path,
.baw-representantes-page .representatives-map #svg-map a:focus-visible path,
.baw-representantes-page .representatives-map #svg-map a.is-active path {
    fill: #e4492e;
    stroke: #c73d28;
}

.baw-representantes-page .representatives-map #svg-map a:hover text,
.baw-representantes-page .representatives-map #svg-map a:focus-visible text,
.baw-representantes-page .representatives-map #svg-map a.is-active text {
    fill: #ffffff !important;
}

.baw-rep-estado-panel[hidden] {
    display: none !important;
}

.baw-rep-outros-lead {
    max-width: 720px;
    margin-bottom: 28px;
    font-size: 16px;
    line-height: 1.65;
    color: #555;
}

/* Um único card na linha: mantém metade do container no desktop */
@media (min-width: 992px) {
    .baw-rep-estado-panel .row > .col-lg-6:only-child {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
