@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

* {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 12% 0, rgba(77, 235, 255, 0.16), transparent 30%),
        radial-gradient(circle at 92% 4%, rgba(245, 158, 11, 0.12), transparent 28%),
        #edf1f5;
    color: #0f172a;
    font-family: "Inter", sans-serif;
}

.docs_header {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 32px;
    border-bottom: 1px solid rgba(219, 227, 240, 0.9);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(14px);
}

.docs_header img {
    width: 120px;
    height: 62px;
    object-fit: contain;
}

.docs_header span {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.docs_shell {
    width: min(1380px, calc(100% - 36px));
    margin: 0 auto;
    padding: 24px 0 40px;
}

.docs_card {
    position: relative;
    min-height: calc(100vh - 128px);
    overflow: hidden;
    padding: clamp(26px, 4vw, 56px);
    border: 1px solid rgba(219, 227, 240, 0.96);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 26px 72px rgba(15, 23, 42, 0.1);
}

.docs_topline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 7px;
    background: linear-gradient(90deg, #0145f2, #4debff);
}

.docs_azul-dourado .docs_topline {
    background: linear-gradient(90deg, #0145f2, #f59e0b);
}

.docs_laranja .docs_topline {
    background: linear-gradient(90deg, #ea580c, #fdba74);
}

.docs_verde .docs_topline {
    background: linear-gradient(90deg, #047857, #34d399);
}

.docs_vermelho .docs_topline {
    background: linear-gradient(90deg, #be123c, #fb7185);
}

.docs_kicker {
    display: inline-flex;
    margin-bottom: 12px;
    color: #0145f2;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.docs_card > h1 {
    max-width: 920px;
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.85rem, 4.8vw, 3.45rem);
    font-weight: 750;
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.docs_subtitle {
    max-width: 880px;
    margin: 16px 0 30px;
    color: #64748b;
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.65;
}

.docs_content {
    max-width: 980px;
    color: #243247;
    font-size: 1rem;
    line-height: 1.75;
}

.docs_content h1 {
    margin: 34px 0 12px;
    color: #0f172a;
    font-size: clamp(1.55rem, 4vw, 2.25rem);
    line-height: 1.12;
    letter-spacing: -0.045em;
}

.docs_content h2 {
    margin: 28px 0 10px 22px;
    color: #64748b;
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    line-height: 1.18;
    letter-spacing: -0.025em;
}

.docs_content h3 {
    margin: 20px 0 8px;
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.4;
}

.docs_content p {
    margin: 12px 0;
}

.docs_content a {
    color: #0145f2;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.docs_loading,
.docs_error {
    padding: 28px;
    color: #64748b;
    text-align: center;
    font-weight: 750;
}

.docs_error {
    color: #be123c;
}

@media (max-width: 640px) {
    .docs_header {
        padding: 10px 18px;
    }

    .docs_header img {
        width: 104px;
        height: 54px;
    }

    .docs_shell {
        width: calc(100% - 28px);
        padding-top: 18px;
    }

    .docs_card {
        min-height: calc(100vh - 104px);
        border-radius: 22px;
    }

    .docs_content h2 {
        margin-left: 14px;
    }
}
