:root {
    --premium-navy-1000: #040b12;
    --premium-navy-950: #071522;
    --premium-navy-900: #0a1b2a;
    --premium-navy-850: #0d2234;
    --premium-navy-800: #112b40;
    --premium-gold-300: #f2d28c;
    --premium-gold-400: #dfb461;
    --premium-gold-500: #c9953d;
    --premium-gold-600: #a87324;
    --premium-cream-50: #fffdf8;
    --premium-cream-100: #fbf5e9;
    --premium-cream-200: #efe2ca;
    --premium-ink: #17212b;
    --premium-muted: #66717a;
    --premium-line: rgba(201, 149, 61, .28);
    --premium-line-soft: rgba(9, 28, 43, .11);
    --premium-shadow: 0 18px 48px rgba(3, 12, 20, .12);
    --premium-shadow-deep: 0 26px 70px rgba(3, 12, 20, .22);
    --premium-radius: 28px;
    --premium-radius-sm: 18px;
    --premium-header-height: 156px;
    --content-max: 1540px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.premium-portal {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--premium-ink);
    background:
        radial-gradient(circle at 12% 0, rgba(201, 149, 61, .09), transparent 24rem),
        url('../premium/parchment-premium.webp') center top / 1920px auto repeat-y,
        var(--premium-cream-100);
    font-family: "Manrope", Inter, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

body.premium-portal::before {
    content: "";
    position: fixed;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.42));
}

body.premium-portal a { color: inherit; text-decoration: none; }
body.premium-portal img { max-width: 100%; display: block; }
body.premium-portal h1,
body.premium-portal h2,
body.premium-portal h3,
body.premium-portal h4 {
    font-family: "Cormorant Garamond", Georgia, serif;
    text-wrap: balance;
}

.skip-link {
    position: fixed;
    z-index: 200;
    left: 1rem;
    top: -100px;
    padding: .8rem 1rem;
    color: #06101b;
    background: var(--premium-gold-300);
    border-radius: 15px;
    font-weight: 800;
}
.skip-link:focus { top: 1rem; }

.app-shell.premium-shell {
    width: min(calc(100% - 28px), var(--content-max));
    max-width: var(--content-max);
    margin: 14px auto;
    min-height: calc(100vh - 28px);
    overflow: hidden;
    background: rgba(255, 253, 248, .5);
    border: 2px solid rgba(201, 149, 61, .72);
    border-radius: 30px;
    box-shadow: 0 28px 90px rgba(3, 12, 20, .14);
}

/* Hide legacy chrome; content components remain available from portal-base.css. */
.topbar,
.sidebar,
.app-bottom-nav,
.bottomnav,
.page-footer { display: none !important; }

.premium-header {
    position: sticky;
    z-index: 100;
    top: 0;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(5, 16, 26, .98), rgba(7, 21, 34, .97)),
        radial-gradient(circle at 85% 0, rgba(201, 149, 61, .11), transparent 22rem);
    border-bottom: 1px solid rgba(201, 149, 61, .42);
    box-shadow: 0 16px 38px rgba(1, 8, 14, .22);
    backdrop-filter: blur(18px);
}

.premium-header__inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem clamp(1rem, 3vw, 2.25rem);
}

.premium-brand {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    min-width: 0;
    color: var(--premium-gold-300);
}
.premium-brand--logo-only { gap: 0; }

.premium-brand__mark {
    width: 88px;
    height: 88px;
    flex: 0 0 88px;
    display: grid;
    place-items: center;
    color: var(--premium-gold-400);
}
.premium-brand__mark img {
    width: 100%; height: 100%;
    display: block;
    object-fit: contain;
}
.portal-brand-image { filter: drop-shadow(0 8px 16px rgba(0,0,0,.18)); }


.premium-brand__mark--image {
    overflow: hidden;
    border-radius: 50%;
}
.portal-brand-image--header {
    border-radius: 50%;
}
.portal-brand-image--footer {
    border-radius: 50%;
}

.portal-brand-image--header {
    width: 88px;
    height: 88px;
}
.portal-brand-image--footer {
    width: 110px;
    height: 110px;
}

.portal-icon-image--illustration {
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.18));
}

.portal-icon-image,
.portal-social-image {
    display: block;
}

.premium-brand__text {
    display: grid;
    align-content: center;
    line-height: .84;
    text-transform: uppercase;
    letter-spacing: .035em;
}
.premium-brand__text strong,
.premium-brand__text em {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-style: normal;
    font-size: 1.12rem;
    font-weight: 700;
}
.premium-brand__text em { color: #fff7e5; }

.premium-brand__text--header,
.premium-brand__text--footer {
    display: grid;
    gap: .08rem;
    line-height: .92;
}
.premium-brand__text--header strong,
.premium-brand__text--header em,
.premium-brand__text--footer strong,
.premium-brand__text--footer em {
    font-family: "Montserrat", "Manrope", Arial, sans-serif;
    font-style: normal;
    text-transform: none;
    letter-spacing: .01em;
}
.premium-brand__text--header strong,
.premium-brand__text--footer strong {
    color: #fff8ea;
    font-weight: 700;
}
.premium-brand__text--header em,
.premium-brand__text--footer em {
    color: var(--premium-gold-300);
    font-weight: 600;
}
.premium-brand__text--header strong { font-size: 1.14rem; }
.premium-brand__text--header em { font-size: 1.08rem; }
.premium-brand__text--footer strong { font-size: 1.08rem; }
.premium-brand__text--footer em { font-size: 1.02rem; }

.premium-header__actions {
    display: flex;
    align-items: center;
    gap: .55rem;
}
.premium-action-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    color: var(--premium-gold-400);
    border: 1px solid rgba(201,149,61,.22);
    border-radius: 12px;
    transition: .2s ease;
}
.premium-action-icon:hover {
    background: rgba(201,149,61,.14);
    border-color: rgba(201,149,61,.48);
    transform: translateY(-1px);
}
.premium-action-icon img {
    width: 40px; height: 40px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,.2));
    transition: transform .2s ease;
}
.premium-action-icon:hover img { transform: scale(1.06); }
.premium-support,
.premium-menu-button,
.premium-install-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .58rem .9rem;
    color: #071522;
    background: linear-gradient(135deg, var(--premium-gold-300), var(--premium-gold-500));
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 13px;
    font: 800 .76rem/1 "Manrope", sans-serif;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(201,149,61,.15);
}

.premium-menu-button {
    display: none;
    gap: .55rem;
    color: var(--premium-gold-300);
    background: transparent;
    border-color: rgba(201,149,61,.35);
}
.premium-menu-button > span { width: 22px; display: grid; gap: 4px; }
.premium-menu-button i { height: 2px; display: block; background: currentColor; border-radius: 99px; }
.premium-menu-button b { font-size: .72rem; }

.premium-mobile-actions {
    display: none;
}

.premium-nav-wrap {
    border-top: 1px solid rgba(201,149,61,.18);
}
.premium-nav {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: stretch;
    overflow: visible;
}
.premium-nav__item {
    position: relative;
    min-height: 152px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .74rem .22rem 1rem;
    color: rgba(255, 248, 232, .78);
    border-right: 1px solid rgba(255,255,255,.07);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: .84rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    transition: .2s ease;
}
.premium-nav__item > span:last-child {
    max-width: 10ch;
    letter-spacing: .02em;
}

.premium-nav__item:hover,
.premium-nav__item.is-active {
    font-weight: 600;
    color: var(--premium-gold-300);
    background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(201,149,61,.08));
}
.premium-nav__item:hover .premium-nav__icon,
.premium-nav__item.is-active .premium-nav__icon {
    border-color: rgba(201,149,61,.42);
    background: radial-gradient(circle at 50% 32%, rgba(255,255,255,.22), rgba(201,149,61,.09) 42%, rgba(3,12,21,.18) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 22px rgba(0,0,0,.18);
}
.premium-nav__item::after {
    content: "";
    position: absolute;
    right: 22%; bottom: 0; left: 22%;
    height: 3px;
    background: transparent;
    border-radius: 99px 99px 0 0;
}
.premium-nav__item.is-active::after { background: var(--premium-gold-400); }
.premium-nav__icon { width: clamp(90px, 7vw, 112px); height: clamp(90px, 7vw, 112px);
    display: grid;
    place-items: center;
    padding: 5px;
    border-radius: 24px;
    background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.16), rgba(255,255,255,.04) 42%, rgba(3,12,21,.22) 100%);
    border: 1px solid rgba(201,149,61,.24);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 18px rgba(0,0,0,.14);
}
.premium-nav__icon img {
    width: 100%; height: 100%;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 7px 12px rgba(0,0,0,.2));
    transition: transform .2s ease, filter .2s ease;
}
.premium-nav__item:hover .premium-nav__icon img,
.premium-nav__item.is-active .premium-nav__icon img {
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 9px 16px rgba(201,149,61,.2));
}

.premium-menu-scrim { display: none; }

.content.premium-content {
    width: 100%;
    max-width: none;
    min-height: 70vh;
    padding: clamp(1rem, 2.2vw, 2.2rem) clamp(1rem, 3.2vw, 3rem) 0 !important;
}

/* Global content system */
body.premium-portal .page-header {
    position: relative;
    margin: 0 0 1.5rem;
    padding: clamp(1.6rem, 4vw, 3.2rem);
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(4,11,18,.96) 0%, rgba(7,21,34,.86) 58%, rgba(7,21,34,.45) 100%),
        url('../premium/inner-hero-premium.webp') center right / cover no-repeat;
    border: 1px solid rgba(201,149,61,.46);
    border-radius: var(--premium-radius);
    box-shadow: var(--premium-shadow-deep);
}
body.premium-portal .page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 18%, rgba(201,149,61,.12), transparent 14rem),
        linear-gradient(120deg, transparent 0 67%, rgba(201,149,61,.08));
}
body.premium-portal .page-header > * { position: relative; z-index: 1; }
body.premium-portal .page-header h1 {
    max-width: 13ch;
    margin: .45rem 0 0;
    color: #fff9ed;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.7rem, 5vw, 5.3rem);
    font-weight: 600;
    line-height: .92;
    letter-spacing: -.035em;
}
body.premium-portal .page-header p {
    max-width: 760px;
    margin: 1rem 0 0;
    color: rgba(255,249,237,.76);
    font-size: 1rem;
    line-height: 1.75;
}

body.premium-portal .section { margin-top: clamp(1.5rem, 3vw, 2.8rem); }
body.premium-portal .section-head { margin-bottom: 1rem; }
body.premium-portal .section-kicker {
    color: var(--premium-gold-600);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .12em;
}
body.premium-portal .section-title {
    color: var(--premium-navy-950);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2rem, 3.5vw, 3.45rem);
    font-weight: 600;
    line-height: .98;
}

body.premium-portal .panel,
body.premium-portal .card,
body.premium-portal .herb-toolbar {
    color: var(--premium-ink);
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,252,245,.94));
    border: 1px solid rgba(9,28,43,.13);
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(5,16,26,.07);
}
body.premium-portal .card {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body.premium-portal .card:hover {
    transform: translateY(-2px);
    border-color: rgba(201,149,61,.42);
    box-shadow: 0 20px 46px rgba(5,16,26,.11);
}
body.premium-portal .panel h2,
body.premium-portal .card h2,
body.premium-portal .card h3,
body.premium-portal .card h4 {
    color: var(--premium-navy-950);
}
body.premium-portal .panel h2,
body.premium-portal .card h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
}
body.premium-portal .panel p,
body.premium-portal .card p,
body.premium-portal .article-excerpt,
body.premium-portal .herb-card-sub,
body.premium-portal .herb-point {
    color: var(--premium-muted);
}
body.premium-portal .card-premium {
    background:
        radial-gradient(circle at 100% 0, rgba(201,149,61,.15), transparent 14rem),
        linear-gradient(180deg,#fff,#fffaf0);
    border-color: rgba(201,149,61,.33);
}
body.premium-portal .card-premium::after {
    background: linear-gradient(90deg, var(--premium-gold-400), var(--premium-gold-600));
}

body.premium-portal .tag,
body.premium-portal .herb-tag,
body.premium-portal .course-feature-pill {
    color: var(--premium-gold-600);
    background: rgba(201,149,61,.09);
    border-color: rgba(201,149,61,.28);
}
body.premium-portal .tag-dark {
    color: var(--premium-gold-300);
    background: var(--premium-navy-950);
    border-color: var(--premium-navy-950);
}

body.premium-portal .button,
body.premium-portal .button-link,
body.premium-portal .button-block,
body.premium-portal .course-feature-cta {
    color: #071522;
    background: linear-gradient(135deg, var(--premium-gold-300), var(--premium-gold-500));
    border-color: rgba(168,115,36,.42);
    box-shadow: 0 10px 22px rgba(168,115,36,.13);
}
body.premium-portal .button-dark {
    color: var(--premium-gold-300);
    background: var(--premium-navy-950);
    border-color: rgba(201,149,61,.38);
}
body.premium-portal .button-light { background: #fffdf8; }
body.premium-portal .button-soft { background: var(--premium-cream-200); }
body.premium-portal .button-inline { color: var(--premium-gold-600); }

/* Listing pages */
body.premium-portal .article-grid { gap: 1rem; }
body.premium-portal .article-card {
    overflow: hidden;
    border-color: rgba(9,28,43,.14);
}
body.premium-portal .article-title-bar {
    background:
        radial-gradient(circle at 100% 0, rgba(201,149,61,.15), transparent 11rem),
        linear-gradient(135deg, var(--premium-navy-950), var(--premium-navy-800));
    border-bottom: 1px solid rgba(201,149,61,.25);
}
body.premium-portal .card .article-title-card,
body.premium-portal .article-title-card {
    color: #fff8e8;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    font-weight: 600;
}

/* Catalog pages */
body.premium-portal .herb-toolbar {
    padding: 1rem;
}
body.premium-portal input,
body.premium-portal select,
body.premium-portal textarea,
body.premium-portal .herb-search {
    color: var(--premium-ink);
    background: #fffdf8;
    border-color: rgba(9,28,43,.14);
}
body.premium-portal .filter-chip {
    color: var(--premium-muted);
    background: #fffdf8;
    border-color: rgba(9,28,43,.12);
}
body.premium-portal .filter-chip:hover,
body.premium-portal .filter-chip.is-active {
    color: var(--premium-gold-300);
    background: var(--premium-navy-950);
    border-color: var(--premium-gold-600);
}
body.premium-portal .herb-grid { gap: 1rem; }
body.premium-portal .herb-card {
    background: linear-gradient(180deg,#fff,#fffaf2);
    border-color: rgba(9,28,43,.13);
    box-shadow: 0 14px 34px rgba(5,16,26,.07);
}
body.premium-portal .herb-card-title {
    color: var(--premium-navy-950);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.65rem;
    font-weight: 600;
}
body.premium-portal .herb-visual {
    border-color: rgba(201,149,61,.24);
    box-shadow: 0 12px 24px rgba(5,16,26,.09);
}

/* Product pages */
body.premium-portal .course-feature {
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,250,240,.9));
    border: 1px solid rgba(201,149,61,.25);
    border-radius: 24px;
    box-shadow: var(--premium-shadow);
}
body.premium-portal .course-feature-media,
body.premium-portal .course-feature-copy {
    border-color: rgba(9,28,43,.13);
    border-radius: 18px;
}
body.premium-portal .course-feature-copy {
    background: linear-gradient(135deg, #fffdf8, #f8efdf);
}
body.premium-portal .course-feature-title {
    color: var(--premium-navy-950);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 600;
}

/* Detailed/article pages */
body.premium-portal .article-shell {
    max-width: 980px;
    margin-inline: auto;
}
body.premium-portal .article-shell > .card,
body.premium-portal .article-shell > div > .card,
body.premium-portal.page-detail .card {
    border-color: rgba(9,28,43,.12);
}
body.premium-portal .article-shell p,
body.premium-portal.page-detail .card p,
body.premium-portal.page-detail .card li {
    font-size: 1rem;
    line-height: 1.9;
}
body.premium-portal.page-detail .card h1 {
    color: var(--premium-navy-950);
    font-size: clamp(2.6rem, 5vw, 4.5rem) !important;
    line-height: .94 !important;
}
body.premium-portal.page-detail .card h2 {
    color: var(--premium-navy-950);
    font-size: clamp(1.85rem, 3vw, 2.65rem);
    line-height: 1;
}
body.premium-portal.page-detail .card h3 {
    color: var(--premium-gold-600);
    font-family: "Manrope", sans-serif;
    font-size: .84rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
body.premium-portal.page-detail .card [style*="border-left:4px solid var(--accent)"] {
    border-left-color: var(--premium-gold-500) !important;
    background: linear-gradient(135deg, rgba(201,149,61,.11), rgba(255,255,255,.96)) !important;
}

/* Page-specific atmosphere */
body.page-catalog-ervas .page-header,
body.page-herb .page-header { background-position: center 60%; }
body.page-catalog-pedras .page-header,
body.page-stone .page-header { filter: saturate(.82); }
body.page-orixa .page-header,
body.page-catalog-orixas .page-header { background-position: center 38%; }
body.page-project .page-header { background-position: center 72%; }
body.page-journey .page-header,
body.page-journey-detail .page-header { background-position: center 48%; }

/* Footer */
.premium-footer {
    margin: clamp(2.8rem, 6vw, 5rem) calc(-1 * clamp(1rem, 3.2vw, 3rem)) 0;
    padding: clamp(2.2rem, 5vw, 4rem) clamp(1rem, 3.2vw, 3rem) 1rem;
    color: rgba(255,248,232,.74);
    background:
        radial-gradient(circle at 12% 0, rgba(201,149,61,.12), transparent 25rem),
        linear-gradient(180deg, var(--premium-navy-900), var(--premium-navy-1000));
    border-top: 1px solid rgba(201,149,61,.4);
}
.premium-footer__grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, .65fr));
    gap: clamp(1.5rem, 4vw, 3rem);
}
.premium-brand--footer { color: var(--premium-gold-300); }
.premium-footer__brand p {
    max-width: 420px;
    margin: 1rem 0 0;
    color: rgba(255,248,232,.6);
    line-height: 1.75;
}
.premium-footer__social { display: flex; gap: .72rem; margin-top: 1rem; }
.premium-footer__social a {
    width: 48px; height: 48px; display: grid; place-items: center;
    color: var(--premium-gold-300);
    border: 1px solid rgba(201,149,61,.3);
    border-radius: 14px;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.premium-footer__social a:hover {
    transform: translateY(-2px);
    border-color: rgba(201,149,61,.58);
    background: rgba(201,149,61,.08);
}
.premium-footer__social img { width: 40px; height: 40px; display:block; object-fit:contain; filter: drop-shadow(0 5px 10px rgba(0,0,0,.2)); }
.premium-footer__column { display: grid; align-content: start; gap: .56rem; }
.premium-footer__column h2 {
    margin: 0 0 .35rem;
    color: var(--premium-gold-300);
    font-family: "Manrope", sans-serif;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.premium-footer__column a { color: rgba(255,248,232,.66); font-size: .86rem; }
.premium-footer__column a:hover { color: var(--premium-gold-300); }
.premium-footer__bottom {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1rem;
    color: rgba(255,248,232,.42);
    border-top: 1px solid rgba(201,149,61,.14);
    font-size: .74rem;
}

.premium-bottom-nav { display: none; }

/* Modal and PWA */
.modal-backdrop {
    background: rgba(2,8,14,.78);
    backdrop-filter: blur(8px);
}
.premium-donate-modal {
    color: var(--premium-ink);
    background: linear-gradient(135deg,#fffdf8,#f4e7d0);
    border: 1px solid rgba(201,149,61,.45);
}
.premium-donate-modal h3 { color: var(--premium-navy-950); font-size: 2rem; }
.premium-install-button {
    display: none;
    flex: 0 0 auto;
    gap: .35rem;
    white-space: nowrap;
}
@media (max-width: 1240px) {
    .premium-nav { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .premium-footer__grid { grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(150px,.7fr)); }
    .premium-footer__column:last-child { grid-column: 2 / -1; }
}

@media (max-width: 900px) {
    :root { --premium-header-height: 74px; }
    .app-shell.premium-shell {
        width: 100%;
        margin: 0;
        border: 0;
        border-radius: 0;
    }
    .premium-header__inner { min-height: 72px; padding: .65rem .9rem; gap: .55rem; }
    .premium-brand__mark { width: 64px; height: 64px; flex-basis: 64px; }

    .premium-brand { gap: .65rem; }
    .premium-header__actions { flex: 0 0 auto; margin-left: auto; }
    .premium-install-button {
        display: inline-flex;
        min-height: 42px;
        padding: .58rem .72rem;
        font-size: .68rem;
        letter-spacing: .035em;
    }
    .premium-brand__text--header strong { font-size: .96rem; }
    .premium-brand__text--header em { font-size: .9rem; }
    .premium-brand__text--footer strong { font-size: .94rem; }
    .premium-brand__text--footer em { font-size: .88rem; }
        .premium-action-icon,
    .premium-support { display: none; }
    .premium-menu-button { display: none !important; }
    .premium-mobile-actions {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: .35rem;
        padding: .5rem .7rem .62rem;
        background: rgba(4, 13, 22, .78);
        border-top: 1px solid rgba(201,149,61,.15);
    }
    .premium-mobile-action {
        min-width: 0;
        min-height: 54px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: .18rem;
        padding: .3rem .15rem;
        color: #fff7e6;
        background: rgba(255,255,255,.025);
        border: 1px solid rgba(201,149,61,.2);
        border-radius: 12px;
        font-family: "Montserrat", "Manrope", Arial, sans-serif;
        font-size: .64rem;
        font-weight: 600;
        line-height: 1;
        text-align: center;
        cursor: pointer;
    }
    .premium-mobile-action img {
        width: 30px;
        height: 30px;
        display: block;
        object-fit: contain;
    }
    .premium-mobile-action--support {
        color: #071522;
        background: linear-gradient(135deg, var(--premium-gold-300), var(--premium-gold-500));
        border-color: rgba(255,255,255,.18);
    }
    .premium-mobile-action__support-mark {
        width: 30px;
        height: 30px;
        display: grid;
        place-items: center;
        color: #071522;
        font-size: 1.2rem;
        line-height: 1;
    }
    .premium-nav-wrap,
    .premium-menu-scrim {
        display: none !important;
    }

    .premium-nav-wrap {
        position: fixed;
        z-index: 115;
        top: 72px;
        right: 0;
        bottom: 0;
        width: min(88vw, 410px);
        overflow-y: auto;
        visibility: hidden;
        transform: translateX(105%);
        transition: transform .24s ease, visibility .24s ease;
        background: linear-gradient(180deg, #071522, #040b12);
        border-left: 1px solid rgba(201,149,61,.35);
        box-shadow: -20px 30px 60px rgba(1,8,14,.4);
    }
    .premium-nav-wrap.is-open { visibility: visible; transform: translateX(0); }
    .premium-nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: .45rem;
        padding: .8rem;
        overflow: visible;
    }
    .premium-nav__item {
        min-height: 84px;
        min-width: 0;
        flex-direction: row;
        justify-content: flex-start;
        gap: .78rem;
        padding: .68rem .9rem;
        border: 1px solid rgba(255,255,255,.07);
        border-radius: 14px;
        font-family: "Montserrat", Arial, sans-serif;
        font-size: .88rem;
        font-weight: 500;
        line-height: 1.3;
        text-align: left;
    }
    .premium-nav__item::after { display: none; }
    .premium-nav__item.is-active { border-color: rgba(201,149,61,.45); font-weight: 600; }
    .premium-nav__icon { width: 70px; height: 70px; padding: 5px; border-radius: 18px; }
    .premium-menu-scrim {
        position: fixed;
        z-index: 110;
        inset: 72px 0 0;
        display: block;
        visibility: hidden;
        opacity: 0;
        background: rgba(2,8,14,.66);
        transition: opacity .2s ease, visibility .2s ease;
    }
    .premium-menu-scrim.is-visible { visibility: visible; opacity: 1; }
    body.menu-open { overflow: hidden; }

    .content.premium-content { padding: .85rem .85rem 76px !important; }
    body.premium-portal .page-header { border-radius: 22px; }
    body.premium-portal .page-header h1 { font-size: clamp(2.6rem, 11vw, 4.2rem); }
    .premium-footer { margin-inline: -.85rem; padding-inline: 1rem; }
    .premium-footer__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .premium-footer__brand { grid-column: 1 / -1; }
    .premium-footer__column:last-child { grid-column: auto; }

    .premium-bottom-nav {
        position: fixed;
        z-index: 90;
        right: 10px; bottom: 10px; left: 10px;
        min-height: 68px;
        display: grid;
        grid-template-columns: repeat(4, minmax(0,1fr));
        padding: .35rem;
        color: rgba(255,248,232,.68);
        background: rgba(5,16,26,.95);
        border: 1px solid rgba(201,149,61,.38);
        border-radius: 18px;
        box-shadow: 0 16px 38px rgba(1,8,14,.35);
        backdrop-filter: blur(14px);
    }
    .premium-bottom-nav a {
        display: grid;
        place-items: center;
        gap: .1rem;
        font-size: .66rem;
        font-weight: 700;
    }
    .premium-bottom-nav img {
        width: 40px; height: 40px;
        display: block; object-fit: contain;
    }
}

@media (display-mode: standalone) {
    .premium-install-button { display: none !important; }
}

@media (max-width: 620px) {
    .premium-mobile-actions { padding-inline: .5rem; gap: .28rem; }
    .premium-mobile-action { min-height: 50px; font-size: .6rem; border-radius: 10px; }
    .premium-mobile-action img,
    .premium-mobile-action__support-mark { width: 28px; height: 28px; }
        .premium-menu-button b { display: none; }
    .premium-menu-button { width: 44px; padding: .55rem; }
    body.premium-portal .page-header { padding: 1.25rem; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; }
    body.premium-portal .page-header p { font-size: .92rem; }
    body.premium-portal .panel,
    body.premium-portal .card { border-radius: 18px; }
    body.premium-portal .grid-2,
    body.premium-portal .grid-3,
    body.premium-portal .grid-4,
    body.premium-portal .hero-grid,
    body.premium-portal .featured-band,
    body.premium-portal .split-note,
    body.premium-portal .article-grid,
    body.premium-portal .herb-grid,
    body.premium-portal .course-feature { grid-template-columns: 1fr; }
    body.premium-portal .button,
    body.premium-portal .button-link,
    body.premium-portal .button-block,
    body.premium-portal .course-feature-cta { width: 100%; }
    .premium-footer__grid { grid-template-columns: 1fr; }
    .premium-footer__brand,
    .premium-footer__column:last-child { grid-column: auto; }
    .premium-footer__bottom { align-items: flex-start; flex-direction: column; }
}

/* PIX Copia e Cola */
.pix-donation-panel {
    display: grid;
    align-content: start;
    gap: .65rem;
}

@media (min-width: 721px) {
    .premium-donate-modal .pix-donation-panel {
        align-self: stretch;
        align-content: center;
    }
}
.pix-copy-instruction {
    margin: .1rem 0 0 !important;
    color: var(--premium-muted) !important;
    font-size: .82rem !important;
    line-height: 1.45 !important;
    text-align: center;
}
.pix-code-display {
    width: 100%;
    padding: .85rem .9rem;
    color: #fff7e6;
    background: rgba(6, 18, 30, .52);
    border: 1px solid rgba(201, 149, 61, .28);
    border-radius: 12px;
    font-family: "Montserrat", "Manrope", Arial, sans-serif;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    overflow-wrap: anywhere;
    user-select: all;
}
.pix-copy-button {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .78rem 1rem;
    color: #071522;
    background: linear-gradient(135deg, var(--premium-gold-300), var(--premium-gold-500));
    border: 1px solid rgba(108, 70, 13, .24);
    border-radius: 13px;
    box-shadow: 0 10px 24px rgba(125, 82, 19, .18);
    font-family: "Montserrat", "Manrope", Arial, sans-serif;
    font-size: .86rem;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.pix-copy-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(125, 82, 19, .24);
    filter: brightness(1.03);
}
.pix-copy-button:focus-visible {
    outline: 3px solid rgba(201, 149, 61, .35);
    outline-offset: 3px;
}
.pix-copy-button.is-copied {
    background: linear-gradient(135deg, #e9f4dd, #b7d58f);
}
.pix-copy-feedback {
    min-height: 1.15rem;
    display: block;
    color: #47652f;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

@media (max-width: 720px) {
    .premium-donate-modal .modal-inner {
        gap: .75rem;
    }
    .pix-copy-instruction {
        margin-top: 0 !important;
        font-size: .88rem !important;
    }
    .pix-copy-button {
        min-height: 52px;
        font-size: .92rem;
    }
}



/* Remove rótulos redundantes dos cards curtos dos artigos */
body.premium-portal .article-mini-grid .article-mini .tag {
    display: none !important;
}
body.premium-portal .article-mini-grid .article-mini h3 {
    margin-top: 0 !important;
}
