/* =========================================================
   HUMANAS JA / PASSO 6C
   PAGINA DO MATERIAL
   ========================================================= */


/* NOT FOUND */

.material-not-found {

    width:
        min(
            900px,
            calc(100% - 48px)
        );

    margin:
        100px auto 130px;

    padding:
        60px;

    border-top:
        2px solid var(--ink);

    background:
        var(--paper-2);
}

.material-not-found > span {

    color:
        var(--purple);

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        .12em;
}

.material-not-found h1 {

    font-family:
        "Anton",
        sans-serif;

    font-size:
        clamp(
            58px,
            7vw,
            96px
        );

    line-height:
        .84;

    margin:
        20px 0;
}

.material-not-found p {

    color:
        #666159;

    line-height:
        1.7;
}

.material-not-found a {

    display:
        inline-block;

    margin-top:
        25px;

    font-size:
        10px;

    font-weight:
        800;

    border-bottom:
        2px solid var(--purple);

    padding-bottom:
        5px;
}


/* HERO */

.material-hero {

    width:
        min(
            var(--max),
            calc(100% - 48px)
        );

    margin:
        0 auto;

    min-height:
        690px;

    padding:
        72px 0 90px;

    display:
        grid;

    grid-template-columns:
        .88fr 1.12fr;

    gap:
        75px;

    align-items:
        center;
}

.material-cover-frame {

    height:
        560px;

    position:
        relative;

    overflow:
        hidden;

    background:
        #d8d3c8;

    box-shadow:
        20px 20px 0
        rgba(38,29,59,.09);
}

.material-cover-frame img {

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    filter:
        grayscale(100%)
        contrast(1.02);

    transform:
        scale(1.03);

    transition:
        transform .9s
        cubic-bezier(.2,.75,.2,1),
        filter .45s ease;
}

.material-cover-frame:hover img {

    transform:
        scale(1.08);

    filter:
        grayscale(20%);
}

.material-cover-frame::after {

    content:
        "";

    position:
        absolute;

    inset:
        0;

    background:
        linear-gradient(
            transparent 48%,
            rgba(0,0,0,.72)
        );

    pointer-events:
        none;
}

.material-cover-number {

    position:
        absolute;

    left:
        18px;

    top:
        17px;

    z-index:
        3;

    min-width:
        38px;

    min-height:
        38px;

    display:
        grid;

    place-items:
        center;

    background:
        var(--yellow);

    color:
        var(--ink);

    font-family:
        "Anton",
        sans-serif;

    font-size:
        17px;
}

.cover-overlay {

    position:
        absolute;

    left:
        22px;

    right:
        22px;

    bottom:
        22px;

    z-index:
        3;

    color:
        white;
}

.cover-overlay small {

    display:
        block;

    margin-bottom:
        7px;

    color:
        var(--yellow);

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        .12em;
}

.cover-overlay strong {

    display:
        block;

    max-width:
        90%;

    font-family:
        "Anton",
        sans-serif;

    font-size:
        clamp(
            46px,
            5vw,
            72px
        );

    line-height:
        .82;

    letter-spacing:
        -.025em;
}

.cover-caption {

    display:
        flex;

    align-items:
        center;

    gap:
        11px;

    margin-top:
        18px;

    color:
        #726d65;

    font-size:
        8px;

    font-weight:
        800;

    letter-spacing:
        .11em;
}

.cover-caption i {

    flex:
        1;

    height:
        1px;

    background:
        var(--line);
}


/* INTRO */

.material-eyebrow {

    color:
        var(--purple);

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        .13em;

    text-transform:
        uppercase;
}

.material-intro h1 {

    font-family:
        "Anton",
        sans-serif;

    font-size:
        clamp(
            64px,
            7vw,
            105px
        );

    line-height:
        .82;

    letter-spacing:
        -.03em;

    margin:
        25px 0 28px;

    max-width:
        760px;
}

.material-description {

    max-width:
        660px;

    color:
        #625e57;

    line-height:
        1.75;

    font-size:
        16px;
}

.material-quick-meta {

    display:
        grid;

    grid-template-columns:
        repeat(4,1fr);

    margin-top:
        33px;

    border-top:
        1px solid var(--ink);

    border-bottom:
        1px solid var(--line);
}

.material-quick-meta > div {

    min-height:
        82px;

    padding:
        17px 14px 15px 0;

    border-right:
        1px solid var(--line);

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        space-between;
}

.material-quick-meta > div:not(:first-child) {

    padding-left:
        14px;
}

.material-quick-meta > div:last-child {

    border-right:
        0;
}

.material-quick-meta span {

    color:
        #777169;

    font-size:
        8px;

    font-weight:
        800;

    letter-spacing:
        .1em;
}

.material-quick-meta strong {

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        13px;
}

.material-actions {

    display:
        flex;

    align-items:
        stretch;

    gap:
        10px;

    margin-top:
        28px;
}

.download-button {

    min-height:
        59px;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        13px;

    padding:
        0 22px;

    background:
        var(--purple-dark);

    color:
        white;

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        .07em;

    transition:
        transform .25s ease,
        background .25s ease;
}

.download-button span {

    color:
        var(--yellow);

    font-size:
        22px;
}

.download-button:hover {

    transform:
        translateY(-3px);

    background:
        var(--purple);
}

.download-button.disabled {

    background:
        #7b766e;

    cursor:
        not-allowed;

    opacity:
        .72;
}

.download-button.disabled:hover {

    transform:
        none;
}

.copy-link-button {

    min-height:
        59px;

    padding:
        0 18px;

    border:
        1px solid var(--ink);

    background:
        transparent;

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        .06em;
}

.copy-link-button:hover {

    background:
        var(--ink);

    color:
        white;
}

.download-notice {

    max-width:
        620px;

    margin-top:
        14px;

    color:
        #7a746b;

    font-size:
        11px;

    line-height:
        1.5;
}


/* MARQUEE */

.material-marquee {

    min-height:
        66px;

    background:
        var(--purple-dark);

    color:
        white;

    overflow:
        hidden;
}

.material-marquee > div {

    width:
        max-content;

    min-height:
        66px;

    display:
        flex;

    align-items:
        center;

    gap:
        35px;

    padding-left:
        max(
            24px,
            calc((100vw - var(--max)) / 2)
        );

    animation:
        materialMarquee
        27s linear
        infinite;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        10px;

    font-weight:
        700;

    letter-spacing:
        .1em;
}

.material-marquee i {

    width:
        34px;

    height:
        2px;

    background:
        var(--yellow);
}


/* BODY */

.material-body {

    width:
        min(
            var(--max),
            calc(100% - 48px)
        );

    margin:
        0 auto;

    padding:
        105px 0;

    display:
        grid;

    grid-template-columns:
        280px 1fr;

    gap:
        70px;
}

.material-info-panel {

    align-self:
        start;

    position:
        sticky;

    top:
        25px;

    border-top:
        2px solid var(--ink);
}

.info-panel-kicker {

    display:
        block;

    margin-top:
        18px;

    color:
        var(--purple);

    font-size:
        8px;

    font-weight:
        800;

    letter-spacing:
        .12em;
}

.material-info-panel h2 {

    font-family:
        "Anton",
        sans-serif;

    font-size:
        48px;

    line-height:
        .82;

    margin:
        15px 0 28px;
}

.material-data-list {

    margin:
        0;
}

.material-data-list > div {

    border-top:
        1px solid var(--line);

    padding:
        14px 0;
}

.material-data-list > div:last-child {

    border-bottom:
        1px solid var(--line);
}

.material-data-list dt {

    color:
        #7b756d;

    font-size:
        8px;

    font-weight:
        800;

    letter-spacing:
        .1em;

    text-transform:
        uppercase;
}

.material-data-list dd {

    margin:
        5px 0 0;

    font-size:
        12px;

    line-height:
        1.45;
}

.adaptation-box {

    margin-top:
        25px;

    padding:
        20px;

    background:
        var(--yellow);
}

.adaptation-box > span {

    display:
        block;

    font-size:
        8px;

    font-weight:
        800;

    letter-spacing:
        .1em;
}

.adaptation-box > strong {

    display:
        block;

    margin:
        8px 0 13px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        18px;
}

.adaptation-tags {

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        6px;
}

.adaptation-tags span {

    padding:
        6px 8px;

    background:
        rgba(255,255,255,.55);

    font-size:
        8px;

    font-weight:
        700;
}


/* PREVIEW */

.preview-section {

    border-top:
        2px solid var(--ink);

    padding-top:
        22px;
}

.preview-section > header {

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        flex-end;

    gap:
        50px;
}

.preview-section header span,
.use-section > div:first-child span,
.tags-section > span {

    color:
        var(--purple);

    font-size:
        8px;

    font-weight:
        800;

    letter-spacing:
        .12em;
}

.preview-section h2,
.use-section h2 {

    font-family:
        "Anton",
        sans-serif;

    font-size:
        58px;

    line-height:
        .84;

    margin:
        12px 0 0;
}

.preview-section header p {

    max-width:
        350px;

    color:
        #6f6961;

    line-height:
        1.65;

    font-size:
        12px;
}

.preview-stage {

    min-height:
        590px;

    margin-top:
        38px;

    position:
        relative;

    display:
        grid;

    place-items:
        center;

    overflow:
        hidden;

    background:
        #e3ded3;
}

.preview-stage::before {

    content:
        "";

    position:
        absolute;

    width:
        530px;

    height:
        530px;

    border-radius:
        50%;

    border:
        1px solid rgba(73,57,120,.18);

    right:
        -170px;

    top:
        -190px;
}

.preview-sheet {

    position:
        absolute;

    width:
        min(
            560px,
            74%
        );

    aspect-ratio:
        1 / 1.414;

    background:
        white;

    box-shadow:
        0 25px 65px
        rgba(0,0,0,.13);
}

.preview-sheet-back {

    transform:
        rotate(5deg)
        translate(
            38px,
            18px
        );

    background:
        #ccc5b8;
}

.preview-sheet-main {

    overflow:
        hidden;

    transform:
        rotate(-2deg);

    display:
        flex;

    flex-direction:
        column;
}

.preview-sheet-main img {

    width:
        100%;

    height:
        66%;

    object-fit:
        cover;

    filter:
        grayscale(100%)
        contrast(1.02);
}

.preview-copy {

    flex:
        1;

    padding:
        24px;

    background:
        var(--paper);

    display:
        flex;

    flex-direction:
        column;
}

.preview-copy small {

    color:
        var(--purple);

    font-size:
        8px;

    font-weight:
        800;

    letter-spacing:
        .11em;
}

.preview-copy strong {

    margin-top:
        auto;

    font-family:
        "Anton",
        sans-serif;

    font-size:
        clamp(
            30px,
            4vw,
            47px
        );

    line-height:
        .85;
}

.preview-copy span {

    margin-top:
        14px;

    color:
        #79736a;

    font-size:
        7px;

    font-weight:
        800;

    letter-spacing:
        .1em;
}

.preview-notice {

    margin:
        17px 0 0;

    color:
        #79736b;

    font-size:
        10px;

    line-height:
        1.55;
}


/* USE */

.use-section {

    border-top:
        1px solid var(--ink);

    margin-top:
        90px;

    padding-top:
        24px;
}

.use-grid {

    display:
        grid;

    grid-template-columns:
        repeat(3,1fr);

    margin-top:
        34px;

    border-left:
        1px solid var(--line);
}

.use-grid article {

    min-height:
        215px;

    padding:
        22px;

    border-right:
        1px solid var(--line);

    border-top:
        1px solid var(--line);

    border-bottom:
        1px solid var(--line);

    display:
        flex;

    flex-direction:
        column;
}

.use-grid article > span {

    color:
        var(--purple);

    font-size:
        9px;

    font-weight:
        800;
}

.use-grid article strong {

    margin-top:
        auto;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        22px;
}

.use-grid article p {

    margin:
        9px 0 0;

    color:
        #716b63;

    font-size:
        11px;

    line-height:
        1.55;
}


/* TAGS */

.tags-section {

    margin-top:
        75px;

    border-top:
        1px solid var(--ink);

    padding-top:
        20px;
}

.material-tags {

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        8px;

    margin-top:
        16px;
}

.material-tags a {

    min-height:
        34px;

    display:
        inline-flex;

    align-items:
        center;

    padding:
        0 11px;

    border:
        1px solid var(--line);

    font-size:
        9px;

    font-weight:
        700;

    transition:
        background .2s ease,
        color .2s ease;
}

.material-tags a:hover {

    background:
        var(--ink);

    color:
        white;
}


/* PAIRED MATERIAL */

.paired-material {

    margin-top:
        75px;

    min-height:
        210px;

    padding:
        35px;

    background:
        var(--yellow);

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        flex-end;

    gap:
        40px;
}

.paired-material span {

    font-size:
        8px;

    font-weight:
        800;

    letter-spacing:
        .1em;
}

.paired-material h2 {

    font-family:
        "Anton",
        sans-serif;

    font-size:
        49px;

    line-height:
        .84;

    margin:
        12px 0 0;
}

.paired-material > a {

    flex:
        0 0 auto;

    border-bottom:
        2px solid var(--ink);

    padding-bottom:
        5px;

    font-size:
        9px;

    font-weight:
        800;
}


/* RELATED */

.related-section {

    background:
        var(--ink);

    color:
        white;

    padding:
        100px max(
            24px,
            calc((100vw - var(--max)) / 2)
        );
}

.related-heading {

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        flex-end;

    gap:
        50px;

    margin-bottom:
        45px;
}

.related-heading span {

    color:
        var(--yellow);

    font-size:
        8px;

    font-weight:
        800;

    letter-spacing:
        .12em;
}

.related-heading h2 {

    font-family:
        "Anton",
        sans-serif;

    font-size:
        clamp(
            59px,
            7vw,
            91px
        );

    line-height:
        .8;

    margin:
        15px 0 0;
}

.related-heading > a {

    border-bottom:
        1px solid var(--yellow);

    padding-bottom:
        5px;

    color:
        var(--yellow);

    font-size:
        9px;

    font-weight:
        800;
}

.related-grid {

    display:
        grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:
        18px;
}

.related-card {

    min-width:
        0;

    opacity:
        0;

    transform:
        translateY(22px);

    animation:
        relatedCardIn
        .65s
        cubic-bezier(.22,.8,.25,1)
        forwards;
}

.related-card-image {

    height:
        300px;

    overflow:
        hidden;

    position:
        relative;
}

.related-card-image img {

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    filter:
        grayscale(100%)
        brightness(.75);

    transform:
        scale(1.02);

    transition:
        transform .7s ease,
        filter .4s ease;
}

.related-card:hover img {

    transform:
        scale(1.08);

    filter:
        grayscale(15%)
        brightness(.85);
}

.related-card-image span {

    position:
        absolute;

    left:
        13px;

    top:
        13px;

    z-index:
        2;

    padding:
        6px 8px;

    background:
        var(--paper);

    color:
        var(--ink);

    font-size:
        8px;

    font-weight:
        800;
}

.related-card-body {

    padding:
        17px 0 0;

    border-top:
        1px solid #424242;
}

.related-card-body small {

    color:
        var(--yellow);

    font-size:
        8px;

    font-weight:
        800;

    letter-spacing:
        .1em;
}

.related-card-body h3 {

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        20px;

    line-height:
        1.05;

    margin:
        9px 0 14px;
}

.related-card-body a {

    color:
        #cfcfcf;

    font-size:
        9px;

    font-weight:
        800;
}


/* AUTHOR STRIP */

.author-strip {

    width:
        min(
            var(--max),
            calc(100% - 48px)
        );

    margin:
        100px auto;

    min-height:
        180px;

    border-top:
        1px solid var(--ink);

    border-bottom:
        1px solid var(--ink);

    display:
        grid;

    grid-template-columns:
        1fr auto 1fr;

    gap:
        45px;

    align-items:
        center;
}

.author-strip small {

    display:
        block;

    color:
        #7a746c;

    font-size:
        8px;

    font-weight:
        800;

    letter-spacing:
        .11em;
}

.author-strip strong {

    display:
        block;

    margin-top:
        5px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        19px;
}

.author-brand {

    background:
        var(--yellow);

    padding:
        10px 13px;

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        .11em;

    transform:
        rotate(-2deg);
}

.author-strip p {

    justify-self:
        end;

    color:
        #777168;

    font-size:
        11px;

    line-height:
        1.55;

    max-width:
        280px;

    text-align:
        right;
}


/* ANIMATIONS */

@keyframes materialMarquee {

    from {

        transform:
            translateX(0);
    }

    to {

        transform:
            translateX(-16%);
    }
}

@keyframes relatedCardIn {

    to {

        opacity:
            1;

        transform:
            translateY(0);
    }
}


/* TABLET */

@media (max-width: 1050px) {

    .material-hero {

        grid-template-columns:
            .8fr 1.2fr;

        gap:
            45px;
    }

    .material-cover-frame {

        height:
            490px;
    }

    .material-body {

        grid-template-columns:
            220px 1fr;

        gap:
            45px;
    }

    .material-quick-meta {

        grid-template-columns:
            repeat(2,1fr);
    }

    .material-quick-meta > div:nth-child(2) {

        border-right:
            0;
    }

    .material-quick-meta > div:nth-child(3),
    .material-quick-meta > div:nth-child(4) {

        border-top:
            1px solid var(--line);
    }
}


/* MOBILE */

@media (max-width: 780px) {

    .material-hero,
    .material-body,
    .author-strip {

        width:
            calc(100% - 30px);
    }

    .material-hero {

        grid-template-columns:
            1fr;

        padding:
            50px 0 70px;

        gap:
            45px;
    }

    .material-cover-frame {

        height:
            520px;
    }

    .material-intro h1 {

        font-size:
            67px;
    }

    .material-actions {

        flex-direction:
            column;
    }

    .download-button,
    .copy-link-button {

        width:
            100%;

        justify-content:
            center;
    }

    .material-body {

        grid-template-columns:
            1fr;

        padding:
            70px 0;
    }

    .material-info-panel {

        position:
            static;
    }

    .preview-section > header,
    .related-heading {

        display:
            block;
    }

    .preview-section header p,
    .related-heading > a {

        display:
            inline-block;

        margin-top:
            20px;
    }

    .preview-stage {

        min-height:
            500px;
    }

    .preview-sheet {

        width:
            74%;
    }

    .use-grid {

        grid-template-columns:
            1fr;

        border-left:
            0;
    }

    .use-grid article {

        border-left:
            1px solid var(--line);
    }

    .paired-material {

        display:
            block;
    }

    .paired-material > a {

        display:
            inline-block;

        margin-top:
            28px;
    }

    .related-grid {

        grid-template-columns:
            1fr;
    }

    .related-card-image {

        height:
            410px;
    }

    .author-strip {

        grid-template-columns:
            1fr;

        gap:
            22px;

        padding:
            30px 0;
    }

    .author-strip p {

        justify-self:
            start;

        text-align:
            left;
    }
}


/* SMALL MOBILE */

@media (max-width: 480px) {

    .material-cover-frame {

        height:
            450px;
    }

    .material-intro h1 {

        font-size:
            57px;
    }

    .material-quick-meta {

        grid-template-columns:
            1fr;
    }

    .material-quick-meta > div {

        border-right:
            0;

        border-top:
            1px solid var(--line);
    }

    .material-quick-meta > div:first-child {

        border-top:
            0;
    }

    .material-quick-meta > div:not(:first-child) {

        padding-left:
            0;
    }

    .preview-stage {

        min-height:
            430px;
    }

    .preview-sheet {

        width:
            82%;
    }

    .preview-copy {

        padding:
            18px;
    }

    .related-card-image {

        height:
            340px;
    }
}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    .material-marquee > div,
    .related-card {

        animation:
            none;
    }

    .related-card {

        opacity:
            1;

        transform:
            none;
    }
}
/* ==========================================================
   HUMANAS JA - DOWNLOADS REAIS
   ========================================================== */

.download-options {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.download-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    min-height: 54px;

    padding: 14px 16px;

    border: 2px solid #111111;

    background: #EEE9E1;
    color: #111111;

    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.download-option:hover {
    background: #111111;
    color: #EEE9E1;

    transform:
        translateY(-2px);
}

.download-option-name {
    font-weight: 800;
}

.download-option-meta {
    flex: 0 0 auto;

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .06em;

    opacity: .72;
}

@media (max-width: 480px) {

    .download-option {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}

/* ==========================================================
   HUMANAS JA - AJUSTE PREVIEW E RELACIONADOS
   ========================================================== */

/*
   A previa permanece no DOM para compatibilidade com
   material.js, mas nao faz mais parte da interface.
*/
.preview-section {
    display: none !important;
}

/*
   MATERIAIS RELACIONADOS
   Contraste editorial para fundo escuro.
*/
.related-section {
    background: #111;
    color: #EEE9E1;
}

.related-heading h2 {
    color: #EEE9E1;
}

.related-heading span {
    color: #E7D62F;
}

.related-heading > a {
    color: #E7D62F;
    border-bottom-color: #E7D62F;
}

.related-heading > a:hover {
    color: #EEE9E1;
}

.related-card-body {
    color: #EEE9E1;
}

.related-card-body small {
    color: #E7D62F;
}

.related-card-body h3 {
    color: #EEE9E1;
}

.related-card-body a {
    color: #EEE9E1;
}

.related-card-body a:hover {
    color: #E7D62F;
}


/* ============================================================
   PATCH FINAL - CONTRASTE DOS MATERIAIS RELACIONADOS
   ============================================================ */

.related-section .related-card-title,
.related-section .related-card-title a,
.related-section .related-card h3,
.related-section .related-card h3 a,
.related-section .related-card-content h3,
.related-section .related-card-content h3 a {
    color: #EEE9E1 !important;
}

.related-section .related-card-type,
.related-section .related-card-meta,
.related-section .related-card-format,
.related-section .related-card-label {
    color: #F2D533 !important;
}

.related-section .related-card a,
.related-section .related-card-link,
.related-section .related-card .card-link {
    color: #EEE9E1 !important;
}

.related-section .related-card a:hover,
.related-section .related-card-link:hover,
.related-section .related-card .card-link:hover {
    color: #FFFFFF !important;
}

.related-section .related-card {
    color: #EEE9E1 !important;
}