.unidades-publico-page,
.unidade-detalhe-page {
    --unidades-blue: #0d46a4;
    --unidades-blue-strong: #083c8e;
    --unidades-blue-bright: #2a67d8;
    --unidades-blue-soft: #edf4ff;
    --unidades-yellow: #f4b000;
    --unidades-yellow-strong: #e0a100;
    --unidades-yellow-soft: #fff6df;
    --unidades-text: #263744;
    --unidades-muted: #76838e;
    --unidades-line: #e2e7ec;
    --unidades-surface: #fff;
    --unidades-bg: #f7f9fb;
    color: var(--unidades-text);
}

.unidades-publico-page *,
.unidade-detalhe-page * {
    box-sizing: border-box;
}

.unidades-publico-container {
    width: min(1120px, calc(100% - 44px));
    margin-inline: auto;
}

/* ==========================================================
   LISTAGEM /unidades
   ========================================================== */

.unidades-publico-page {
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #fff 0,
            #fff 370px,
            var(--unidades-bg) 370px,
            var(--unidades-bg) 100%);
    padding: 30px 0 84px;
}

.unidades-publico-kicker,
.unidades-publico-section-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--unidades-yellow);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.unidades-index-hero {
    position: relative;
    display: grid;
    min-height: 340px;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    overflow: hidden;
    align-items: stretch;
    border-radius: 24px;
    background:
        radial-gradient(circle at 18% 16%, rgba(255,255,255,.12), transparent 24%),
        linear-gradient(135deg, #0b428d 0%, #0d4bab 48%, #195ec6 100%);
    box-shadow: 0 22px 50px rgba(13, 70, 164, .18);
}

.unidades-index-hero::before {
    position: absolute;
    right: -90px;
    bottom: -150px;
    width: 390px;
    height: 390px;
    border: 70px solid rgba(255, 255, 255, .04);
    border-radius: 50%;
    content: "";
}

.unidades-index-hero::after {
    position: absolute;
    left: -70px;
    top: -60px;
    width: 220px;
    height: 220px;
    border: 42px solid rgba(244, 176, 0, .14);
    border-radius: 50%;
    content: "";
}

.unidades-index-hero__copy {
    position: relative;
    z-index: 2;
    padding: 46px 48px;
}

.unidades-index-hero h1 {
    max-width: 640px;
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 840;
    letter-spacing: -.048em;
    line-height: 1.01;
}

.unidades-index-hero h1 span {
    display: block;
    color: #dbe9ff;
}

.unidades-index-hero__copy > p {
    max-width: 590px;
    margin: 17px 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
    line-height: 1.78;
}

.unidades-index-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

.unidades-index-hero__button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 18px;
    font-size: 11px;
    font-weight: 850;
    text-decoration: none;
}

.unidades-index-hero__button.primary {
    background: var(--unidades-yellow);
    color: #203040;
    box-shadow: 0 12px 28px rgba(244, 176, 0, .22);
}

.unidades-index-hero__button.primary:hover {
    background: var(--unidades-yellow-strong);
}

.unidades-index-hero__meta {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 14px;
    background: rgba(255, 255, 255, .09);
    padding: 10px 13px;
    backdrop-filter: blur(8px);
}

.unidades-index-hero__meta-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 11px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.unidades-index-hero__meta-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.unidades-index-hero__meta > div {
    display: grid;
    grid-template-columns: auto auto;
    gap: 7px;
    align-items: baseline;
}

.unidades-index-hero__meta strong {
    color: #fff;
    font-size: 21px;
    line-height: 1;
}

.unidades-index-hero__meta > div > span {
    color: rgba(255, 255, 255, .82);
    font-size: 9px;
    font-weight: 700;
}

.unidades-index-hero__visual {
    position: relative;
    display: grid;
    place-items: center;
    padding: 34px;
}

.unidades-index-hero__symbol {
    position: relative;
    z-index: 2;
    display: grid;
    width: 186px;
    height: 186px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    box-shadow: inset 0 0 0 18px rgba(255, 255, 255, .025);
}

.unidades-index-hero__symbol svg {
    width: 108px;
    height: 108px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3.15;
}

.unidades-index-hero__ring {
    position: absolute;
    border-radius: 50%;
}

.unidades-index-hero__ring.ring-a {
    width: 235px;
    height: 235px;
    border: 24px solid rgba(244, 176, 0, .24);
    left: 48px;
    bottom: 35px;
}

.unidades-index-hero__ring.ring-b {
    width: 96px;
    height: 96px;
    border: 15px solid rgba(255, 255, 255, .12);
    right: 72px;
    top: 54px;
}

.unidades-index-hero__badge {
    position: absolute;
    top: 46px;
    right: 40px;
    z-index: 3;
    display: grid;
    gap: 3px;
    min-width: 132px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .12);
    padding: 13px 14px;
    color: #fff;
    backdrop-filter: blur(8px);
}

.unidades-index-hero__badge.secondary {
    top: auto;
    right: auto;
    left: 44px;
    bottom: 42px;
    background: rgba(244, 176, 0, .18);
}

.unidades-index-hero__badge small {
    color: rgba(255, 255, 255, .8);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.unidades-index-hero__badge strong {
    font-size: 13px;
    font-weight: 800;
}

.unidades-index-tools {
    position: relative;
    margin-top: 28px;
    border: 1px solid #e5ebf0;
    border-radius: 22px;
    background: #fff;
    padding: 28px 28px 30px;
    box-shadow: 0 10px 28px rgba(31, 51, 67, .05);
}

.unidades-index-tools__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.unidades-index-tools__header h2 {
    margin: 0;
    color: #233441;
    font-size: 30px;
    font-weight: 830;
    letter-spacing: -.03em;
}

.unidades-index-tools__header p {
    max-width: 560px;
    margin: 8px 0 0;
    color: #7a8791;
    font-size: 11px;
    line-height: 1.68;
}

.unidades-index-tools__summary {
    display: inline-grid;
    min-width: 110px;
    justify-items: center;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff7e5 0%, #fff2c8 100%);
    padding: 13px 15px;
    color: #203040;
}

.unidades-index-tools__summary strong {
    color: #1f3650;
    font-size: 24px;
    line-height: 1;
}

.unidades-index-tools__summary span {
    margin-top: 3px;
    color: #7f6d35;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.unidades-search-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.unidades-search-panel__box {
    display: flex;
    min-height: 58px;
    flex: 1;
    align-items: center;
    gap: 12px;
    border: 1px solid #dbe5f1;
    border-radius: 18px;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
    padding: 0 16px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}

.unidades-search-panel__box:focus-within {
    border-color: #a9c4f3;
    box-shadow:
        0 0 0 4px rgba(42, 103, 216, .08),
        inset 0 1px 0 rgba(255,255,255,.55);
}

.unidades-search-panel__icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 12px;
    background: #eaf2ff;
    color: var(--unidades-blue);
}

.unidades-search-panel__icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.85;
}

.unidades-search-panel input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #243542;
    font: inherit;
    font-size: 13px;
}

.unidades-search-panel input::placeholder {
    color: #90a0ae;
}

.unidades-search-panel__clear {
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    background: #fff3cf;
    color: #7a5b00;
    padding: 0 16px;
    font: inherit;
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
}

.unidades-search-panel__clear:hover {
    background: #ffecad;
}

.unidades-search-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.unidades-search-tags__label {
    color: #7a8791;
    font-size: 10px;
    font-weight: 800;
}

.unidades-search-tag {
    min-height: 32px;
    border: 1px solid #e2ebf7;
    border-radius: 999px;
    background: #f8fbff;
    color: var(--unidades-blue);
    padding: 0 13px;
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.unidades-search-tag:hover {
    border-color: #bdd1f2;
    background: #edf4ff;
}

.unidades-publico-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.unidades-publico-card {
    position: relative;
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #e2e8ee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(31, 51, 67, .055);
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.unidades-publico-card:hover {
    transform: translateY(-5px);
    border-color: #c9d9ea;
    box-shadow: 0 18px 40px rgba(31, 51, 67, .1);
}

.unidades-publico-card__media {
    position: relative;
    display: block;
    height: 226px;
    overflow: hidden;
    background: #edf1f4;
}

.unidades-publico-card__media picture,
.unidades-publico-card__media img {
    display: block;
    width: 100%;
    height: 100%;
}

.unidades-publico-card__media img {
    object-fit: cover;
    transition: transform .32s ease;
}

.unidades-publico-card:hover .unidades-publico-card__media img {
    transform: scale(1.04);
}

.unidades-publico-card__media-label {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    border-radius: 999px;
    background: rgba(16, 44, 77, .72);
    color: #fff;
    padding: 0 10px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .05em;
    backdrop-filter: blur(6px);
}

.unidades-publico-card__media-gradient {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    height: 68px;
    background: linear-gradient(180deg, transparent 0%, rgba(7, 25, 39, .42) 100%);
}

.unidades-publico-card__body {
    display: flex;
    min-height: 308px;
    flex: 1;
    flex-direction: column;
    padding: 19px 18px 18px;
}

.unidades-publico-card__title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 10px;
    align-items: start;
}

.unidades-publico-card__title h3 {
    margin: 0;
    color: #273845;
    font-size: 19px;
    font-weight: 830;
    letter-spacing: -.02em;
    line-height: 1.24;
}

.unidades-publico-card__title > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff8e4 0%, #fff1c2 100%);
    color: #7f5f00;
}

.unidades-publico-card__title svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.unidades-publico-address {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin-top: 14px;
    color: #5e6f7c;
    font-size: 10px;
    line-height: 1.58;
}

.unidades-publico-address__icon {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 10px;
    background: var(--unidades-blue-soft);
    color: var(--unidades-blue);
}

.unidades-publico-address svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.75;
}

.unidades-publico-card__description {
    display: -webkit-box;
    margin: 15px 0 18px;
    overflow: hidden;
    color: #778690;
    font-size: 10px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.unidades-publico-card__action {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    border-top: 1px solid #eef1f4;
    color: var(--unidades-blue);
    padding-top: 13px;
    font-size: 10px;
    font-weight: 850;
    text-decoration: none;
}

.unidades-publico-card__action svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.85;
    transition: transform .18s ease;
}

.unidades-publico-card__action:hover svg {
    transform: translateX(3px);
}

.unidades-publico-empty {
    display: grid;
    min-height: 220px;
    place-items: center;
    align-content: center;
    gap: 14px;
    margin-top: 22px;
    border: 1px dashed #d8e0e8;
    border-radius: 18px;
    background:
        linear-gradient(180deg, #fff 0%, #fbfcff 100%);
    padding: 28px;
    color: #7d8993;
    text-align: center;
}

.unidades-publico-empty strong {
    color: #2a3944;
}

.unidades-publico-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: var(--unidades-blue);
    color: #fff;
    padding: 0 16px;
    font: inherit;
    font-size: 10px;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}

.unidades-publico-button:hover {
    background: var(--unidades-blue-strong);
}

@media (max-width: 980px) {
    .unidades-index-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .unidades-index-hero__visual {
        min-height: 220px;
    }

    .unidades-index-tools__header {
        align-items: stretch;
        flex-direction: column;
    }

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

@media (max-width: 720px) {
    .unidades-publico-container {
        width: min(100% - 28px, 1120px);
    }

    .unidades-publico-page {
        background: var(--unidades-bg);
        padding: 14px 0 54px;
    }

    .unidades-index-hero {
        min-height: auto;
        border-radius: 18px;
    }

    .unidades-index-hero__copy {
        padding: 30px 22px;
    }

    .unidades-index-hero h1 {
        font-size: 35px;
    }

    .unidades-index-hero__visual {
        min-height: 180px;
        padding: 16px 20px 24px;
    }

    .unidades-index-hero__symbol {
        width: 134px;
        height: 134px;
    }

    .unidades-index-hero__symbol svg {
        width: 76px;
        height: 76px;
    }

    .unidades-index-hero__badge {
        min-width: 108px;
        padding: 10px 11px;
    }

    .unidades-index-hero__ring.ring-a {
        width: 170px;
        height: 170px;
        left: 30px;
        bottom: 16px;
        border-width: 18px;
    }

    .unidades-index-hero__ring.ring-b {
        right: 26px;
        top: 28px;
    }

    .unidades-index-tools {
        margin-top: 20px;
        border-radius: 18px;
        padding: 22px 18px 24px;
    }

    .unidades-index-tools__header h2 {
        font-size: 25px;
    }

    .unidades-search-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .unidades-search-panel__clear {
        width: 100%;
    }

    .unidades-publico-grid {
        grid-template-columns: 1fr;
    }

    .unidades-publico-card__media {
        height: 218px;
    }

    .unidades-publico-card__body {
        min-height: 0;
    }
}


/* ==========================================================
   DETALHE
   ========================================================== */

.unidade-detalhe-page {
    background: var(--unidades-bg);
    padding: 24px 0 74px;
}

.unidade-detalhe-back {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    color: #687985;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
}

.unidade-detalhe-back:hover {
    color: var(--unidades-blue);
}

.unidade-detalhe-back svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.unidade-detalhe-banner {
    position: relative;
    height: 430px;
    overflow: hidden;
    border-radius: 18px;
    background: #e5ebf0;
    box-shadow: 0 12px 34px rgba(30, 50, 66, .08);
}

.unidade-detalhe-banner picture,
.unidade-detalhe-banner img {
    display: block;
    width: 100%;
    height: 100%;
}

.unidade-detalhe-banner img {
    object-fit: cover;
}

.unidade-detalhe-banner__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(12, 34, 50, .78) 0%,
            rgba(12, 34, 50, .48) 42%,
            rgba(12, 34, 50, .08) 75%);
}

.unidade-detalhe-banner__content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: 34px 38px;
    color: #fff;
}

.unidade-detalhe-banner__kicker {
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    padding: 0 10px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    backdrop-filter: blur(7px);
}

.unidade-detalhe-banner__content h1 {
    max-width: 780px;
    margin: 10px 0 13px;
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.03;
}

.unidade-detalhe-banner__address {
    display: flex;
    max-width: 700px;
    align-items: flex-start;
    gap: 8px;
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
    line-height: 1.5;
}

.unidade-detalhe-banner__address svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.unidade-detalhe-content {
    padding-top: 28px;
}

.unidade-detalhe-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
    gap: 24px;
    align-items: start;
}

.unidade-detalhe-intro__copy {
    border: 1px solid var(--unidades-line);
    border-radius: 14px;
    background: #fff;
    padding: 25px 26px;
}

.unidade-detalhe-intro h2,
.unidade-detalhe-section h2 {
    margin: 4px 0 0;
    color: #293a47;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.025em;
}

.unidade-detalhe-resumo {
    margin: 13px 0 0;
    color: #6f7f8b;
    font-size: 13px;
    line-height: 1.8;
}

.unidade-contatos {
    overflow: hidden;
    border: 1px solid var(--unidades-line);
    border-radius: 14px;
    background: #fff;
}

.unidade-contatos > header {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e9edf1;
    background: #fbfcfd;
    padding: 15px 17px;
}

.unidade-contatos__icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 9px;
    background: var(--unidades-blue-soft);
    color: var(--unidades-blue);
}

.unidade-contatos__icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.unidade-contatos > header small,
.unidade-contatos > header strong {
    display: block;
}

.unidade-contatos > header small {
    color: #8b969f;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.unidade-contatos > header strong {
    margin-top: 2px;
    color: #40515e;
    font-size: 12px;
}

.unidade-contatos__list article {
    display: grid;
    gap: 3px;
    padding: 12px 17px;
}

.unidade-contatos__list article + article {
    border-top: 1px solid #edf0f3;
}

.unidade-contatos__list span {
    color: #8b969f;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.unidade-contatos__list strong {
    overflow-wrap: anywhere;
    color: #445764;
    font-size: 11px;
}

.unidade-detalhe-section {
    margin-top: 24px;
    border: 1px solid var(--unidades-line);
    border-radius: 14px;
    background: #fff;
    padding: 25px 26px;
}

.unidade-detalhe-section > header {
    max-width: 720px;
    margin-bottom: 20px;
}

.unidade-detalhe-section > header > p {
    margin: 8px 0 0;
    color: #7b8993;
    font-size: 11px;
    line-height: 1.6;
}

.unidade-detalhe-text {
    max-width: 900px;
    color: #657783;
    font-size: 12px;
    line-height: 1.9;
    white-space: pre-line;
}

.unidade-servicos-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.unidade-servico-card {
    overflow: hidden;
    border: 1px solid #e4e8ec;
    border-radius: 12px;
    background: #fff;
}

.unidade-servico-card > header {
    display: flex;
    align-items: center;
    gap: 11px;
    border-bottom: 1px solid #edf0f3;
    background: #fbfcfd;
    padding: 14px;
}

.unidade-servico-card__icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 10px;
    background: var(--unidades-blue-soft);
    color: var(--unidades-blue);
    font-size: 13px;
    font-weight: 900;
}

.unidade-servico-card__icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.unidade-servico-card__heading {
    min-width: 0;
}

.unidade-servico-card h3 {
    margin: 0;
    color: #344754;
    font-size: 14px;
    font-weight: 800;
}

.unidade-servico-card__time {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    color: #7d8a94;
    font-size: 9px;
}

.unidade-servico-card__time svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: var(--unidades-blue);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.unidade-servico-atividades {
    padding: 3px 14px 7px;
}

.unidade-servico-atividades > article {
    display: flex;
    gap: 9px;
    padding: 11px 0;
}

.unidade-servico-atividades > article + article {
    border-top: 1px solid #edf0f3;
}

.unidade-servico-atividade__bullet {
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    margin-top: 5px;
    border-radius: 50%;
    background: var(--unidades-blue);
}

.unidade-servico-atividades strong {
    color: #445764;
    font-size: 10px;
}

.unidade-servico-atividades p {
    margin: 4px 0 0;
    color: #7e8b94;
    font-size: 9px;
    line-height: 1.55;
}

/* ==========================================================
   GALERIA COMPACTA — conforme referência enviada
   ========================================================== */

.unidade-galeria-card {
    padding: 20px 21px 21px;
}

.unidade-galeria-card__header {
    display: flex;
    max-width: none !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px !important;
}

.unidade-galeria-card__header > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.unidade-galeria-card__header h2 {
    margin: 0;
    font-size: 15px;
}

.unidade-galeria-card__title-icon {
    display: inline-grid;
    width: 20px;
    height: 20px;
    place-items: center;
    color: var(--unidades-blue);
}

.unidade-galeria-card__title-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.unidade-galeria-card__count {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    border-radius: 999px;
    background: var(--unidades-blue-soft);
    color: var(--unidades-blue);
    padding: 0 9px;
    font-size: 8px;
    font-weight: 850;
}

.unidade-galeria-grid {
    display: grid;
    grid-template-columns: repeat(4, 174px);
    gap: 12px;
    justify-content: start;
}

.unidade-galeria-item {
    width: 174px;
    margin: 0;
}

.unidade-galeria-item picture {
    display: block;
    width: 174px;
    height: 156px;
    overflow: hidden;
    border-radius: 10px;
    background: #edf1f4;
}

.unidade-galeria-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.unidade-galeria-item figcaption {
    max-width: 174px;
    margin-top: 6px;
    overflow: hidden;
    color: #687985;
    font-size: 9px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 980px) {
    .unidades-publico-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .unidade-detalhe-intro {
        grid-template-columns: 1fr;
    }

    .unidade-contatos {
        max-width: 520px;
    }

    .unidade-servicos-grid {
        grid-template-columns: 1fr;
    }

    .unidade-galeria-grid {
        grid-template-columns: repeat(3, 174px);
    }
}

@media (max-width: 720px) {
    .unidades-publico-container {
        width: min(100% - 28px, 1120px);
    }

    .unidades-publico-page {
        padding: 38px 0 54px;
        background:
            linear-gradient(
                180deg,
                #fff 0,
                #fff 150px,
                var(--unidades-bg) 150px,
                var(--unidades-bg) 100%);
    }

    .unidades-publico-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }

    .unidades-publico-heading__count {
        width: fit-content;
    }

    .unidades-publico-grid {
        grid-template-columns: 1fr;
    }

    .unidades-publico-card__media {
        height: 215px;
    }

    .unidades-publico-card__body {
        min-height: 0;
    }

    .unidade-detalhe-page {
        padding-top: 14px;
    }

    .unidade-detalhe-banner {
        height: 450px;
        border-radius: 14px;
    }

    .unidade-detalhe-banner__shade {
        background:
            linear-gradient(
                0deg,
                rgba(12, 34, 50, .82) 0%,
                rgba(12, 34, 50, .45) 56%,
                rgba(12, 34, 50, .08) 100%);
    }

    .unidade-detalhe-banner__content {
        padding: 25px 22px;
    }

    .unidade-detalhe-content {
        padding-top: 16px;
    }

    .unidade-detalhe-intro__copy,
    .unidade-detalhe-section {
        padding: 20px;
    }

    .unidade-galeria-grid {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 5px;
        scroll-snap-type: x proximity;
    }

    .unidade-galeria-item {
        width: 156px;
        flex: 0 0 156px;
        scroll-snap-align: start;
    }

    .unidade-galeria-item picture {
        width: 156px;
        height: 140px;
    }

    .unidade-galeria-item figcaption {
        max-width: 156px;
    }
}
