/* Central de guias — layout da referência. */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

html:not(.dark) .guides-hero {
    display: flex;
    align-items: center;
    min-height: 30.5rem;
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
    background: #052f63 !important;
}

html:not(.dark) .guides-hero > .absolute:not(.guides-hero-background):not(.guides-hero-overlay) {
    display: none !important;
}

html:not(.dark) .guides-hero .guides-hero-background {
    display: block !important;
    z-index: 0;
    filter: saturate(.82) contrast(1.08);
}

html:not(.dark) .guides-hero .guides-hero-overlay {
    display: block !important;
    z-index: 1;
    background: linear-gradient(90deg, rgba(1, 22, 49, .9) 0%, rgba(3, 47, 99, .78) 50%, rgba(1, 22, 49, .72) 100%);
}

html:not(.dark) .guides-hero > div {
    width: 100%;
    max-width: 80rem !important;
}

html:not(.dark) .guides-hero .max-w-4xl {
    max-width: 72rem;
    margin: 0 auto;
    text-align: center;
}

html:not(.dark) .guides-hero h1 {
    max-width: 60rem;
    margin: 1.5rem auto 0;
    font-size: clamp(4rem, 4.4vw, 4.65rem) !important;
    font-weight: 500 !important;
    letter-spacing: -.045em !important;
    line-height: 1.08 !important;
}

html:not(.dark) .guides-hero p {
    max-width: 52rem;
    margin: 1.4rem auto 0;
    color: #dbe8f5 !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
}

html:not(.dark) .guides-hero span {
    padding: .45rem 1.8rem !important;
    background: #f5b400 !important;
    border-radius: 999px !important;
    color: #102a4c !important;
    box-shadow: none !important;
}

html:not(.dark) .guides-page {
    min-height: 96rem;
    padding-top: 7rem !important;
    padding-bottom: 7rem !important;
    background: #f3f7fc !important;
}

html:not(.dark) .guides-page > div {
    max-width: 76rem !important;
}

html:not(.dark) .guides-list {
    overflow: visible !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html:not(.dark) .guides-list > .mb-8 {
    display: block !important;
    margin-bottom: 2.5rem !important;
    text-align: center;
}

html:not(.dark) .guides-list > .mb-8 > div {
    max-width: 58rem;
    margin: 0 auto;
}

html:not(.dark) .guides-list > .mb-8 > span:last-child {
    display: none !important;
}

html:not(.dark) .guides-list > .mb-8 span:first-child {
    padding: .5rem 1.35rem !important;
    border: 0 !important;
    background: #f5b400 !important;
    color: #102a4c !important;
}

html:not(.dark) .guides-list h2 {
    margin-top: 1.3rem !important;
    color: #123c6c !important;
    font-size: 2.5rem !important;
    font-weight: 500 !important;
    letter-spacing: -.04em !important;
}

html:not(.dark) .guides-list > .mb-8 p {
    margin-top: .55rem !important;
    color: #315174 !important;
    font-size: .86rem !important;
    line-height: 1.6 !important;
}

html:not(.dark) .guides-list > .grid {
    gap: 1.8rem 1.25rem !important;
}

html:not(.dark) .guide-area-card {
    display: flex;
    flex-direction: column;
    min-height: 22.75rem;
    padding: 1.5rem !important;
    border: 0 !important;
    border-radius: 1.6rem !important;
    background: #fff !important;
    box-shadow: 0 14px 32px -28px rgba(3, 39, 86, .38) !important;
}

html:not(.dark) .guide-area-card > .absolute {
    display: none !important;
}

html:not(.dark) .guide-area-card h3 {
    max-width: 17rem;
    margin-top: 1.35rem !important;
    color: #172333 !important;
    font-size: 1.55rem !important;
    line-height: 1.02 !important;
}

html:not(.dark) .guide-area-card > p {
    color: #6d7e93 !important;
    font-size: .82rem !important;
    line-height: 1.85 !important;
}

html:not(.dark) .guide-area-card > .mt-6 {
    margin-top: auto !important;
    padding-top: 1.5rem;
}

html:not(.dark) .guide-area-card a {
    padding: .75rem 1.3rem !important;
    font-size: .78rem !important;
}

html:not(.dark) .guide-area-card a:first-child {
    background: #052f63 !important;
    color: #fff !important;
    box-shadow: 0 10px 20px -12px rgba(3, 47, 99, .7) !important;
}

html:not(.dark) .guide-area-card a:last-child {
    border-color: #cbd7e4 !important;
    color: #243b56 !important;
}

@media (max-width: 1023px) {
    html:not(.dark) .guides-page {
        min-height: 0;
    }
}

@media (max-width: 767px) {
    html:not(.dark) .guides-hero {
        min-height: 27rem;
        padding: 3.5rem 1rem !important;
    }

    html:not(.dark) .guides-hero h1 {
        max-width: 24rem;
        font-size: clamp(2.35rem, 10vw, 3rem) !important;
        line-height: 1.04 !important;
    }

    html:not(.dark) .guides-hero p {
        max-width: 22rem;
        font-size: .82rem !important;
        line-height: 1.6 !important;
    }

    html:not(.dark) .guides-page {
        padding: 3.5rem 1rem !important;
    }

    html:not(.dark) .guides-page > div {
        padding: 0 !important;
    }

    html:not(.dark) .guides-list h2 {
        font-size: 1.9rem !important;
    }

    html:not(.dark) .guides-list > .grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 1rem !important;
    }

    html:not(.dark) .guide-area-card {
        min-height: 20rem;
    }

    html:not(.dark) .guide-area-card > .mt-6 {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 380px) {
    html:not(.dark) .guide-area-card > .mt-6 {
        grid-template-columns: minmax(0, 1fr);
    }
}
