/*
 * Página dinâmica do blog Samflex.
 * Carregado depois do CSS geral para manter o layout isolado.
 */

.sf-blog-page-content,
.sf-blog-page-content * {
    box-sizing: border-box;
    font-family: "Raleway", Arial, sans-serif !important;
}

.sf-blog-page-content {
    --sf-blog-yellow: #fcc400;
    --sf-blog-dark: #111;
    --sf-blog-muted: #696969;
    --sf-blog-soft: #f5f5f2;
    --sf-blog-line: #deded9;
    width: 100%;
    margin: 0;
    color: var(--sf-blog-dark);
    background: #fff;
    font-family: "Raleway", Arial, sans-serif !important;
}

.sf-blog-page-content a {
    color: inherit;
    text-decoration: none;
}

.sf-blog-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.sf-blog-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 650px;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(14, 14, 14, .94) 0%, rgba(14, 14, 14, .86) 31%, rgba(14, 14, 14, .5) 58%, rgba(14, 14, 14, .16) 100%),
        var(--sf-blog-hero-image) center 48% / cover no-repeat;
}

.sf-blog-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    height: 5px;
    background: var(--sf-blog-yellow);
}

.sf-blog-hero-content {
    max-width: 650px;
    margin: 0;
    padding: 70px 0;
    text-align: left;
}

.sf-blog-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--sf-blog-yellow);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sf-blog-eyebrow::before {
    content: "";
    width: 27px;
    height: 2px;
    background: currentColor;
}

.sf-blog-hero h1 {
    max-width: 650px;
    margin: 25px 0 20px;
    color: #fff;
    font-size: clamp(52px, 5vw, 76px);
    font-weight: 900;
    line-height: .96;
    letter-spacing: -2.8px;
}

.sf-blog-hero h1 span {
    display: block;
    color: var(--sf-blog-yellow);
}

.sf-blog-hero p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, .92);
    font-size: 19px;
    line-height: 1.5;
}

.sf-blog-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 49px;
    margin-top: 35px;
    padding: 0 25px;
    border: 0;
    border-radius: 999px;
    background: #25d366 !important;
    color: #fff !important;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.sf-blog-hero-button:hover,
.sf-blog-hero-button:focus {
    border-color: #1fbd59 !important;
    background: #1fbd59 !important;
    color: #fff !important;
}

.sf-blog-hero-button svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.sf-blog-section {
    padding: 72px 0;
}

.sf-blog-section.soft {
    background: var(--sf-blog-soft);
}

.sf-blog-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 26px;
}

.sf-blog-title-row .sf-blog-eyebrow {
    color: #c87900;
}

.sf-blog-title-row h2 {
    margin: 8px 0 0;
    color: var(--sf-blog-dark);
    font-size: clamp(30px, 3.3vw, 42px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.2px;
}

.sf-blog-title-row > p {
    max-width: 460px;
    margin: 0;
    color: var(--sf-blog-muted);
    font-size: 14px;
    line-height: 1.55;
}

.sf-blog-featured {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    min-height: 415px;
    overflow: hidden;
    border: 1px solid var(--sf-blog-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(17, 17, 17, .07);
}

.sf-blog-featured-image {
    display: block;
    min-height: 415px;
    overflow: hidden;
    background: #e9e9e5;
}

.sf-blog-featured-image img,
.sf-blog-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.sf-blog-featured:hover img,
.sf-blog-card:hover img {
    transform: scale(1.035);
}

.sf-blog-featured-content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 44px;
}

.sf-blog-category {
    display: block;
    width: fit-content;
    margin: 0 0 12px;
    padding: 0;
    color: #c87900;
    background: transparent;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.sf-blog-meta {
    display: block;
    color: #888;
    font-size: 11px;
    font-weight: 600;
}

.sf-blog-featured h3 {
    margin: 12px 0 14px;
    color: var(--sf-blog-dark);
    font-size: clamp(28px, 3vw, 39px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1px;
}

.sf-blog-featured-content > p {
    margin: 0 0 22px;
    color: var(--sf-blog-muted);
    font-size: 14px;
    line-height: 1.55;
}

.sf-blog-read {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    color: var(--sf-blog-dark) !important;
    font-family: "Raleway", Arial, sans-serif !important;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.sf-blog-read span {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
    background: var(--sf-blog-yellow);
    transition: transform .2s ease;
}

.sf-blog-read:hover span {
    transform: translateX(3px);
}

.sf-blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 27px;
}

.sf-blog-filter {
    padding: 7px 13px;
    border: 1px solid var(--sf-blog-line);
    border-radius: 999px;
    color: #444 !important;
    background: #fff;
    font-size: 11px;
    font-weight: 800;
}

.sf-blog-filter:hover,
.sf-blog-filter.active {
    border-color: var(--sf-blog-dark);
    color: #fff !important;
    background: var(--sf-blog-dark);
}

.sf-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.sf-blog-card {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--sf-blog-line);
    border-radius: 12px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.sf-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(17, 17, 17, .08);
}

.sf-blog-card-image {
    display: block;
    height: 285px;
    overflow: hidden;
    background: #e9e9e5;
}

.sf-blog-card-content {
    display: flex;
    flex: 1;
    align-items: flex-start;
    flex-direction: column;
    padding: 21px;
}

.sf-blog-card h3 {
    margin: 9px 0 11px;
    color: var(--sf-blog-dark);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -.3px;
}

.sf-blog-card-content > p {
    margin: 0 0 18px;
    color: var(--sf-blog-muted);
    font-size: 13px;
    line-height: 1.55;
}

.sf-blog-card .sf-blog-read {
    margin-top: auto;
}

.sf-blog-articles-shortcode {
    padding: 70px 0;
}

.sf-blog-articles-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 28px;
}

.sf-blog-articles-heading .sf-blog-eyebrow {
    color: #c87900;
}

.sf-blog-articles-heading h2 {
    margin: 8px 0 0;
    color: var(--sf-blog-dark);
    font-size: clamp(30px, 3.3vw, 42px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.2px;
}

.sf-blog-articles-heading > p {
    max-width: 440px;
    margin: 0;
    color: var(--sf-blog-muted);
    font-size: 14px;
    line-height: 1.55;
}

.sf-blog-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 35px;
}

.sf-blog-page {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--sf-blog-line);
    border-radius: 50%;
    background: #fff;
    font-size: 11px;
    font-weight: 900;
}

.sf-blog-page.active {
    border-color: var(--sf-blog-yellow);
    background: var(--sf-blog-yellow);
}

.sf-blog-empty {
    padding: 35px;
    border: 1px solid var(--sf-blog-line);
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.sf-blog-cta {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--sf-blog-dark);
}

.sf-blog-cta::before {
    content: "";
    position: absolute;
    top: -125px;
    right: -80px;
    width: 310px;
    height: 310px;
    border-radius: 50%;
    background: var(--sf-blog-yellow);
    opacity: .13;
}

.sf-blog-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    padding: 62px 0;
}

.sf-blog-cta-copy {
    max-width: 660px;
}

.sf-blog-cta h2 {
    margin: 10px 0 10px;
    color: #fff;
    font-size: clamp(30px, 3.8vw, 45px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.2px;
}

.sf-blog-cta p {
    margin: 0;
    color: #bdbdbd;
    font-size: 14px;
}

.sf-blog-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    color: #111 !important;
    background: var(--sf-blog-yellow) !important;
    font-family: "Raleway", Arial, sans-serif !important;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.sf-blog-button:hover,
.sf-blog-button:focus {
    border-color: #ffc04a !important;
    background: #ffc04a !important;
    color: #111 !important;
}

@media (max-width: 900px) {
    .sf-blog-featured {
        grid-template-columns: 1fr;
    }

    .sf-blog-featured-image {
        min-height: 340px;
    }

    .sf-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sf-blog-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .sf-blog-articles-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .sf-blog-container {
        width: calc(100% - 24px);
    }

    .sf-blog-hero {
        min-height: 390px;
    }

    .sf-blog-hero-content {
        padding: 70px 0 55px;
    }

    .sf-blog-hero h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .sf-blog-hero p {
        font-size: 16px;
    }

    .sf-blog-section {
        padding: 54px 0;
    }

    .sf-blog-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .sf-blog-featured-image {
        min-height: 255px;
    }

    .sf-blog-featured-content {
        padding: 27px 22px 31px;
    }

    .sf-blog-grid {
        grid-template-columns: 1fr;
    }

    .sf-blog-card-image {
        height: 245px;
    }

    .sf-blog-button {
        width: 100%;
    }
}

/* Artigo individual */
.sf-article,
.sf-article *{box-sizing:border-box}
.sf-article{--sf-yellow:#fcc400;--sf-dark:#111;--sf-muted:#686868;--sf-line:#e5e5e1;color:var(--sf-dark);background:#fff;font-family:"Raleway",sans-serif}
.sf-article a{color:inherit;text-decoration:none}
.sf-article-container{width:min(calc(100% - 40px),1180px);margin-inline:auto}
.sf-article-hero{padding:30px 0 58px;background:#f7f7f4}
.sf-article-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:38px;color:#858585;font-size:11px}
.sf-article-breadcrumb a:hover{color:#a66c00}
.sf-article-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(350px,480px);align-items:center;gap:70px}
.sf-article-category{display:inline-flex;margin-bottom:18px;padding:7px 11px;border-radius:999px;background:var(--sf-yellow);font-size:10px;font-weight:900;letter-spacing:.8px;text-transform:uppercase}
.sf-article-heading h1{max-width:650px;margin:0 0 20px;font-size:clamp(42px,5vw,68px);font-weight:900;line-height:.98;letter-spacing:-2.5px}
.sf-article-lead{max-width:620px;margin:0 0 25px;color:var(--sf-muted);font-size:16px;line-height:1.65}
.sf-article-author{display:flex;align-items:center;gap:11px}
.sf-article-author img{width:38px;height:38px;border-radius:50%}
.sf-article-author span{display:grid;gap:2px}
.sf-article-author b{font-size:11px}
.sf-article-author small{color:#858585;font-size:10px}
.sf-article-cover{height:430px;margin:0;overflow:hidden;border-radius:18px;background:#ddd;box-shadow:0 18px 45px rgba(17,17,17,.12)}
.sf-article-cover img{display:block;width:100%;height:100%;object-fit:cover}
.sf-article-layout{display:grid;grid-template-columns:minmax(0,780px) 285px;align-items:start;gap:70px;padding-top:64px;padding-bottom:90px}
.sf-article-content{min-width:0;color:#303030;font-size:16px;line-height:1.8}
.sf-article-content>p:first-child{font-size:18px;line-height:1.75}
.sf-article-content p{margin:0 0 22px}
.sf-article-content h2{scroll-margin-top:30px;margin:48px 0 16px;color:#111;font-size:30px;line-height:1.2;letter-spacing:-.7px}
.sf-article-content h3{scroll-margin-top:30px;margin:34px 0 13px;color:#111;font-size:22px;line-height:1.3}
.sf-article-content ul,.sf-article-content ol{margin:0 0 26px;padding-left:24px}
.sf-article-content li{margin-bottom:9px}
.sf-article-content li::marker{color:#fcc400}
.sf-article-content img{display:block;max-width:100%;height:auto;margin:34px 0;border-radius:13px}
.sf-article-content blockquote{margin:34px 0;padding:22px 25px;border-left:4px solid var(--sf-yellow);border-radius:0 10px 10px 0;background:#f4f4f1;color:#111;font-weight:700}
.sf-article-content blockquote p:last-child{margin-bottom:0}
.sf-article-sidebar{position:sticky;top:25px;display:grid;gap:18px}
.sf-article-toc{padding:24px;border:1px solid var(--sf-line);border-radius:13px;background:#fff}
.sf-article-toc strong{display:block;margin-bottom:14px;font-size:14px}
.sf-article-toc ol{display:grid;gap:10px;margin:0;padding:0;list-style:none;counter-reset:article-toc}
.sf-article-toc li{counter-increment:article-toc}
.sf-article-toc a{display:grid;grid-template-columns:18px 1fr;gap:7px;color:#686868;font-size:11px;line-height:1.4}
.sf-article-toc a::before{content:counter(article-toc) ".";color:#b77800;font-weight:800}
.sf-article-toc .is-level-3 a{padding-left:12px}
.sf-article-toc a:hover{color:#111}
.sf-article-quote{padding:25px;border-radius:14px;background:#111;color:#fff}
.sf-article-quote>span{color:var(--sf-yellow);font-size:9px;font-weight:900;letter-spacing:1px}
.sf-article-quote h2{margin:8px 0 10px;color:#fff;font-size:23px;line-height:1.1}
.sf-article-quote p{margin:0 0 18px;color:#c7c7c7;font-size:12px;line-height:1.55}
.sf-article-quote button{width:100%;min-height:43px;padding:0 15px;border:0;border-radius:999px;background:var(--sf-yellow);color:#111;font:800 12px "Raleway",sans-serif;cursor:pointer}
@media(max-width:900px){.sf-article-hero-grid{grid-template-columns:1fr;gap:35px}.sf-article-cover{height:min(62vw,470px)}.sf-article-layout{grid-template-columns:1fr}.sf-article-sidebar{position:static;grid-template-columns:1fr 1fr}}
@media(max-width:620px){.sf-article-container{width:min(calc(100% - 24px),1180px)}.sf-article-hero{padding:22px 0 36px}.sf-article-breadcrumb{margin-bottom:25px}.sf-article-heading h1{font-size:40px;letter-spacing:-1.5px}.sf-article-cover{height:72vw;border-radius:12px}.sf-article-layout{gap:45px;padding-top:42px;padding-bottom:60px}.sf-article-content{font-size:15px}.sf-article-content>p:first-child{font-size:16px}.sf-article-content h2{font-size:26px}.sf-article-sidebar{grid-template-columns:1fr}}
