/* =========================================================
   TRANSLOCAVE — MONGAGUÁ
   CSS exclusivo para index da cidade
   (baseado no CSS padrão de cidades da Translocave)
   ========================================================= */

:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-muted: #eef3f8;
    --text: #111827;
    --text-soft: #4b5563;
    --text-muted: #6b7280;
    --red: #e11d24;
    --red-dark: #b4141a;
    --blue: #0057b8;
    --blue-dark: #003b7a;
    --green: #16a34a;
    --ink: #082f64;
    --red-soft: rgb(225 29 36 / 10%);
    --blue-soft: rgb(0 87 184 / 10%);
    --green-soft: rgb(22 163 74 / 10%);
    --border: rgb(17 24 39 / 10%);
    --border-strong: rgb(17 24 39 / 18%);
    --shadow-sm: 0 12px 30px rgb(17 24 39 / 8%);
    --shadow-lg: 0 24px 60px rgb(17 24 39 / 13%);
    --font-display: "Archivo", sans-serif;
    --font-body: "Plus Jakarta Sans", sans-serif;
    --header-height: 72px;
    --page-width: 1360px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --ease: cubic-bezier(.16, 1, .3, 1);

    /* Compatibilidade com o header e footer do styles.css padrão */
    --bg-primary: var(--surface);
    --bg-secondary: var(--bg);
    --bg-card: var(--surface);
    --bg-card-hover: var(--surface-muted);
    --text-primary: var(--text);
    --text-secondary: var(--text-soft);
    --text-tertiary: var(--text);
    --brand-red: var(--red);
    --brand-red-dim: var(--red-dark);
    --brand-blue: var(--blue);
    --brand-blue-dim: var(--blue-dark);
    --brand-green: var(--green);
    --brand-green-dim: #0f7a36;
    --accent: var(--brand-red);
    --accent-dim: var(--brand-red-dim);
    --accent-soft: var(--red-soft);
    --border-light: var(--border);
    --border-lighter: rgb(17 24 39 / 8%);
    --border-mid: var(--border-strong);
    --shadow-soft: var(--shadow-sm);
    --shadow-card: var(--shadow-lg);
    --max-width: var(--page-width);
    --transition: var(--ease);
}

/* ---------- Reset e base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 0 0, rgb(225 29 36 / 7%), transparent 30rem),
        radial-gradient(circle at 100% 0, rgb(0 87 184 / 8%), transparent 32rem),
        linear-gradient(180deg, #fff 0%, var(--bg) 100%);
    color: var(--text-soft);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.loading {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

ul {
    list-style: none;
}

button,
input {
    color: inherit;
    font: inherit;
}

button {
    border: 0;
    background: none;
    cursor: pointer;
}

main {
    display: block;
}

.section-group {
    scroll-margin-top: var(--header-height);
}

/* ---------- Animações ---------- */
@keyframes loader-progress {
    to { width: 100%; }
}

@keyframes whatsapp-pulse {
    50% {
        box-shadow:
            0 6px 28px rgb(37 211 102 / 55%),
            0 0 0 10px rgb(37 211 102 / 10%);
    }
}

/* ---------- Preloader ---------- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    background: var(--surface);
    transition: opacity .45s ease, visibility .45s ease;
}

#preloader.hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    width: min(82vw, 400px);
    text-align: center;
}

.loader-logo-gif {
    width: 100%;
    max-height: 190px;
    margin-inline: auto;
    object-fit: contain;
}

.loader-bar {
    width: min(220px, 70%);
    height: 3px;
    margin: 10px auto 0;
    overflow: hidden;
    border-radius: 999px;
    background: var(--border);
}

.loader-progress {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--red), var(--blue), var(--green));
    animation: loader-progress 1.5s var(--ease) forwards;
}

/* ---------- SEARCH BAR ---------- */
#searchBar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateY(-100%);
    transition: transform 0.5s var(--transition);
}

#searchBar.active {
    transform: translateY(0);
}

.search-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

#searchForm {
    flex: 1;
    display: flex;
    gap: 12px;
}

#searchForm input {
    flex: 1;
    background: #ffffff;
    border: 1px solid var(--border-lighter);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    outline: none;
    color: var(--text-primary);
    font-size: 18px;
    letter-spacing: 0.05em;
}

#searchForm input::placeholder {
    color: var(--text-muted);
}

.btn-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.btn-search:hover {
    background: var(--text-primary);
    color: #ffffff;
}

.btn-close-search {
    font-size: 20px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.btn-close-search:hover {
    color: var(--text-primary);
}

/* ---------- HEADER ---------- */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-lighter);
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(26, 21, 18, 0.08);
    border-bottom-color: transparent;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo-link {
    display: inline-flex;
    align-items: center;
    z-index: 110;
}

.logo {
    display: flex;
    align-items: center;
    width: 200px;
    height: 52px;
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.logo-accent {
    color: var(--text-secondary);
    font-weight: 400;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    z-index: 110;
    padding: 8px;
}

.menu-toggle .label-open,
.menu-toggle .label-close {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    transition: opacity 0.3s ease;
}

.menu-toggle .label-close {
    display: none;
}

.menu-toggle.active .label-open { display: none; }
.menu-toggle.active .label-close { display: block; }

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.4s var(--transition);
    transform-origin: center;
}

.menu-toggle.active .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Navigation */
.nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    width: 100%;
    flex: 1;
    margin-left: 32px;
    min-width: 0;
}

.nav-top, .nav-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-bottom {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    justify-content: flex-end;
    flex-shrink: 0;
}

.nav-top {
    width: auto;
    justify-content: flex-start;
    flex-shrink: 1;
    min-width: 0;
}

.nav-top .nav-left,
.nav-bottom .nav-left {
    flex-wrap: nowrap;
}

.nav-left {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-item > a:hover {
    color: var(--text-primary);
    background: var(--accent-soft);
}

.nav-item > a i.fa-chevron-down {
    font-size: 8px;
    transition: transform 0.3s ease;
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s var(--transition);
    box-shadow: var(--shadow-card);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-dropdown:hover > a i.fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.2s ease;
}


.dropdown-cities {
    min-width: 240px;
}

.dropdown-cities a {
    white-space: nowrap;
}

.dropdown-menu a:hover {
    color: var(--text-primary);
    background: var(--accent-soft);
    padding-left: 24px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--text-muted);
    font-size: 13px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--text-primary);
}

.btn-portal {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: var(--brand-blue);
    color: #ffffff;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
    box-shadow: 0 10px 22px rgba(26, 21, 18, 0.12);
}

.btn-portal:hover {
    background: var(--brand-green);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(22, 163, 74, 0.28);
}

.nav-search-btn a {
    padding: 8px 10px !important;
}

/* Mobile Menu Overlay */
#menuMobile {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(26, 21, 18, 0.28);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#menuMobile.active {
    opacity: 1;
    visibility: visible;
}

/* ---------- Componentes compartilhados ---------- */
.section-kicker {
    width: fit-content;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.25;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    width: 24px;
    height: 2px;
    flex: 0 0 auto;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--red), var(--blue), var(--green));
}

.section-title {
    margin-bottom: 16px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(28px, 7vw, 42px);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.08;
}

.section-title span {
    color: var(--blue);
}

.section-text {
    margin-bottom: 24px;
    color: var(--text-soft);
    line-height: 1.75;
}

.btn-primary,
.btn-secondary,
.btn-small {
    position: relative;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    font-weight: 700;
    transition: transform .25s ease, color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.btn-primary {
    padding: 14px 30px;
    border-radius: var(--radius-md);
    background: var(--red);
    box-shadow: 0 16px 36px rgb(225 29 36 / 36%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 14px 28px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.btn-secondary:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
    transform: translateY(-2px);
}

.btn-small {
    margin-top: 18px;
    padding: 8px 16px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    color: var(--blue-dark);
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.btn-small:hover {
    border-color: var(--blue);
    background: var(--blue-soft);
    transform: translateY(-1px);
}

/* ---------- Hero da cidade ---------- */
.city-detail-hero,
.city-detail-section,
.city-service-board,
.city-app-section,
.city-card-section,
.city-contact-map,
.city-next-section {
    width: min(calc(100% - 28px), var(--page-width));
    margin-inline: auto;
}


.city-detail-hero {
    --city-hero-bg: url("../images/TranslocaveMongagua.png");

    position: relative;
    isolation: isolate;
    min-height: 620px;
    margin-top: calc(var(--header-height) + 18px);
    padding: 28px;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 26px;
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: var(--radius-lg);
    background: #082f64;
    box-shadow: 0 24px 58px rgb(8 47 100 / 28%);
    color: #fff;
}

/* Imagem do ônibus desfocada ocupando todo o fundo do hero */
.city-detail-hero::before {
    content: "";
    position: absolute;
    inset: 14px;
    z-index: 0;
    background-image: var(
        --city-hero-bg,
        url("../images/TranslocaveMongagua.png")
    );
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(0.5px);
    opacity: 100%;
    transform: scale(1.12);
    will-change: transform;
    pointer-events: none;
}

/* Camada de contraste sobre a imagem desfocada */
.city-detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            135deg,
            rgb(17 24 39 / 74%),
            rgb(8 47 100 / 48%) 46%,
            rgb(225 29 36 / 22%)
        ),
        radial-gradient(
            circle at 12% 16%,
            rgb(225 29 36 / 22%),
            transparent 18rem
        ),
        radial-gradient(
            circle at 90% 80%,
            rgb(22 163 74 / 18%),
            transparent 20rem
        );
}

.city-detail-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.breadcrumb {
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: rgb(255 255 255 / 76%);
    font-size: 12px;
}

.breadcrumb a {
    color: inherit;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb i {
    font-size: 8px;
    opacity: .65;
}

.city-detail-hero .section-kicker,
.city-detail-hero .breadcrumb,
.city-detail-hero .breadcrumb a {
    color: rgb(255, 255, 255);
}

.city-detail-hero h1 {
    max-width: 760px;
    margin-bottom: 18px;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(38px, 11vw, 72px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: .98;
}

.city-detail-hero p {
    max-width: 650px;
    margin-bottom: 26px;
    color: rgb(255 255 255 / 84%);
    font-size: clamp(15px, 4vw, 18px);
    line-height: 1.7;
}

.city-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.city-detail-actions > a {
    width: 100%;
}

.city-detail-hero .btn-secondary {
    border-color: rgb(255 255 255 / 34%);
    background: rgb(255 255 255 / 9%);
    color: #fff;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.city-detail-hero .btn-secondary:hover {
    border-color: #fff;
    background: #fff;
    color: var(--blue-dark);
}

/* ---------- Informações locais ---------- */
.city-detail-section {
    margin-top: 36px;
    margin-bottom: 36px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    content-visibility: auto;
    contain-intrinsic-size: auto 760px;
}

.city-detail-heading {
    max-width: 860px;
    margin-bottom: 28px;
}

.city-detail-heading .section-text {
    max-width: 760px;
    margin-bottom: 0;
}

.city-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.city-detail-feature {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(145deg, rgb(0 87 184 / 5%), transparent 65%),
        var(--surface-muted);
}

.city-detail-feature > i {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    color: var(--blue);
    font-size: 19px;
}

.city-detail-feature h3 {
    margin-bottom: 8px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1.25;
}

.city-detail-feature p {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.7;
}

/* ---------- Tarifas ---------- */
.city-service-board {
    margin-top: 56px;
    margin-bottom: 36px;
    padding: 26px;
    display: grid;
    gap: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    content-visibility: auto;
    contain-intrinsic-size: auto 620px;
}

.service-board-copy h2,
.app-copy h2,
.operation-card h2,
.contact-panel h2,
.city-next-section h2 {
    margin-bottom: 14px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(28px, 7vw, 44px);
    letter-spacing: -.035em;
    line-height: 1.08;
}

.service-board-copy p,
.app-copy > p,
.operation-card p {
    color: var(--text-soft);
    line-height: 1.75;
}

.fare-grid {
    display: grid;
    gap: 12px;
}

.fare-card {
    min-height: 164px;
    padding: 20px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface-muted);
}

.fare-card i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    color: var(--blue);
    font-size: 18px;
}

.fare-card span {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.45;
}

.fare-card strong {
    grid-column: 1 / -1;
    color: #0057b8;
    font-family: var(--font-display);
    font-size: clamp(36px, 10vw, 52px);
    letter-spacing: -.05em;
    line-height: 1;
}

/* ---------- Aplicativo ---------- */
.app-copy > p {
    margin-bottom: 22px;
}

.city-app-section {
    margin-bottom: 36px;
    padding: 26px;
    display: grid;
    gap: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 8% 10%, rgb(0 87 184 / 12%), transparent 18rem),
        radial-gradient(circle at 92% 90%, rgb(22 163 74 / 11%), transparent 20rem),
        var(--surface);
    box-shadow: var(--shadow-sm);
    content-visibility: auto;
    contain-intrinsic-size: auto 920px;
}

.app-actions {
    display: grid;
    gap: 10px;
}

.store-button {
    width: 100%;
    min-height: 58px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: var(--radius-md);
    background: var(--ink);
    color: #fff;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.store-button:hover {
    background: var(--blue);
    box-shadow: 0 16px 34px rgb(0 87 184 / 24%);
    transform: translateY(-2px);
}

.store-button i {
    font-size: 24px;
}

.store-button span {
    display: flex;
    flex-direction: column;
    color: rgb(255 255 255 / 75%);
    font-size: 11px;
    line-height: 1.2;
}

.store-button strong {
    color: #fff;
    font-size: 14px;
}

.city-app-list {
    display: grid;
    gap: 12px;
}

.city-app-list article {
    min-height: 180px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface-muted);
}

.city-app-list i {
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 18px;
}

.city-app-list h3 {
    margin-bottom: 7px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 19px;
}

.city-app-list p {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.65;
}

/* ---------- Cartão e vale-transporte ---------- */
.city-card-section {
    margin-bottom: 36px;
    display: grid;
    gap: 16px;
    content-visibility: auto;
    contain-intrinsic-size: auto 1000px;
}

.operation-card {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.operation-card p {
    margin-bottom: 20px;
}

.operation-card-accent {
    background: linear-gradient(135deg, rgb(8 47 100 / 98%), rgb(0 87 184 / 92%));
    color: #fff;
}

#cartao .operation-card-accent {
    padding: clamp(34px, 5vw, 56px);
    text-align: center;
}

#cartao .operation-card-accent h2 {
    margin-bottom: 20px;
    font-size: clamp(28px, 3vw, 40px);
}

#cartao .operation-card-accent > p {
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.75;
}

.operation-card-accent h2,
.operation-card-accent .section-kicker,
.operation-card-accent p {
    color: #fff;
}

.operation-card-accent-text {
    color: rgb(255, 255, 255) !important;
}

.operation-card-accent .webcommerce-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 24px 4px;
    padding: 11px 180px;
    border: 1px solid rgb(255 255 255 / 45%);
    border-radius: 999px;
    background: rgb(255 255 255 / 14%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.operation-card-accent .webcommerce-button:hover {
    background: rgb(255 255 255 / 26%);
    border-color: rgb(255 255 255 / 75%);
    transform: translateY(-1px);
}

.operation-card-accent .card-withdrawal-note {
    display: block;
    margin-top: 18px;
    text-align: center;
}

.info-box {
    margin-bottom: 20px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-muted);
}

.info-box i {
    margin-top: 3px;
    color: var(--red);
    font-size: 19px;
}

.info-box strong,
.info-box span {
    display: block;
}

.info-box strong {
    margin-bottom: 3px;
    color: var(--text);
}

.info-box span {
    color: var(--text-soft);
    line-height: 1.55;
}

.check-list {
    display: grid;
    gap: 10px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--text-soft);
    line-height: 1.5;
}

.check-list i {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    margin-top: 1px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    font-size: 10px;
}

.small-note {
    margin: 18px 0 14px !important;
    color: rgb(255, 255, 255) !important;
    font-size: 14px;
}

.guide-links {
    display: grid;
    gap: 8px;
}

.guide-links a {
    width: 100%;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgb(255 255 255 / 12%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    transition: background .2s ease, transform .2s ease;
}

.guide-links a:hover {
    background: rgb(255 255 255 / 22%);
    transform: translateY(-1px);
}

/* ---------- Contato e mapa ---------- */
.city-contact-map {
    margin-bottom: 36px;
    display: grid;
    gap: 16px;
    content-visibility: auto;
    contain-intrinsic-size: auto 980px;
}

.contact-panel,
.map-panel {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.contact-panel {
    padding: 26px;
}

.contact-panel h2 {
    margin-bottom: 22px;
}

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

.contact-grid article {
    padding: 16px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-muted);
}

.contact-grid i {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--surface);
    color: var(--red);
}

.contact-grid strong {
    margin-bottom: 3px;
    color: var(--text);
}

.contact-grid span,
.contact-grid a {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--text-soft);
    line-height: 1.55;
}

.contact-grid a:hover {
    color: var(--blue);
}

.map-panel iframe {
    width: 100%;
    min-height: 360px;
    height: 100%;
    display: block;
    border: 0;
}

/* ---------- Próxima página ---------- */
.city-next-section {
    margin-bottom: 56px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgb(225 29 36 / 9%), rgb(0 87 184 / 10%)),
        var(--surface);
    content-visibility: auto;
    contain-intrinsic-size: auto 300px;
}

.city-next-section .btn-secondary {
    width: 100%;
}

/* ---------- FOOTER ---------- */
#footer {
    border-top: 1px solid var(--border-lighter);
    background: #f8fafc;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo .logo {
    width: 200px;
    height: 52px;
    max-height: 52px;
}

.footer-about p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--text-primary);
    border-color: var(--border-mid);
    background: var(--accent-soft);
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.footer-col ul a:hover {
    color: var(--text-primary);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-item i {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-item span {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid var(--border-lighter);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--text-primary);
}

/* ---------- HEADER E FOOTER — REFINAMENTOS DE MARCA ---------- */
.nav-item > a:hover,
.dropdown-menu a:hover {
    background: var(--blue-soft);
    color: var(--brand-blue-dim);
}

.social-icon[aria-label="Instagram"]:hover,
.footer-social a[aria-label="Instagram"]:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #e11d24;
}

.social-icon[aria-label="Facebook"]:hover,
.footer-social a[aria-label="Facebook"]:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #0057b8;
}

.social-icon[aria-label="LinkedIn"]:hover,
.footer-social a[aria-label="LinkedIn"]:hover,
.footer-social a[aria-label="YouTube"]:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #16a34a;
}

/* Ícones sociais do cabeçalho permanecem sem fundo circular. */
.social-icon[aria-label="Instagram"]:hover,
.social-icon[aria-label="Facebook"]:hover,
.social-icon[aria-label="LinkedIn"]:hover {
    background: transparent;
    border-color: transparent;
}

#footer {
    background:
        linear-gradient(90deg, rgba(225, 29, 36, 0.07), rgba(0, 87, 184, 0.07), rgba(22, 163, 74, 0.07)),
        #f8fafc;
}

/* ---------- Botões flutuantes e toast ---------- */
.whatsapp-float,
.back-to-top {
    position: fixed;
    z-index: 180;
    display: grid;
    place-items: center;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .2s ease;
}

.whatsapp-float {
    right: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
    background: #25d366;
    box-shadow: 0 6px 24px rgb(37 211 102 / 42%);
    color: #fff;
    font-size: 27px;
    transform: scale(.75);
}

.whatsapp-float.show {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

.back-to-top {
    right: 26px;
    bottom: 88px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    background: rgb(255 255 255 / 94%);
    box-shadow: var(--shadow-sm);
    color: var(--text-soft);
    transform: translateY(14px);
}

.back-to-top.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
}

#toast {
    position: fixed;
    inset: auto 16px 88px;
    z-index: 400;
    visibility: hidden;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    background: var(--text);
    box-shadow: 0 18px 40px rgb(17 24 39 / 22%);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .3s ease, visibility .3s ease, transform .3s var(--ease);
}

#toast.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Acessibilidade ---------- */
:focus-visible {
    outline: 3px solid rgb(0 87 184 / 52%);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ---------- Tablet ---------- */
@media (min-width: 600px) {
    .city-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .city-detail-feature:last-child {
        grid-column: 1 / -1;
    }

    .city-detail-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .city-detail-actions > a {
        width: auto;
    }

    .fare-grid,
    .city-app-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fare-card:last-child {
        grid-column: 1 / -1;
    }

    .app-actions,
    .guide-links {
        display: flex;
        flex-wrap: wrap;
    }

    .store-button {
        width: auto;
        min-width: 190px;
    }

    .guide-links a {
        width: auto;
    }

    

    

    
}

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    .city-detail-hero,
    .city-detail-section,
    .city-service-board,
    .city-app-section,
    .city-card-section,
    .city-contact-map,
    .city-next-section {
        width: min(calc(100% - clamp(32px, 6vw, 96px)), var(--page-width));
    }

    .city-detail-hero {
        min-height: clamp(520px, 66vh, 700px);
        margin-top: calc(var(--header-height) + 18px);
        padding: clamp(34px, 5vw, 68px);
        grid-template-columns: minmax(0, 1fr);
        gap: clamp(28px, 5vw, 68px);
        border-radius: var(--radius-xl);
    }

    .city-detail-hero .city-detail-copy {
        max-width: 760px;
    }

    .city-detail-section {
        padding: clamp(34px, 5vw, 58px);
    }

    .city-detail-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .city-detail-feature,
    .city-detail-feature:last-child {
        grid-column: auto;
        min-height: 245px;
    }

    .city-service-board {
        margin-top: clamp(58px, 8vw, 104px);
        padding: clamp(30px, 5vw, 54px);
        grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
        align-items: center;
    }

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

    .fare-card,
    .fare-card:last-child {
        min-height: 190px;
        padding: 22px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: space-between;
        grid-column: auto;
    }

    .fare-card strong {
        grid-column: auto;
    }

    .city-app-section {
        padding: clamp(38px, 6vw, 80px);
        grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
        gap: clamp(30px, 5vw, 62px);
        align-items: center;
    }

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

    .operation-card,
    .contact-panel {
        padding: clamp(30px, 4vw, 44px);
    }

    .city-contact-map {
        grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
        align-items: stretch;
    }

    .map-panel iframe {
        min-height: 520px;
    }

    .city-next-section {
        margin-bottom: clamp(60px, 8vw, 104px);
        padding: clamp(30px, 5vw, 50px);
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .city-next-section .btn-secondary {
        width: auto;
        flex: 0 0 auto;
    }

    

    

    

    #toast {
        right: auto;
        bottom: 94px;
        left: 50%;
        width: max-content;
        max-width: min(90vw, 720px);
        transform: translate(-50%, 14px);
    }

    #toast.show {
        transform: translate(-50%, 0);
    }
}

@media (min-width: 1100px) {
    

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

    

    
}

@media (min-width: 769px) and (max-width: 1180px) {
    

    

    

    

    

    
}

/* =========================================================
   HEADER E FOOTER RESPONSIVOS — PADRÃO GLOBAL
   Fonte: styles.css principal
   ========================================================= */

@media (max-width: 1200px) {
    .nav {
            margin-left: 20px;
            gap: 10px;
        }

    .nav-item > a {
            padding-inline: 8px;
            letter-spacing: 0.04em;
            font-size: 10.5px;
        }

    .btn-portal span {
            display: none;
        }
}

@media (max-width: 1024px) {
    .footer-top {
            grid-template-columns: repeat(3, 1fr);
        }

    .footer-about {
            grid-column: span 3;
        }
}

@media (max-width: 768px) {
    :root {
            --header-height: 64px;
        }

    .menu-toggle {
            display: flex;
        }

    #nav {
            position: fixed;
            top: 0;
            right: 0;
            width: 85%;
            max-width: 360px;
            height: 100vh;
            height: 100dvh;
            background: #ffffff;
            border-left: 1px solid var(--border-light);
            padding: 100px 24px 40px;
            flex-direction: column;
            align-items: stretch;
            justify-content: flex-start;
            gap: 0;
            overflow-y: auto;
            transform: translateX(100%);
            transition: transform 0.5s var(--transition);
            z-index: 105;
            box-shadow: -20px 0 40px rgba(26, 21, 18, 0.12);
            margin-left: 0;
        }

    #nav.active {
            transform: translateX(0);
        }

    .nav-top,
        .nav-bottom {
            width: 100%;
            flex-direction: column;
            align-items: stretch;
        }

    .nav-top,
        .nav-left {
            width: 100%;
            align-items: stretch;
        }

    .nav-left {
            flex-direction: column;
            justify-content: flex-start;
            flex-wrap: nowrap;
        }

    .nav-bottom .nav-left {
            flex-direction: row;
            align-items: center;
            gap: 10px;
        }

    .nav-bottom {
            border-top: 1px solid var(--border-lighter);
            margin-top: 16px;
            padding-top: 16px;
        }

    .nav-item > a {
            padding: 12px 0;
            font-size: 14px;
        }

    .nav-search-btn a {
            padding: 12px 0 !important;
        }

    .dropdown-menu {
            position: static;
            opacity: 1;
            visibility: visible;
            transform: none;
            background: transparent;
            backdrop-filter: none;
            border: none;
            border-radius: 0;
            padding: 0 0 0 16px;
            box-shadow: none;
            display: none;
        }

    .has-dropdown.mobile-open .dropdown-menu {
            display: block;
        }

    .nav-right {
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid var(--border-lighter);
            justify-content: flex-start;
        }

    .btn-portal {
            width: 100%;
            justify-content: center;
        }

    .btn-portal span {
            display: inline;
        }

    #menuMobile {
            display: block;
        }

    .footer-top {
            grid-template-columns: 1fr 1fr;
            gap: 32px;
        }

    .footer-about {
            grid-column: span 2;
        }

    .footer-contact {
            grid-column: span 2;
        }

    .footer-bottom {
            flex-direction: column;
            gap: 12px;
            text-align: center;
        }
}

@media (max-width: 480px) {
    .footer-top {
            grid-template-columns: 1fr;
        }

    .footer-about,
        .footer-contact {
            grid-column: span 1;
        }
}

@media (min-width: 769px) {
    #header {
            height: var(--header-height);
        }

    .header-inner {
            display: grid;
            grid-template-columns: auto minmax(0, 1fr);
            align-items: center;
            column-gap: clamp(20px, 3vw, 48px);
            min-height: var(--header-height);
        }

    .logo-link,
        .logo {
            flex-shrink: 0;
        }

    #nav.nav,
        #nav {
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            justify-content: flex-end !important;
            gap: clamp(14px, 1.8vw, 28px) !important;
            width: 100% !important;
            height: var(--header-height) !important;
            margin-left: 0 !important;
            min-width: 0 !important;
        }

    #nav .nav-top,
        #nav .nav-bottom {
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            justify-content: flex-end !important;
            width: auto !important;
            height: var(--header-height) !important;
            margin: 0 !important;
            padding: 0 !important;
            border: 0 !important;
            gap: 10px !important;
            flex-shrink: 0;
        }

    #nav .nav-top {
            flex: 1 1 auto;
            min-width: 0;
        }

    #nav .nav-bottom {
            flex: 0 0 auto;
        }

    #nav .nav-left,
        #nav .nav-right,
        #nav .nav-bottom .nav-left,
        #nav .nav-top .nav-left {
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            justify-content: flex-end !important;
            flex-wrap: nowrap !important;
            width: auto !important;
            gap: 6px !important;
        }

    #nav .nav-item,
        #nav .social-icon,
        #nav .btn-portal {
            flex: 0 0 auto;
        }

    #nav .nav-item > a {
            height: 40px;
            padding: 0 10px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
        }

    #nav .nav-search-btn a {
            width: 36px;
            height: 36px;
            padding: 0 !important;
        }

    #nav .social-icon {
            width: 36px;
            height: 36px;
        }

    #nav .btn-portal {
            height: 40px;
            padding: 0 20px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
            white-space: nowrap;
        }
}

@media (min-width: 769px) and (max-width: 1180px) {
    .header-inner {
            padding-inline: 18px;
            column-gap: 18px;
        }

    #nav {
            gap: 10px !important;
        }

    #nav .nav-top,
        #nav .nav-bottom {
            gap: 6px !important;
        }

    #nav .nav-item > a {
            padding-inline: 7px;
            font-size: 10px;
            letter-spacing: 0.035em;
        }

    #nav .social-icon,
        #nav .nav-search-btn a {
            width: 32px;
            height: 32px;
        }

    #nav .btn-portal {
            width: 40px;
            height: 40px;
            padding: 0;
            border-radius: 12px;
        }

    #nav .btn-portal span {
            display: none;
        }
}

/* ---------- GLOBAL SITE SEARCH RESULTS ---------- */
#searchBar {
    max-height: 100dvh;
    overflow-y: auto;
}

#searchForm input:focus-visible,
.btn-search:focus-visible,
.btn-close-search:focus-visible,
.search-result-link:focus-visible {
    outline: 3px solid rgba(0, 87, 184, 0.28);
    outline-offset: 2px;
}

.search-results {
    width: min(calc(100% - 48px), var(--max-width));
    max-height: min(68dvh, 560px);
    margin: 0 auto 18px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.search-results[hidden] {
    display: none;
}

.search-results-header {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border-lighter);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-secondary);
    font-size: 13px;
}

.search-results-header strong {
    color: var(--text-primary);
}

.search-results-list {
    list-style: none;
}

.search-result-item + .search-result-item {
    border-top: 1px solid var(--border-lighter);
}

.search-result-link {
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    color: inherit;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.search-result-link:hover,
.search-result-link:focus-visible {
    background: var(--bg-card-hover);
}

.search-result-title {
    font-family: var(--font-display);
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.search-result-url {
    color: var(--brand-blue-dim);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.search-result-description {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.55;
}

.search-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 96px;
    padding: 20px;
    color: var(--text-secondary);
    text-align: center;
}

.search-status i {
    color: var(--brand-blue);
}

@media (max-width: 640px) {
    .search-inner {
        align-items: stretch;
        padding: 12px;
    }

    #searchForm {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 8px;
    }

    #searchForm input {
        min-width: 0;
        padding: 11px 12px;
        font-size: 16px;
    }

    .btn-search {
        padding-inline: 14px;
    }

    .btn-search i {
        margin: 0;
    }

    .search-results {
        width: calc(100% - 24px);
        margin-bottom: 12px;
        max-height: 70dvh;
    }

    .search-result-link {
        padding: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #searchBar,
    .search-result-link {
        transition: none;
    }
}

/* =========================================================
   HERO MONGAGUÁ — CONTRASTE, TIPOGRAFIA E BREADCRUMB
   ========================================================= */
.city-detail-hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(560px, 68vh, 720px);
    padding: clamp(96px, 11vw, 132px) clamp(28px, 5vw, 72px) clamp(44px, 6vw, 78px);
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #071523;
    box-shadow: 0 26px 70px rgb(8 47 100 / 26%);
    color: #fff;
}

.city-detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--city-hero-bg, url("../images/TranslocaveMongagua.png"));
    background-position: var(--city-hero-position, center center);
    background-size: cover;
    background-repeat: no-repeat;
    filter: none;
    opacity: 1;
    transform: none;
    pointer-events: none;
}

.city-detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgb(5 15 27 / 92%) 0%,
            rgb(6 21 38 / 82%) 32%,
            rgb(7 26 44 / 62%) 54%,
            rgb(7 25 42 / 28%) 76%,
            rgb(7 20 34 / 10%) 100%
        ),
        linear-gradient(
            180deg,
            rgb(2 8 15 / 18%) 0%,
            transparent 46%,
            rgb(2 8 15 / 30%) 100%
        );
}

.city-detail-hero > .breadcrumb {
    position: absolute;
    top: clamp(24px, 3.5vw, 44px);
    left: clamp(28px, 5vw, 72px);
    right: clamp(28px, 5vw, 72px);
    z-index: 3;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: rgb(255 255 255 / 82%);
    font-size: 13px;
    line-height: 1.4;
}

.city-detail-copy > .breadcrumb {
    display: none;
}

.city-detail-hero > .breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.city-detail-hero > .breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.city-detail-hero > .breadcrumb i {
    font-size: 8px;
    opacity: .72;
}

.city-detail-copy {
    position: relative;
    z-index: 2;
    width: min(100%, 800px);
    min-width: 0;
}

.city-detail-hero .section-kicker {
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(11px, 1vw, 13px);
    letter-spacing: .12em;
    text-shadow: 0 2px 12px rgb(0 0 0 / 45%);
}

.city-detail-hero h1 {
    max-width: 900px;
    margin-bottom: 20px;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(44px, 5.8vw, 84px);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: .98;
    text-wrap: balance;
    text-shadow: 0 4px 22px rgb(0 0 0 / 42%);
}

.city-detail-hero p {
    max-width: 700px;
    margin-bottom: 30px;
    color: rgb(255 255 255 / 94%);
    font-size: clamp(16px, 1.45vw, 21px);
    font-weight: 400;
    line-height: 1.55;
    text-shadow: 0 2px 14px rgb(0 0 0 / 48%);
}

.city-detail-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.city-detail-actions > a {
    width: auto;
    min-height: 54px;
    padding-inline: clamp(20px, 2.4vw, 30px);
    border-radius: 12px;
    box-shadow: 0 14px 30px rgb(0 0 0 / 24%);
}

.city-detail-hero .btn-primary {
    border: 1px solid rgb(255 255 255 / 8%);
    background: var(--red);
    color: #fff;
}

.city-detail-hero .btn-primary:hover {
    background: var(--red-dark);
    box-shadow: 0 18px 38px rgb(225 29 36 / 36%);
}

.city-detail-hero .btn-secondary {
    border: 1px solid rgb(255 255 255 / 72%);
    background: rgb(255 255 255 / 94%);
    color: #111827;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.city-detail-hero .btn-secondary:hover {
    border-color: #fff;
    background: #fff;
    color: var(--blue-dark);
    box-shadow: 0 18px 38px rgb(0 0 0 / 24%);
}

@media (max-width: 768px) {
    .city-detail-hero {
        min-height: 600px;
        padding: 102px 24px 42px;
        align-items: flex-end;
    }

    .city-detail-hero::before {
        background-position: var(--city-hero-mobile-position, 60% center);
    }

    .city-detail-hero::after {
        background:
            linear-gradient(
                90deg,
                rgb(5 15 27 / 92%) 0%,
                rgb(6 21 38 / 78%) 58%,
                rgb(7 25 42 / 42%) 100%
            ),
            linear-gradient(
                180deg,
                rgb(2 8 15 / 12%) 0%,
                rgb(2 8 15 / 24%) 42%,
                rgb(2 8 15 / 64%) 100%
            );
    }

    .city-detail-hero > .breadcrumb {
        top: 24px;
        left: 24px;
        right: 24px;
        font-size: 12px;
    }

    .city-detail-hero h1 {
        font-size: clamp(40px, 12vw, 60px);
    }

    .city-detail-hero p {
        font-size: 16px;
        line-height: 1.6;
    }

    .city-detail-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .city-detail-actions > a {
        width: 100%;
    }
}
