/* =========================================================
   HUMANAS JA / PASSO 6F
   COLECOES
   ========================================================= */

.collections-hero,
.collections-library,
.collections-closing,
.collection-detail-hero,
.collection-materials,
.collection-author {

    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
}

/* HERO */

.collections-hero {
    min-height: 620px;
    padding: 70px 0 90px;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 75px;
    align-items: center;
}

.collections-kicker {
    color: var(--purple);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .13em;
}

.collections-hero-copy h1 {
    margin: 24px 0 28px;
    font-family: "Anton", sans-serif;
    font-size: clamp(62px, 5.8vw, 88px);
    line-height: .84;
    letter-spacing: -.03em;
}

.collections-hero-copy h1 strong {
    display: block;
    color: var(--purple);
    font-weight: inherit;
}

.collections-hero-copy p {
    max-width: 520px;
    color: #666058;
    line-height: 1.72;
    font-size: 16px;
}

.collections-hero-image {
    height: 440px;
    position: relative;
    overflow: hidden;
    background: #d8d3c7;
}

.collections-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.02) brightness(.72);
    transform: scale(1.03);
    transition: transform .85s ease, filter .4s ease;
}

.collections-hero-image:hover img {
    transform: scale(1.08);
    filter: grayscale(18%) brightness(.82);
}

.collections-hero-badge {
    position: absolute;
    inset: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}

.collections-hero-badge span {
    color: var(--yellow);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .11em;
}

.collections-hero-badge strong {
    font-family: "Anton", sans-serif;
    font-size: clamp(34px, 3.4vw, 46px);
    line-height: .88;
}

/* FILTER STRIP */

.collection-tabs {
    min-height: 76px;
    background: var(--purple-dark);
    color: white;
    display: flex;
    align-items: center;
}

.collection-tabs > div {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.collection-tabs > div > span {
    color: var(--yellow);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .11em;
    margin-right: 15px;
}

.collection-filter {
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid #65597c;
    background: transparent;
    color: #d8d2e3;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
}

.collection-filter:hover,
.collection-filter.active {
    background: var(--yellow);
    color: var(--ink);
    border-color: var(--yellow);
}

/* LIBRARY */

.collections-library {
    padding: 105px 0 115px;
}

.collections-heading,
.collection-materials-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
    margin-bottom: 46px;
}

.collections-heading span,
.collection-materials-heading span {
    color: var(--purple);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .12em;
}

.collections-heading h2,
.collection-materials-heading h2 {
    margin: 15px 0 0;
    font-family: "Anton", sans-serif;
    font-size: clamp(50px, 5vw, 74px);
    line-height: .84;
}

.collections-heading p,
.collection-materials-heading p {
    max-width: 420px;
    color: #69635b;
    line-height: 1.7;
    font-size: 13px;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.collection-card {
    background: #e6e0d5;
    border-top: 1px solid var(--ink);
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 430px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(22px);
    animation: collectionCardIn .65s cubic-bezier(.22,.8,.25,1) forwards;
}

.collection-card-image {
    position: relative;
    overflow: hidden;
}

.collection-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.02);
    transform: scale(1.03);
    transition: transform .8s ease, filter .4s ease;
}

.collection-card:hover .collection-card-image img {
    transform: scale(1.08);
    filter: grayscale(15%);
}

.collection-card-image span {
    position: absolute;
    left: 15px;
    top: 15px;
    background: var(--yellow);
    padding: 7px 9px;
    font-size: 8px;
    font-weight: 800;
}

.collection-card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.collection-card-content > span {
    color: var(--purple);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .11em;
}

.collection-card-content h3 {
    margin: 16px 0 13px;
    font-family: "Anton", sans-serif;
    font-size: clamp(34px, 3.4vw, 42px);
    line-height: .88;
}

.collection-card-content p {
    color: #6a645d;
    font-size: 11px;
    line-height: 1.6;
}

.collection-card-meta {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #cac2b6;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #706960;
    font-size: 8px;
    font-weight: 700;
}

.collection-card-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--purple);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .07em;
}

.collection-card-link:hover {
    transform: translateX(4px);
}

.collections-empty {
    padding: 45px;
    border: 1px solid var(--line);
    background: #e7e1d7;
    text-align: center;
    color: #68625b;
}

/* CLOSING */

.collections-closing {
    margin: 0 auto 110px;
    min-height: 300px;
    background: var(--ink);
    color: white;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 50px;
    align-items: end;
}

.collections-closing small {
    color: var(--yellow);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .11em;
}

.collections-closing h2 {
    margin: 15px 0 0;
    font-family: "Anton", sans-serif;
    font-size: clamp(44px, 4.3vw, 58px);
    line-height: .86;
}

.collections-closing p {
    max-width: 410px;
    color: #afafaf;
    line-height: 1.72;
}

/* DETAIL HERO */

.collection-detail-hero {
    min-height: 660px;
    padding: 72px 0 88px;
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 75px;
    align-items: center;
}

.collection-detail-image {
    height: 550px;
    overflow: hidden;
    position: relative;
    box-shadow: 18px 18px 0 rgba(38,29,59,.08);
}

.collection-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.04);
    transition: transform .8s ease, filter .4s ease;
}

.collection-detail-image:hover img {
    transform: scale(1.06);
    filter: grayscale(20%);
}

.collection-detail-code {
    position: absolute;
    left: 17px;
    top: 17px;
    background: var(--yellow);
    padding: 8px 10px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .09em;
}

.collection-back-link {
    display: inline-block;
    margin-bottom: 28px;
    color: #706960;
    font-size: 8px;
    font-weight: 800;
    border-bottom: 1px solid var(--purple);
    padding-bottom: 4px;
}

.collection-detail-kicker {
    color: var(--purple);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}

.collection-detail-copy h1 {
    margin: 23px 0 24px;
    font-family: "Anton", sans-serif;
    font-size: clamp(58px, 5.8vw, 86px);
    line-height: .85;
}

.collection-detail-copy > p {
    max-width: 650px;
    color: #655f58;
    line-height: 1.72;
    font-size: 15px;
}

.collection-detail-meta {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    margin-top: 34px;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--line);
}

.collection-detail-meta > div {
    min-height: 84px;
    padding: 17px 12px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.collection-detail-meta > div:first-child {
    padding-left: 0;
}

.collection-detail-meta > div:last-child {
    border-right: 0;
}

.collection-detail-meta span {
    color: #7a746c;
    font-size: 8px;
    font-weight: 800;
}

.collection-detail-meta strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 12px;
}

/* BAND */

.collection-band {
    min-height: 66px;
    background: var(--purple-dark);
    color: white;
    overflow: hidden;
}

.collection-band > div {
    width: max-content;
    min-height: 66px;
    display: flex;
    align-items: center;
    gap: 34px;
    padding-left: max(24px, calc((100vw - var(--max)) / 2));
    animation: collectionBandMove 26s linear infinite;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
}

.collection-band i {
    width: 35px;
    height: 2px;
    background: var(--yellow);
}

/* MATERIALS */

.collection-materials {
    padding: 105px 0 115px;
}

.collection-materials-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.collection-material-card {
    border-top: 1px solid var(--ink);
    opacity: 0;
    transform: translateY(20px);
    animation: collectionMaterialIn .6s cubic-bezier(.22,.8,.25,1) forwards;
}

.collection-material-image {
    height: 320px;
    overflow: hidden;
    position: relative;
    background: #d8d3c7;
}

.collection-material-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform .75s ease, filter .4s ease;
}

.collection-material-card:hover img {
    transform: scale(1.07);
    filter: grayscale(15%);
}

.collection-material-image span {
    position: absolute;
    left: 14px;
    top: 14px;
    background: var(--paper);
    padding: 6px 8px;
    font-size: 8px;
    font-weight: 800;
}

.collection-material-body {
    padding: 17px 0 0;
}

.collection-material-body small {
    color: var(--purple);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .1em;
}

.collection-material-body h3 {
    margin: 9px 0 11px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 21px;
    line-height: 1.04;
}

.collection-material-body p {
    color: #6a645d;
    font-size: 11px;
    line-height: 1.55;
}

.collection-material-body a {
    display: inline-block;
    margin-top: 14px;
    color: var(--purple);
    font-size: 9px;
    font-weight: 800;
}

/* MANIFEST */

.collection-manifest {
    background: var(--paper-2);
    padding: 90px max(24px, calc((100vw - var(--max)) / 2));
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 70px;
}

.collection-manifest-copy small {
    color: var(--purple);
    font-size: 8px;
    font-weight: 800;
}

.collection-manifest-copy h2 {
    margin: 17px 0 0;
    font-family: "Anton", sans-serif;
    font-size: clamp(46px, 4.5vw, 60px);
    line-height: .87;
}

.collection-manifest-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    border-left: 1px solid var(--line);
}

.collection-manifest-grid article {
    min-height: 235px;
    padding: 23px;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
}

.collection-manifest-grid article > span {
    color: var(--purple);
    font-size: 9px;
    font-weight: 800;
}

.collection-manifest-grid article strong {
    margin-top: auto;
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
}

.collection-manifest-grid article p {
    margin: 8px 0 0;
    color: #6d675f;
    font-size: 11px;
    line-height: 1.55;
}

/* AUTHOR */

.collection-author {
    margin: 100px auto;
    min-height: 160px;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
}

.collection-author small {
    display: block;
    color: #777168;
    font-size: 8px;
    font-weight: 800;
}

.collection-author strong {
    display: block;
    margin-top: 4px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
}

.collection-author > span {
    background: var(--yellow);
    padding: 9px 11px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    transform: rotate(-2deg);
}

.collection-author > a {
    justify-self: end;
    color: var(--purple);
    font-size: 9px;
    font-weight: 800;
}

/* NOT FOUND */

.collection-not-found {
    width: min(920px, calc(100% - 48px));
    margin: 100px auto 130px;
    padding: 60px;
    background: var(--paper-2);
    border-top: 2px solid var(--ink);
}

.collection-not-found span {
    color: var(--purple);
    font-size: 8px;
    font-weight: 800;
}

.collection-not-found h1 {
    font-family: "Anton", sans-serif;
    font-size: clamp(50px, 5vw, 70px);
    line-height: .87;
    margin: 18px 0 25px;
}

.collection-not-found a {
    color: var(--purple);
    font-size: 9px;
    font-weight: 800;
    border-bottom: 1px solid var(--purple);
    padding-bottom: 4px;
}

/* ANIMATIONS */

@keyframes collectionCardIn {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes collectionMaterialIn {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes collectionBandMove {
    from { transform: translateX(0); }
    to   { transform: translateX(-16%); }
}

/* TABLET */

@media (max-width: 1050px) {
    .collections-hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .collections-grid {
        grid-template-columns: 1fr;
    }

    .collections-closing {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .collection-detail-hero {
        grid-template-columns: .9fr 1.1fr;
        gap: 45px;
    }

    .collection-detail-meta {
        grid-template-columns: repeat(2,1fr);
    }

    .collection-detail-meta > div:nth-child(2) {
        border-right: 0;
    }

    .collection-detail-meta > div:nth-child(3),
    .collection-detail-meta > div:nth-child(4) {
        border-top: 1px solid var(--line);
    }

    .collection-materials-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .collection-manifest {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* MOBILE */

@media (max-width: 780px) {
    .collections-hero,
    .collections-library,
    .collections-closing,
    .collection-detail-hero,
    .collection-materials,
    .collection-author {
        width: calc(100% - 30px);
    }

    .collections-hero {
        padding: 55px 0;
    }

    .collection-tabs > div {
        width: calc(100% - 30px);
        padding: 18px 0;
    }

    .collections-heading,
    .collection-materials-heading {
        display: block;
    }

    .collections-heading p,
    .collection-materials-heading p {
        margin-top: 22px;
    }

    .collection-card {
        grid-template-columns: 1fr;
    }

    .collection-card-image {
        height: 360px;
    }

    .collection-card-content {
        min-height: 300px;
    }

    .collection-detail-hero {
        grid-template-columns: 1fr;
        padding: 55px 0 70px;
    }

    .collection-detail-image {
        height: 480px;
    }

    .collection-materials-grid {
        grid-template-columns: 1fr;
    }

    .collection-material-image {
        height: 400px;
    }

    .collection-manifest {
        padding: 70px 25px;
    }

    .collection-manifest-grid {
        grid-template-columns: 1fr;
        border-left: 0;
    }

    .collection-manifest-grid article {
        border-left: 1px solid var(--line);
    }

    .collection-author {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 28px 0;
    }

    .collection-author > a {
        justify-self: start;
    }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
    .collections-hero-image {
        height: 330px;
    }

    .collection-card-image {
        height: 310px;
    }

    .collection-detail-image {
        height: 420px;
    }

    .collection-detail-meta {
        grid-template-columns: 1fr;
    }

    .collection-detail-meta > div {
        border-right: 0;
        border-top: 1px solid var(--line);
    }

    .collection-detail-meta > div:first-child {
        border-top: 0;
    }

    .collection-material-image {
        height: 340px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .collection-card,
    .collection-material-card {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .collection-band > div {
        animation: none;
    }
}