:root {
    --content-purple: #6c01a9;
    --content-purple-dark: #4e0877;
    --content-ink: #281b31;
    --content-muted: #706477;
    --content-soft: #faf7fc;
    --content-border: #eadff0;
    --content-green: #287b4d;
}

.content-hub,
.article {
    color: var(--content-ink);
    background: #fff;
}

.content-hub *,
.article * {
    box-sizing: border-box;
}

.content-hub .container,
.article .container {
    width: min(100% - 40px, 1200px);
    max-width: 1200px;
    margin-inline: auto;
}

.content-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(58px, 8vw, 96px) 0;
    background: linear-gradient(125deg, #f8effd 0%, #fff 53%, #effaf4 100%);
    border-bottom: 1px solid #f0e7f4;
}

.content-hero::before,
.content-hero::after {
    position: absolute;
    z-index: -1;
    content: "";
    border-radius: 50%;
    filter: blur(2px);
}

.content-hero::before {
    width: 360px;
    height: 360px;
    top: -210px;
    right: 7%;
    background: rgba(108, 1, 169, .1);
}

.content-hero::after {
    width: 240px;
    height: 240px;
    bottom: -170px;
    left: 8%;
    background: rgba(40, 123, 77, .1);
}

.content-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    align-items: center;
    gap: clamp(36px, 7vw, 90px);
}

.content-eyebrow,
.content-card__category {
    color: var(--content-purple);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.content-hero h1 {
    max-width: 780px;
    margin: 15px 0 18px;
    color: var(--content-ink);
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.content-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--content-muted);
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.65;
}

.content-hero__visual {
    display: grid;
    width: 220px;
    height: 220px;
    place-items: center;
    justify-self: end;
    color: #fff;
    font-size: 74px;
    background: linear-gradient(145deg, #8d11d4, #5f008f);
    border: 12px solid rgba(255, 255, 255, .72);
    border-radius: 44% 56% 55% 45% / 46% 42% 58% 54%;
    box-shadow: 0 25px 60px rgba(108, 1, 169, .22);
    transform: rotate(4deg);
}

.content-main {
    min-height: 420px;
    padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 100px);
}

.content-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 34px;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.content-filters a {
    flex: 0 0 auto;
    padding: 11px 19px;
    color: var(--content-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--content-border);
    border-radius: 999px;
    transition: .2s ease;
}

.content-filters a.active,
.content-filters a:hover {
    color: #fff;
    background: var(--content-purple);
    border-color: var(--content-purple);
    box-shadow: 0 8px 20px rgba(108, 1, 169, .18);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.content-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--content-border);
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(68, 29, 82, .07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(68, 29, 82, .12);
}

.content-card > a {
    display: block;
    overflow: hidden;
}

.content-card > a img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .35s ease;
}

.content-card:hover > a img { transform: scale(1.035); }
.content-card__body { padding: 24px; }
.content-card h2 { margin: 10px 0 12px; font-size: 21px; line-height: 1.35; }
.content-card h2 a { color: var(--content-ink); text-decoration: none; }
.content-card__summary { color: var(--content-muted); font-size: 15px; line-height: 1.65; }
.content-card__summary p { margin: 0; }
.content-card__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; color: #817487; font-size: 13px; }

.content-empty {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    padding: clamp(45px, 7vw, 76px) clamp(24px, 6vw, 72px);
    overflow: hidden;
    text-align: center;
    background: linear-gradient(145deg, #fff 0%, var(--content-soft) 100%);
    border: 1px solid var(--content-border);
    border-radius: 28px;
    box-shadow: 0 22px 60px rgba(61, 28, 75, .09);
}

.content-empty__icon {
    display: grid;
    width: 76px;
    height: 76px;
    margin: 0 auto 24px;
    place-items: center;
    color: #fff;
    font-size: 33px;
    background: linear-gradient(145deg, #8d11d4, #650199);
    border-radius: 22px;
    box-shadow: 0 15px 30px rgba(108, 1, 169, .22);
}

.content-empty h2 {
    margin: 0 0 14px;
    color: var(--content-ink);
    font-size: clamp(27px, 4vw, 38px);
    line-height: 1.2;
}

.content-empty p {
    max-width: 590px;
    margin: 0 auto 28px;
    color: var(--content-muted);
    font-size: 16px;
    line-height: 1.7;
}

.content-empty__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 25px;
    color: #fff !important;
    font-size: 15px;
    font-weight: 750;
    text-decoration: none !important;
    background: var(--content-purple);
    border-radius: 12px;
    box-shadow: 0 12px 25px rgba(108, 1, 169, .2);
    transition: .2s ease;
}

.content-empty__button:hover { background: var(--content-purple-dark); transform: translateY(-2px); }

/* Página individual de artigo */
.article__header { padding: 60px 0 30px; background: linear-gradient(180deg, #faf6fc, #fff); }
.article__narrow { max-width: 850px !important; }
.article__breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; font-size: 14px; }
.article__header h1 { font-size: clamp(36px, 5vw, 62px); line-height: 1.08; }
.article__lead { margin: 24px 0; color: #5f5365; font-size: 19px; line-height: 1.65; }
.article__lead > :first-child { margin-top: 0; }
.article__lead > :last-child { margin-bottom: 0; }
.article__byline { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.article__cover {
    display: flex;
    justify-content: center;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--content-border);
    border-radius: 24px;
}

.article__cover img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    border-radius: 16px;
}
.article__body { padding: 48px 0 20px; font-size: 17px; line-height: 1.85; }
.article__body h2 { margin: 42px 0 15px; font-size: 31px; }
.article__body h3 { margin: 32px 0 12px; font-size: 23px; }
.article__body img { max-width: 100%; height: auto; }
.article__body a { color: var(--content-purple); text-decoration: underline; }
.article__body .article-cta {
    margin: 30px 0;
}
.article__body .article-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 26px;
    color: #fff;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    background: linear-gradient(135deg, #8d11d4, var(--content-purple));
    border-radius: 12px;
    box-shadow: 0 12px 26px rgba(108, 1, 169, .2);
    transition: transform .2s ease, box-shadow .2s ease;
}
.article__body .article-cta a:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(108, 1, 169, .28);
}
.article__review, .article__notice { display: flex; gap: 15px; padding: 20px; margin: 22px 0; border-radius: 14px; }
.article__review { color: #205d3b; background: #edf9f2; }
.article__notice { display: block; background: #faf6e9; }
.article-products { margin-top: 55px; padding: 55px 0; background: var(--content-soft); }
.article-products__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.article-products article { padding: 18px; background: #fff; border-radius: 16px; }
.article-products img { width: 100%; height: 180px; object-fit: contain; }

@media (max-width: 900px) {
    .content-hero__inner { grid-template-columns: 1fr 160px; gap: 30px; }
    .content-hero__visual { width: 150px; height: 150px; font-size: 50px; border-width: 8px; }
    .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .content-hub .container, .article .container { width: min(100% - 28px, 1200px); }
    .content-hero { padding: 48px 0 54px; }
    .content-hero__inner { display: block; }
    .content-hero__visual { display: none; }
    .content-hero h1 { font-size: 36px; }
    .content-hero p { font-size: 16px; }
    .content-main { padding: 32px 0 64px; }
    .content-filters { margin-bottom: 26px; padding-bottom: 6px; }
    .content-grid, .article-products__grid { grid-template-columns: 1fr; }
    .content-empty { padding: 42px 22px; border-radius: 22px; }
    .content-empty__icon { width: 64px; height: 64px; font-size: 28px; }
    .article__header { padding-top: 35px; }
    .article__cover { padding: 12px; border-radius: 18px; }
    .article__cover img {
        max-width: 100%;
        max-height: 360px;
        border-radius: 12px;
    }
    .article__byline { display: grid; }
}
