:root {
    --site-topbar-height: 0px;
    --confisco-areia: #e8dccb;
    --confisco-ocre: #d07a38;
    --confisco-vinho: #562f30;
    --confisco-marinho: #102331;
    --confisco-musgo: #4a6355;
    --confisco-cta: #f0bb0d;
    --confisco-cta-hover: #ffd24a;
    --confisco-cta-text: #102331;

    /* Pricing plan theme (shared between titles/badges/buttons). */
    --plan-minimo-bg: linear-gradient(
        132deg,
        #4A2912 0%,
        #8B5329 18%,
        #C78343 36%,
        #F6D3AE 50%,
        #B46D35 64%,
        #E9B483 82%,
        #FFF0DE 100%
    );
    --plan-minimo-fg: #1f1208;
    --plan-minimo-border: rgba(246, 211, 174, 0.8);
    --plan-minimo-shadow: rgba(91, 52, 24, 0.30);
    --plan-minimo-shadow-hover: rgba(91, 52, 24, 0.44);

    --plan-fiscalidade-bg: linear-gradient(
        132deg,
        #2A0846 0%,
        #4D0A7E 18%,
        #6A0DAD 36%,
        #7662be 50%,
        #5E19A8 64%,
        #B78CFF 82%,
        #E9E0FF 100%
    );
    --plan-fiscalidade-fg: #ffffff;
    --plan-fiscalidade-border: rgba(199, 184, 255, 0.84);
    --plan-fiscalidade-shadow: rgba(59, 10, 98, 0.34);
    --plan-fiscalidade-shadow-hover: rgba(59, 10, 98, 0.48);

    --plan-gerir-bg: linear-gradient(
        132deg,
        #5F4500 0%,
        #9F7808 18%,
        #D4AF37 36%,
        #FFF0B3 50%,
        #C39A1E 64%,
        #F2D16A 82%,
        #FFF9DB 100%
    );
    --plan-gerir-fg: #1b1404;
    --plan-gerir-border: rgba(255, 240, 179, 0.82);
    --plan-gerir-shadow: rgba(122, 90, 0, 0.32);
    --plan-gerir-shadow-hover: rgba(122, 90, 0, 0.46);

    --plan-consultoria-bg: linear-gradient(
        132deg,
        #184433 0%,
        #2E6B4F 18%,
        #4A8F67 36%,
        #44ac71 50%,
        #2A7A56 64%,
        #86CFA8 82%,
        #E8FFF2 100%
    );
    --plan-consultoria-fg: #ffffff;
    --plan-consultoria-border: rgba(207, 242, 222, 0.84);
    --plan-consultoria-shadow: rgba(31, 77, 58, 0.32);
    --plan-consultoria-shadow-hover: rgba(31, 77, 58, 0.46);
}

/* Editorial lesson pages inspired by cleaner long-form sites: fewer boxes, subtle dividers. */
.lesson-detail {
    max-width: 58rem;
    margin-inline: auto;
    color: var(--confisco-marinho);
}

.lesson-hero {
    display: block;
    border: 0;
    border-bottom: 1px solid rgba(16, 35, 49, 0.12);
    border-radius: 0;
    background: transparent;
    padding: clamp(1.25rem, 4vw, 3rem) 0 clamp(1.1rem, 3vw, 2rem);
    box-shadow: none;
}

.lesson-hero__copy h1 {
    max-width: 54rem;
    font-size: clamp(2.55rem, 5vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.lesson-hero__copy p:not(.article-card__label) {
    max-width: 45rem;
}

.lesson-hero__chapters {
    margin-top: 1.4rem;
    border: 0;
    border-top: 1px solid rgba(16, 35, 49, 0.10);
    border-radius: 0;
    background: transparent;
    padding: 1rem 0 0;
}

.lesson-hero__chapters ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1.1rem;
    margin: 0.55rem 0 0;
    padding-left: 1.1rem;
}

.lesson-video-section {
    margin-top: clamp(1.4rem, 4vw, 2.5rem);
    padding-bottom: clamp(1.4rem, 4vw, 2.5rem);
    border-bottom: 1px solid rgba(16, 35, 49, 0.12);
}

.lesson-video-frame {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.lesson-video-placeholder__screen {
    box-shadow: none;
}

.lesson-content-layout {
    display: block;
    margin-top: 0;
}

.lesson-chapter-rail {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
    padding: 1rem 0;
    border: 0;
    border-bottom: 1px solid rgba(16, 35, 49, 0.12);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.lesson-chapter-rail .article-card__label {
    flex-basis: 100%;
}

.lesson-chapter-rail a {
    margin-top: 0;
    border: 1px solid rgba(16, 35, 49, 0.12);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.92rem;
}

.article-short-answer,
.article-bullet-panel,
.article-faq,
.article-detail-cta {
    border: 0;
    border-bottom: 1px solid rgba(16, 35, 49, 0.12);
    border-radius: 0;
    background: transparent;
    padding: clamp(1.25rem, 4vw, 2.2rem) 0;
    box-shadow: none;
}

.article-short-answer {
    margin-top: 0;
}

.article-short-answer .article-card__label {
    color: var(--confisco-ocre);
}

.article-short-answer p:not(.article-card__label) {
    color: rgba(16, 35, 49, 0.78);
    font-size: clamp(1.25rem, 1vw + 1rem, 1.72rem);
    line-height: 1.55;
}

.article-bullet-panel {
    display: block;
}

.article-bullet-panel ul {
    margin-top: 1rem;
}

.article-body {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.article-body section,
.article-body section + section {
    margin: 0;
    padding: clamp(1.35rem, 4vw, 2.4rem) 0;
    border-top: 0;
    border-bottom: 1px solid rgba(16, 35, 49, 0.12);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.article-body h2 {
    font-size: clamp(1.65rem, 1.2vw + 1.25rem, 2.45rem);
}

.article-body p {
    max-width: 46rem;
    font-size: clamp(1.05rem, 0.35vw + 1rem, 1.22rem);
    line-height: 1.82;
}

.article-faq > div {
    margin-top: 0.6rem;
    border-top: 1px solid rgba(16, 35, 49, 0.12);
}

.article-faq details {
    border: 0;
    border-bottom: 1px solid rgba(16, 35, 49, 0.12);
    border-radius: 0;
    background: transparent;
    padding: 1rem 0;
}

.article-detail-cta {
    border-bottom: 0;
}

/* Article pages: final pass after legacy article-card rules. */
.lesson-detail .article-short-answer .article-card__label {
    color: var(--confisco-ocre);
}

.lesson-detail .article-short-answer p:not(.article-card__label) {
    color: rgba(16, 35, 49, 0.78);
}

.lesson-detail .article-body section,
.lesson-detail .article-body section + section {
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 35, 49, 0.12);
    border-left: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.whatsapp-direct-button {
    position: fixed;
    right: clamp(1rem, 3vw, 1.6rem);
    bottom: clamp(1rem, 3vw, 1.6rem);
    z-index: 70;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3.4rem;
    max-width: calc(100vw - 2rem);
    padding: 0.85rem 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: #25d366;
    color: #0b2615 !important;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.whatsapp-direct-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.36);
}

.whatsapp-direct-button:focus-visible {
    outline: 3px solid rgba(232, 220, 203, 0.9);
    outline-offset: 4px;
}

.whatsapp-direct-button__icon {
    flex: 0 0 auto;
    width: 1.45rem;
    height: 1.45rem;
    fill: currentColor;
}

.whatsapp-direct-button__text {
    white-space: nowrap;
}

@media (max-width: 520px) {
    .whatsapp-direct-button {
        right: 0.9rem;
        bottom: 0.9rem;
        width: 3.55rem;
        min-height: 3.55rem;
        padding: 0;
        border-radius: 50%;
    }

    .whatsapp-direct-button__text {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

.lesson-hero__note {
    max-width: 34rem;
    margin: 0.55rem 0 0;
    color: rgba(16, 35, 49, 0.72);
    line-height: 1.65;
}

.lesson-prose-section {
    display: grid;
    gap: 1.2rem;
    align-items: center;
}

@media (min-width: 820px) {
    .lesson-prose-section {
        grid-template-columns: minmax(0, 1fr) minmax(9rem, 0.22fr);
    }
}

.lesson-prose-section__text {
    min-width: 0;
}

.lesson-prose-section__text p + p {
    margin-top: 0.85rem;
}

.lesson-prose-visual {
    display: none;
    min-height: 8.5rem;
    border-left: 1px solid rgba(16, 35, 49, 0.12);
    padding-left: 1rem;
}

@media (min-width: 820px) {
    .lesson-prose-visual {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.65rem;
    }
}

.lesson-prose-visual__line,
.lesson-prose-visual__bar {
    display: block;
    height: 0.45rem;
    border-radius: 999px;
    background: rgba(16, 35, 49, 0.12);
}

.lesson-prose-visual__line {
    width: 72%;
    background: rgba(208, 122, 56, 0.32);
}

.lesson-prose-visual__bar:last-child {
    width: 58%;
}

.lesson-prose-visual__mark {
    display: inline-grid;
    width: 3.2rem;
    height: 3.2rem;
    place-items: center;
    border: 1px solid rgba(208, 122, 56, 0.28);
    border-radius: 50%;
    color: var(--confisco-ocre);
    font-family: Poppins, sans-serif;
    font-weight: 800;
}

.article-summary-list {
    padding: clamp(1.35rem, 4vw, 2.4rem) 0;
    border-bottom: 1px solid rgba(16, 35, 49, 0.12);
}

.article-summary-list h2 {
    margin: 0.55rem 0 0;
    color: var(--confisco-marinho);
    font-family: Poppins, sans-serif;
    font-size: clamp(1.65rem, 1.2vw + 1.25rem, 2.45rem);
    line-height: 1.14;
}

.article-summary-list ul {
    margin: 1.1rem 0 0;
    padding: 0;
    list-style: none;
}

.article-summary-list li {
    position: relative;
    padding: 0.9rem 0 0.9rem 1.55rem;
    border-top: 1px solid rgba(16, 35, 49, 0.10);
    color: rgba(16, 35, 49, 0.76);
    line-height: 1.65;
}

.article-summary-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.42rem;
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
    background: var(--confisco-ocre);
}

.lesson-hero__note {
    max-width: 34rem;
    margin: 0.55rem 0 0;
    color: rgba(16, 35, 49, 0.72);
    line-height: 1.65;
}

.lesson-prose-section {
    display: grid;
    gap: 1.2rem;
    align-items: center;
}

@media (min-width: 820px) {
    .lesson-prose-section {
        grid-template-columns: minmax(0, 1fr) minmax(9rem, 0.22fr);
    }
}

.lesson-prose-section__text {
    min-width: 0;
}

.lesson-prose-section__text p + p {
    margin-top: 0.85rem;
}

.lesson-prose-visual {
    display: none;
    min-height: 8.5rem;
    border-left: 1px solid rgba(16, 35, 49, 0.12);
    padding-left: 1rem;
}

@media (min-width: 820px) {
    .lesson-prose-visual {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.65rem;
    }
}

.lesson-prose-visual__line,
.lesson-prose-visual__bar {
    display: block;
    height: 0.45rem;
    border-radius: 999px;
    background: rgba(16, 35, 49, 0.12);
}

.lesson-prose-visual__line {
    width: 72%;
    background: rgba(208, 122, 56, 0.32);
}

.lesson-prose-visual__bar {
    width: 100%;
}

.lesson-prose-visual__bar:last-child {
    width: 58%;
}

.lesson-prose-visual__mark {
    display: inline-grid;
    width: 3.2rem;
    height: 3.2rem;
    place-items: center;
    border: 1px solid rgba(208, 122, 56, 0.28);
    border-radius: 50%;
    color: var(--confisco-ocre);
    font-family: Poppins, sans-serif;
    font-weight: 800;
}

.article-summary-list {
    padding: clamp(1.35rem, 4vw, 2.4rem) 0;
    border-bottom: 1px solid rgba(16, 35, 49, 0.12);
}

.article-summary-list h2 {
    margin: 0.55rem 0 0;
    color: var(--confisco-marinho);
    font-family: Poppins, sans-serif;
    font-size: clamp(1.65rem, 1.2vw + 1.25rem, 2.45rem);
    line-height: 1.14;
}

.article-summary-list ul {
    margin: 1.1rem 0 0;
    padding: 0;
    list-style: none;
}

.article-summary-list li {
    position: relative;
    padding: 0.9rem 0 0.9rem 1.55rem;
    border-top: 1px solid rgba(16, 35, 49, 0.10);
    color: rgba(16, 35, 49, 0.76);
    line-height: 1.65;
}

.article-summary-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.42rem;
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
    background: var(--confisco-ocre);
}

/* Fallback visual in case Tailwind custom color utilities are unavailable. */
.bg-confisco-ocre {
    background-color: var(--confisco-cta) !important;
}

.text-confisco-areia {
    color: #e8dccb !important;
}

.text-confisco-ocre {
    color: #d07a38 !important;
}

a.bg-confisco-ocre,
button.bg-confisco-ocre {
    color: var(--confisco-cta-text) !important;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--site-topbar-height) + 1rem);
}

body {
    margin: 0;
    padding-top: var(--site-topbar-height);
}

/* Prevent tiny 1-2px horizontal overflow (common with full-bleed sections). */
html,
body {
    overflow-x: hidden;
}

.background-shape {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(1000px 500px at 90% -20%, rgba(208, 122, 56, 0.25), transparent 60%),
        radial-gradient(900px 450px at -20% 25%, rgba(74, 99, 85, 0.27), transparent 58%),
        linear-gradient(180deg, #102331 0%, #0b1823 100%);
}

.hero {
    position: relative;
    background: linear-gradient(160deg, rgba(86, 47, 48, 0.3) 0%, rgba(16, 35, 49, 0.12) 100%);
}

.hero-media {
    min-height: 320px;
    background: #0d1c28;
}

.hero-media img {
    display: block;
}

.site-topbar {
    position: fixed;
    inset: 0 0 auto 0;
    width: 100%;
    z-index: 80;
    background: var(--confisco-cta);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(16, 35, 49, 0.12);
}

.site-topbar__inner {
    max-width: 1440px;
    margin: 0 auto;
    min-height: 3.6rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 0.7rem 1.25rem;
    font-size: clamp(1.02rem, 0.72vw + 0.86rem, 1.22rem);
    font-weight: 600;
    text-align: center;
}

.site-topbar__text {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    line-height: 1.45;
    font-weight: 800;
    overflow-wrap: anywhere;
    -webkit-text-stroke: 0.35px rgba(16, 35, 49, 0.34);
    text-shadow:
        0.45px 0 rgba(16, 35, 49, 0.28),
        -0.45px 0 rgba(16, 35, 49, 0.28),
        0 0.45px rgba(16, 35, 49, 0.28),
        0 -0.45px rgba(16, 35, 49, 0.28);
}

.site-topbar__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.45rem;
    padding: 0.24rem 0.55rem;
    border-radius: 999px;
    background: rgba(19, 22, 40, 0.96);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(16, 35, 49, 0.14);
    vertical-align: baseline;
    position: relative;
    top: -0.08rem;
    -webkit-text-stroke: 0.35px rgba(16, 35, 49, 0.34);
    text-shadow:
        0.45px 0 rgba(16, 35, 49, 0.28),
        -0.45px 0 rgba(16, 35, 49, 0.28),
        0 0.45px rgba(16, 35, 49, 0.28),
        0 -0.45px rgba(16, 35, 49, 0.28);
}

.site-topbar__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 2.6rem;
    margin: 0 0.15rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(19, 22, 40, 0.96);
    color: #ffffff !important;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    -webkit-text-stroke: 0.45px rgba(16, 35, 49, 0.38);
    text-shadow:
        0.55px 0 rgba(16, 35, 49, 0.34),
        -0.55px 0 rgba(16, 35, 49, 0.34),
        0 0.55px rgba(16, 35, 49, 0.34),
        0 -0.55px rgba(16, 35, 49, 0.34);
    border: 1px solid rgba(16, 35, 49, 0.24);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.site-topbar__link:hover {
    transform: translateY(-1px);
    background: #ffffff;
    color: var(--confisco-marinho) !important;
    -webkit-text-stroke: 0;
    text-shadow: none;
}

.site-header {
    position: relative;
    z-index: 25;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #131628;
}

.site-header__inner {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    min-height: 5.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.7rem, 3vw, 3.2rem);
    padding: 1rem 1.5rem 1.1rem;
}

.site-header__inner--landing {
    max-width: 1200px;
    justify-content: space-between;
}

.site-header__brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    font-size: clamp(1.9rem, 1.1vw + 1.45rem, 2.55rem);
    line-height: 1;
    letter-spacing: -0.05em;
    text-decoration: none;
}

.site-header__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 1.4vw, 1.75rem);
    font-size: clamp(1rem, 0.38vw + 0.9rem, 1.13rem);
    font-weight: 600;
    line-height: 1.1;
}

.site-header__nav a {
    color: #ffffff;
    text-decoration: none;
    transition: color 180ms ease;
}

.site-header__nav a:hover {
    color: var(--confisco-areia);
}

.site-header__mobile-trigger {
    display: none;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.7rem;
    background: transparent;
    color: #ffffff;
    padding: 0.72rem 0.95rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.site-mobile-menu {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #131628;
}

.full-bleed-section {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.hero--stage {
    position: relative;
    isolation: isolate;
    color: var(--confisco-marinho);
    background: linear-gradient(180deg, #f3efe7 0%, #f8f5ef 100%);
    border-bottom: 1px solid rgba(16, 35, 49, 0.08);
}

.hero--stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(860px 400px at 52% 18%, rgba(208, 122, 56, 0.11), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.hero-stage__inner {
    position: relative;
    z-index: 1;
    max-width: 1500px;
    min-height: clamp(32rem, 48vw, 45rem);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(290px, 0.82fr) minmax(0, 2.22fr);
    gap: clamp(0.5rem, 1.8vw, 1.6rem);
    align-items: stretch;
    padding: clamp(2.8rem, 4.5vw, 4.2rem) clamp(1.1rem, 3vw, 2.4rem) 0 0;
    min-width: 0;
}

.hero-stage__side {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 100%;
}

.hero-stage__side--left {
    justify-content: flex-start;
    overflow: visible;
    margin-left: -3.4rem;
}

.hero-stage__side--left::after {
    content: "";
    position: absolute;
    inset: auto 10% 3% -4%;
    height: 1.35rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(16, 35, 49, 0.16), transparent 74%);
    filter: blur(16px);
}

.hero-stage__side--right {
    align-items: center;
}

.hero-stage__portrait-shell {
    position: relative;
    z-index: 1;
    width: min(146%, 37rem);
    max-width: none;
    transform: translate(-20%, -4%);
}

.hero-stage__portrait {
    display: block;
    width: 100%;
    max-width: none;
    max-height: clamp(31rem, 54vw, 49rem);
    object-fit: contain;
    object-position: bottom left;
    transform: scaleX(-1) scale(1.08);
    transform-origin: center bottom;
    filter: drop-shadow(0 28px 34px rgba(16, 35, 49, 0.18));
}

.hero-stage__content {
    position: relative;
    z-index: 1;
    align-self: start;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0 auto;
    padding-top: clamp(1.35rem, 2.1vw, 2rem);
    padding-bottom: clamp(2.4rem, 4.8vw, 4.2rem);
    padding-right: clamp(1.4rem, 3vw, 3.4rem);
    text-align: center;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-stage__title {
    width: min(100%, 72rem);
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.07em;
    line-height: 0.92;
    text-transform: uppercase;
    text-wrap: normal;
}

.hero-stage__title-line {
    display: block;
    text-align: center;
}

.hero-stage__title-line--nowrap {
    white-space: nowrap;
}

.hero-stage__title-outline {
    display: inline-block;
    padding-inline: 0.02em;
    color: var(--confisco-ocre);
    -webkit-text-fill-color: var(--confisco-ocre);
    -webkit-text-stroke: 2px var(--confisco-marinho);
    text-shadow: none;
}

.hero-stage__title-pay {
    display: inline-block;
    padding-inline: 0.02em;
    color: var(--confisco-ocre);
    -webkit-text-fill-color: var(--confisco-ocre);
    -webkit-text-stroke: 2px var(--confisco-marinho);
    text-shadow: none;
}

.hero-stage__title-question {
    display: inline-block;
    margin-left: 0.16em;
    color: var(--confisco-marinho);
    -webkit-text-fill-color: var(--confisco-marinho);
    -webkit-text-stroke: 0;
}

.hero-stage__title-line + .hero-stage__title-line {
    margin-top: 0.14em;
}

.hero-stage__title-line--accent {
    color: var(--confisco-ocre);
}

.hero-stage__copy {
    width: min(100%, 72rem);
    max-width: none;
    margin: 1.75rem auto 0;
    font-size: clamp(1.12rem, 0.95vw + 0.9rem, 1.54rem);
    line-height: 1.55;
    color: rgba(16, 35, 49, 0.8);
    text-wrap: normal;
}

.hero-stage__bullet-list {
    width: min(100%, 52rem);
    margin: 1.65rem auto 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.9rem;
    text-align: left;
    color: rgba(16, 35, 49, 0.82);
}

.hero-stage__bullet-list li {
    position: relative;
    padding-left: 1.35rem;
    font-size: clamp(1rem, 0.55vw + 0.9rem, 1.14rem);
    line-height: 1.45;
}

.hero-stage__bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.58rem;
    height: 0.58rem;
    border-radius: 999px;
    background: var(--confisco-ocre);
    box-shadow: 0 0 0 4px rgba(208, 122, 56, 0.14);
}

.hero-stage__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.95rem;
    margin-top: clamp(1.55rem, 3.2vw, 2.6rem);
    padding-top: 0;
}

.hero-stage__microcopy {
    margin: 0.7rem auto 0;
    font-size: 0.98rem;
    color: rgba(16, 35, 49, 0.66);
}

.hero-stage__trust-list {
    width: min(100%, 54rem);
    margin: 1rem auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.hero-stage__trust-list span {
    display: inline-flex;
    align-items: center;
    min-height: 2.35rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(16, 35, 49, 0.12);
    background: rgba(255, 255, 255, 0.78);
    color: rgba(16, 35, 49, 0.76);
    font-size: 0.92rem;
    font-weight: 700;
}

.hero-stage__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 19rem;
    padding: 1rem 2.6rem;
    border-radius: 999px;
    font-size: 1.02rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.hero-stage__cta:hover {
    transform: translateY(-1px);
}

.hero-stage__cta--primary {
    background: var(--confisco-cta);
    color: #ffffff !important;
    -webkit-text-stroke: 0.45px rgba(16, 35, 49, 0.38);
    text-shadow:
        0.55px 0 rgba(16, 35, 49, 0.34),
        -0.55px 0 rgba(16, 35, 49, 0.34),
        0 0.55px rgba(16, 35, 49, 0.34),
        0 -0.55px rgba(16, 35, 49, 0.34);
    border: 1px solid rgba(16, 35, 49, 0.24);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
}

.hero-stage__cta--primary:hover {
    background: var(--confisco-cta-hover);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
    filter: none;
}

.hero-stage__cta--secondary {
    background: rgba(19, 22, 40, 0.94);
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(19, 22, 40, 0.16);
}

.hero-stage__cta--secondary:hover {
    background: #0f1120;
}

.hero-stage__accent-card {
    display: grid;
    gap: 0.75rem;
    padding: 1.2rem 1rem;
    border: 1px solid rgba(16, 35, 49, 0.08);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 38px rgba(16, 35, 49, 0.1);
}

.hero-stage__accent-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1rem;
    border-radius: 999px;
    background: #ffffff;
    color: rgba(16, 35, 49, 0.8);
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(16, 35, 49, 0.08);
}

.keyword-accent {
    color: var(--confisco-ocre);
    font-weight: 700;
}

.home-flow {
    position: relative;
    isolation: isolate;
    padding: clamp(0.5rem, 2vw, 1rem) 0 clamp(3rem, 5vw, 4.5rem);
    color: var(--confisco-marinho);
}

.home-flow::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background:
        linear-gradient(180deg, #f8f5ef 0%, #ffffff 19%, #f4efe6 46%, #ffffff 72%, #f8f5ef 100%);
}

.home-flow section {
    scroll-margin-top: calc(var(--site-topbar-height) + 1.25rem);
}

.section-heading-shell {
    margin-bottom: 2rem;
}

.section-heading-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.58rem 0.95rem;
    border-radius: 999px;
    max-width: 100%;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    border: 1px solid rgba(208, 122, 56, 0.24);
    box-shadow: none;
    background: rgba(208, 122, 56, 0.10);
    color: var(--confisco-ocre);
    -webkit-text-stroke: 0;
    text-shadow: none;
}

.section-badge--marinho {
    border-color: rgba(16, 35, 49, 0.18);
    background: rgba(16, 35, 49, 0.08);
    color: var(--confisco-marinho);
}

.section-badge--ocre {
    background: rgba(208, 122, 56, 0.10);
    color: var(--confisco-ocre);
}

.section-label {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(232, 220, 203, 0.9);
}

.section-copy {
    max-width: 44rem;
    margin-top: 0.95rem;
    color: rgba(16, 35, 49, 0.72);
    font-size: 1.04rem;
    line-height: 1.7;
}

.quote-chip {
    border: 1px solid rgba(232, 220, 203, 0.3);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(248, 250, 252, 0.92);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.quote-panel {
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.quote-fit-intro {
    background: linear-gradient(180deg, #e7e4da 0%, #d9d5ca 100%);
}

.quote-fit-details {
    background: linear-gradient(180deg, #001f38 0%, #001629 100%);
}

.quote-list-item {
    position: relative;
    padding-left: 1.45rem;
}

.quote-list-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.48rem;
    width: 0.68rem;
    height: 0.68rem;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(232, 220, 203, 0.95), rgba(208, 122, 56, 0.95));
    box-shadow: 0 0 0 4px rgba(208, 122, 56, 0.12);
}

.quote-mini-card {
    transition: transform 180ms ease, border-color 180ms ease;
}

.quote-mini-card:hover {
    transform: translateY(-2px);
    border-color: rgba(208, 122, 56, 0.35);
}

.quote-form-shell {
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.quote-stepper {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto;
    align-items: center;
    gap: 0.55rem;
}

.quote-step-dot {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.22);
    background: rgba(15, 23, 42, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.82);
    transition: all 180ms ease;
}

.quote-step-dot.is-done {
    border-color: rgba(208, 122, 56, 0.45);
    background: rgba(208, 122, 56, 0.14);
    color: #0f172a;
}

.quote-step-dot.is-active {
    border-color: rgba(232, 220, 203, 0.95);
    background: linear-gradient(140deg, rgba(232, 220, 203, 0.95), rgba(208, 122, 56, 0.95));
    color: #0f172a;
    box-shadow: 0 0 0 4px rgba(208, 122, 56, 0.16);
}

.quote-step-line {
    height: 2px;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.24), rgba(15, 23, 42, 0.08));
}

.quote-step {
    display: none;
}

.quote-step.is-active {
    display: block;
}

.quote-step.step-in-next {
    animation: quoteStepInNext 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.quote-step.step-in-prev {
    animation: quoteStepInPrev 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes quoteStepInNext {
    from {
        opacity: 0;
        transform: translateX(16px) translateY(2px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes quoteStepInPrev {
    from {
        opacity: 0;
        transform: translateX(-16px) translateY(2px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

.quote-form-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.quote-next,
.quote-back {
    min-width: 7.2rem;
}

.quote-input {
    border: 1px solid rgba(148, 163, 184, 0.55);
    background: #ffffff;
    color: #0f172a;
}

.quote-input::placeholder {
    color: rgba(71, 85, 105, 0.82);
}

.quote-input:focus {
    border-color: rgba(208, 122, 56, 0.88);
    box-shadow: 0 0 0 3px rgba(208, 122, 56, 0.18);
}

.quote-form select.quote-input option {
    color: #0f172a;
}

.quote-next {
    background: var(--confisco-cta);
    color: var(--confisco-cta-text);
}

.quote-next:hover {
    background: var(--confisco-cta-hover);
    filter: none;
}

.quote-submit {
    background: var(--confisco-cta);
    color: var(--confisco-cta-text);
    letter-spacing: 0.01em;
}

.quote-submit:hover {
    background: var(--confisco-cta-hover);
    filter: none;
}

@media (prefers-reduced-motion: reduce) {
    .quote-step.step-in-next,
    .quote-step.step-in-prev {
        animation: none;
    }
}

.glass-card {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(7px);
}

#proximo-passo .work-step-card,
#como-trabalhamos .work-step-card,
#com-quem-trabalhamos .work-step-card {
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

#proximo-passo .work-step-card:hover,
#como-trabalhamos .work-step-card:hover,
#com-quem-trabalhamos .work-step-card:hover {
    transform: translateY(-2px);
}

#proximo-passo .work-step-card,
#como-trabalhamos .work-step-card {
    border-color: rgba(16, 35, 49, 0.12);
    background: #ffffff !important;
    background-image: none !important;
    box-shadow: 0 18px 38px rgba(16, 35, 49, 0.1);
    backdrop-filter: none;
}

#proximo-passo .work-step-card__number,
#como-trabalhamos .work-step-card__number {
    color: var(--confisco-ocre);
}

#proximo-passo .work-step-card__title,
#como-trabalhamos .work-step-card__title {
    color: var(--confisco-marinho);
}

#proximo-passo .work-step-card__copy,
#como-trabalhamos .work-step-card__copy {
    color: rgba(16, 35, 49, 0.78);
}

#com-quem-trabalhamos .work-step-card__number {
    color: var(--confisco-ocre);
}

#com-quem-trabalhamos .work-step-card__title {
    color: var(--confisco-marinho);
}

#com-quem-trabalhamos .work-step-card__copy {
    color: rgba(16, 35, 49, 0.78);
}

#com-quem-trabalhamos .work-step-card:nth-child(even) {
    border-color: rgba(16, 35, 49, 0.12);
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(16, 35, 49, 0.1);
    backdrop-filter: none;
}

#com-quem-trabalhamos .work-step-card {
    border-color: rgba(16, 35, 49, 0.12);
    background: #ffffff !important;
    background-image: none !important;
    box-shadow: 0 18px 38px rgba(16, 35, 49, 0.1);
    backdrop-filter: none;
}

#proximo-passo,
#como-trabalhamos,
#com-quem-trabalhamos,
#artigos,
#quem-e-o-confisco {
    position: relative;
}

#proximo-passo::before,
#artigos::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -2rem;
    bottom: -2rem;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: rgba(232, 220, 203, 0.34);
}

#como-trabalhamos::before,
#quem-e-o-confisco::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -2rem;
    bottom: -2rem;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #ffffff;
}

#artigos .glass-card,
#quem-e-o-confisco .glass-card {
    border-color: rgba(16, 35, 49, 0.10);
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(16, 35, 49, 0.09);
    backdrop-filter: none;
}

#artigos .glass-card h3,
#artigos .glass-card h3 a {
    color: var(--confisco-marinho);
}

#artigos .glass-card h3 a:hover {
    color: var(--confisco-ocre);
}

#artigos .glass-card p {
    color: rgba(16, 35, 49, 0.76);
}

#artigos > .mt-6 a {
    border-color: rgba(16, 35, 49, 0.16) !important;
    background: var(--confisco-marinho);
    color: #ffffff !important;
    box-shadow: 0 14px 28px rgba(16, 35, 49, 0.16);
}

#quem-e-o-confisco .glass-card p {
    color: rgba(16, 35, 49, 0.78);
}

#quem-e-o-confisco .glass-card .text-confisco-areia {
    color: var(--confisco-ocre) !important;
}

#quem-e-o-confisco figure {
    border-color: rgba(16, 35, 49, 0.12);
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(16, 35, 49, 0.12);
}

#testemunhos {
    position: relative;
}

#testemunhos::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -1.5rem;
    bottom: -1.5rem;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background:
        linear-gradient(90deg, rgba(208, 122, 56, 0.10), transparent 24%, transparent 76%, rgba(74, 99, 85, 0.14)),
        rgba(255, 255, 255, 0.03);
}

.testimonial-grid {
    display: grid;
    align-items: stretch;
    gap: 1rem;
}

@media (min-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.testimonial-card {
    position: relative;
    display: flex;
    height: 100%;
    min-height: 20rem;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.4rem;
    overflow: hidden;
    border: 1px solid rgba(232, 220, 203, 0.32);
    border-radius: 1rem;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08)),
        rgba(16, 35, 49, 0.9);
    padding: 1.5rem 1.5rem 5rem;
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.2);
}

.testimonial-card::after {
    content: "";
    position: absolute;
    right: -2.6rem;
    bottom: -2.6rem;
    width: 9rem;
    height: 9rem;
    border-radius: 999px;
    border: 1.4rem solid rgba(208, 122, 56, 0.14);
}

.testimonial-card__mark {
    position: relative;
    z-index: 1;
    color: rgba(208, 122, 56, 0.82);
    font-family: Georgia, serif;
    font-size: 5rem;
    font-weight: 700;
    line-height: 0.75;
}

.testimonial-card__quote {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.08rem, 0.35vw + 1rem, 1.22rem);
    font-weight: 600;
    line-height: 1.62;
}

.testimonial-card__footer {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.9rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1rem;
}

.testimonial-card__label,
.testimonial-card__context {
    margin: 0;
}

.testimonial-card__label {
    color: var(--confisco-areia);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.testimonial-card__context {
    margin-top: 0.25rem;
    color: rgba(226, 232, 240, 0.76);
    font-size: 0.94rem;
    line-height: 1.45;
}

.testimonial-card__status {
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    border-radius: 999px;
    background: rgba(240, 187, 13, 0.14);
    color: rgba(255, 245, 210, 0.92);
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 800;
}


.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.reveal-on {
    opacity: 1;
    transform: none;
}

.brand-title {
    line-height: 1.08;
    text-wrap: balance;
}

.brand-title__segment {
    display: inline;
}

.brand-title--light .brand-title__segment--default {
    color: #f8fafc;
}

.brand-title--light .brand-title__segment--areia {
    color: var(--confisco-areia);
}

.brand-title--light .brand-title__segment--ocre {
    color: var(--confisco-ocre);
}

.brand-title--dark .brand-title__segment--default {
    color: var(--confisco-marinho);
}

.brand-title--dark .brand-title__segment--areia {
    color: #b3967c;
}

.brand-title--dark .brand-title__segment--ocre {
    color: var(--confisco-ocre);
}

.brand-title__segment--tag-ocre,
.brand-title__segment--tag-marinho {
    display: inline-block;
    padding: 0.1em 0.28em;
    border-radius: 0.18em;
    line-height: 1.03;
    box-shadow: 0 10px 22px rgba(16, 35, 49, 0.14);
}

.brand-title__segment--tag-ocre {
    background: var(--confisco-ocre);
    color: #ffffff;
}

.brand-title__segment--tag-marinho {
    background: var(--confisco-marinho);
    color: #ffffff;
}

/* Section kicker labels ("Como trabalhamos", etc.) with brand energy. */
main > section > .mb-8 > p {
    display: inline-block;
    font-size: clamp(0.82rem, 1.3vw, 1.02rem);
    letter-spacing: 0.24em;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--confisco-areia) 0%, #ffffff 42%, var(--confisco-ocre) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 6px 18px rgba(208, 122, 56, 0.2);
}

/* Keep contrast for kicker labels on white sections. */
#precos > .mb-8 > p,
#faq > .mb-8 > p {
    background: linear-gradient(90deg, #102331 0%, #2a4457 52%, #d07a38 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

/* Full-width white band behind the pricing section. */
#precos {
    position: relative;
    padding: clamp(2.25rem, 4vw, 3.25rem) 0;
}

#precos::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #ffffff;
}

/* In the white pricing section, switch internal surfaces/text to a light theme. */
#precos {
    color: rgb(16, 35, 49);
}

#precos .section-label,
#precos .section-copy {
    color: rgba(16, 35, 49, 0.72);
}

#precos .brand-title {
    max-width: 58rem;
}

#precos .pricing-subheadline {
    max-width: 48rem;
    margin-top: 1rem;
    color: rgba(16, 35, 49, 0.78);
    font-size: 1.02rem;
    line-height: 1.7;
}

#precos .pricing-grid {
    display: grid;
    gap: 1.5rem;
    align-items: stretch;
}

@media (min-width: 1024px) {
    #precos .pricing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

#precos .pricing-card {
    --pricing-accent: 208, 122, 56;
    --pricing-hero-bg: var(--plan-minimo-bg);
    --pricing-hero-fg: #1f1208;
    --pricing-hero-copy: rgba(31, 18, 8, 0.82);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(16, 35, 49, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow:
        0 22px 50px rgba(16, 35, 49, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.4) inset;
    overflow: hidden;
}

#precos .pricing-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, rgba(var(--pricing-accent), 0.96), rgba(var(--pricing-accent), 0.42));
}

#precos .pricing-card--essencial {
    --pricing-accent: 208, 122, 56;
    --pricing-hero-bg: var(--plan-minimo-bg);
    --pricing-hero-fg: var(--plan-minimo-fg);
    --pricing-hero-copy: rgba(31, 18, 8, 0.82);
}

#precos .pricing-card--inteligente {
    --pricing-accent: 106, 13, 173;
    --pricing-hero-bg: var(--plan-fiscalidade-bg);
    --pricing-hero-fg: var(--plan-fiscalidade-fg);
    --pricing-hero-copy: rgba(255, 255, 255, 0.84);
}

#precos .pricing-card--avancada {
    --pricing-accent: 212, 175, 55;
    --pricing-hero-bg: var(--plan-gerir-bg);
    --pricing-hero-fg: var(--plan-gerir-fg);
    --pricing-hero-copy: rgba(27, 20, 4, 0.82);
}

#precos .pricing-card--featured {
    border-color: var(--plan-fiscalidade-border);
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(var(--pricing-accent), 0.20), transparent 46%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow:
        0 34px 86px var(--plan-fiscalidade-shadow),
        0 0 0 1px rgba(var(--pricing-accent), 0.08) inset;
    transform: scale(1.035);
    z-index: 2;
}

#precos .pricing-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(16, 35, 49, 0.08);
    color: rgba(16, 35, 49, 0.88);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#precos .pricing-card--featured .pricing-card__badge {
    top: 0.3rem;
    right: 0.8rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(var(--pricing-accent), 0.2);
    color: rgba(220, 38, 38, 0.95);
    box-shadow: 0 10px 18px rgba(59, 10, 98, 0.12);
    animation: priceBadgeBounce 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
    will-change: transform;
}

#precos .pricing-card--featured .pricing-card__badge span[aria-hidden="true"] {
    color: rgba(234, 179, 8, 0.95);
    line-height: 1;
}

#precos .pricing-card__eyebrow {
    margin: 0;
    align-self: flex-start;
    margin-top: 0.15rem;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    background: rgba(var(--pricing-accent), 0.08);
    color: rgba(var(--pricing-accent), 0.96);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

#precos .pricing-card__hero {
    margin: -1.5rem -1.5rem 0;
    display: flex;
    align-items: flex-end;
    min-height: 6.5rem;
    padding: 1.7rem 1.5rem 1.45rem;
    border-bottom: 1px solid rgba(16, 35, 49, 0.08);
    background: var(--pricing-hero-bg);
}

#precos .pricing-card__title {
    margin: 0;
    width: 100%;
    color: #ffffff;
    font-size: 1.7rem;
    line-height: 1.08;
}

#precos .pricing-card__lead {
    margin: 0;
    color: var(--pricing-hero-copy);
    font-size: 1rem;
    line-height: 1.65;
}

#precos .pricing-card__block {
    display: grid;
    gap: 0.35rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(16, 35, 49, 0.08);
}

#precos .pricing-card__block p {
    margin: 0;
}

#precos .pricing-card__label {
    color: rgba(16, 35, 49, 0.5);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

#precos .pricing-extra__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

#precos .pricing-extra__list li {
    position: relative;
    padding-left: 1.45rem;
    color: rgba(16, 35, 49, 0.84);
    line-height: 1.55;
}

#precos .pricing-extra__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.48rem;
    width: 0.68rem;
    height: 0.68rem;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(232, 220, 203, 0.95), rgba(208, 122, 56, 0.95));
    box-shadow: 0 0 0 4px rgba(208, 122, 56, 0.12);
}

#precos .pricing-card__tax-note {
    margin: 0;
    margin-top: auto;
    padding: 0.95rem 1rem;
    min-height: 7.2rem;
    border-radius: 1rem;
    border: 1px solid rgba(var(--pricing-accent), 0.18);
    background: rgba(var(--pricing-accent), 0.13);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
    color: rgba(16, 35, 49, 0.82);
    font-size: 0.94rem;
    line-height: 1.55;
}

#precos .pricing-card__footer {
    margin-top: 0;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(16, 35, 49, 0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

#precos .pricing-card__price-label {
    margin: 0;
    color: rgba(16, 35, 49, 0.48);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

#precos .pricing-card__price {
    margin: 0.3rem 0 0;
    color: rgb(16, 35, 49);
    font-family: Poppins, sans-serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

#precos .pricing-card__price span {
    margin-left: 0.35rem;
    color: rgba(16, 35, 49, 0.54);
    font-size: 0.92rem;
    font-weight: 700;
}

#precos .pricing-card__cta {
    min-width: 14rem;
}

#precos .pricing-vat-note {
    margin: 1rem 0 0;
    text-align: center;
    color: rgba(16, 35, 49, 0.58);
    font-size: 0.88rem;
}

#precos .pricing-logic {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 1.4rem;
    border: 1px solid rgba(16, 35, 49, 0.08);
    background: linear-gradient(180deg, rgba(232, 220, 203, 0.35) 0%, #ffffff 100%);
    text-align: center;
    box-shadow: 0 16px 40px rgba(16, 35, 49, 0.06);
}

#precos .pricing-logic__headline {
    margin: 0;
    color: rgb(16, 35, 49);
    font-family: Poppins, sans-serif;
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    font-weight: 800;
    line-height: 1.45;
}

#precos .pricing-logic__copy {
    max-width: 54rem;
    margin: 0.95rem auto 0;
    color: rgba(16, 35, 49, 0.72);
    line-height: 1.7;
}

#precos .pricing-comparison {
    margin-top: 1.9rem;
}

#precos .pricing-comparison__header {
    margin-bottom: 1rem;
    text-align: center;
}

#precos .pricing-comparison__copy {
    max-width: 42rem;
    margin: 0.65rem auto 0;
    color: rgba(16, 35, 49, 0.68);
    line-height: 1.65;
}

#precos .pricing-comparison .price-service {
    border-color: rgba(148, 163, 184, 0.36);
    background: rgba(248, 250, 252, 0.96);
}

#precos .pricing-comparison .price-service-summary {
    padding: 0.75rem 0.9rem;
}

#precos .pricing-comparison .price-service-summary:hover {
    background: rgba(208, 122, 56, 0.06);
}

#precos .pricing-comparison .price-service-title {
    color: rgb(16, 35, 49);
    font-size: 0.92rem;
    font-weight: 700;
}

#precos .pricing-comparison .price-service-plus {
    border-color: rgba(16, 35, 49, 0.14);
    background: #ffffff;
    color: rgba(16, 35, 49, 0.84);
}

#precos .pricing-comparison .price-service[open] .price-service-plus {
    background: rgba(208, 122, 56, 0.12);
    border-color: rgba(208, 122, 56, 0.32);
}

#precos .pricing-comparison .price-service-body {
    padding: 0 0.9rem 0.95rem;
    color: rgba(16, 35, 49, 0.8);
    font-size: 0.92rem;
    line-height: 1.6;
}

#precos .pricing-comparison__detail-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
    text-align: left;
}

#precos .pricing-comparison__detail-list li {
    position: relative;
    padding-left: 1rem;
}

#precos .pricing-comparison__detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: rgba(208, 122, 56, 0.92);
}

#precos .pricing-extra {
    margin-top: 1.6rem;
    display: grid;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(16, 35, 49, 0.08);
    background: linear-gradient(135deg, rgba(16, 35, 49, 0.98), rgba(33, 57, 73, 0.96));
    box-shadow: 0 22px 52px rgba(16, 35, 49, 0.18);
}

@media (min-width: 960px) {
    #precos .pricing-extra {
        grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr) auto;
        align-items: center;
    }
}

#precos .pricing-extra__eyebrow {
    margin: 0;
    color: rgba(232, 220, 203, 0.86);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

#precos .pricing-extra__title {
    margin: 0.45rem 0 0;
    color: #ffffff;
    font-size: 1.65rem;
    line-height: 1.08;
}

#precos .pricing-extra__copy {
    margin: 0.8rem 0 0;
    color: rgba(232, 240, 248, 0.84);
    line-height: 1.7;
}

#precos .pricing-extra > .pricing-extra__list li {
    color: rgba(255, 255, 255, 0.88);
}

#precos .pricing-extra__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0 1.1rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(232, 220, 203, 0.28);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

#precos .pricing-extra__link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(232, 220, 203, 0.48);
}

#precos .pricing-note {
    max-width: 54rem;
    margin: 1.3rem auto 0;
    text-align: center;
    color: rgba(16, 35, 49, 0.6);
    font-size: 0.92rem;
    line-height: 1.65;
}

#precos .pricing-final-cta {
    margin-top: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 1.6rem;
    border-radius: 1.6rem;
    background: linear-gradient(135deg, #102331 0%, #1f3d50 100%);
    box-shadow: 0 24px 56px rgba(16, 35, 49, 0.18);
}

#precos .pricing-final-cta__eyebrow {
    margin: 0;
    color: rgba(232, 220, 203, 0.84);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

#precos .pricing-final-cta__title {
    margin: 0.45rem 0 0;
    color: #ffffff;
    font-size: clamp(1.55rem, 2.8vw, 2rem);
    line-height: 1.08;
}

#precos .pricing-final-cta__copy {
    max-width: 40rem;
    margin: 0.7rem 0 0;
    color: rgba(232, 240, 248, 0.82);
    line-height: 1.7;
}

@media (max-width: 1023px) {
    #precos .pricing-card--featured {
        transform: none;
        border-width: 3px;
        box-shadow:
            0 28px 70px var(--plan-fiscalidade-shadow),
            0 0 0 2px rgba(var(--pricing-accent), 0.12) inset;
    }
}

@media (max-width: 767px) {
    #precos .pricing-card__hero {
        min-height: 5.8rem;
        padding-top: 1.45rem;
        padding-bottom: 1.25rem;
    }

    #precos .pricing-card__title {
        padding-right: 0;
        font-size: 1.5rem;
    }

    #precos .pricing-card__tax-note {
        min-height: 0;
    }

    #precos .pricing-card__badge {
        position: static;
        align-self: flex-start;
        margin-bottom: -0.15rem;
    }

    #precos .pricing-card__cta,
    #precos .pricing-final-cta .price-cta {
        width: 100%;
        min-width: 0;
    }
}

#precos .price-card {
    /* Keep the "metal" identity, but as a light-tinted surface on white. */
    --card-pad: 1.25rem; /* matches Tailwind p-5 */
    --card-pad-neg: -1.25rem;
    padding: var(--card-pad);
    background:
        radial-gradient(120% 120% at 18% 0%, rgba(var(--accent-rgb), 0.22), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(var(--accent-rgb), 0.10) 100%);
    border-color: rgba(var(--accent-rgb), 0.50);
    box-shadow:
        0 26px 70px rgba(16, 35, 49, 0.12),
        0 0 0 1px rgba(16, 35, 49, 0.05) inset;
    backdrop-filter: none;
}

#precos .price-card::before {
    opacity: 0.32;
}

#precos .price-card::after {
    opacity: 0.55;
}

/* Per-card text theme vars (override these per plan if you want). */
#precos .price-card {
    --pc-text: rgba(16, 35, 49, 0.82);
    /* Title uses the same theme logic on every card: it follows the card accent. */
    --pc-heading: rgba(var(--accent-rgb), 0.95);
}

/* Override Tailwind "light-on-dark" utility text colors inside the pricing section. */
#precos .price-card p,
#precos .price-card summary,
#precos .price-card .price-service-body {
    color: var(--pc-text);
}

#precos .price-card h3,
#precos .price-card .price-service-title {
    color: var(--pc-heading);
}

#precos .price-card > p,
#precos .price-card > ul {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
}

#precos .price-card h3.price-title {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    /* Full-width band that reaches the card edges (card uses p-5 = 1.25rem). */
    margin: var(--card-pad-neg) var(--card-pad-neg) 0 var(--card-pad-neg);
    padding: var(--title-pad-top, 1.25rem) var(--card-pad) var(--title-pad-bottom, 1.25rem);
    /* Match the card's rounded-2xl (1rem) on the top corners. */
    border-radius: 1rem 1rem 0 0;
    background: var(--cta-bg, rgba(var(--accent-rgb), 0.95));
    color: var(--cta-fg, #0b1220);
    border-bottom: 1px solid var(--cta-border, rgba(16, 35, 49, 0.14));
    letter-spacing: 0.10em;
    text-transform: uppercase;
    line-height: 1.3;
}

#precos .price-title-topbadge {
    position: absolute;
    top: -0.85rem;
    right: 0.9rem;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.85rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(16, 35, 49, 0.18);
    color: rgba(220, 38, 38, 0.95);
    font-weight: 900;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow: 0 10px 18px rgba(16, 35, 49, 0.10);
    animation: priceBadgeBounce 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
    will-change: transform;
}

#precos .price-title-topbadge span[aria-hidden="true"] {
    color: rgba(234, 179, 8, 0.95);
    line-height: 1;
}

@keyframes priceBadgeBounce {
    0%,
    100% {
        transform: translateY(0);
    }
    45% {
        transform: translateY(-8px);
    }
    65% {
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    #precos .price-title-topbadge,
    #precos .pricing-card--featured .pricing-card__badge {
        animation: none;
    }
}

@media (min-width: 768px) {
    /* Keep the bottom edge of the title band aligned across cards on multi-column layouts. */
    #precos .price-card h3.price-title {
        /* 2-line header height (keeps all bands aligned even when titles are shorter). */
        min-height: 5.9rem;
    }
}

#precos .price-card--popular {
    /* Highlight only this card without changing the row height (use transform, not layout). */
    --title-pad-top: 2.25rem;
    overflow: visible; /* needed for the badge crossing the top edge */
    border: 4px solid rgba(16, 35, 49, 0.38);
    box-shadow:
        0 30px 80px rgba(16, 35, 49, 0.14),
        0 0 0 2px rgba(var(--accent-rgb), 0.18) inset;
    transform: scale(1.04);
    transform-origin: center center;
    z-index: 2;
}

#precos .price-card .price-service {
    border-color: rgba(16, 35, 49, 0.10);
    background: rgba(255, 255, 255, 0.72);
}

#precos .price-card .price-service-summary:hover {
    background: rgba(var(--accent-rgb), 0.10);
}

#precos .price-card .price-service-plus {
    border-color: rgba(16, 35, 49, 0.14);
    background: rgba(255, 255, 255, 0.85);
    color: rgba(16, 35, 49, 0.85);
}

#precos .price-card .price-service[open] .price-service-plus {
    background: rgba(var(--accent-rgb), 0.14);
    border-color: rgba(var(--accent-rgb), 0.32);
}

#precos .pricing-yes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.6rem;
    background: rgba(16, 185, 129, 0.18);
    color: rgb(5, 150, 105);
    border: 1px solid rgba(5, 150, 105, 0.25);
    font-weight: 800;
}

#precos .pricing-no {
    color: rgba(16, 35, 49, 0.35);
    font-weight: 700;
}

/* Full-width white band behind FAQ section. */
#faq {
    position: relative;
    padding: clamp(2.25rem, 4vw, 3.25rem) 0;
    color: rgb(16, 35, 49);
}

/* Keep FAQ visible even if reveal observer fails. */
#faq.reveal {
    opacity: 1;
    transform: none;
}

#faq::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #ffffff;
}

#faq .glass-card {
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.45);
    box-shadow: 0 14px 34px rgba(16, 35, 49, 0.08);
    backdrop-filter: none;
}

#faq .glass-card summary {
    color: rgb(15, 23, 42);
}

#faq .faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

#faq .faq-toggle-plus {
    flex: 0 0 auto;
    width: 1.9rem;
    height: 1.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.6rem;
    border: 1px solid rgba(16, 35, 49, 0.22);
    color: rgba(16, 35, 49, 0.88);
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1;
    background: rgba(241, 245, 249, 0.95);
    transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

#faq details[open] .faq-toggle-plus {
    transform: rotate(45deg);
    background: rgba(208, 122, 56, 0.14);
    border-color: rgba(208, 122, 56, 0.48);
}

#faq .glass-card p {
    color: rgba(30, 41, 59, 0.92);
}

.price-service {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.9rem;
    background: rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.price-service-summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    cursor: pointer;
    user-select: none;
}

.price-service-summary::-webkit-details-marker {
    display: none;
}

.price-service-title {
    font-weight: 600;
}

.price-service-plus {
    width: 1.9rem;
    height: 1.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
    flex: 0 0 auto;
}

.price-service[open] .price-service-plus {
    transform: rotate(45deg);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.22);
}

.price-service-body {
    padding: 0 1rem 1rem 1rem;
    color: rgba(240, 187, 13, 0.86);
    font-size: 0.95rem;
    line-height: 1.35rem;
}

.price-service-summary:hover {
    background: rgba(255, 255, 255, 0.04);
}

.price-card {
    /* Per-card theme via CSS vars */
    --accent-rgb: 208 122 56; /* fallback: ocre */
    /* Controls how "solid" the plan card background feels. */
    --card-tint: 0.52;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(var(--accent-rgb), 0.78);
    background:
        radial-gradient(120% 120% at 18% 0%, rgba(255, 255, 255, 0.10), transparent 58%),
        linear-gradient(180deg,
            rgba(var(--accent-rgb), var(--card-tint)) 0%,
            rgba(var(--accent-rgb), calc(var(--card-tint) * 0.72)) 100%
        );
    backdrop-filter: blur(8px);
    box-shadow:
        0 22px 80px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.price-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    pointer-events: none;
    background:
        radial-gradient(900px 340px at 12% 0%, rgba(var(--accent-rgb), 0.62), transparent 20%),
        radial-gradient(850px 380px at 95% 68%, rgba(var(--accent-rgb), 0.34), transparent 20%);
}

.price-card::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    top: 0.9rem;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg,
        rgba(var(--accent-rgb), 0.0) 0%,
        rgba(var(--accent-rgb), 0.95) 50%,
        rgba(var(--accent-rgb), 0.0) 100%
    );
    opacity: 0.65;
    pointer-events: none;
}

.price-card > * {
    position: relative;
}

.price-card--minimo {
    /* cobre/bronze */
    --accent-rgb: 184 115 51;
    --card-tint: 1;
    --cta-bg: var(--plan-minimo-bg);
    --cta-fg: var(--plan-minimo-fg);
    --cta-border: var(--plan-minimo-border);
    --cta-shadow: var(--plan-minimo-shadow);
    --cta-shadow-hover: var(--plan-minimo-shadow-hover);
}

.price-card--fiscalidade {
    /* roxo metalico */
    --accent-rgb: 106 13 173;
    --card-tint: 0.9;
    --cta-bg: var(--plan-fiscalidade-bg);
    --cta-fg: var(--plan-fiscalidade-fg);
    --cta-border: var(--plan-fiscalidade-border);
    --cta-shadow: var(--plan-fiscalidade-shadow);
    --cta-shadow-hover: var(--plan-fiscalidade-shadow-hover);
}

.price-card--gerir {
    /* ouro */
    --accent-rgb: 212 175 55;
    --card-tint: 0.9;
    --cta-bg: var(--plan-gerir-bg);
    --cta-fg: var(--plan-gerir-fg);
    --cta-border: var(--plan-gerir-border);
    --cta-shadow: var(--plan-gerir-shadow);
    --cta-shadow-hover: var(--plan-gerir-shadow-hover);
}

.price-card--consultoria {
    /* verde musgo (from :root --confisco-musgo = #4a6355) */
    --accent-rgb: 74 99 85;
    --card-tint: 0.9;
    --cta-bg: var(--plan-consultoria-bg);
    --cta-fg: var(--plan-consultoria-fg);
    --cta-border: var(--plan-consultoria-border);
    --cta-shadow: var(--plan-consultoria-shadow);
    --cta-shadow-hover: var(--plan-consultoria-shadow-hover);
}

.price-cta {
    /* CTA unico em todos os cards (nao herda as cores do card) */
    background: var(--confisco-cta);
    color: var(--confisco-cta-text);
    border: 1px solid rgba(16, 35, 49, 0.24);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
}

.price-cta:hover {
    background: var(--confisco-cta-hover);
    filter: none;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
}

/* Per-plan CTA overrides (use these to tune each button independently). */
.price-cta--minimo {
    --cta-bg: var(--confisco-cta);
    --cta-fg: var(--confisco-cta-text);
    --cta-border: rgba(16, 35, 49, 0.24);
    --cta-shadow: rgba(0, 0, 0, 0.22);
    --cta-shadow-hover: rgba(0, 0, 0, 0.26);
}

.price-cta--minimo:hover {
    /* Keep rule to preserve specificity over .price-cta:hover. */
    box-shadow: 0 18px 34px var(--cta-shadow-hover, rgba(184, 115, 51, 0.30));
}

.price-cta--fiscalidade {
    --cta-bg: var(--confisco-cta);
    --cta-fg: var(--confisco-cta-text);
    --cta-border: rgba(16, 35, 49, 0.24);
    --cta-shadow: rgba(0, 0, 0, 0.22);
    --cta-shadow-hover: rgba(0, 0, 0, 0.26);
}

.price-cta--fiscalidade:hover {
    box-shadow: 0 18px 34px var(--cta-shadow-hover, rgba(16, 35, 49, 0.18));
}

.price-cta--gerir {
    --cta-bg: var(--confisco-cta);
    --cta-fg: var(--confisco-cta-text);
    --cta-border: rgba(16, 35, 49, 0.24);
    --cta-shadow: rgba(0, 0, 0, 0.22);
    --cta-shadow-hover: rgba(0, 0, 0, 0.26);
}

.price-cta--gerir:hover {
    box-shadow: 0 18px 34px var(--cta-shadow-hover, rgba(212, 175, 55, 0.30));
}

.price-cta--consultoria {
    --cta-bg: var(--confisco-cta);
    --cta-fg: var(--confisco-cta-text);
    --cta-border: rgba(16, 35, 49, 0.24);
    --cta-shadow: rgba(0, 0, 0, 0.22);
    --cta-shadow-hover: rgba(0, 0, 0, 0.26);
}

.price-cta--consultoria:hover {
    box-shadow: 0 18px 34px var(--cta-shadow-hover, rgba(74, 99, 85, 0.30));
}

.price-card .price-service {
    border-color: rgba(var(--accent-rgb), 0.35);
    background: rgba(var(--accent-rgb), 0.10);
}

.price-card .price-service-summary:hover {
    background: rgba(var(--accent-rgb), 0.12);
}

.price-card .price-service-plus {
    border-color: rgba(var(--accent-rgb), 0.38);
    background: rgba(var(--accent-rgb), 0.12);
}

.price-card .price-service[open] .price-service-plus {
    background: rgba(var(--accent-rgb), 0.18);
    border-color: rgba(var(--accent-rgb), 0.55);
}

.article-main,
.site-light-main {
    position: relative;
    isolation: isolate;
    color: var(--confisco-marinho);
}

.article-main::before,
.site-light-main::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background:
        radial-gradient(800px 380px at 88% 0%, rgba(208, 122, 56, 0.13), transparent 62%),
        linear-gradient(180deg, #f8f5ef 0%, #ffffff 24%, #ffffff 100%);
}

.site-light-main .quote-hero {
    border-color: rgba(16, 35, 49, 0.08) !important;
    background: linear-gradient(135deg, #ffffff 0%, #f5efe5 100%) !important;
    box-shadow: 0 22px 60px rgba(16, 35, 49, 0.09);
}

.site-light-main .quote-hero .brand-title--light .brand-title__segment--default,
.site-light-main section.mb-10 .brand-title--light .brand-title__segment--default,
.site-light-main article .brand-title--light .brand-title__segment--default {
    color: var(--confisco-marinho);
}

.site-light-main .quote-hero .brand-title--light .brand-title__segment--areia,
.site-light-main section.mb-10 .brand-title--light .brand-title__segment--areia,
.site-light-main article .brand-title--light .brand-title__segment--areia {
    color: var(--confisco-ocre);
}

.site-light-main section .brand-title--light .brand-title__segment--default {
    color: var(--confisco-marinho);
}

.site-light-main section .brand-title--light .brand-title__segment--areia {
    color: var(--confisco-ocre);
}

.site-light-main section .brand-title--light .brand-title__segment--ocre {
    color: var(--confisco-terracota);
}

.site-light-main .text-slate-200\/90,
.site-light-main .text-slate-100\/90,
.site-light-main .text-slate-100\/85,
.site-light-main .text-slate-200\/80,
.site-light-main .text-slate-200\/70,
.site-light-main .text-white,
.site-light-main .text-slate-100 {
    color: rgba(16, 35, 49, 0.74) !important;
}

.site-light-main .text-confisco-areia {
    color: var(--confisco-ocre) !important;
}

.site-light-main .quote-chip {
    border-color: rgba(16, 35, 49, 0.12);
    background: rgba(255, 255, 255, 0.76);
    color: var(--confisco-marinho);
}

.site-light-main section[class*="from-confisco-vinho"],
.site-light-main section[class*="from-confisco-musgo"] {
    border-color: rgba(16, 35, 49, 0.10) !important;
    background: linear-gradient(135deg, #ffffff 0%, #f5efe5 100%) !important;
    box-shadow: 0 22px 60px rgba(16, 35, 49, 0.09);
}

.site-light-main section[class*="from-confisco-vinho"] aside,
.site-light-main section[class*="from-confisco-musgo"] aside {
    border-color: rgba(16, 35, 49, 0.10) !important;
    background: rgba(255, 255, 255, 0.70) !important;
}

.site-light-main .glass-card {
    border-color: rgba(16, 35, 49, 0.10) !important;
    background: #ffffff !important;
    color: var(--confisco-marinho);
    box-shadow: 0 18px 42px rgba(16, 35, 49, 0.08);
}

.site-light-main section[class*="bg-white/5"],
.site-light-main article[class*="bg-white/5"],
.site-light-main article[class*="from-white/8"],
.site-light-main section[class*="from-white/8"] {
    border-color: rgba(16, 35, 49, 0.10) !important;
    background: #ffffff !important;
    box-shadow: 0 18px 42px rgba(16, 35, 49, 0.08);
}

.site-light-main article[class*="bg-white/5"] h2,
.site-light-main article[class*="bg-white/5"] h3,
.site-light-main section[class*="bg-white/5"] h2,
.site-light-main section[class*="bg-white/5"] h3 {
    color: var(--confisco-marinho);
}

.site-light-main article[class*="bg-black/15"],
.site-light-main div[class*="bg-black/15"] {
    border-color: rgba(16, 35, 49, 0.10) !important;
    background: #f8f5ef !important;
    color: rgba(16, 35, 49, 0.78) !important;
}

.site-light-main .quote-fit-grid {
    border-color: rgba(16, 35, 49, 0.10) !important;
    box-shadow: 0 22px 60px rgba(16, 35, 49, 0.10) !important;
}

.site-light-main .quote-fit-details .brand-title--light .brand-title__segment--default {
    color: #ffffff;
}

.site-light-main .quote-fit-details .brand-title--light .brand-title__segment--areia {
    color: var(--confisco-areia);
}

.site-light-main .quote-fit-details .text-slate-100\/90,
.site-light-main .quote-fit-details .text-slate-200\/90 {
    color: rgba(248, 250, 252, 0.9) !important;
}

.site-light-main .quote-fit-details .text-confisco-areia {
    color: var(--confisco-areia) !important;
}

.site-light-main a[class*="border-white"] {
    border-color: rgba(16, 35, 49, 0.18) !important;
    color: var(--confisco-marinho);
}

.status-panel {
    border: 1px solid rgba(16, 35, 49, 0.10);
    border-radius: 1.35rem;
    background: #ffffff;
    color: var(--confisco-marinho);
    box-shadow: 0 22px 60px rgba(16, 35, 49, 0.10);
}

.status-panel--success {
    background:
        linear-gradient(135deg, rgba(45, 125, 101, 0.10), transparent 44%),
        #ffffff;
}

.status-panel--warning {
    background:
        linear-gradient(135deg, rgba(208, 122, 56, 0.13), transparent 46%),
        #ffffff;
}

.status-panel > p:first-child {
    color: var(--confisco-ocre) !important;
}

.article-index-hero,
.article-detail-hero {
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    border: 1px solid rgba(16, 35, 49, 0.08);
    border-radius: 1.4rem;
    background: linear-gradient(135deg, #ffffff 0%, #f5efe5 100%);
    padding: clamp(1.4rem, 4vw, 3rem);
    box-shadow: 0 22px 60px rgba(16, 35, 49, 0.09);
}

@media (min-width: 900px) {
    .article-index-hero,
    .article-detail-hero {
        grid-template-columns: minmax(0, 1.18fr) minmax(18rem, 0.82fr);
    }
}

.content-library-hero {
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    border: 1px solid rgba(16, 35, 49, 0.08);
    border-radius: 1.4rem;
    background: linear-gradient(135deg, #ffffff 0%, #f5efe5 100%);
    padding: clamp(1.4rem, 4vw, 3rem);
    box-shadow: 0 22px 60px rgba(16, 35, 49, 0.09);
}

@media (min-width: 900px) {
    .content-library-hero {
        grid-template-columns: minmax(0, 1.08fr) minmax(17rem, 0.92fr);
    }
}

.content-library-hero p {
    max-width: 42rem;
    margin: 1.1rem 0 0;
    color: rgba(16, 35, 49, 0.76);
    font-size: clamp(1.05rem, 0.5vw + 0.96rem, 1.24rem);
    line-height: 1.7;
}

.content-library-hero__media {
    position: relative;
    min-height: 18rem;
    border-radius: 1.25rem;
    background:
        radial-gradient(170px 140px at 82% 18%, rgba(208, 122, 56, 0.22), transparent 68%),
        linear-gradient(135deg, #102331 0%, #274657 100%);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.content-library-hero__screen {
    position: absolute;
    left: 9%;
    right: 9%;
    top: 18%;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.18);
}

.content-library-hero__screen span {
    position: absolute;
    left: 8%;
    right: 8%;
    height: 0.5rem;
    border-radius: 999px;
    background: rgba(16, 35, 49, 0.14);
}

.content-library-hero__screen span:nth-child(1) {
    top: 18%;
    right: 34%;
    background: rgba(208, 122, 56, 0.52);
}

.content-library-hero__screen span:nth-child(2) {
    top: 38%;
}

.content-library-hero__screen span:nth-child(3) {
    top: 58%;
    right: 22%;
}

.content-library-hero__play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4.5rem;
    height: 4.5rem;
    transform: translate(-50%, -34%);
    border-radius: 50%;
    background: var(--confisco-cta);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.20);
}

.content-library-hero__play::before {
    content: "";
    position: absolute;
    left: 1.75rem;
    top: 1.35rem;
    border-left: 1.4rem solid var(--confisco-marinho);
    border-top: 0.9rem solid transparent;
    border-bottom: 0.9rem solid transparent;
}

.content-filter-bar {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.6rem;
    padding: 1rem;
    border: 1px solid rgba(16, 35, 49, 0.08);
    border-radius: 1.1rem;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(16, 35, 49, 0.06);
}

.content-filter-bar__label {
    margin: 0 0 0.55rem;
    color: rgba(16, 35, 49, 0.56);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.content-filter-bar__row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.content-filter-bar__row a {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    border: 1px solid rgba(16, 35, 49, 0.12);
    border-radius: 999px;
    padding: 0.42rem 0.85rem;
    color: rgba(16, 35, 49, 0.72);
    font-size: 0.9rem;
    font-weight: 700;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.content-filter-bar__row a:hover,
.content-filter-bar__row a.is-active {
    border-color: rgba(208, 122, 56, 0.52);
    background: rgba(208, 122, 56, 0.12);
    color: var(--confisco-marinho);
}

.content-library-grid {
    display: grid;
    gap: 1.1rem;
    margin-top: 1.6rem;
}

@media (min-width: 760px) {
    .content-library-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1080px) {
    .content-library-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.content-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(16, 35, 49, 0.09);
    border-radius: 1.1rem;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(16, 35, 49, 0.08);
}

.content-card__visual {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #f5efe5;
    overflow: hidden;
}

.content-card__visual iframe,
.content-card__visual img {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.content-card__video-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(160px 120px at 78% 22%, rgba(208, 122, 56, 0.26), transparent 70%),
        linear-gradient(135deg, #102331 0%, #274657 100%);
}

.content-card__video-placeholder::before,
.content-card__video-placeholder::after {
    content: "";
    position: absolute;
    left: 9%;
    right: 9%;
    height: 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.content-card__video-placeholder::before {
    top: 24%;
    right: 38%;
}

.content-card__video-placeholder::after {
    bottom: 24%;
}

.content-card__play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 3.6rem;
    height: 3.6rem;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--confisco-cta);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.content-card__play::before {
    content: "";
    position: absolute;
    left: 1.38rem;
    top: 1.07rem;
    border-left: 1.1rem solid var(--confisco-marinho);
    border-top: 0.72rem solid transparent;
    border-bottom: 0.72rem solid transparent;
}

.content-card__visual .article-visual {
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
}

.content-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.15rem;
}

.content-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    margin: 0 0 0.75rem;
    color: var(--confisco-ocre);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.content-card__meta span {
    color: rgba(16, 35, 49, 0.54);
}

.content-card h2 {
    margin: 0;
    color: var(--confisco-marinho);
    font-family: Poppins, sans-serif;
    font-size: clamp(1.2rem, 0.6vw + 1.05rem, 1.45rem);
    line-height: 1.24;
}

.content-card__body > p:not(.content-card__meta) {
    margin: 0.8rem 0 0;
    color: rgba(16, 35, 49, 0.72);
    line-height: 1.65;
}

.content-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: auto;
    border-radius: 0.85rem;
    background: var(--confisco-marinho);
    color: #ffffff;
    padding: 0.72rem 1rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease;
}

.content-card__link:hover {
    background: var(--confisco-ocre);
    color: var(--confisco-marinho);
    transform: translateY(-1px);
}

.content-empty {
    margin-top: 1.6rem;
    border: 1px solid rgba(16, 35, 49, 0.10);
    border-radius: 1.1rem;
    background: #ffffff;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 18px 42px rgba(16, 35, 49, 0.08);
}

.content-empty h2 {
    margin: 0;
    color: var(--confisco-marinho);
    font-family: Poppins, sans-serif;
    font-size: 1.8rem;
}

.content-empty p {
    margin: 0.6rem 0 0;
    color: rgba(16, 35, 49, 0.72);
}

.lesson-detail {
    color: var(--confisco-marinho);
}

.lesson-hero {
    display: grid;
    gap: 1.2rem;
    align-items: stretch;
    border: 1px solid rgba(16, 35, 49, 0.08);
    border-radius: 1.4rem;
    background: linear-gradient(135deg, #ffffff 0%, #f5efe5 100%);
    padding: clamp(1.4rem, 4vw, 3rem);
    box-shadow: 0 22px 60px rgba(16, 35, 49, 0.09);
}

@media (min-width: 900px) {
    .lesson-hero {
        grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.32fr);
    }
}

.lesson-hero__copy h1 {
    margin: 0.75rem 0 0;
    max-width: 52rem;
    color: var(--confisco-marinho);
    font-family: Poppins, sans-serif;
    font-size: clamp(2.4rem, 4vw, 4.6rem);
    font-weight: 700;
    line-height: 1.04;
}

.lesson-hero__copy p:not(.article-card__label) {
    max-width: 44rem;
    margin: 1.1rem 0 0;
    color: rgba(16, 35, 49, 0.76);
    font-size: clamp(1.05rem, 0.5vw + 0.96rem, 1.24rem);
    line-height: 1.7;
}

.lesson-hero__chapters {
    border: 1px solid rgba(16, 35, 49, 0.10);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.72);
    padding: 1rem;
}

.lesson-hero__chapters ol {
    margin: 0.8rem 0 0;
    padding-left: 1.2rem;
    color: rgba(16, 35, 49, 0.74);
    line-height: 1.8;
}

.lesson-video-section {
    margin-top: 1.5rem;
}

.lesson-video-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(16, 35, 49, 0.08);
    border-radius: 1.25rem;
    aspect-ratio: 16 / 9;
    background: var(--confisco-marinho);
    box-shadow: 0 22px 60px rgba(16, 35, 49, 0.13);
}

.lesson-video-frame iframe,
.lesson-video-frame img {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.lesson-video-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(220px 180px at 78% 20%, rgba(208, 122, 56, 0.24), transparent 70%),
        linear-gradient(135deg, #102331 0%, #274657 100%);
}

.lesson-video-placeholder__screen {
    position: absolute;
    left: 10%;
    right: 10%;
    top: 19%;
    bottom: 19%;
    border-radius: 1.1rem;
    background: #ffffff;
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.20);
}

.lesson-video-placeholder__screen span {
    position: absolute;
    left: 9%;
    right: 9%;
    height: 0.62rem;
    border-radius: 999px;
    background: rgba(16, 35, 49, 0.14);
}

.lesson-video-placeholder__screen span:nth-child(1) {
    top: 24%;
    right: 38%;
    background: rgba(208, 122, 56, 0.42);
}

.lesson-video-placeholder__screen span:nth-child(2) {
    top: 44%;
}

.lesson-video-placeholder__screen span:nth-child(3) {
    top: 64%;
    right: 24%;
}

.lesson-video-placeholder__play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(3.8rem, 8vw, 5.6rem);
    height: clamp(3.8rem, 8vw, 5.6rem);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--confisco-cta);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.lesson-video-placeholder__play::before {
    content: "";
    position: absolute;
    left: 42%;
    top: 32%;
    border-left: clamp(1.1rem, 2.4vw, 1.6rem) solid var(--confisco-marinho);
    border-top: clamp(0.72rem, 1.6vw, 1rem) solid transparent;
    border-bottom: clamp(0.72rem, 1.6vw, 1rem) solid transparent;
}

.lesson-content-layout {
    display: grid;
    gap: 1.5rem;
    align-items: start;
    margin-top: 1.5rem;
}

@media (min-width: 980px) {
    .lesson-content-layout {
        grid-template-columns: minmax(12rem, 0.25fr) minmax(0, 1fr);
    }
}

.lesson-chapter-rail {
    border: 1px solid rgba(16, 35, 49, 0.09);
    border-radius: 1rem;
    background: #ffffff;
    padding: 1rem;
    box-shadow: 0 14px 34px rgba(16, 35, 49, 0.06);
}

@media (min-width: 980px) {
    .lesson-chapter-rail {
        position: sticky;
        top: 1rem;
    }
}

.lesson-chapter-rail a {
    display: block;
    margin-top: 0.65rem;
    border-radius: 0.75rem;
    padding: 0.55rem 0.7rem;
    color: rgba(16, 35, 49, 0.74);
    font-weight: 700;
    text-decoration: none;
}

.lesson-chapter-rail a:hover {
    background: rgba(208, 122, 56, 0.10);
    color: var(--confisco-marinho);
}

.lesson-body {
    min-width: 0;
}

.article-video-panel {
    display: grid;
    gap: 1.2rem;
    align-items: center;
    margin-top: 1.5rem;
    border: 1px solid rgba(16, 35, 49, 0.09);
    border-radius: 1.25rem;
    background: #ffffff;
    padding: clamp(1rem, 3vw, 1.5rem);
    box-shadow: 0 18px 42px rgba(16, 35, 49, 0.08);
}

@media (min-width: 900px) {
    .article-video-panel {
        grid-template-columns: minmax(0, 0.82fr) minmax(22rem, 1.18fr);
    }
}

.article-video-panel__copy h2 {
    margin: 0.55rem 0 0;
    color: var(--confisco-marinho);
    font-family: Poppins, sans-serif;
    font-size: clamp(1.55rem, 1vw + 1.2rem, 2.1rem);
    line-height: 1.18;
}

.article-video-panel__copy p:not(.article-card__label) {
    margin: 0.75rem 0 0;
    color: rgba(16, 35, 49, 0.72);
    line-height: 1.65;
}

.article-video-panel__frame {
    overflow: hidden;
    border-radius: 1rem;
    aspect-ratio: 16 / 9;
    background: var(--confisco-marinho);
}

.article-video-panel__frame iframe,
.article-video-panel__frame img {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.article-video-panel__frame a {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #ffffff;
    font-weight: 800;
}

.article-index-hero__copy p,
.article-detail-hero__copy p {
    max-width: 42rem;
    margin: 1.1rem 0 0;
    color: rgba(16, 35, 49, 0.76);
    font-size: clamp(1.05rem, 0.5vw + 0.96rem, 1.26rem);
    line-height: 1.7;
}

.article-index-hero__visual {
    position: relative;
    min-height: 18rem;
    border-radius: 1.2rem;
    background:
        linear-gradient(145deg, rgba(16, 35, 49, 0.94), rgba(74, 99, 85, 0.9)),
        var(--confisco-marinho);
    overflow: hidden;
    box-shadow: 0 24px 52px rgba(16, 35, 49, 0.18);
}

.article-index-hero__visual::after {
    content: "";
    position: absolute;
    inset: auto -2rem -3rem auto;
    width: 12rem;
    height: 12rem;
    border-radius: 999px;
    border: 1.5rem solid rgba(208, 122, 56, 0.2);
}

.article-index-hero__sheet {
    position: absolute;
    left: 1.4rem;
    top: 1.4rem;
    width: 58%;
    min-height: 11rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    padding: 1.1rem;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.article-index-hero__sheet span {
    display: block;
    height: 0.75rem;
    margin-bottom: 0.75rem;
    border-radius: 999px;
    background: rgba(16, 35, 49, 0.16);
}

.article-index-hero__sheet span:first-child {
    width: 64%;
    background: rgba(208, 122, 56, 0.34);
}

.article-index-hero__chart {
    position: absolute;
    right: 1.3rem;
    bottom: 1.5rem;
    display: flex;
    align-items: flex-end;
    gap: 0.7rem;
    width: 42%;
    min-height: 9rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.10);
    padding: 1rem;
}

.article-index-hero__chart span {
    flex: 1;
    border-radius: 999px 999px 0.35rem 0.35rem;
    background: linear-gradient(180deg, #f0bb0d, #d07a38);
}

.article-index-hero__chart span:nth-child(1) { height: 38%; }
.article-index-hero__chart span:nth-child(2) { height: 68%; }
.article-index-hero__chart span:nth-child(3) { height: 52%; }

.article-card-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .article-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.article-card {
    display: grid;
    gap: 1.1rem;
    border: 1px solid rgba(16, 35, 49, 0.10);
    border-radius: 1.1rem;
    background: #ffffff;
    padding: 1rem;
    box-shadow: 0 18px 42px rgba(16, 35, 49, 0.08);
}

@media (min-width: 640px) {
    .article-card {
        grid-template-columns: 12rem minmax(0, 1fr);
        align-items: stretch;
    }
}

.article-card__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0.3rem 0.2rem;
}

.article-card__label {
    margin: 0;
    color: var(--confisco-ocre);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.article-card h2 {
    margin: 0.6rem 0 0;
    color: var(--confisco-marinho);
    font-family: Poppins, sans-serif;
    font-size: clamp(1.35rem, 1vw + 1.05rem, 1.85rem);
    line-height: 1.14;
}

.article-card h2 a {
    color: inherit;
    text-decoration: none;
}

.article-card h2 a:hover {
    color: var(--confisco-ocre);
}

.article-card p:not(.article-card__label) {
    margin: 0.9rem 0 0;
    color: rgba(16, 35, 49, 0.74);
    line-height: 1.65;
}

.article-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 2.9rem;
    margin-top: auto;
    border: 1px solid rgba(16, 35, 49, 0.14);
    border-radius: 999px;
    background: rgba(16, 35, 49, 0.04);
    color: var(--confisco-marinho);
    padding: 0.72rem 1.1rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.article-card__link:hover {
    transform: translateY(-1px);
    background: var(--confisco-marinho);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(16, 35, 49, 0.15);
}

.article-card__link--solid {
    background: var(--confisco-cta);
    color: var(--confisco-cta-text);
    border-color: rgba(16, 35, 49, 0.18);
}

.article-card__link--solid:hover {
    background: var(--confisco-cta-hover);
    color: var(--confisco-cta-text);
}

.article-index-cta,
.article-not-found,
.article-short-answer,
.article-bullet-panel,
.article-faq,
.article-detail-cta {
    border: 1px solid rgba(16, 35, 49, 0.10);
    border-radius: 1.2rem;
    background: #ffffff;
    padding: clamp(1.4rem, 3vw, 2rem);
    box-shadow: 0 18px 42px rgba(16, 35, 49, 0.08);
}

.article-index-cta h2,
.article-detail-cta h2,
.article-not-found h1 {
    color: var(--confisco-marinho);
}

.article-index-cta p:not(.article-card__label),
.article-detail-cta p,
.article-not-found p {
    color: rgba(16, 35, 49, 0.72);
}

.article-detail {
    display: grid;
    gap: 2rem;
}

.article-detail-hero h1 {
    margin: 1rem 0 0;
    color: var(--confisco-marinho);
    font-family: Poppins, sans-serif;
    font-size: clamp(2.35rem, 4.4vw, 4.8rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: 0;
}

.article-short-answer {
    display: grid;
    gap: 0.8rem;
    background: linear-gradient(135deg, #102331 0%, #203f52 100%);
    color: #ffffff;
}

.article-short-answer .article-card__label {
    color: var(--confisco-areia);
}

.article-short-answer p:not(.article-card__label) {
    margin: 0;
    max-width: 58rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1.2rem, 0.8vw + 1rem, 1.55rem);
    line-height: 1.65;
}

.article-bullet-panel {
    display: grid;
    gap: 1.2rem;
    background: #f8f5ef;
}

@media (min-width: 900px) {
    .article-bullet-panel {
        grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    }
}

.article-bullet-panel h2 {
    margin: 0.6rem 0 0;
    color: var(--confisco-marinho);
    font-family: Poppins, sans-serif;
    font-size: clamp(1.45rem, 1.6vw, 2.2rem);
    line-height: 1.12;
}

.article-bullet-panel ul {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
    list-style: none;
}

.article-bullet-panel li {
    position: relative;
    border-radius: 0.9rem;
    background: #ffffff;
    color: rgba(16, 35, 49, 0.78);
    padding: 0.9rem 1rem 0.9rem 2.55rem;
    line-height: 1.55;
}

.article-bullet-panel li::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 1.25rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    background: var(--confisco-ocre);
    box-shadow: 0 0 0 4px rgba(208, 122, 56, 0.13);
}

.article-content-layout {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 960px) {
    .article-content-layout {
        grid-template-columns: minmax(0, 1fr) 19rem;
    }
}

.article-body {
    display: grid;
    gap: 1.1rem;
}

.article-body section,
.article-side-note {
    border: 1px solid rgba(16, 35, 49, 0.10);
    border-radius: 1.1rem;
    background: #ffffff;
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: 0 16px 38px rgba(16, 35, 49, 0.07);
}

.article-body h2 {
    margin: 0;
    color: var(--confisco-marinho);
    font-family: Poppins, sans-serif;
    font-size: clamp(1.45rem, 1.2vw + 1.05rem, 2.1rem);
    line-height: 1.16;
}

.article-body p,
.article-side-note p {
    margin: 0.8rem 0 0;
    color: rgba(16, 35, 49, 0.76);
    font-size: 1.08rem;
    line-height: 1.8;
}

.article-side-note {
    position: sticky;
    top: calc(var(--site-topbar-height) + 1rem);
    display: grid;
    gap: 1rem;
}

.article-side-note .article-visual {
    min-height: 11rem;
}

.article-side-note p {
    font-size: 0.98rem;
    line-height: 1.65;
}

.article-faq {
    display: grid;
    gap: 1rem;
}

.article-faq > div {
    display: grid;
    gap: 0.8rem;
}

.article-faq details {
    border: 1px solid rgba(16, 35, 49, 0.10);
    border-radius: 0.95rem;
    background: #f8fafc;
    padding: 1rem;
}

.article-faq summary {
    cursor: pointer;
    list-style: none;
    color: var(--confisco-marinho);
    font-family: Poppins, sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
}

.article-faq summary::-webkit-details-marker {
    display: none;
}

.article-faq p {
    margin: 0.75rem 0 0;
    color: rgba(16, 35, 49, 0.76);
    line-height: 1.65;
}

.article-detail-cta {
    background: linear-gradient(135deg, #f8f5ef 0%, #ffffff 100%);
}

.article-detail-cta h2 {
    margin: 0.5rem 0 0;
    color: var(--confisco-marinho);
    font-family: Poppins, sans-serif;
    font-size: clamp(1.65rem, 1.5vw, 2.25rem);
    line-height: 1.13;
}

.article-detail-cta p {
    max-width: 42rem;
    margin: 0.75rem 0 0;
    color: rgba(16, 35, 49, 0.72);
    line-height: 1.65;
}

.article-visual {
    position: relative;
    min-height: 100%;
    border-radius: 1rem;
    background:
        radial-gradient(220px 160px at 100% 0%, rgba(208, 122, 56, 0.22), transparent 62%),
        linear-gradient(145deg, #102331 0%, #234258 100%);
    overflow: hidden;
}

.article-visual--card {
    min-height: 12rem;
}

.article-visual--hero {
    min-height: clamp(16rem, 25vw, 24rem);
    box-shadow: 0 22px 52px rgba(16, 35, 49, 0.18);
}

.article-visual__paper,
.article-visual__note,
.article-visual__chart,
.article-visual__badge {
    position: absolute;
}

.article-visual__paper {
    left: 1rem;
    top: 1rem;
    width: 58%;
    min-height: 55%;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.93);
    padding: 0.9rem;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

.article-visual__paper span {
    display: block;
    height: 0.55rem;
    margin-bottom: 0.6rem;
    border-radius: 999px;
    background: rgba(16, 35, 49, 0.14);
}

.article-visual__paper span:first-child {
    width: 60%;
    background: rgba(208, 122, 56, 0.36);
}

.article-visual__badge {
    right: 1rem;
    top: 1.1rem;
    display: inline-flex;
    width: 4rem;
    height: 4rem;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: var(--confisco-cta);
    color: var(--confisco-marinho);
    font-family: Poppins, sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18);
}

.article-visual__chart {
    right: 1rem;
    bottom: 1rem;
    display: flex;
    align-items: flex-end;
    gap: 0.45rem;
    width: 52%;
    height: 38%;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.10);
    padding: 0.8rem;
}

.article-visual__chart span {
    flex: 1;
    border-radius: 999px 999px 0.3rem 0.3rem;
    background: linear-gradient(180deg, #f0bb0d, #d07a38);
}

.article-visual__chart span:nth-child(1) { height: 44%; }
.article-visual__chart span:nth-child(2) { height: 72%; }
.article-visual__chart span:nth-child(3) { height: 56%; }
.article-visual__chart span:nth-child(4) { height: 86%; }

.article-visual__note {
    left: 1rem;
    bottom: 1rem;
    width: 38%;
    border-radius: 0.8rem;
    background: rgba(232, 220, 203, 0.18);
    padding: 0.7rem;
}

.article-visual__note span {
    display: block;
    height: 0.45rem;
    margin-bottom: 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
}

.article-visual--iva {
    background: linear-gradient(145deg, #4a6355 0%, #102331 100%);
}

.article-visual--profit .article-visual__chart span:nth-child(2) {
    background: linear-gradient(180deg, #e8dccb, #4a6355);
}

.article-visual--profit .article-visual__chart span:nth-child(4) {
    background: linear-gradient(180deg, #f0bb0d, #d07a38);
}

.article-visual--change .article-visual__badge {
    border-radius: 999px;
}

.article-visual--taxes .article-visual__paper span:first-child {
    background: rgba(74, 99, 85, 0.36);
}

@media (max-width: 767px) {
    .article-index-hero,
    .article-detail-hero,
    .article-index-cta,
    .article-not-found,
    .article-short-answer,
    .article-bullet-panel,
    .article-faq,
    .article-detail-cta {
        border-radius: 1rem;
    }

    .article-card {
        padding: 0.85rem;
    }

    .article-card__link,
    .article-card__link--solid {
        width: 100%;
    }

    .article-side-note {
        position: static;
    }
}

.cookie-consent {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 120;
    display: grid;
    gap: 1rem;
    box-sizing: border-box;
    max-width: 58rem;
    margin: 0 auto;
    padding: 1rem;
    border: 1px solid rgba(232, 220, 203, 0.28);
    border-radius: 1rem;
    background: rgba(16, 35, 49, 0.98);
    color: #ffffff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.cookie-consent[hidden] {
    display: none !important;
}

.cookie-consent__title {
    margin: 0;
    font-weight: 800;
    color: var(--confisco-areia);
}

.cookie-consent__text {
    margin: 0.35rem 0 0;
    color: rgba(226, 232, 240, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.cookie-consent__link {
    color: var(--confisco-areia);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cookie-consent__button {
    min-height: 2.65rem;
    border: 1px solid transparent;
    border-radius: 0.8rem;
    padding: 0.65rem 1rem;
    font-weight: 800;
    cursor: pointer;
}

.cookie-consent__button--ghost {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.cookie-consent__button--primary {
    background: var(--confisco-cta);
    color: var(--confisco-cta-text);
}

@media (min-width: 768px) {
    .cookie-consent {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        padding: 1rem 1.15rem;
    }

    .cookie-consent__actions {
        justify-content: flex-end;
    }
}

.footer-kicker {
    font-family: Poppins, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(208, 122, 56, 0.95);
}

.footer-link {
    color: rgba(226, 232, 240, 0.82);
    text-decoration: underline;
    text-decoration-color: rgba(208, 122, 56, 0.28);
    text-underline-offset: 4px;
    transition: color 160ms ease, text-decoration-color 160ms ease;
}

.footer-link:hover {
    color: var(--confisco-areia);
    text-decoration-color: rgba(232, 220, 203, 0.55);
}

.footer-link:focus-visible {
    outline: 2px solid rgba(232, 220, 203, 0.65);
    outline-offset: 3px;
    border-radius: 0.6rem;
}

@media (max-width: 1279px) {
    .hero-stage__inner {
        grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.72fr);
        padding-left: 0;
    }
}

@media (max-width: 1023px) {
    .site-topbar__inner {
        gap: 0.65rem;
        padding-left: 0.95rem;
        padding-right: 0.95rem;
    }

    .site-header__inner {
        justify-content: space-between;
        min-height: 4.9rem;
    }

    .site-header__nav {
        display: none;
    }

    .site-header__mobile-trigger {
        display: inline-flex;
    }

    .hero-stage__inner {
        grid-template-columns: minmax(140px, 0.44fr) minmax(0, 1fr);
        min-height: auto;
        padding-bottom: 0;
    }

    .hero-stage__content {
        padding-top: 0.8rem;
        padding-bottom: 1.6rem;
        min-height: auto;
        padding-right: 1rem;
    }

    .hero-stage__bullet-list {
        width: min(100%, 46rem);
    }

    .hero-stage__portrait-shell {
        width: min(132%, 30rem);
        transform: translate(-15%, -1%);
    }
}

@media (max-width: 767px) {
    .site-topbar__inner {
        justify-content: flex-start;
        font-size: 0.9rem;
    }

    .site-topbar__link {
        max-width: 100%;
        min-height: 2.45rem;
        margin: 0.2rem 0;
        white-space: normal;
    }

    .site-header__brand {
        font-size: 1.75rem;
    }

    .hero-stage__inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 2.2rem;
    }

    .hero-stage__side--left {
        order: 2;
        margin-left: 0;
    }

    .hero-stage__content {
        order: 1;
        padding-top: 0.6rem;
        padding-bottom: 2rem;
        min-height: auto;
        padding-right: 0;
        overflow: hidden;
    }

    .hero-stage__title {
        width: 100%;
        max-width: 100%;
        font-size: clamp(2.15rem, 10.2vw, 3rem) !important;
        letter-spacing: -0.025em !important;
        line-height: 1.04 !important;
        overflow-wrap: anywhere;
    }

    .hero-stage__bullet-list {
        width: 100%;
        gap: 0.8rem;
    }

    .hero-stage__bullet-list li {
        font-size: 0.98rem;
    }

    .hero-stage__portrait-shell {
        width: min(72vw, 18rem);
    }

    .hero-stage__portrait {
        max-height: 22rem;
    }

    .hero-stage__title-line--nowrap {
        white-space: normal !important;
    }

    .hero-stage__title-outline {
        -webkit-text-stroke-width: 1.35px;
    }

    .hero-stage__title-pay {
        -webkit-text-stroke-width: 1.35px;
    }

    .hero-stage__title-line--accent {
        font-size: 0.86em;
    }

    .hero-stage__cta {
        width: 100%;
    }

    .cookie-consent {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        max-width: calc(100vw - 1.5rem);
        max-height: calc(100vh - 1.5rem);
        overflow: auto;
    }

    .cookie-consent__text {
        overflow-wrap: break-word;
    }

    .section-heading-top {
        gap: 0.65rem;
    }
}

/* Final editorial override for lesson/article pages. Keep content flowing with subtle dividers. */
.lesson-detail {
    max-width: 58rem;
    margin-inline: auto;
    color: var(--confisco-marinho);
}

.lesson-hero {
    display: block;
    border: 0;
    border-bottom: 1px solid rgba(16, 35, 49, 0.12);
    border-radius: 0;
    background: transparent;
    padding: clamp(1.25rem, 4vw, 3rem) 0 clamp(1.1rem, 3vw, 2rem);
    box-shadow: none;
}

.lesson-hero__copy h1 {
    max-width: 54rem;
    font-size: clamp(2.55rem, 5vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.lesson-hero__chapters {
    margin-top: 1.4rem;
    border: 0;
    border-top: 1px solid rgba(16, 35, 49, 0.10);
    border-radius: 0;
    background: transparent;
    padding: 1rem 0 0;
}

.lesson-hero__chapters ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1.1rem;
    margin: 0.55rem 0 0;
    padding-left: 1.1rem;
}

.lesson-video-section {
    margin-top: clamp(1.4rem, 4vw, 2.5rem);
    padding-bottom: clamp(1.4rem, 4vw, 2.5rem);
    border-bottom: 1px solid rgba(16, 35, 49, 0.12);
}

.lesson-video-frame {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.lesson-video-placeholder__screen {
    box-shadow: none;
}

.lesson-content-layout {
    display: block;
    margin-top: 0;
}

.lesson-chapter-rail {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
    padding: 1rem 0;
    border: 0;
    border-bottom: 1px solid rgba(16, 35, 49, 0.12);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.lesson-chapter-rail .article-card__label {
    flex-basis: 100%;
}

.lesson-chapter-rail a {
    margin-top: 0;
    border: 1px solid rgba(16, 35, 49, 0.12);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.92rem;
}

.article-short-answer,
.article-bullet-panel,
.article-faq,
.article-detail-cta {
    border: 0;
    border-bottom: 1px solid rgba(16, 35, 49, 0.12);
    border-radius: 0;
    background: transparent;
    padding: clamp(1.25rem, 4vw, 2.2rem) 0;
    box-shadow: none;
}

.article-short-answer {
    margin-top: 0;
}

.article-short-answer p:not(.article-card__label) {
    font-size: clamp(1.25rem, 1vw + 1rem, 1.72rem);
    line-height: 1.55;
}

.article-bullet-panel {
    display: block;
}

.article-bullet-panel ul {
    margin-top: 1rem;
}

.article-body {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.article-body section,
.article-body section + section {
    margin: 0;
    padding: clamp(1.35rem, 4vw, 2.4rem) 0;
    border-top: 0;
    border-bottom: 1px solid rgba(16, 35, 49, 0.12);
}

.article-body h2 {
    font-size: clamp(1.65rem, 1.2vw + 1.25rem, 2.45rem);
}

.article-body p {
    max-width: 46rem;
    font-size: clamp(1.05rem, 0.35vw + 1rem, 1.22rem);
    line-height: 1.82;
}

.article-faq > div {
    margin-top: 0.6rem;
    border-top: 1px solid rgba(16, 35, 49, 0.12);
}

.article-faq details {
    border: 0;
    border-bottom: 1px solid rgba(16, 35, 49, 0.12);
    border-radius: 0;
    background: transparent;
    padding: 1rem 0;
}

.article-detail-cta {
    border-bottom: 0;
}
/* Article pages: final pass after legacy article-card rules. */
.lesson-detail .article-short-answer .article-card__label {
    color: var(--confisco-ocre);
}

.lesson-detail .article-short-answer p:not(.article-card__label) {
    color: rgba(16, 35, 49, 0.78);
}

.lesson-detail .article-body section,
.lesson-detail .article-body section + section {
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 35, 49, 0.12);
    border-left: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
