/* ============================================================
   PROGRAMA ECOS · SUSTENTABILIDADE
   Página institucional pública do Sesc Amapá.
   ============================================================ */

.ecos-page {
    --ecos-blue: #0757c8;
    --ecos-blue-dark: #003b83;
    --ecos-blue-soft: #eaf3ff;
    --ecos-orange: #ff9700;
    --ecos-orange-soft: #fff3df;
    --ecos-ink: #102b4b;
    --ecos-text: #5f6f80;
    --ecos-line: #dce7f2;
    --ecos-bg: #f7fbff;

    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
    padding: 42px 0 110px;
    color: var(--ecos-ink);
}

.ecos-page,
.ecos-page * {
    box-sizing: border-box;
}

.ecos-page h1,
.ecos-page h2,
.ecos-page h3,
.ecos-page p {
    margin-top: 0;
}

.ecos-page p {
    color: var(--ecos-text);
    line-height: 1.75;
}

.ecos-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--ecos-blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.ecos-kicker::before {
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
    content: "";
}

.ecos-kicker--light {
    color: #9cc7ff;
}

.ecos-kicker--orange {
    color: var(--ecos-orange);
}

/* Hero */

.ecos-hero {
    position: relative;
    display: grid;
    min-height: 520px;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    gap: 54px;
    align-items: center;
    overflow: hidden;
    padding: 62px 68px;
    border: 1px solid #dce7f2;
    border-radius: 30px;
    background:
        radial-gradient(circle at 0 0, rgba(0, 91, 210, .08), transparent 26%),
        linear-gradient(135deg, #f7fbff 0%, #eef6ff 48%, #ffffff 100%);
    box-shadow: 0 24px 70px rgba(16, 65, 120, .08);
}

.ecos-hero::after {
    position: absolute;
    right: -120px;
    bottom: -210px;
    width: 430px;
    height: 430px;
    border: 72px solid rgba(0, 91, 210, .05);
    border-radius: 50%;
    content: "";
}

.ecos-hero__copy {
    position: relative;
    z-index: 2;
}

.ecos-hero__logo {
    display: block;
    width: min(310px, 75%);
    max-height: 120px;
    margin-bottom: 28px;
    object-fit: contain;
    object-position: left center;
}

.ecos-hero h1 {
    max-width: 660px;
    margin-bottom: 22px;
    color: var(--ecos-ink);
    font-size: clamp(45px, 5vw, 68px);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .99;
}

.ecos-hero h1 span {
    display: block;
    color: var(--ecos-blue);
}

.ecos-hero__copy > p {
    max-width: 620px;
    margin-bottom: 0;
    font-size: 16px;
}

.ecos-hero__chips,
.ecos-commitment__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 28px;
}

.ecos-hero__chips span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border: 1px solid #d5e6fb;
    border-radius: 999px;
    background: #fff;
    padding: 0 13px;
    color: #3b638f;
    font-size: 10px;
    font-weight: 850;
}

.ecos-hero__visual {
    position: relative;
    min-height: 390px;
}

.ecos-hero__visual > img {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 0;
    width: min(100%, 430px);
    aspect-ratio: 1.04 / 1;
    border: 10px solid #fff;
    border-radius: 44% 56% 48% 52% / 40% 46% 54% 60%;
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(0, 54, 120, .18);
    transform: translateY(-50%);
}

.ecos-hero__shape {
    position: absolute;
    border-radius: 50%;
}

.ecos-hero__shape--blue {
    top: 12px;
    right: 34px;
    width: 300px;
    height: 300px;
    border: 44px solid rgba(0, 91, 210, .16);
}

.ecos-hero__shape--orange {
    right: 290px;
    bottom: 30px;
    width: 116px;
    height: 116px;
    border: 25px solid rgba(255, 151, 0, .92);
}

/* Introdução */

.ecos-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 280px;
    gap: 54px;
    align-items: center;
    margin-top: 32px;
    padding: 42px 46px;
    border: 1px solid var(--ecos-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 55, 100, .05);
}

.ecos-intro h2,
.ecos-section__header h2,
.ecos-certification h2 {
    margin-bottom: 14px;
    color: var(--ecos-ink);
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 900;
    letter-spacing: -.04em;
}

.ecos-intro p {
    max-width: 780px;
    margin-bottom: 0;
    font-size: 15px;
}

.ecos-intro__brand {
    display: grid;
    min-height: 210px;
    place-items: center;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at center, #152d4b 0 34%, transparent 35%),
        radial-gradient(circle at center, rgba(0, 91, 210, .14) 0 56%, transparent 57%),
        var(--ecos-orange-soft);
}

.ecos-intro__brand img {
    width: 72%;
    max-height: 120px;
    object-fit: contain;
    filter: saturate(1.04);
}

/* Áreas */

.ecos-section {
    margin-top: 78px;
}

.ecos-section__header {
    max-width: 760px;
    margin-bottom: 28px;
}

.ecos-section__header p {
    margin-bottom: 0;
    font-size: 14px;
}

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

.ecos-pillar {
    position: relative;
    min-height: 310px;
    overflow: hidden;
    padding: 30px;
    border: 1px solid #dbe7f3;
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0, rgba(0, 91, 210, .09), transparent 32%),
        #fff;
    box-shadow: 0 12px 30px rgba(17, 55, 100, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.ecos-pillar:hover {
    box-shadow: 0 20px 42px rgba(17, 55, 100, .10);
    transform: translateY(-5px);
}

.ecos-pillar__number {
    position: absolute;
    top: 22px;
    right: 23px;
    color: rgba(0, 91, 210, .20);
    font-size: 28px;
    font-weight: 950;
}

.ecos-pillar__icon {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 18px;
    background: var(--ecos-blue-soft);
    color: var(--ecos-blue);
}

.ecos-pillar__icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.ecos-pillar h3 {
    margin-bottom: 12px;
    color: var(--ecos-ink);
    font-size: 23px;
    font-weight: 900;
}

.ecos-pillar p {
    margin-bottom: 0;
    font-size: 13px;
}

/* Compromisso */

.ecos-commitment {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr);
    gap: 0;
    overflow: hidden;
    margin-top: 78px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 12% 15%, rgba(255, 255, 255, .08), transparent 23%),
        linear-gradient(135deg, #003f94 0%, #075bc7 58%, #1472e6 100%);
    box-shadow: 0 26px 60px rgba(0, 70, 155, .18);
}

.ecos-commitment__copy {
    padding: 52px 54px;
}

.ecos-commitment h2 {
    max-width: 680px;
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: 1.04;
}

.ecos-commitment h2 span {
    display: block;
    color: #bddaff;
}

.ecos-commitment__copy > p {
    max-width: 700px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
}

.ecos-commitment__tags span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    padding: 0 13px;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
}

.ecos-commitment__visual {
    position: relative;
    min-height: 430px;
    overflow: hidden;
}

.ecos-commitment__visual::before {
    position: absolute;
    z-index: 2;
    top: -130px;
    left: -105px;
    width: 230px;
    height: 620px;
    border-radius: 50%;
    background: var(--ecos-orange);
    content: "";
    transform: rotate(8deg);
}

.ecos-commitment__visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

/* Certificação */

.ecos-certification {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin-top: 30px;
    padding: 34px 38px;
    border: 1px solid #e6edf5;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(20, 54, 90, .04);
}

.ecos-certification__seal {
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    border: 7px solid var(--ecos-orange);
    border-radius: 50%;
    color: var(--ecos-orange);
    box-shadow: inset 0 0 0 4px #fff3df;
}

.ecos-certification__seal span {
    font-size: 32px;
    font-weight: 950;
}

.ecos-certification__copy h2 {
    margin-bottom: 7px;
    font-size: 26px;
}

.ecos-certification__copy p {
    max-width: 720px;
    margin-bottom: 0;
    font-size: 12px;
}

.ecos-certification__system {
    display: grid;
    gap: 5px;
    min-width: 190px;
    padding-left: 26px;
    border-left: 1px solid #e3eaf1;
    text-align: center;
}

.ecos-certification__system strong {
    color: var(--ecos-blue-dark);
    font-size: 17px;
    font-weight: 900;
}

.ecos-certification__system span {
    color: #8492a0;
    font-size: 10px;
}

/* Responsivo */

@media (max-width: 980px) {
    .ecos-hero {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 36px;
        padding: 50px 44px;
    }

    .ecos-hero__visual {
        min-height: 330px;
    }

    .ecos-intro {
        grid-template-columns: minmax(0, 1fr) 220px;
    }

    .ecos-commitment {
        grid-template-columns: minmax(0, 1fr) 320px;
    }
}

@media (max-width: 780px) {
    .ecos-page {
        width: min(100% - 30px, 680px);
        padding-top: 28px;
        padding-bottom: 72px;
    }

    .ecos-hero,
    .ecos-intro,
    .ecos-pillars,
    .ecos-commitment,
    .ecos-certification {
        grid-template-columns: 1fr;
    }

    .ecos-hero {
        gap: 24px;
        padding: 40px 28px 28px;
        border-radius: 24px;
    }

    .ecos-hero h1 {
        font-size: 43px;
    }

    .ecos-hero__visual {
        min-height: 350px;
    }

    .ecos-hero__visual > img {
        left: 50%;
        right: auto;
        width: min(90%, 440px);
        transform: translate(-50%, -50%);
    }

    .ecos-hero__shape--orange {
        right: auto;
        left: 4%;
    }

    .ecos-intro {
        gap: 28px;
        padding: 32px 28px;
    }

    .ecos-intro__brand {
        min-height: 180px;
    }

    .ecos-section,
    .ecos-commitment {
        margin-top: 52px;
    }

    .ecos-commitment__copy {
        padding: 38px 30px;
    }

    .ecos-commitment__visual {
        min-height: 330px;
    }

    .ecos-commitment__visual img {
        min-height: 330px;
    }

    .ecos-certification {
        padding: 28px;
        text-align: center;
    }

    .ecos-certification__seal {
        margin-inline: auto;
    }

    .ecos-certification__system {
        padding: 22px 0 0;
        border-top: 1px solid #e3eaf1;
        border-left: 0;
    }
}

@media (max-width: 520px) {
    .ecos-page {
        width: min(100% - 20px, 680px);
    }

    .ecos-hero {
        padding: 32px 22px 22px;
        border-radius: 20px;
    }

    .ecos-hero h1 {
        font-size: 36px;
    }

    .ecos-hero__logo {
        width: 250px;
    }

    .ecos-hero__visual {
        min-height: 300px;
    }

    .ecos-pillars {
        gap: 12px;
    }

    .ecos-pillar {
        min-height: 0;
        padding: 25px;
    }

    .ecos-commitment h2 {
        font-size: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ecos-page * {
        transition-duration: .01ms !important;
    }
}

/* FIX ECOS LOGO - 2026-11-19 */
.ecos-intro__brand {
    background: linear-gradient(
        135deg,
        #fffdf9 0%,
        #fff4df 100%
    ) !important;
    border: 1px solid #f2dfbb;
}

.ecos-intro__brand img {
    width: 82%;
    max-height: 145px;
    object-fit: contain;
    filter: none !important;
}
