/* =========================================================
   GeoPortal Amambai — Página Sobre
========================================================= */

.about-page {
    width: 100%;
    max-width: none;
    padding: 46px 22px 68px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(0, 86, 166, 0.10), transparent 34%),
        linear-gradient(180deg, #eef7ff 0%, var(--color-bg-soft) 42%, #ffffff 100%);
}

.about-hero,
.about-section,
.about-cta {
    width: min(1180px, 100%);
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================
   Hero principal com print do mapa no card inteiro
========================================================= */

.about-hero {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    padding: 42px;
    border-radius: 28px;

    display: grid;
    grid-template-columns: minmax(0, 760px);
    gap: 0;
    align-items: center;

    color: #ffffff;
    background:
        linear-gradient(
            110deg,
            rgba(5, 32, 58, 0.96) 0%,
            rgba(0, 62, 118, 0.88) 42%,
            rgba(0, 92, 168, 0.68) 70%,
            rgba(0, 116, 200, 0.46) 100%
        ),
        url("../../img/identidade/geoportal-mapa-bg.png");
    background-size: cover;
    background-position: center;
    box-shadow: 0 24px 62px rgba(7, 42, 83, 0.16);
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 84% 22%, rgba(255, 255, 255, 0.14), transparent 28%),
        radial-gradient(circle at 18% 90%, rgba(255, 255, 255, 0.10), transparent 28%),
        linear-gradient(90deg, rgba(0, 31, 63, 0.38), transparent 62%);
    pointer-events: none;
}

.about-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -140px;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.about-hero > div {
    position: relative;
    z-index: 1;
}

/* Remove o card interno da direita */
.about-hero__panel {
    display: none !important;
}

.about-eyebrow {
    width: fit-content;
    margin-bottom: 16px;
    padding: 9px 14px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;

    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: uppercase;

    box-shadow: 0 12px 26px rgba(0, 31, 63, 0.16);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.about-eyebrow svg {
    width: 17px;
    height: 17px;
    stroke-width: 2.5;
}

.about-hero h1 {
    max-width: 720px;
    margin: 0 0 16px;
    color: #ffffff;

    font-size: clamp(2.6rem, 5vw, 4.35rem);
    line-height: 1.01;
    font-weight: 950;
    letter-spacing: 0;

    text-shadow: 0 14px 32px rgba(0, 31, 63, 0.34);
}

.about-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.94);

    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.68;
    text-shadow: 0 10px 26px rgba(0, 31, 63, 0.32);
}

/* =========================================================
   Seções
========================================================= */

.about-section {
    margin-top: 38px;
}

.about-section__header {
    max-width: 820px;
    margin: 0 auto 26px;
    text-align: center;
}

.about-section__header span {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--color-primary-600);
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
}

.about-section__header h2 {
    margin: 0 0 12px;
    color: #062b50;

    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: 0;
}

.about-section__header p {
    margin: 0;
    color: #5d7088;
    font-size: 0.98rem;
    font-weight: 650;
    line-height: 1.68;
}

/* =========================================================
   Cards
========================================================= */

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.about-card {
    min-height: 218px;
    padding: 22px;

    border-radius: 24px;
    border: 1px solid rgba(0, 86, 166, 0.14);
    background:
        radial-gradient(circle at top right, rgba(0, 86, 166, 0.06), transparent 32%),
        linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow:
        0 16px 36px rgba(7, 42, 83, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.about-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 86, 166, 0.24);
    box-shadow: 0 20px 42px rgba(7, 42, 83, 0.12);
}

.about-card__icon {
    width: 54px;
    height: 54px;
    margin-bottom: 16px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #005ca8, #003f78);
    box-shadow: 0 12px 26px rgba(0, 86, 166, 0.18);
}

.about-card__icon svg {
    width: 25px;
    height: 25px;
    stroke-width: 2.5;
}

.about-card h3 {
    margin: 0 0 9px;
    color: #062b50;

    font-size: 1.08rem;
    line-height: 1.18;
    font-weight: 900;
}

.about-card p {
    margin: 0;
    color: #5d7088;
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.58;
}

/* =========================================================
   Chamada final
========================================================= */

.about-cta {
    margin-top: 32px;
    padding: 26px;

    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.13), transparent 30%),
        linear-gradient(135deg, #062b50, #005ca8);
    color: #ffffff;
    box-shadow: 0 20px 48px rgba(7, 42, 83, 0.14);
}

.about-cta strong {
    display: block;
    margin-bottom: 6px;

    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.26rem;
    line-height: 1.18;
    font-weight: 900;
}

.about-cta span {
    display: block;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.94rem;
    font-weight: 650;
    line-height: 1.55;
}

.about-cta__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.about-cta .btn span {
    color: inherit;
}

.about-cta .btn {
    min-height: 50px;
    justify-content: center;
    font-weight: 900;
    gap: 8px;
}

.about-cta .btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.about-cta .btn-primary {
    color: #ffffff;
}

.about-cta .btn-secondary {
    color: #062b50 !important;
    background: #ffffff;
}

/* =========================================================
   Responsivo
========================================================= */

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

@media (max-width: 980px) {
    .about-hero {
        grid-template-columns: 1fr;
        padding: 38px;
    }
}

@media (max-width: 768px) {
    .about-page {
        padding: 28px 14px 42px;
    }

    .about-hero,
    .about-section,
    .about-cta {
        width: 100%;
    }

    .about-hero {
        min-height: 0;
        padding: 28px 22px;
        border-radius: 24px;
        gap: 0;
        background-position: center;
    }

    .about-eyebrow {
        margin-bottom: 14px;
        padding: 8px 12px;
        font-size: 0.68rem;
    }

    .about-hero h1 {
        font-size: clamp(2.18rem, 11vw, 3.25rem);
        line-height: 1.02;
    }

    .about-hero p {
        font-size: 0.94rem;
        line-height: 1.58;
    }

    .about-section {
        margin-top: 30px;
    }

    .about-section__header {
        margin-bottom: 20px;
        text-align: left;
    }

    .about-section__header h2 {
        font-size: 1.62rem;
    }

    .about-section__header p {
        font-size: 0.92rem;
        line-height: 1.56;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .about-card {
        min-height: 0;
        padding: 20px;
        border-radius: 22px;
    }

    .about-card__icon {
        width: 50px;
        height: 50px;
        border-radius: 17px;
    }

    .about-card__icon svg {
        width: 24px;
        height: 24px;
    }

    .about-card h3 {
        font-size: 1rem;
    }

    .about-card p {
        font-size: 0.86rem;
        line-height: 1.52;
    }

    .about-cta {
        margin-top: 24px;
        padding: 22px;
        border-radius: 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .about-cta strong {
        font-size: 1.28rem;
        line-height: 1.12;
    }

    .about-cta span {
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .about-cta__actions {
        width: 100%;
        gap: 10px;
    }

    .about-cta .btn {
        width: 100%;
        min-height: 52px;
        border-radius: 999px;
    }

    .about-cta .btn span {
        font-size: 0.94rem;
        line-height: 1;
    }
}

@media (max-width: 420px) {
    .about-page {
        padding: 22px 10px 36px;
    }

    .about-hero {
        padding: 24px 18px;
        border-radius: 22px;
    }

    .about-hero h1 {
        font-size: 2.18rem;
    }

    .about-hero p {
        font-size: 0.9rem;
    }

    .about-card,
    .about-cta {
        border-radius: 20px;
    }

    .about-card {
        padding: 18px;
    }
}