*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Space Grotesk', 'Poppins', system-ui, sans-serif;
    background: #f3f4f6;
    color: #0f172a;
}
header {
    background: #e2e8f0;
    padding: 0.8rem 1.2rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}
header .inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
header img { height: 36px; }
header .title {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
header .title h1 {
    margin: 0;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
header .title span {
    font-size: 0.85rem;
    color: #475569;
}
main {
    max-width: 1040px;
    margin: 1.5rem auto 2.5rem;
    padding: 0 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.card {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1.6rem 1.8rem;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}
.card h2 {
    margin: 0 0 1.1rem;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.7);
}
.muted {
    color: #64748b;
    font-size: 0.88rem;
    margin-bottom: 1.1rem;
}
.metric-card {
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 0;
    background: #f1f5f9;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
    width: 100%;
    overflow: hidden;
}
.metric-card + .metric-card {
    margin-top: 1.25rem;
}
.metric-card.population-card {
    background: #fef3c7;
    padding: 0;
    margin-top: 1.25rem;
}
.metric-card.population-card .metric-header {
    background: #7f1d1d;
    color: #f8fafc;
    padding: 0.8rem 1rem;
    margin: 0;
    border-radius: 1rem 1rem 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.metric-card.population-card .metric-header .title {
    color: #f8fafc;
    flex: 1;
}
.metric-card.population-card .metric-header .brazil-value {
    color: #f8fafc;
    order: 2;
}
.metric-card.population-card .metric-header .city-access-btn {
    order: 1;
}
.metric-card.population-card .bar-wrapper {
    padding: 3rem;
    margin-top: 5rem;
}
.metric-card.population-card .population-cards-container {
    padding: 0 1rem 1rem;
}
.metric-card.idh-card {
    background: #dbeafe;
}
.metric-card.idh-card .metric-header {
    background: #1e40af;
    color: #f8fafc;
    padding: 0.8rem 1rem;
    margin: 0;
    border-radius: 1rem 1rem 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.metric-card.idh-card .metric-header .title {
    color: #f8fafc;
    flex: 1;
}
.metric-card.idh-card .metric-header .brazil-value {
    color: #f8fafc;
    order: 2;
}
.metric-card.idh-card .bar-wrapper {
    padding: 3rem;
    margin-top: 5rem;
}
.metric-card.idh-card .ranking-cards-container {
    padding: 0 1rem 1rem;
}
.metric-card.area-card {
    background: #dcfce7;
}
.metric-card.area-card .metric-header {
    background: #166534;
    color: #f8fafc;
    padding: 0.8rem 1rem;
    margin: 0;
    border-radius: 1rem 1rem 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.metric-card.area-card .metric-header .title {
    color: #f8fafc;
    flex: 1;
}
.metric-card.area-card .metric-header .brazil-value {
    color: #f8fafc;
    order: 2;
}
.metric-card.area-card .bar-wrapper {
    padding: 3rem;
    margin-top: 5rem;
}
.metric-card.area-card .ranking-cards-container {
    padding: 0 1rem 1rem;
}
.metric-card.schooling-card {
    background: #fce7f3;
}
.metric-card.schooling-card .metric-header {
    background: #9d174d;
    color: #f8fafc;
    padding: 0.8rem 1rem;
    margin: 0;
    border-radius: 1rem 1rem 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.metric-card.schooling-card .metric-header .title {
    color: #f8fafc;
    flex: 1;
}
.metric-card.schooling-card .metric-header .brazil-value {
    color: #f8fafc;
    order: 2;
}
.metric-card.schooling-card .bar-wrapper {
    padding: 3rem;
    margin-top: 5rem;
}
.metric-card.schooling-card .ranking-cards-container {
    padding: 0 1rem 1rem;
}
.metric-card.infant-card {
    background: #ffedd5;
}
.metric-card.infant-card .metric-header {
    background: #c2410c;
    color: #f8fafc;
    padding: 0.8rem 1rem;
    margin: 0;
    border-radius: 1rem 1rem 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.metric-card.infant-card .metric-header .title {
    color: #f8fafc;
    flex: 1;
}
.metric-card.infant-card .metric-header .brazil-value {
    color: #f8fafc;
    order: 2;
}
.metric-card.infant-card .bar-wrapper {
    padding: 3rem;
    margin-top: 5rem;
}
.metric-card.infant-card .ranking-cards-container {
    padding: 0 1rem 1rem;
}
.metric-card.pib-card {
    background: #e0e7ff;
}
.metric-card.pib-card .metric-header {
    background: #4338ca;
    color: #f8fafc;
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.metric-card.pib-card .metric-header .title {
    color: #f8fafc;
    flex: 1;
}
.metric-card.pib-card .metric-header .brazil-value {
    color: #f8fafc;
    order: 2;
}
.metric-card.pib-card .bar-wrapper {
    padding: 3rem;
    margin-top: 5rem;
}
.metric-card.pib-card .ranking-cards-container {
    padding: 0 1rem 1rem;
}
.metric-card.vereadores-card {
    background: #fef9c3;
}
.metric-card.vereadores-card .metric-header {
    background: #854d0e;
    color: #f8fafc;
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.metric-card.vereadores-card .metric-header .title {
    color: #f8fafc;
    flex: 1;
}
.metric-card.vereadores-card .metric-header .brazil-value {
    color: #f8fafc;
    order: 2;
}
.metric-card.vereadores-card .bar-wrapper {
    padding: 3rem;
    margin-top: 5rem;
}
.metric-card.vereadores-card .ranking-cards-container {
    padding: 0 1rem 1rem;
}
.ranking-cards-container {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.population-cards-container {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.population-sub-card {
    flex: 1;
    background: #fff;
    border-radius: 0.75rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    overflow: hidden;
}
.population-sub-card .card-header {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.population-sub-card .card-header.red {
    background: #7f1d1d;
    color: #fff;
}
.population-sub-card .card-header.blue {
    background: #1e40af;
    color: #fff;
}
.population-sub-card .card-header.green {
    background: #166534;
    color: #fff;
}
.population-sub-card .card-header.pink {
    background: #9d174d;
    color: #fff;
}
.population-sub-card .card-header.orange {
    background: #c2410c;
    color: #fff;
}
.population-sub-card .card-header.indigo {
    background: #4338ca;
    color: #fff;
}
.population-sub-card .card-header.yellow {
    background: #854d0e;
    color: #fff;
}
.population-sub-card .card-body {
    padding: 1rem;
}
.population-sub-card h3 {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #475569;
}
.city-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.city-list li {
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    font-size: 0.85rem;
}
.city-list li:last-child {
    border-bottom: none;
}
.city-list a {
    color: #0f172a;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.city-list a:hover {
    color: #3b82f6;
}
.city-list .city-pop {
    font-weight: 600;
    color: #475569;
}
.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: #1e293b;
    padding: 0.8rem 1rem;
    margin: 0;
}
.metric-header .title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
}
.metric-header .value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ef4444;
    font-variant-numeric: tabular-nums;
}
.metric-header .brazil-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f8fafc;
    font-variant-numeric: tabular-nums;
}
.city-access-btn {
    background: #3b82f6;
    color: #fff;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    transition: background 0.2s;
}
.city-access-btn:hover {
    background: #2563eb;
}
.bar-wrapper {
    margin-top: 0.6rem;
    position: relative;
    padding: 8rem 0 1.5rem;
}
.bar-gradient {
    height: 16px;
    border-radius: 999px;
    background-image: linear-gradient(90deg, #dc2626 0%, #f59e0b 45%, #22c55e 100%);
    position: relative;
    overflow: visible;
    box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.2);
    width: 88%;
    margin: 0 auto;
}
.bar-gradient.secondary {
    background-image: linear-gradient(90deg, #38bdf8 0%, #22c55e 100%);
}
.bar-gradient.idh-gradient {
    background-image: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #22c55e 100%);
}
.bar-gradient.pib-gradient {
    background-image: linear-gradient(90deg, #ef4444 0%, #3b82f6 50%, #22c55e 100%);
}
.bar-gradient.infant-gradient {
    background-image: linear-gradient(90deg, #22c55e 0%, #3b82f6 50%, #ef4444 100%);
}
.bar-gradient.vereadores-gradient {
    background-image: linear-gradient(90deg, #ef4444 0%, #3b82f6 50%, #22c55e 100%);
}
.bar-ticks,
.bar-endcaps {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.bar-tick {
    position: absolute;
    top: -10px;
    width: 1px;
    height: 26px;
    background: rgba(15, 23, 42, 0.35);
}
.bar-tick span {
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: #475569;
    white-space: nowrap;
}
.bar-pointer {
    position: absolute;
    bottom: calc(100% + 12px);
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    position: absolute;
}
.bar-pointer.population-pointer {
    bottom: calc(100% + 12px);
}
.bar-pointer.idh-pointer {
    bottom: calc(100% + 2px);
    z-index: 3;
}
.bar-pointer.idh-brazil-pointer {
    top: calc(100% + 12px);
    bottom: auto;
    z-index: 2;
    flex-direction: column;
}
.bar-pointer.idh-brazil-pointer .stem {
    height: 12px;
}
.bar-pointer.idh-brazil-pointer .stem::after {
    bottom: auto;
    top: -4px;
    border-top: none;
    border-bottom: 5px solid rgba(34, 197, 94, 0.95);
}
.bar-pointer.idh-brazil-pointer .label {
    flex-direction: column;
}
.bar-pointer.idh-worst-pointer {
    bottom: calc(100% + 2px);
    z-index: 1;
}
.bar-pointer.idh-best-pointer {
    bottom: calc(100% + 2px);
    z-index: 4;
}
.bar-pointer.area-pointer {
    bottom: calc(100% + 12px);
}
.bar-pointer.schooling-pointer {
    bottom: calc(100% + 12px);
}
.bar-pointer.schooling-brazil-pointer {
    bottom: calc(100% + 35px);
}
.bar-pointer.infant-pointer {
    bottom: calc(100% + 12px);
}
.bar-pointer.infant-brazil-pointer {
    bottom: calc(100% + 35px);
}
.bar-pointer.pib-pointer {
    bottom: calc(100% + 8px);
}
.bar-pointer.pib-brazil-pointer {
    bottom: calc(100% + 25px);
}
.bar-pointer .label {
    font-size: 0.74rem;
    font-weight: 600;
    color: #0f172a;
    background: transparent;
    border-radius: 0.7rem;
    padding: 0.35rem 0.65rem;
    border: none;
    box-shadow: none;
    text-align: center;
    line-height: 1.2;
    white-space: normal;
}
.bar-pointer .label .label-city {
    display: block;
    background: #fff;
    border-radius: 0.5rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid rgba(15,23,42,0.12);
}
.bar-pointer .label .label-value {
    display: block;
    font-weight: 700;
    color: #334155;
    font-variant-numeric: tabular-nums;
    margin-top: 0;
    margin-bottom: 0.1rem;
    padding: 0;
    border: none;
    background: transparent;
}
.bar-pointer .label .label-value-top {
    display: block;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    margin-bottom: 0.1rem;
    padding: 0;
    border: none;
    background: transparent;
}
.bar-pointer.worst .head {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}
.bar-pointer.worst .stem::after {
    border-top-color: rgba(239, 68, 68, 0.95);
}
.bar-pointer.worst .stem {
    background: linear-gradient(180deg, rgba(239,68,68,0.95) 0%, rgba(239,68,68,0.7) 70%, rgba(239,68,68,0.4) 100%);
}
.bar-pointer.worst .label {
    border-color: rgba(239, 68, 68, 0.25);
}
.bar-pointer.best .head {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}
.bar-pointer.best .stem::after {
    border-top-color: rgba(34, 197, 94, 0.95);
}
.bar-pointer.best .stem {
    background: linear-gradient(180deg, rgba(34,197,94,0.95) 0%, rgba(34,197,94,0.7) 70%, rgba(34,197,94,0.4) 100%);
}
.bar-pointer.best .label {
    border-color: rgba(34, 197, 94, 0.25);
}
.bar-pointer.brazil .head {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}
.bar-pointer.brazil .stem::after {
    border-top-color: rgba(59, 130, 246, 0.95);
}
.bar-pointer.brazil .stem {
    background: linear-gradient(180deg, rgba(59,130,246,0.95) 0%, rgba(59,130,246,0.7) 70%, rgba(59,130,246,0.4) 100%);
}
.bar-pointer.brazil .label {
    border-color: rgba(59, 130, 246, 0.25);
}
.bar-pointer .label .label-sub {
    display: block;
    font-weight: 600;
    font-size: 0.68rem;
    color: #22c55e;
    margin-top: 0.1rem;
}
.bar-pointer-value {
    position: absolute;
    bottom: calc(100% + 45px);
    transform: translateX(-50%);
    font-size: 0.85rem;
    font-weight: 700;
    color: #ef4444;
    background: rgba(255,255,255,0.95);
    border-radius: 0.5rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.bar-pointer-value.brazil-value-display {
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.3);
}

.minmax-row {
    width: 88%;
    margin: 0.85rem auto 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.72rem;
    color: #475569;
}
.reference-item {
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 0.8rem;
    padding: 0.45rem 0.55rem;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
    max-width: 46%;
}
.reference-item .ref-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.62rem;
    color: rgba(15, 23, 42, 0.6);
    margin-bottom: 0.25rem;
}
.reference-item .ref-city {
    display: block;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.15rem;
}
.reference-item .ref-value {
    display: block;
    font-weight: 700;
    color: #334155;
    font-variant-numeric: tabular-nums;
}
.bar-pointer.brazil {
    top: calc(100% + 12px);
    bottom: auto;
    flex-direction: column-reverse;
}
.bar-pointer.brazil .label {
    margin-top: 4px;
}
.bar-pointer.brazil .stem::after {
    bottom: auto;
    top: -4px;
    border-top: none;
    border-bottom: 5px solid rgba(59, 130, 246, 0.95);
}
.bar-pointer .head {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 2px solid #0f172a;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.15);
}
.bar-pointer .stem {
    width: 2px;
    height: 12px;
    background: linear-gradient(180deg, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.6) 70%, rgba(15,23,42,0.35) 100%);
    position: relative;
}
.bar-pointer[style*="z-index: 3"] .stem {
    height: 12px;
}
.bar-pointer[style*="z-index: 2"] .stem {
    height: 20px;
}
.bar-pointer[style*="z-index: 1"] .stem {
    height: 58px;
}
.bar-pointer .stem::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(15, 23, 42, 0.95);
}
.bar-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #475569;
    margin-top: 1rem;
    width: 88%;
    margin-left: auto;
    margin-right: auto;
}
.bar-endcap {
    position: absolute;
    width: 2px;
    height: 28px;
    background: rgba(15, 23, 42, 0.5);
    top: -6px;
}
.bar-endcap.endcap-start { left: 0; }
.bar-endcap.endcap-end { right: 0; }
footer {
    text-align: center;
    padding: 1.5rem 1rem 2rem;
    font-size: 0.85rem;
    color: #64748b;
}
footer a {
    color: #1d4ed8;
    text-decoration: none;
    margin: 0 0.4rem;
}
.indicator-value {
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
}
.indicator-value-mismatch {
    color: #ef4444;
}
.indicator-comparison {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
}
.indicator-label-ibge {
    font-weight: 500;
}
.indicator-value-ibge {
    font-weight: 600;
    color: #334155;
}

.forum-attachment { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid rgba(255,255,255,0.12); }
.forum-attachment-header { font-weight: 700; letter-spacing: 0.2px; margin-bottom: 0.65rem; color: #0f172a; }
.forum-attachment-messages { display: grid; gap: 0.65rem; margin-bottom: 0.75rem; }
.forum-attachment-empty { color: #334155; font-size: 0.9rem; }
.forum-msg { padding: 0.65rem 0.75rem; border-radius: 0.85rem; background: rgba(241,245,249,0.9); border: 1px solid rgba(15,23,42,0.12); }
.forum-msg-meta { font-size: 0.82rem; color: #334155; margin-bottom: 0.35rem; display: flex; gap: 0.35rem; align-items: center; flex-wrap: wrap; }
.forum-msg-meta .dot { opacity: 0.6; }
.forum-msg-body { font-size: 0.92rem; line-height: 1.35; color: #0f172a; white-space: pre-wrap; }
.forum-msg-actions { display: flex; gap: 0.5rem; margin-top: 0.5rem; flex-wrap: wrap; }
.forum-action-btn { padding: 0.35rem 0.65rem; border-radius: 0.65rem; border: 1px solid rgba(15,23,42,0.18); background: rgba(255,255,255,0.95); color: #0f172a; font-size: 0.82rem; cursor: pointer; transition: all 0.2s; }
.forum-action-btn:hover { background: rgba(255,255,255,1); border-color: rgba(147,197,253,0.6); }
.forum-msg-edit { width: 100%; min-height: 60px; padding: 0.5rem; border-radius: 0.65rem; border: 1px solid rgba(15,23,42,0.18); background: rgba(255,255,255,0.95); color: #0f172a; font-size: 0.92rem; line-height: 1.35; resize: vertical; outline: none; }
.forum-msg-edit:focus { border-color: rgba(147,197,253,0.75); box-shadow: 0 0 0 3px rgba(147,197,253,0.18); }
.forum-attachment-actions { display: flex; flex-direction: column; gap: 0.5rem; }
.forum-attachment-login { color: #334155; font-size: 0.9rem; }
.forum-attachment-form textarea { width: 100%; resize: vertical; min-height: 2.4rem; border-radius: 0.85rem; border: 1px solid rgba(15,23,42,0.18); background: rgba(255,255,255,0.92); color: #0f172a; padding: 0.6rem 0.75rem; outline: none; }
.forum-attachment-form textarea:focus { border-color: rgba(147,197,253,0.75); box-shadow: 0 0 0 3px rgba(147,197,253,0.18); }
.forum-attachment-buttons { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; margin-top: 0.6rem; }
.forum-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; padding: 0.55rem 0.85rem; border-radius: 0.85rem; border: 1px solid rgba(15,23,42,0.18); background: rgba(255,255,255,0.92); color: #0f172a; text-decoration: none; cursor: pointer; font-weight: 600; }
.forum-btn:hover { background: rgba(255,255,255,0.98); }
.forum-btn.secondary { background: transparent; border-color: rgba(15,23,42,0.22); }
@media (max-width: 768px) {
    .city-access-btn {
        display: none !important;
    }
    .ranking-cards-container {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    .population-sub-card {
        flex: none !important;
        width: 100% !important;
    }
    .population-sub-card .card-header {
        font-size: 0.7rem !important;
        padding: 0.5rem 0.75rem !important;
    }
    .population-sub-card h3 {
        font-size: 0.75rem !important;
        margin-bottom: 0.5rem !important;
    }
    .population-sub-card .card-body {
        padding: 0.75rem !important;
    }
    .city-list li {
        font-size: 0.75rem !important;
        padding: 0.3rem 0 !important;
    }
    .city-list a {
        font-size: 0.75rem !important;
    }
    .city-list .city-pop {
        font-size: 0.75rem !important;
    }
}

/* Estilo base dos links */
.city-access-btn,
.city-access-link-mobile {
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    white-space: nowrap;
    background: #ffffff;
    color: #2563eb;
}

/* Mobile: só o link simplificado aparece */
@media (max-width: 640px) {
    .city-access-btn {
        display: none;
    }
    .city-access-link-mobile {
        display: inline-block;
    }
}

/* Desktop: só o botão aparece */
@media (min-width: 641px) {
    .city-access-link-mobile {
        display: none;
    }
}
