
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --background: #17191d;
    --surface: #202329;
    --text: #f1f0ec;
    --muted: #a1a3a8;
    --accent: #cbb991;
    --border: #30343a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.header {
    height: 82px;
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: 'Manrope', sans-serif;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 3px;
}

.logo span {
    color: var(--accent);
}

.navigation {
    display: flex;
    gap: 36px;
}

.navigation a {
    color: var(--muted);
    font-size: 14px;
    transition: color .2s;
}

.navigation a:hover,
.navigation a.active {
    color: var(--text);
}

.header-button {
    border: 1px solid #55504a;
    padding: 11px 19px;
    border-radius: 4px;
    font-size: 13px;
}

.hero {
    min-height: 490px;
    padding: 90px 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 1;
}

.eyebrow {
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

.hero h1 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(38px, 5vw, 65px);
    line-height: 1.12;
    margin: 24px 0;
    letter-spacing: -2px;
}

.hero h1 span {
    display: block;
    color: var(--accent);
}

.hero p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.primary-button {
    display: inline-flex;
    gap: 25px;
    align-items: center;
    background: var(--accent);
    color: #17191d;
    padding: 15px 22px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    transition: opacity .2s;
}

.primary-button:hover {
    opacity: .85;
}

.hero-decoration {
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 3px;
}

.hero-circle {
    position: absolute;
    width: 270px;
    height: 270px;
    border: 1px solid #5c574c;
    border-radius: 50%;
    box-shadow:
        0 0 0 35px rgba(203, 185, 145, .025),
        0 0 0 70px rgba(203, 185, 145, .018);
}

.catalog-section {
    padding: 75px 8%;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 35px;
}

.section-heading h2,
.categories-section h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 30px;
    margin-top: 10px;
}

.text-link {
    color: var(--accent);
    font-size: 13px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.content-card {
    min-width: 0;
}

.poster {
    aspect-ratio: 3 / 4;
    border-radius: 4px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    transition: transform .25s;
}

.content-card:hover .poster {
    transform: translateY(-5px);
}

.poster-number {
    font-size: 11px;
    letter-spacing: 2px;
}

.poster-title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(19px, 2vw, 27px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
}

.poster-one {
    background: linear-gradient(145deg, #65736e, #283c3b 70%);
}

.poster-two {
    background: linear-gradient(145deg, #8a7357, #34302d 75%);
}

.poster-three {
    background: linear-gradient(145deg, #536c60, #202e2c 75%);
}

.poster-four {
    background: linear-gradient(145deg, #5a607e, #292c43 75%);
}

.card-info {
    padding: 15px 0;
}

.card-info h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.card-info p {
    color: var(--muted);
    font-size: 12px;
}

.categories-section {
    padding: 65px 8%;
    background: #1d2025;
    border-top: 1px solid var(--border);
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.category-list span {
    border: 1px solid #41444a;
    border-radius: 3px;
    padding: 12px 20px;
    color: #d0d0cd;
    font-size: 13px;
}

.footer {
    padding: 45px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
}

.footer p,
.footer > span {
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 850px) {
    .content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-decoration {
        display: none;
    }
}

@media (max-width: 600px) {
    .header {
        height: auto;
        padding: 22px 6%;
        flex-wrap: wrap;
        gap: 20px;
    }

    .navigation {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .header-button {
        font-size: 11px;
    }

    .hero {
        padding: 75px 7%;
        min-height: 420px;
    }

    .catalog-section,
    .categories-section {
        padding: 55px 6%;
    }

    .section-heading h2,
    .categories-section h2 {
        font-size: 24px;
    }

    .text-link {
        font-size: 11px;
    }

    .content-grid {
        gap: 15px;
    }

    .poster {
        padding: 13px;
    }

    .poster-title {
        font-size: 18px;
    }

    .footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 35px 6%;
    }
}


.catalog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.catalog-controls input {
    width: 100%;
    max-width: 400px;
    padding: 14px 16px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 4px;
    outline: none;
    font: inherit;
}

.catalog-controls input:focus {
    border-color: var(--accent);
}

.catalog-controls input::placeholder {
    color: var(--muted);
}

#resultCount {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.category-filter {
    background: transparent;
    border: 1px solid #41444a;
    border-radius: 3px;
    padding: 12px 20px;
    color: #d0d0cd;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: .2s;
}

.category-filter:hover,
.category-filter.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #17191d;
}

.content-card[hidden] {
    display: none;
}

@media (max-width: 600px) {
    .catalog-controls {
        align-items: stretch;
        flex-direction: column;
    }

    .catalog-controls input {
        max-width: none;
    }
}

.details-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--accent);
    font-size: 13px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.details-link:hover {
    opacity: 0.7;
}


/* Links institucionais do rodapé */
.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
}

.footer-links a {
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text);
}

@media (max-width: 600px) {
    .footer-links {
        justify-content: flex-start;
        gap: 16px;
    }
}
