/* Patch v4.6.5: zona de ecosistem OGAUS integrata in subsol. */

.climate-os.ui-white-v46 .site-footer {
    padding-top: 34px;
}

.climate-os.ui-white-v46 .footer-ecosystem {
    position: relative;
    display: grid;
    grid-template-columns: minmax(340px, .92fr) minmax(540px, 1.28fr);
    gap: 34px;
    align-items: center;
    padding: 32px 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at 4% 8%, rgba(177, 211, 80, .14), transparent 32%),
        radial-gradient(circle at 96% 0%, rgba(53, 143, 206, .13), transparent 34%),
        linear-gradient(135deg, #f8fcf9 0%, #f3f9fb 100%);
    border: 1px solid #d8e7e8;
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(31, 83, 91, .07);
}

.climate-os.ui-white-v46 .footer-ecosystem::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #b1d350 0 27%, #77cdd4 27% 58%, #358fce 58% 100%);
}

.climate-os.ui-white-v46 .footer-ecosystem-intro {
    display: grid;
    grid-template-columns: 154px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    min-width: 0;
}

.climate-os.ui-white-v46 .footer-ecosystem-logo {
    display: grid;
    place-items: center;
    min-height: 104px;
    padding: 16px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(199, 219, 221, .86);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(36, 88, 96, .07);
}

.climate-os.ui-white-v46 .footer-ecosystem-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 78px;
    object-fit: contain;
}

.climate-os.ui-white-v46 .footer-ecosystem-copy {
    min-width: 0;
}

.climate-os.ui-white-v46 .footer-ecosystem-kicker {
    display: block;
    margin-bottom: 8px;
    color: #16777a;
    font-size: .58rem;
    font-weight: 850;
    letter-spacing: .14em;
}

.climate-os.ui-white-v46 .footer-ecosystem-copy h2 {
    margin: 0 0 8px;
    color: var(--v46-ink);
    font-size: clamp(1.28rem, 1.8vw, 1.75rem);
    line-height: 1.12;
    letter-spacing: -.028em;
}

.climate-os.ui-white-v46 .footer-ecosystem-copy p {
    max-width: 520px;
    margin: 0;
    color: #607783;
    font-size: .72rem;
    line-height: 1.58;
}

.climate-os.ui-white-v46 .footer-ecosystem-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    min-width: 0;
}

.climate-os.ui-white-v46 .footer-platform-card {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 22px;
    gap: 14px;
    align-items: center;
    min-height: 124px;
    padding: 18px 16px;
    color: var(--v46-text);
    background: rgba(255, 255, 255, .9);
    border: 1px solid #d8e6e8;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(30, 78, 87, .055);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.climate-os.ui-white-v46 .footer-platform-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    border-radius: 18px 0 0 18px;
}

.climate-os.ui-white-v46 .footer-platform-card.is-energy::before {
    background: #9ec63f;
}

.climate-os.ui-white-v46 .footer-platform-card.is-environment::before {
    background: #358fce;
}

.climate-os.ui-white-v46 .footer-platform-card:hover,
.climate-os.ui-white-v46 .footer-platform-card:focus-visible {
    transform: translateY(-2px);
    border-color: #bcd4d8;
    box-shadow: 0 16px 34px rgba(30, 78, 87, .09);
}

.climate-os.ui-white-v46 .footer-platform-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #0c7377;
    background: #edf8f5;
    border: 1px solid #d5e9e4;
    border-radius: 14px;
}

.climate-os.ui-white-v46 .footer-platform-card.is-environment .footer-platform-icon {
    color: #236fa5;
    background: #eef7fc;
    border-color: #d4e6f1;
}

.climate-os.ui-white-v46 .footer-platform-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.climate-os.ui-white-v46 .footer-platform-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.climate-os.ui-white-v46 .footer-platform-copy small {
    color: #69909a;
    font-size: .53rem;
    font-weight: 850;
    letter-spacing: .13em;
}

.climate-os.ui-white-v46 .footer-platform-copy strong {
    color: var(--v46-ink);
    font-size: .82rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.climate-os.ui-white-v46 .footer-platform-copy em {
    color: #667d87;
    font-size: .63rem;
    font-style: normal;
    line-height: 1.48;
}

.climate-os.ui-white-v46 .footer-platform-arrow {
    align-self: start;
    justify-self: end;
    color: #0b7477;
    font-size: .95rem;
    font-weight: 800;
    transition: transform .18s ease;
}

.climate-os.ui-white-v46 .footer-platform-card.is-environment .footer-platform-arrow {
    color: #2d78aa;
}

.climate-os.ui-white-v46 .footer-platform-card:hover .footer-platform-arrow,
.climate-os.ui-white-v46 .footer-platform-card:focus-visible .footer-platform-arrow {
    transform: translate(2px, -2px);
}

.climate-os.ui-white-v46 .footer-system {
    padding-top: 28px;
}

@media (max-width: 1320px) {
    .climate-os.ui-white-v46 .footer-ecosystem {
        grid-template-columns: 1fr;
    }

    .climate-os.ui-white-v46 .footer-ecosystem-intro {
        grid-template-columns: 174px minmax(0, 1fr);
    }
}

@media (max-width: 900px) {
    .climate-os.ui-white-v46 .footer-ecosystem-links {
        grid-template-columns: 1fr;
    }

    .climate-os.ui-white-v46 .footer-platform-card {
        min-height: 108px;
    }
}

@media (max-width: 720px) {
    .climate-os.ui-white-v46 .site-footer {
        padding-top: 22px;
    }

    .climate-os.ui-white-v46 .footer-ecosystem {
        gap: 24px;
        padding: 24px 20px 22px;
        border-radius: 20px;
    }

    .climate-os.ui-white-v46 .footer-ecosystem-intro {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .climate-os.ui-white-v46 .footer-ecosystem-logo {
        width: 164px;
        min-height: 0;
        padding: 13px;
    }

    .climate-os.ui-white-v46 .footer-ecosystem-copy h2 {
        font-size: 1.45rem;
    }

    .climate-os.ui-white-v46 .footer-platform-card {
        grid-template-columns: 44px minmax(0, 1fr) 20px;
        min-height: 0;
        padding: 16px 14px;
    }

    .climate-os.ui-white-v46 .footer-platform-icon {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 420px) {
    .climate-os.ui-white-v46 .footer-platform-card {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .climate-os.ui-white-v46 .footer-platform-arrow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .climate-os.ui-white-v46 .footer-platform-card,
    .climate-os.ui-white-v46 .footer-platform-arrow {
        transition: none;
    }
}
