/*
 * W · Systems — articles.css
 * Migração fiel dos estilos inline originais dos três artigos.
 * Fonte: HTMLs originais fornecidos pelo usuário.
 * As regras abaixo vieram dos <style> originais; não são uma reconstrução visual.
 */



/* ================================================================
 * Base consolidada + componentes do artigo "Do orçamento à rua"
 * ================================================================ */

/* Área editorial do blog */
        .s-blog {
            background: #ffffff;
            padding: 14rem 0 10rem;
        }

        .s-blog__layout {
            display: grid;
            grid-template-columns: minmax(150px, 0.75fr) minmax(0, 3.2fr) minmax(180px, 0.95fr);
            gap: 5rem;
            align-items: start;
        }

        .s-blog__article {
            min-width: 0;
        }

        .s-blog__article header {
            margin-bottom: 4rem;
        }

        .s-blog__article .display-1 {
            margin-top: 0 !important;
            margin-bottom: 2rem !important;
        }

        .s-blog__article figure {
            margin: 5rem 0;
        }

        .s-blog__article figcaption {
            margin-top: 1.2rem;
            font-size: 1.4rem;
            line-height: 1.6;
            color: #777777;
        }

        .s-blog__article h2 {
            margin-top: 5.5rem;
        }

        .s-blog__article h3 {
            margin-top: 4rem;
        }

        .s-blog__article blockquote {
            margin: 4.5rem 0 !important;
            padding: 1rem 0 1rem 3rem !important;
            border-left: 2px solid #111111 !important;
            background: transparent !important;
        }

        .s-blog__article blockquote p {
            margin: 0 !important;
            color: #242424 !important;
            font-size: 2.2rem !important;
            line-height: 1.55 !important;
            font-style: normal !important;
        }

        .s-blog__article footer {
            margin-top: 6rem;
            padding-top: 3rem;
            border-top: 1px solid #e6e6e6;
        }

        .s-blog__rail {
            position: sticky;
            top: 11rem;
            font-size: 1.45rem;
            line-height: 1.7;
        }

        .s-blog__rail-card {
            padding: 2.4rem 0;
            border-top: 1px solid #dcdcdc;
        }

        .s-blog__rail-card:first-child {
            border-top: 0;
            padding-top: 0;
        }

        .s-blog__rail-label {
            display: block;
            margin-bottom: 1rem;
            font-size: 1.05rem;
            line-height: 1.3;
            font-weight: 700;
            letter-spacing: .16em;
            text-transform: uppercase;
            color: #7a7a7a;
        }

        .s-blog__rail p,
        .s-blog__rail ul {
            margin: 0;
        }

        .s-blog__rail ul {
            list-style: none;
            padding-left: 0;
        }

        .s-blog__rail li {
            margin-bottom: .9rem;
        }

        .s-blog__rail a {
            color: inherit;
            border-bottom: 1px solid #d2d2d2;
        }

        .s-blog__rail a:hover {
            border-bottom-color: currentColor;
        }

        /* Cabeçalho preto para páginas editoriais */
        .s-header {
            background: #000000 !important;
            top: 0;
        }

        .s-header__nav a,
        .s-header__language a,
        .s-header__language span,
        .s-header__menu-toggle span {
            color: #ffffff !important;
        }

        .s-header__menu-toggle span::before,
        .s-header__menu-toggle span::after {
            background-color: #ffffff !important;
        }

        /* Tipografia editorial */
        .s-blog,
        .s-blog__article,
        .s-blog__article-wrap {
            background: #ffffff !important;
        }

        .s-blog__article {
            color: #4f555f !important;
        }

        .s-blog__article p,
        .s-blog__article li,
        .s-blog__article figcaption {
            color: #626975 !important;
        }

        .s-blog__article .lead {
            color: #626975 !important;
        }

        .s-blog__article h1,
        .s-blog__article h2,
        .s-blog__article h3,
        .s-blog__article h4,
        .s-blog__article h5,
        .s-blog__article h6,
        .s-blog__article .display-1 {
            color: #111111 !important;
        }

        .s-blog__article strong {
            color: inherit !important;
        }

        .s-blog__article a {
            color: #e3261c !important;
        }

        .s-blog__rail,
        .s-blog__rail p,
        .s-blog__rail li {
            color: #626975 !important;
        }

        .s-blog__rail-label {
            color: #737373 !important;
        }

        .s-blog__rail a {
            color: #626975 !important;
        }

        .s-blog > .row:first-child {
            margin-bottom: 3rem !important;
        }

        /* Blocos técnicos */
        .s-blog__article .s-blog__code-example {
            margin: 3.8rem 0 4.8rem;
        }

        .s-blog__article .s-blog__code-example figcaption {
            margin: 0 0 1.2rem;
            font-size: 1.25rem;
            line-height: 1.5;
            font-weight: 700;
            letter-spacing: .08em;
            text-transform: uppercase;
            color: #737373 !important;
        }

        .s-blog__article pre {
            margin: 0;
            max-width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .s-blog__article pre code {
            display: block;
            white-space: pre;
        }

        .s-blog__article .s-blog__code-example pre + pre {
            margin-top: 1.2rem;
        }

        /* Tabelas editoriais */
        .s-blog__table-wrap {
            width: 100%;
            margin: 3.5rem 0 4.8rem;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            border: 1px solid #dedede;
            background: #ffffff;
        }

        .s-blog__table {
            width: 100%;
            min-width: 680px;
            margin: 0;
            border-collapse: collapse;
            border-spacing: 0;
            font-size: 1.48rem;
            line-height: 1.55;
        }

        .s-blog__table th,
        .s-blog__table td {
            padding: 1.55rem 1.6rem;
            text-align: left;
            vertical-align: top;
            border-bottom: 1px solid #e4e4e4;
        }

        .s-blog__table th {
            color: #111111 !important;
            font-weight: 700;
            background: #f7f7f7;
        }

        .s-blog__table td {
            color: #626975 !important;
        }

        .s-blog__table tr:last-child td {
            border-bottom: 0;
        }

        .s-blog__table--compact {
            min-width: 560px;
        }

        .s-blog__table-note {
            margin: -3rem 0 4.5rem !important;
            font-size: 1.3rem;
            line-height: 1.55;
            color: #777d86 !important;
        }

        /* Ilustrações editoriais em HTML/CSS */
        .s-blog__concept {
            margin: 4.5rem 0 5.2rem;
            padding: 2.8rem;
            border: 1px solid #dedede;
            background: #fafafa;
        }

        .s-blog__concept-label {
            display: block;
            margin-bottom: 2rem;
            font-size: 1.05rem;
            line-height: 1.3;
            font-weight: 700;
            letter-spacing: .16em;
            text-transform: uppercase;
            color: #737373;
        }

        .s-blog__concept-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 1.2rem;
            align-items: stretch;
        }

        .s-blog__concept-card {
            min-height: 12rem;
            padding: 1.8rem;
            background: #ffffff;
            border: 1px solid #e1e1e1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .s-blog__concept-card strong {
            display: block;
            margin-bottom: .8rem;
            color: #111111 !important;
            font-size: 1.5rem;
            line-height: 1.35;
        }

        .s-blog__concept-card span {
            color: #737985;
            font-size: 1.25rem;
            line-height: 1.45;
        }

        .s-blog__concept-arrow {
            align-self: center;
            text-align: center;
            font-size: 2.1rem;
            color: #b0b0b0;
        }

        .s-blog__concept--flow .s-blog__concept-grid {
            grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
        }

        .s-blog__concept--two .s-blog__concept-grid {
            grid-template-columns: 1fr auto 1fr;
        }

        .s-blog__concept--three .s-blog__concept-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .s-blog__concept-note {
            margin: 2rem 0 0 !important;
            font-size: 1.3rem;
            line-height: 1.55;
            color: #777d86 !important;
        }

        .s-blog__status-note {
            margin: 4rem 0;
            padding: 2.2rem 2.4rem;
            border-left: 3px solid #111111;
            background: #fafafa;
        }

        .s-blog__status-note strong {
            display: block;
            margin-bottom: .6rem;
            color: #111111 !important;
        }

        .s-blog__status-note p {
            margin: 0;
        }

        @media screen and (max-width: 1100px) {
            .s-blog__layout {
                grid-template-columns: minmax(140px, .8fr) minmax(0, 3fr);
            }

            .s-blog__rail--right {
                grid-column: 2;
                position: static;
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 3rem;
                margin-top: 2rem;
            }
        }

        @media screen and (max-width: 900px) {
            .s-blog__concept-grid,
            .s-blog__concept--three .s-blog__concept-grid {
                grid-template-columns: 1fr 1fr;
            }

            .s-blog__concept--flow .s-blog__concept-grid,
            .s-blog__concept--two .s-blog__concept-grid {
                grid-template-columns: 1fr;
            }

            .s-blog__concept-arrow {
                transform: rotate(90deg);
            }
        }

        @media screen and (max-width: 800px) {
            .s-blog {
                padding: 11rem 0 7rem;
            }

            .s-blog__layout {
                display: flex;
                flex-direction: column;
                gap: 4rem;
            }

            .s-blog__article-wrap {
                width: 100%;
            }

            .s-blog__article {
                order: 1;
            }

            .s-blog__rail {
                position: static;
                width: 100%;
            }

            .s-blog__rail--left {
                order: 2;
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 3rem;
            }

            .s-blog__rail--right {
                order: 3;
                display: grid;
                grid-template-columns: 1fr;
                gap: 0;
                width: 100%;
                margin-top: 0;
            }

            .s-blog__article blockquote {
                padding-left: 2rem !important;
            }

            .s-blog__article blockquote p {
                font-size: 1.9rem !important;
            }
        }

        @media screen and (max-width: 560px) {
            .s-blog__concept {
                padding: 2rem;
            }

            .s-blog__concept-grid,
            .s-blog__concept--three .s-blog__concept-grid {
                grid-template-columns: 1fr;
            }
        }

        @media screen and (max-width: 520px) {
            .s-blog__rail--left {
                grid-template-columns: 1fr;
                gap: 0;
            }
        }

/* ================================================================
 * Regras originais compartilhadas e componentes adicionais do
 * artigo "Sistemas que começam pela operação".
 * Mantidas após a base para preservar a cascata original.
 * ================================================================ */

/* Área editorial do blog */
        .s-blog {
            background: #ffffff;
            padding: 14rem 0 10rem;
        }

        .s-blog__layout {
            display: grid;
            grid-template-columns: minmax(150px, 0.75fr) minmax(0, 3.2fr) minmax(180px, 0.95fr);
            gap: 5rem;
            align-items: start;
        }

        .s-blog__article {
            min-width: 0;
        }

        .s-blog__article header {
            margin-bottom: 5rem;
        }

        .s-blog__article .display-1 {
            margin-top: 0;
        }

        .s-blog__article figure {
            margin: 5rem 0;
        }

        .s-blog__article figcaption {
            margin-top: 1.2rem;
            font-size: 1.4rem;
            line-height: 1.6;
            color: #777777;
        }

        .s-blog__article h2 {
            margin-top: 5.5rem;
        }

        .s-blog__article h3 {
            margin-top: 4rem;
        }

        .s-blog__article blockquote {
            margin: 5rem 0;
        }

        .s-blog__article footer {
            margin-top: 6rem;
            padding-top: 3rem;
            border-top: 1px solid #e6e6e6;
        }

        .s-blog__rail {
            position: sticky;
            top: 11rem;
            font-size: 1.45rem;
            line-height: 1.7;
        }

        .s-blog__rail-card {
            padding: 2.4rem 0;
            border-top: 1px solid #dcdcdc;
        }

        .s-blog__rail-card:first-child {
            border-top: 0;
            padding-top: 0;
        }

        .s-blog__rail-label {
            display: block;
            margin-bottom: 1rem;
            font-size: 1.05rem;
            line-height: 1.3;
            font-weight: 700;
            letter-spacing: .16em;
            text-transform: uppercase;
            color: #7a7a7a;
        }

        .s-blog__rail p,
        .s-blog__rail ul {
            margin: 0;
        }

        .s-blog__rail ul {
            list-style: none;
            padding-left: 0;
        }

        .s-blog__rail li {
            margin-bottom: .9rem;
        }

        .s-blog__rail a {
            color: inherit;
            border-bottom: 1px solid #d2d2d2;
        }

        .s-blog__rail a:hover {
            border-bottom-color: currentColor;
        }

        .s-blog__media-placeholder {
            margin: 4rem 0 5rem;
            padding: 3rem;
            border: 1px solid #dedede;
            background: #fafafa;
        }

        .s-blog__media-placeholder strong {
            display: block;
            margin-bottom: .8rem;
        }

        @media screen and (max-width: 1100px) {
            .s-blog__layout {
                grid-template-columns: minmax(140px, .8fr) minmax(0, 3fr);
            }

            .s-blog__rail--right {
                grid-column: 2;
                position: static;
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 3rem;
                margin-top: 2rem;
            }
        }

        @media screen and (max-width: 800px) {
            .s-blog {
                padding: 11rem 0 7rem;
            }

            .s-blog__layout {
                display: flex;
                flex-direction: column;
                gap: 4rem;
            }

            .s-blog__article-wrap {
                width: 100%;
            }

            .s-blog__article {
                order: 1;
            }

            .s-blog__rail {
                position: static;
                width: 100%;
            }

            .s-blog__rail--left {
                order: 2;
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 3rem;
            }

            .s-blog__rail--right {
                order: 3;
                display: grid;
                grid-template-columns: 1fr;
                gap: 0;
                width: 100%;
                margin-top: 0;
            }
        }

        @media screen and (max-width: 520px) {
            .s-blog__rail--left {
                grid-template-columns: 1fr;
                gap: 0;
            }
        }

/* Cabeçalho preto para as páginas editoriais */
    .s-header {
        background: #000000 !important;
        top: 0;
    }

    .s-header__nav a,
    .s-header__language a,
    .s-header__language span,
    .s-header__menu-toggle span {
        color: #ffffff !important;
    }

    .s-header__menu-toggle span::before,
    .s-header__menu-toggle span::after {
        background-color: #ffffff !important;
    }

/* Ajustes editoriais: título visível e espaçamento do artigo */
    .s-blog__article h1,
    .s-blog__article h2,
    .s-blog__article h3,
    .s-blog__article .display-1 {
        color: #000000 !important;
    }

    .s-blog__article header {
        margin-bottom: 4rem;
    }

    .s-blog__article .display-1 {
        margin-top: 0 !important;
        margin-bottom: 2.4rem !important;
    }

    .s-blog > .row:first-child {
        margin-bottom: 4rem;
    }

    @media screen and (max-width: 800px) {
        .s-blog > .row:first-child {
            margin-bottom: 2.5rem;
        }

        .s-blog__article header {
            margin-bottom: 3rem;
        }
    }

/* Correção definitiva da área editorial sobre fundo branco */
    .s-blog,
    .s-blog__article,
    .s-blog__article-wrap {
        background: #ffffff !important;
    }

    .s-blog__article {
        color: #4f555f !important;
    }

    .s-blog__article p,
    .s-blog__article li,
    .s-blog__article figcaption {
        color: #626975 !important;
    }

    .s-blog__article .lead {
        color: #626975 !important;
    }

    .s-blog__article h1,
    .s-blog__article h2,
    .s-blog__article h3,
    .s-blog__article h4,
    .s-blog__article h5,
    .s-blog__article h6,
    .s-blog__article .display-1 {
        color: #111111 !important;
    }

    .s-blog__article strong {
        color: inherit !important;
    }

    .s-blog__article a {
        color: #e3261c !important;
    }

    .s-blog__article blockquote {
        margin: 4.5rem 0 !important;
        padding: 1rem 0 1rem 3rem !important;
        border-left: 2px solid #111111 !important;
        background: transparent !important;
    }

    .s-blog__article blockquote p {
        margin: 0 !important;
        color: #242424 !important;
        font-size: 2.2rem !important;
        line-height: 1.55 !important;
        font-style: normal !important;
    }

    .s-blog__article ul {
        color: #626975 !important;
    }

    /* Mantém as laterais adequadas ao fundo branco */
    .s-blog__rail,
    .s-blog__rail p,
    .s-blog__rail li {
        color: #626975 !important;
    }

    .s-blog__rail-label {
        color: #737373 !important;
    }

    .s-blog__rail a {
        color: #626975 !important;
    }

    /* Título e introdução mais próximos do bloco editorial */
    .s-blog > .row:first-child {
        margin-bottom: 3rem !important;
    }

    .s-blog__article header {
        margin-bottom: 4rem !important;
    }

    .s-blog__article .display-1 {
        margin-top: 0 !important;
        margin-bottom: 2rem !important;
    }

    @media screen and (max-width: 800px) {
        .s-blog__article blockquote {
            padding-left: 2rem !important;
        }

        .s-blog__article blockquote p {
            font-size: 1.9rem !important;
        }
    }

/* Blocos técnicos do artigo — estrutura nativa <pre><code> do style guide */
    .s-blog__article .s-blog__code-example {
        margin: 3.8rem 0 4.8rem;
    }
    .s-blog__article .s-blog__code-example figcaption {
        margin: 0 0 1.2rem;
        font-size: 1.25rem;
        line-height: 1.5;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: #737373 !important;
    }
    .s-blog__article pre {
        margin: 0;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .s-blog__article pre code {
        display: block;
        white-space: pre;
    }
    .s-blog__article .s-blog__code-example pre + pre {
        margin-top: 1.2rem;
    }
    .s-blog__article .s-blog__references {
        margin-bottom: 0;
    }

/* Ilustrações editoriais em HTML/CSS — sem dependência de imagens externas */
    .s-blog__concept {
        margin: 4.5rem 0 5.2rem;
        padding: 2.8rem;
        border: 1px solid #dedede;
        background: #fafafa;
    }

    .s-blog__concept-label {
        display: block;
        margin-bottom: 2rem;
        font-size: 1.05rem;
        line-height: 1.3;
        font-weight: 700;
        letter-spacing: .16em;
        text-transform: uppercase;
        color: #737373;
    }

    .s-blog__concept-grid {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 1.2rem;
        align-items: stretch;
    }

    .s-blog__concept-card {
        position: relative;
        min-height: 12rem;
        padding: 1.8rem;
        background: #ffffff;
        border: 1px solid #e1e1e1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .s-blog__concept-card strong {
        display: block;
        margin-bottom: .8rem;
        color: #111111 !important;
        font-size: 1.5rem;
        line-height: 1.35;
    }

    .s-blog__concept-card span {
        color: #737985;
        font-size: 1.25rem;
        line-height: 1.45;
    }

    .s-blog__concept-arrow {
        align-self: center;
        text-align: center;
        font-size: 2.1rem;
        color: #b0b0b0;
    }

    .s-blog__concept--flow .s-blog__concept-grid {
        grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    }

    .s-blog__concept--stack .s-blog__concept-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .s-blog__concept--memory .s-blog__concept-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .s-blog__concept-note {
        margin: 2rem 0 0 !important;
        font-size: 1.3rem;
        line-height: 1.55;
        color: #777d86 !important;
    }

    .s-blog__article .s-blog__mini-code {
        margin: 3.8rem 0 4.8rem;
    }

    .s-blog__article .s-blog__mini-code figcaption {
        margin: 0 0 1.2rem;
        font-size: 1.25rem;
        line-height: 1.5;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: #737373 !important;
    }

    @media screen and (max-width: 900px) {
        .s-blog__concept-grid,
        .s-blog__concept--stack .s-blog__concept-grid,
        .s-blog__concept--memory .s-blog__concept-grid {
            grid-template-columns: 1fr 1fr;
        }

        .s-blog__concept--flow .s-blog__concept-grid {
            grid-template-columns: 1fr;
        }

        .s-blog__concept-arrow {
            transform: rotate(90deg);
        }
    }

    @media screen and (max-width: 560px) {
        .s-blog__concept,
        .s-blog__media-placeholder {
            padding: 2rem;
        }

        .s-blog__concept-grid,
        .s-blog__concept--stack .s-blog__concept-grid,
        .s-blog__concept--memory .s-blog__concept-grid {
            grid-template-columns: 1fr;
        }
    }
.s-blog__article {
    -webkit-user-select: none;
    user-select: none;
}

.s-blog__article pre,
.s-blog__article code,
.s-blog__article a {
    -webkit-user-select: text;
    user-select: text;
}
