/* =========================================================
   Juventude Vidigalense
   Partners + Footer
   ========================================================= */

:root {
    --footer-red: #e4002b;
    --footer-red-dark: #bb0023;
    --footer-ink: #171717;
    --footer-muted: #777;
    --footer-line: #e7e7e7;
    --footer-surface: #f6f6f6;
    --footer-dark: #151515;
    --footer-dark-soft: #1d1d1d;
    --footer-white: #ffffff;
}

/* =========================================================
   Shared
   ========================================================= */

.site-footer-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: var(--footer-red);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.site-partners__heading {
    margin-bottom: 28px;
}

.site-partners__heading h2 {
    margin: 0;
    color: var(--footer-ink);
    font-size: 27px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.35px;
}

/* =========================================================
   Institutional Partners
   ========================================================= */

.site-partners {
    padding: 54px 0 45px;
    background: #fff;
}

.site-partners__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-partners__item {
    min-width: 0;
}

.site-partners__item a {
    display: flex;
    min-height: 118px;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--footer-line);
    border-radius: 10px;
    background: #fff;
    transition:
            border-color .2s ease,
            box-shadow .2s ease,
            transform .2s ease;
}

.site-partners__item a:hover,
.site-partners__item a:focus {
    border-color: #d7d7d7;
    box-shadow: 0 9px 24px rgba(0, 0, 0, .055);
    text-decoration: none;
    transform: translateY(-2px);
}

.site-partners__item img {
    display: block;
    max-width: 150px;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(15%);
    opacity: .92;
    transition:
            filter .2s ease,
            opacity .2s ease,
            transform .2s ease;
}

.site-partners__item a:hover img,
.site-partners__item a:focus img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.02);
}

/* =========================================================
   Club Partners
   ========================================================= */

.site-club-partners {
    padding: 46px 0 54px;
    background: var(--footer-surface);
    border-top: 1px solid #ececec;
}

.site-club-partners__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.site-club-partner {
    min-width: 0;
}

.site-club-partner > a {
    display: flex;
    height: 100%;
    min-height: 168px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--footer-line);
    border-radius: 10px;
    background: #fff;
    color: inherit;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .03);
    transition:
            border-color .2s ease,
            box-shadow .2s ease,
            transform .2s ease;
}

.site-club-partner > a:hover,
.site-club-partner > a:focus {
    border-color: #d7d7d7;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .065);
    transform: translateY(-2px);
}

.site-club-partner__logo {
    display: flex;
    min-height: 112px;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    background: #fff;
}

.site-club-partner__logo img {
    display: block;
    max-width: 175px;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition:
            opacity .2s ease,
            transform .2s ease;
}

.site-club-partner > a:hover .site-club-partner__logo img,
.site-club-partner > a:focus .site-club-partner__logo img {
    opacity: 1;
    transform: scale(1.02);
}

.site-club-partner__meta {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    border-top: 1px solid #ededed;
    background: #fafafa;
}

.site-club-partner__meta strong {
    min-width: 0;
    color: #292929;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.35;
    text-align: right;
}

.site-club-partner__type {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .35px;
    text-transform: uppercase;
}

.site-club-partner__type--partner {
    background: rgba(228, 0, 43, .08);
    color: var(--footer-red);
}

.site-club-partner__type--protocol {
    background: #ededed;
    color: #666;
}

/* Link to all partnerships */

.site-club-partners__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.site-club-partners__footer > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--footer-red);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    transition: color .18s ease;
}

.site-club-partners__footer > a i {
    font-size: 10px;
    transition: transform .18s ease;
}

.site-club-partners__footer > a:hover,
.site-club-partners__footer > a:focus {
    color: var(--footer-red-dark);
    text-decoration: none;
}

.site-club-partners__footer > a:hover i,
.site-club-partners__footer > a:focus i {
    transform: translateX(3px);
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
    background: var(--footer-dark);
    color: #fff;
}

.site-footer__main {
    padding: 58px 0 42px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns:
        minmax(220px, 1.15fr)
        minmax(150px, .75fr)
        minmax(150px, .75fr)
        minmax(220px, 1fr);
    gap: 46px;
    align-items: start;
}

/* =========================================================
   Brand
   ========================================================= */

.site-footer__brand {
    max-width: 300px;
}

.site-footer__logo {
    display: inline-block;
    margin-bottom: 19px;
}

.site-footer__logo img {
    display: block;
    width: auto;
    max-width: 175px;
    max-height: 70px;
}

.site-footer__brand > p {
    max-width: 270px;
    margin: 0;
    color: rgba(255,255,255,.62);
    font-size: 12px;
    line-height: 1.65;
}

.site-footer__social {
    display: flex;
    gap: 8px;
    margin-top: 21px;
}

.site-footer__social a {
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.8);
    font-size: 13px;
    transition:
            background .2s ease,
            border-color .2s ease,
            color .2s ease,
            transform .2s ease;
}

.site-footer__social a:hover,
.site-footer__social a:focus {
    border-color: var(--footer-red);
    background: var(--footer-red);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* =========================================================
   Footer Columns
   ========================================================= */

.site-footer__column h2 {
    margin: 0 0 17px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .3px;
}

.site-footer__column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__column li {
    margin-bottom: 10px;
}

.site-footer__column li:last-child {
    margin-bottom: 0;
}

.site-footer__column a {
    color: rgba(255,255,255,.62);
    font-size: 11px;
    line-height: 1.5;
    transition: color .18s ease;
}

.site-footer__column a:hover,
.site-footer__column a:focus {
    color: #fff;
    text-decoration: none;
}

/* =========================================================
   Contact Column
   ========================================================= */

.site-footer__column--contact li a {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.site-footer__column--contact li i {
    width: 15px;
    flex: 0 0 15px;
    margin-top: 3px;
    color: var(--footer-red);
    text-align: center;
}

.site-footer__column--contact li span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.site-footer__contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--footer-red) !important;
    font-size: 10px !important;
    font-weight: 800;
}

.site-footer__contact-link i {
    transition: transform .18s ease;
}

.site-footer__contact-link:hover i,
.site-footer__contact-link:focus i {
    transform: translateX(3px);
}

/* =========================================================
   Participation Channels
   ========================================================= */

.site-footer__channels {
    display: grid;
    grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr);
    gap: 36px;
    align-items: center;
    margin-top: 46px;
    padding: 26px 0 0;
    border-top: 1px solid rgba(255,255,255,.09);
}

.site-footer__channels-intro .site-footer-eyebrow {
    margin-bottom: 5px;
}

.site-footer__channels-intro strong {
    display: block;
    max-width: 250px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.site-footer__channels-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.site-footer__channels-links > a {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 70px;
    padding: 13px 15px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    background: rgba(255,255,255,.035);
    color: #fff;
    transition:
            background .18s ease,
            border-color .18s ease,
            transform .18s ease;
}

.site-footer__channels-links > a:hover,
.site-footer__channels-links > a:focus {
    border-color: rgba(228,0,43,.65);
    background: rgba(255,255,255,.06);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.site-footer__channels-links > a > i {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(228,0,43,.12);
    color: var(--footer-red);
    font-size: 14px;
}

.site-footer__channels-links span,
.site-footer__channels-links strong,
.site-footer__channels-links small {
    display: block;
}

.site-footer__channels-links strong {
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.35;
}

.site-footer__channels-links small {
    margin-top: 3px;
    color: rgba(255,255,255,.48);
    font-size: 9px;
    line-height: 1.35;
}

.site-footer__channels-links > a[href*="comunicacao-confidencial"] > i {
    background: rgba(255,255,255,.09);
    color: #fff;
}

/* =========================================================
   Footer Bottom
   ========================================================= */

.site-footer__bottom {
    padding: 19px 0 21px;
    border-top: 1px solid rgba(255,255,255,.08);
    background: #101010;
}

.site-footer__bottom-inner {
    display: block;
}

.site-footer__copyright {
    margin: 0;
    color: rgba(255,255,255,.56);
    font-size: 10px;
    line-height: 1.5;
}

.site-footer__phone-note {
    margin: 4px 0 0;
    color: rgba(255,255,255,.32);
    font-size: 8px;
    line-height: 1.5;
}

/* =========================================================
   Bootstrap clearfix interference
   ========================================================= */

.site-footer__grid::before,
.site-footer__grid::after,
.site-footer__channels::before,
.site-footer__channels::after,
.site-footer__bottom-inner::before,
.site-footer__bottom-inner::after,
.site-partners__grid::before,
.site-partners__grid::after,
.site-club-partners__grid::before,
.site-club-partners__grid::after {
    display: none;
    content: none;
}

/* =========================================================
   Desktop medium
   ========================================================= */

@media (max-width: 1199px) {
    .site-footer__grid {
        grid-template-columns:
            minmax(210px, 1fr)
            minmax(140px, .7fr)
            minmax(140px, .7fr)
            minmax(210px, 1fr);
        gap: 30px;
    }

    .site-partners__item img {
        max-width: 130px;
    }

    .site-club-partner__logo img {
        max-width: 155px;
    }
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 991px) {
    .site-partners__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-club-partners__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 45px;
    }

    .site-footer__brand {
        max-width: none;
    }

    .site-footer__channels {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .site-footer__channels-intro strong {
        max-width: none;
    }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {
    .site-partners {
        padding: 44px 0 38px;
    }

    .site-partners__heading {
        margin-bottom: 22px;
    }

    .site-partners__heading h2 {
        font-size: 23px;
    }

    .site-partners__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .site-partners__item a {
        min-height: 100px;
        padding: 16px;
    }

    .site-partners__item img {
        max-width: 115px;
        max-height: 58px;
    }

    .site-club-partners {
        padding: 38px 0 46px;
    }

    .site-club-partners__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .site-club-partner > a {
        min-height: 0;
    }

    .site-club-partner__logo {
        min-height: 104px;
    }

    .site-club-partner__meta {
        min-height: 52px;
    }

    .site-club-partners__footer {
        justify-content: flex-start;
        margin-top: 17px;
    }

    .site-footer__main {
        padding: 46px 0 34px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 31px;
    }

    .site-footer__brand {
        max-width: 320px;
    }

    .site-footer__column h2 {
        margin-bottom: 13px;
    }

    .site-footer__channels {
        margin-top: 34px;
        padding-top: 22px;
    }

    .site-footer__channels-links {
        grid-template-columns: 1fr;
    }

    .site-footer__channels-links > a {
        min-height: 66px;
    }

    .site-footer__bottom {
        padding: 17px 0 19px;
    }
}

/* =========================================================
   Very small screens
   ========================================================= */

@media (max-width: 479px) {
    .site-partners__grid {
        grid-template-columns: 1fr 1fr;
    }

    .site-partners__item a {
        min-height: 90px;
        padding: 13px;
    }

    .site-partners__item img {
        max-width: 100px;
        max-height: 52px;
    }

    .site-club-partner__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .site-club-partner__meta strong {
        text-align: left;
    }

    .site-footer__logo img {
        max-width: 155px;
    }
}

/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .site-partners *,
    .site-partners *::before,
    .site-partners *::after,
    .site-club-partners *,
    .site-club-partners *::before,
    .site-club-partners *::after,
    .site-footer *,
    .site-footer *::before,
    .site-footer *::after {
        transition-duration: .01ms !important;
    }
}