:root {
    --muted: rgba(255, 255, 255, 0.70);
    --line: rgba(255, 255, 255, 0.08);
}

/* hero section - banner*/
.hero {
    position: relative;
    z-index: 1;
    height: 62vh;
    min-height: 420px;
    max-height: 640px;
    overflow: hidden;
    width: 100%;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.28) saturate(.5);
    display: block;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 4, 27, .1) 50%, rgba(0, 4, 27, 1) 100%);
}

/* hero section - btn voltar atras*/
.hero__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    text-decoration: none;
    transition: color .2s;
    margin-bottom: 1rem;
}

.hero__back:hover {
    color: var(--primary-color);
}

.hero__back svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* hero section - content*/

.hero__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 52px;
}

.hero__badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
}

.hero__badge {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 8px;
    color: #e0e0e0;
}

.hero__badge--publico {
    background: #90742d;
}

.hero__badge--tipo {
    background: var(--third-color);
}

.hero__badge--disc {
    background: #801742;
}

.hero__title {
    font-weight: 300;
    text-transform: uppercase;
    line-height: .95;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--text-color) 0%, var(--primary-color) 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.hero__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
}

.hero__meta-item svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    opacity: .6;
}

/* DOWNLOAD BAR */
.hero-info {
    padding: 16px;
}

.d-files {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

.d-files-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    text-decoration: none;
    border-right: 1px solid rgba(255, 255, 255, .12);
    transition: background .2s;
    flex: 1;
    min-width: 180px;
    max-width: 400px;
}

.d-files-item:hover {
    background: rgba(255, 255, 255, .08);
}

.d-files-item>svg {
    width: 20px;
    height: 20px;
    stroke: rgba(255, 255, 255, .5);
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
}

.d-files-itemname {
    color: var(--text-color);
    margin-bottom: 0;
}

.d-files_meta {
    font-size: 14px;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 0;
    margin-top: 1px;
}

.d-files_dl {
    margin-left: auto;
}

svg.d-files_dl {
    width: 14px;
    height: 14px;
    stroke: rgba(255, 255, 255, 0.8);
    stroke-width: 2;
    fill: none;
    transition: stroke .2s;
}

.d-files-item:hover svg.d-files_dl {
    stroke: var(--text-color);
}

.d-files__cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-color);
    text-decoration: none;
    border-left: 1px solid rgba(255, 255, 255, .12);
    transition: background .2s;
    white-space: nowrap;
}

.d-files__cta:hover {
    background: rgba(255, 255, 255, .1);
    color: var(--text-color);
}

.d-files__cta svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}


/* BODY */
.page-body {
    position: relative;
}

/* ficha inline */
.ficha-inline {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--line);
}

.ficha-inline p {
    margin-bottom: 0;
}

.ficha-inline__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 32px;
    margin-right: 32px;
    border-right: 1px solid var(--line);
    margin-bottom: 16px;
}

.ficha-inline__item:last-child {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
}

.ficha-inline__key {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.ficha-inline__val {
    color: var(--text-color);
}

.ficha-inline__val a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* content sections */
.content-section {
    padding: 52px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.content-section:last-child {
    border-bottom: none;
}

.content-section>h2 {
    text-transform: uppercase;
    color: var(--text-color);
    margin: 0;
}


.body-text {
    color: var(--text-color);
    line-height: 1.85;
    max-width: 900px;
}

.body-text strong {
    color: var(--text-color);
    font-weight: 600;
}

/* objectivos */

.prep-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    color: var(--text-color);
}

.prep-grid ul li {
    list-style: none;
    padding-left: 1.5em;
    position: relative;
}

.prep-grid ul li::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 0;
    width: 1.5em;
    height: 1.5em;
    background-color: var(--primary-color);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M627.33-427.67h-443q-22 0-37.16-15.16Q132-458 132-480t15.17-37.17q15.16-15.16 37.16-15.16h443L443-716.67q-15.67-15.66-16.05-37.45-.39-21.78 15.33-37.61 15.72-15.6 37.6-15.27 21.88.33 37.79 16L791-517.67q7.61 7.78 11.97 17.8t4.36 19.94q0 9.93-4.36 19.9-4.36 9.96-11.97 17.7L516.67-168.67Q500-152.33 479-152.33t-36.67-16.49q-15.66-15.72-15.66-36.95 0-21.23 15.66-36.9l185-185Z'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M627.33-427.67h-443q-22 0-37.16-15.16Q132-458 132-480t15.17-37.17q15.16-15.16 37.16-15.16h443L443-716.67q-15.67-15.66-16.05-37.45-.39-21.78 15.33-37.61 15.72-15.6 37.6-15.27 21.88.33 37.79 16L791-517.67q7.61 7.78 11.97 17.8t4.36 19.94q0 9.93-4.36 19.9-4.36 9.96-11.97 17.7L516.67-168.67Q500-152.33 479-152.33t-36.67-16.49q-15.66-15.72-15.66-36.95 0-21.23 15.66-36.9l185-185Z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

.objectives {
    list-style: none;
    padding: 0;
}

.objectives li {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-color);
    line-height: 1.65;
    padding: 8px 0;
}

.objectives li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.objectives li::before {
    content: '';
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}


.teacher-note {
    margin-top: 2rem;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.teacher-note>svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary-color);
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
}

.tn-label {
    font-size: 14px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: block;
}

.tn-text {
    color: var(--text-color);
    line-height: 1.5;
}


/* relacionados */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}


.related-card {
    display: flex;
    gap: 14px;
    align-items: center;
    text-decoration: none;
    padding: 20px 0;
    transition: all .2s;
}

.related-card:hover {
    opacity: .7;
    transform: translateY(-10px);
}

.related-card img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    flex-shrink: 0;
    filter: brightness(.65) saturate(.6);
}

.related-card__name {
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
    margin-bottom: 4px;
}

.related-card__meta {
    font-size: 14px;
    color: var(--muted);
}

.section-divider {
    border: none;
    border-top: 1px solid var(--line);
    margin: 60px 0 40px;
}


@media (max-width: 768px) {


    .hero__meta {
        gap: 10px;
    }

    .d-files {
        flex-direction: column;
    }

    .d-files-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        max-width: 100%;
    }

    .d-files__cta {
        flex: 1;
        justify-content: center;
        border-left: none;
    }

    .hero__meta-item {
        gap: 4px;
    }

    /* materiais a usar*/
    .prep-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* recursos relacionados*/

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