:root {
    --geo-blue-950: #062b50;
    --geo-blue-900: #003f78;
    --geo-blue-800: #004b8d;
    --geo-blue-700: #005ca8;
    --geo-blue-100: #eaf4ff;
    --geo-blue-50: #f5faff;
    --geo-green: #00895c;
    --geo-text: #16324a;
    --geo-muted: #5e7286;
    --geo-container: 1200px;
}

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

html {
    min-width: 0;
    min-height: 100%;
    background: #d9eaf7;
}

body {
    min-width: 0;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    color: var(--geo-text);
    background: #d9eaf7;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

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

svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.geo-transition__skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 15px;
    border-radius: 10px;
    color: #fff;
    background: var(--geo-blue-950);
    font-weight: 800;
    transform: translateY(-160%);
}

.geo-transition__skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 3px;
}

.geo-topbar {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.94);
    background: linear-gradient(90deg, var(--geo-blue-950), var(--geo-blue-900));
    font-size: 0.88rem;
}

.geo-topbar__container,
.geo-header__container,
.geo-footer__container {
    width: min(var(--geo-container), 100%);
    margin: 0 auto;
}

.geo-topbar__container {
    min-height: 38px;
    padding: 8px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.geo-topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 650;
}

.geo-topbar__item svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.3;
}

.geo-header {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(0, 86, 166, 0.14);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 10px 30px rgba(7, 42, 83, 0.08);
}

.geo-header__container {
    min-height: 78px;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.geo-header__logo {
    width: auto;
    height: 54px;
    object-fit: contain;
}

.geo-main {
    position: relative;
    isolation: isolate;
    flex: 1;
    padding: clamp(38px, 5vw, 68px) 22px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--geo-blue-900);
}

.geo-main__background {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.15), transparent 27%),
        linear-gradient(112deg, rgba(6, 43, 80, 0.97) 0%, rgba(6, 43, 80, 0.88) 48%, rgba(0, 92, 168, 0.65) 100%),
        url("/static/img/identidade/hero-cidade.png") center / cover no-repeat;
    transform: scale(1.02);
}

.geo-card {
    width: min(var(--geo-container), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(310px, 0.7fr);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow:
        0 30px 70px rgba(6, 43, 80, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    animation: geo-reveal 0.55s ease both;
}

@keyframes geo-reveal {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.geo-card__content {
    min-width: 0;
    padding: clamp(34px, 5vw, 60px);
}

.geo-card__badge {
    width: fit-content;
    margin-bottom: 22px;
    padding: 9px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0, 137, 92, 0.18);
    border-radius: 9px;
    color: #006b48;
    background: rgba(0, 168, 107, 0.1);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.geo-card__badge svg {
    width: 17px;
    height: 17px;
}

.geo-card__eyebrow {
    margin: 0 0 12px;
    color: var(--geo-blue-700);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.geo-card h1 {
    max-width: 720px;
    margin: 0 0 20px;
    color: var(--geo-blue-950);
    font-family: "Montserrat", "Inter", Arial, sans-serif;
    font-size: clamp(2rem, 3.6vw, 3.15rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.geo-card__description {
    max-width: 680px;
    margin: 0;
    color: var(--geo-muted);
    font-size: 1.03rem;
    line-height: 1.7;
}

.geo-card__actions {
    margin-top: 30px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.geo-button {
    min-height: 52px;
    padding: 13px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 12px;
    font-size: 0.93rem;
    font-weight: 850;
    line-height: 1.15;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.geo-button svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

.geo-button__arrow {
    width: 17px !important;
}

.geo-button--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--geo-blue-700), var(--geo-blue-900));
    box-shadow: 0 14px 28px rgba(0, 92, 168, 0.25);
}

.geo-button--secondary {
    border: 1px solid rgba(0, 86, 166, 0.2);
    color: var(--geo-blue-900);
    background: var(--geo-blue-100);
}

.geo-button:hover,
.geo-button:focus-visible {
    transform: translateY(-2px);
}

.geo-button--primary:hover,
.geo-button--primary:focus-visible {
    background: linear-gradient(135deg, var(--geo-blue-800), var(--geo-blue-950));
    box-shadow: 0 18px 34px rgba(0, 70, 135, 0.34);
}

.geo-button--secondary:hover,
.geo-button--secondary:focus-visible {
    background: #dceeff;
}

.geo-resources {
    min-width: 0;
    padding: clamp(32px, 4vw, 48px) clamp(26px, 3.5vw, 42px);
    color: #fff;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.14), transparent 34%),
        linear-gradient(150deg, var(--geo-blue-800), var(--geo-blue-950));
}

.geo-resources__heading {
    display: flex;
    align-items: center;
    gap: 13px;
}

.geo-resources__icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.13);
}

.geo-resources__icon svg {
    width: 25px;
    height: 25px;
}

.geo-resources__heading p {
    margin: 0 0 3px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.geo-resources h2 {
    margin: 0;
    color: #fff;
    font-family: "Montserrat", "Inter", Arial, sans-serif;
    font-size: 1.25rem;
    line-height: 1.2;
}

.geo-resources__list {
    margin: 28px 0;
    padding: 0;
    display: grid;
    gap: 11px;
    list-style: none;
}

.geo-resources__list li {
    min-width: 0;
    padding: 13px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.075);
}

.geo-resources__list svg {
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    color: #9bd8ff;
}

.geo-resources__list span {
    min-width: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.77rem;
    line-height: 1.35;
}

.geo-resources__list strong {
    display: block;
    margin-bottom: 2px;
    color: #fff;
    font-size: 0.88rem;
}

.geo-resources__devices {
    padding-top: 19px;
    display: flex;
    align-items: center;
    gap: 11px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.78rem;
    line-height: 1.45;
}

.geo-resources__devices svg {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
}

.geo-footer {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.9);
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.1), transparent 34%),
        linear-gradient(135deg, var(--geo-blue-950), var(--geo-blue-900));
}

.geo-footer__container {
    padding: 18px 22px;
}

.geo-footer__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.geo-footer__brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
}

.geo-footer__crest {
    width: 40px;
    flex: 0 0 40px;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.geo-footer__brand div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.geo-footer__brand strong {
    color: #fff;
    font-family: "Montserrat", "Inter", Arial, sans-serif;
    font-size: 0.88rem;
}

.geo-footer__brand span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
}

.geo-footer__copyright {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    color: rgba(255, 255, 255, 0.67);
    font-size: 0.68rem;
    line-height: 1.35;
    text-align: right;
}

@media (max-width: 900px) {
    .geo-card {
        grid-template-columns: minmax(0, 1fr);
        width: min(720px, 100%);
    }

    .geo-resources {
        display: grid;
        grid-template-columns: 1fr;
    }

    .geo-resources__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .geo-resources__list li {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .geo-topbar {
        display: none;
    }

    .geo-header__container {
        min-height: 68px;
        padding: 10px 18px;
        justify-content: center;
    }

    .geo-header__logo {
        max-width: min(210px, 72vw);
        height: auto;
    }

    .geo-main {
        padding: 22px 14px;
        align-items: flex-start;
    }

    .geo-main__background {
        background-position: 62% center;
    }

    .geo-card {
        border-radius: 18px;
    }

    .geo-card__content {
        padding: 28px 22px 30px;
    }

    .geo-card__badge {
        max-width: 100%;
        margin-bottom: 19px;
        padding: 8px 11px;
        font-size: 0.68rem;
        line-height: 1.3;
        white-space: normal;
    }

    .geo-card__eyebrow {
        margin-bottom: 9px;
        font-size: 0.72rem;
        line-height: 1.35;
    }

    .geo-card h1 {
        margin-bottom: 16px;
        font-size: clamp(1.7rem, 7.4vw, 2.25rem);
        line-height: 1.12;
        letter-spacing: -0.035em;
    }

    .geo-card__description {
        font-size: 0.94rem;
        line-height: 1.6;
    }

    .geo-card__actions {
        margin-top: 24px;
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .geo-button {
        width: 100%;
        min-width: 0;
        min-height: 50px;
        padding: 13px 15px;
        white-space: normal;
        text-align: center;
    }

    .geo-resources {
        padding: 27px 22px 29px;
    }

    .geo-resources__heading {
        align-items: flex-start;
    }

    .geo-resources__icon {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
    }

    .geo-resources h2 {
        font-size: 1.12rem;
    }

    .geo-resources__list {
        margin: 23px 0;
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .geo-resources__list li {
        padding: 12px;
        align-items: center;
    }

    .geo-footer__container {
        padding: 17px 18px 14px;
    }

    .geo-footer__content {
        align-items: center;
        flex-direction: column;
        gap: 13px;
        text-align: center;
    }

    .geo-footer__brand {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        text-align: center;
    }

    .geo-footer__crest {
        width: 42px;
        flex-basis: auto;
    }

    .geo-footer__brand div {
        align-items: center;
    }

    .geo-footer__brand strong {
        font-size: 0.8rem;
        line-height: 1.25;
    }

    .geo-footer__brand span {
        font-size: 0.7rem;
    }

    .geo-footer__copyright {
        width: 100%;
        padding-top: 11px;
        align-items: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 0.64rem;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .geo-main {
        padding: 16px 10px;
    }

    .geo-card {
        border-radius: 15px;
    }

    .geo-card__badge {
        font-size: 0.63rem;
    }

    .geo-card__content,
    .geo-resources {
        padding-right: 17px;
        padding-left: 17px;
    }

    .geo-card h1 {
        font-size: clamp(1.55rem, 7.8vw, 1.9rem);
    }

    .geo-button__arrow {
        display: none;
    }

    .geo-resources__heading {
        gap: 10px;
    }

    .geo-resources__devices {
        align-items: flex-start;
    }

    .geo-footer__brand {
        width: 100%;
        justify-content: center;
    }

    .geo-footer__brand div {
        overflow-wrap: anywhere;
    }
}

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