/* Editorial V2 — páginas públicas TigerGo. */
body[data-tg-page="sobre_nos"],
body[data-tg-page="sobre"],
body[data-tg-page="recursos"] {
    --editorial-cream: #fbf7f1;
    --editorial-paper: #fffdf9;
    --editorial-ink: #211d19;
    --editorial-soft: #675f57;
    --editorial-muted: #70675f;
    --editorial-line: #e8ded3;
    --editorial-orange: #ff7a1a;
    --editorial-orange-deep: #b94808;
    --editorial-orange-soft: #fff0e4;
    margin: 0;
    background: var(--editorial-cream) !important;
    color: var(--editorial-ink);
    font-family: "DM Sans", sans-serif;
}

.tg-editorial-main {
    flex: 1;
    overflow: hidden;
}

.tg-editorial-wrap {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.tg-editorial-hero {
    position: relative;
    padding: clamp(82px, 10vw, 132px) 0 clamp(74px, 9vw, 116px);
    border-bottom: 1px solid var(--editorial-line);
}

.tg-editorial-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
    align-items: center;
    gap: clamp(48px, 8vw, 104px);
}

.tg-editorial-hero__copy {
    max-width: 720px;
}

.tg-editorial-hero h1 {
    max-width: 760px;
    margin: 18px 0 22px;
    color: var(--editorial-ink);
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    font-weight: 750;
    letter-spacing: -.072em;
    line-height: 1.08;
    text-wrap: balance;
}

.tg-editorial-hero__copy > p {
    max-width: 620px;
    margin: 0;
    color: var(--editorial-soft);
    font-size: clamp(1.02rem, 1.7vw, 1.2rem);
    font-weight: 500;
    line-height: 1.7;
}

.tg-editorial-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
}

.tg-editorial-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: .9rem;
    font-weight: 750;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.tg-editorial-button--primary {
    border-color: var(--editorial-orange);
    background: var(--editorial-orange);
    color: #211d19;
}

.tg-editorial-button--primary:hover {
    border-color: #ee6c10;
    background: #ee6c10;
}

.tg-editorial-button--quiet {
    border-color: var(--editorial-line);
    background: rgba(255, 255, 255, .56);
    color: var(--editorial-ink);
}

.tg-editorial-button--quiet:hover {
    border-color: #d9c9ba;
    background: #fff;
}

.tg-editorial-statement {
    position: relative;
    min-height: 370px;
    padding: 42px;
    overflow: hidden;
    border: 1px solid #312c27;
    border-radius: 28px;
    background: #211d19;
    box-shadow: 0 24px 70px rgba(51, 40, 30, .13);
    color: #fff;
}

.tg-editorial-statement__mark {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 90px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: rgba(255, 122, 26, .12);
    color: #ff9a52;
    font-size: 1.5rem;
}

.tg-editorial-statement__mark img {
    width: 27px;
    height: 27px;
    filter: brightness(0) invert(1);
}

.tg-editorial-statement p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 650;
    letter-spacing: -.055em;
    line-height: 1.04;
}

.tg-editorial-statement strong {
    color: #ff9a52;
}

.tg-editorial-statement small {
    position: relative;
    z-index: 1;
    display: block;
    max-width: 30ch;
    margin-top: 20px;
    color: #bdb3aa;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.5;
}

.tg-editorial-section {
    padding: clamp(74px, 10vw, 124px) 0;
    border-bottom: 1px solid var(--editorial-line);
}

.tg-editorial-section--soft {
    background: #f5efe8;
}

.tg-editorial-section--ink {
    border-color: #302a25;
    background: #211d19;
    color: #fff;
}

.tg-editorial-split,
.tg-editorial-note {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    gap: clamp(42px, 8vw, 100px);
}

.tg-editorial-split h2,
.tg-editorial-heading h2,
.tg-editorial-note h2,
.tg-editorial-teaching h2,
.tg-editorial-cta h2 {
    margin: 14px 0 0;
    color: var(--editorial-ink);
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(2.15rem, 4.8vw, 4.35rem);
    font-weight: 720;
    letter-spacing: -.058em;
    line-height: 1;
    text-wrap: balance;
}

.tg-editorial-prose {
    display: grid;
    gap: 20px;
    align-content: start;
    padding-top: 26px;
}

.tg-editorial-prose p,
.tg-editorial-heading > p,
.tg-editorial-note > p {
    margin: 0;
    color: var(--editorial-soft);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.75;
}

.tg-editorial-heading {
    max-width: 720px;
    margin-bottom: 46px;
}

.tg-editorial-heading--wide {
    max-width: 850px;
}

.tg-editorial-heading > p {
    max-width: 64ch;
    margin-top: 20px;
}

.tg-editorial-principles,
.tg-method-steps,
.tg-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.tg-editorial-principle {
    min-height: 0;
    padding: 26px 12px 0;
    border-top: 2px solid var(--editorial-orange-deep);
}

.tg-editorial-principle h3,
.tg-method-steps h3,
.tg-resource-card h3 {
    margin: 2rem 0 .75rem;
    color: var(--editorial-ink);
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.35rem;
    font-weight: 720;
    letter-spacing: -.035em;
}

.tg-editorial-principle h3 { margin-top: 0; }

.tg-editorial-principle p,
.tg-method-steps p,
.tg-resource-card p {
    margin: 0;
    color: var(--editorial-soft);
    font-size: .89rem;
    font-weight: 500;
    line-height: 1.65;
}

.tg-editorial-note {
    align-items: end;
    padding: clamp(30px, 5vw, 52px);
    border: 1px solid var(--editorial-line);
    border-radius: 22px;
    background: var(--editorial-paper);
}

.tg-editorial-note h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.tg-editorial-note > p {
    max-width: 60ch;
}

.tg-method-loop {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--editorial-line);
    border-radius: 22px;
    background: var(--editorial-paper);
    box-shadow: 0 18px 50px rgba(55, 42, 31, .07);
    list-style: none;
}

.tg-method-loop li {
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap: 13px;
    min-height: 88px;
    padding: 12px 14px;
}

.tg-method-loop li + li {
    border-top: 1px solid var(--editorial-line);
}

.tg-method-loop li > i {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    background: var(--editorial-orange-soft);
    color: var(--editorial-orange-deep);
    font-size: 1.25rem;
}

.tg-method-loop strong,
.tg-method-loop small {
    display: block;
}

.tg-method-loop strong {
    color: var(--editorial-ink);
    font-size: .93rem;
}

.tg-method-loop small {
    margin-top: 2px;
    color: var(--editorial-muted);
    font-size: .875rem;
    font-weight: 600;
}

.tg-method-steps article {
    position: relative;
    min-height: 300px;
    padding: 26px;
    border-top: 3px solid var(--editorial-ink);
    background: transparent;
}

.tg-method-steps article > i {
    display: grid;
    width: 44px;
    height: 44px;
    margin-top: 24px;
    place-items: center;
    border-radius: 13px;
    background: var(--editorial-orange-soft);
    color: var(--editorial-orange-deep);
    font-size: 1.25rem;
}

.tg-method-steps h3 {
    margin-top: 20px;
}

.tg-editorial-teaching {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, .85fr);
    gap: clamp(48px, 8vw, 100px);
    align-items: start;
}

.tg-editorial-section--ink .tg-editorial-teaching h2 {
    color: #fff;
}

.tg-editorial-teaching__list {
    display: grid;
    gap: 0;
    border-top: 1px solid #3d3630;
}

.tg-editorial-teaching__list p {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 14px;
    margin: 0;
    padding: 22px 0;
    border-bottom: 1px solid #3d3630;
    color: #c9c0b8;
    font-size: .94rem;
    line-height: 1.55;
}

.tg-editorial-teaching__list i {
    color: #ff9a52;
    font-size: 1.1rem;
}

.tg-editorial-teaching__list strong {
    color: #fff;
}

.tg-resource-map {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    min-height: 370px;
    padding: 24px 36px;
    border-left: 2px solid var(--editorial-orange);
    background: transparent;
}

.tg-resource-map > div {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--editorial-line);
    background: transparent;
    color: var(--editorial-ink);
    font-size: 1rem;
    font-weight: 700;
}

.tg-resource-map > div i {
    color: var(--editorial-orange-deep);
    font-size: 1.75rem;
}

.tg-resource-map__core {
    position: static;
    order: -1;
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    place-items: center;
    border: 1px solid var(--editorial-line);
    border-radius: 14px;
    background: var(--editorial-paper);
    box-shadow: none;
    transform: none;
}

.tg-resource-map__core img {
    width: 38px;
    height: 38px;
}

.tg-resource-grid {
    align-items: stretch;
}

.tg-resource-grid--feature {
    grid-template-columns: 1.25fr .875fr .875fr;
}

.tg-resource-card {
    position: relative;
    min-height: 0;
    padding: 26px;
    border: 1px solid var(--editorial-line);
    border-radius: 18px;
    background: var(--editorial-paper);
}

.tg-resource-card--large {
    min-height: 390px;
    background: #211d19;
}

.tg-resource-card__icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 13px;
    background: var(--editorial-orange-soft);
    color: var(--editorial-orange-deep);
    font-size: 1.25rem;
}



.tg-resource-card h3 {
    margin-top: 72px;
    font-size: 1.55rem;
}

.tg-resource-card--large h3 {
    color: #fff;
    font-size: 2rem;
}

.tg-resource-card--large p {
    color: #c7bdb4;
}

.tg-resource-card ul {
    display: grid;
    gap: 9px;
    margin: 24px 0 0;
    padding: 0;
    color: #d8cfc7;
    font-size: .875rem;
    font-weight: 650;
    list-style: none;
}

.tg-resource-card li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tg-resource-card li i {
    color: #ff9a52;
}

.tg-editorial-cta {
    padding: clamp(62px, 9vw, 96px) 0;
    background: var(--editorial-orange);
    color: #211d19;
}

.tg-editorial-cta__inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 36px;
}

.tg-editorial-cta h2 {
    max-width: 780px;
    color: #211d19;
    font-size: clamp(2.2rem, 5.5vw, 4.8rem);
}

.tg-editorial-button--light {
    flex: 0 0 auto;
    border-color: #fff;
    background: #fff;
    color: var(--editorial-ink);
}

.tg-editorial-button--light:hover {
    background: #fff5ed;
}

.dark body[data-tg-page="sobre_nos"],
.dark body[data-tg-page="sobre"],
.dark body[data-tg-page="recursos"] {
    --editorial-cream: #171411;
    --editorial-paper: #211d19;
    --editorial-ink: #f8f3ed;
    --editorial-soft: #c5bbb2;
    --editorial-muted: #9f958c;
    --editorial-line: #3a342e;
    --editorial-orange-soft: #342319;
    --editorial-orange-deep: #ffb57d;
    background: var(--editorial-cream) !important;
}

.dark .tg-editorial-section--soft {
    background: #1d1916;
}

.dark .tg-editorial-button--quiet,
.dark .tg-resource-map > div {
    background: #211d19;
}

.dark .tg-method-steps article {
    border-top-color: #f8f3ed;
}

.dark .tg-resource-card--large,
.dark .tg-editorial-section--ink,
.dark .tg-editorial-statement {
    background: #0f0d0b;
}

@media (max-width: 900px) {
    .tg-editorial-hero__grid,
    .tg-editorial-split,
    .tg-editorial-note,
    .tg-editorial-teaching {
        grid-template-columns: 1fr;
    }

    .tg-editorial-hero__grid {
        gap: 50px;
    }

    .tg-editorial-statement {
        min-height: 320px;
    }

    .tg-editorial-principles,
    .tg-method-steps,
    .tg-resource-grid,
    .tg-resource-grid--feature {
        grid-template-columns: 1fr 1fr;
    }

    .tg-editorial-principle:last-child,
    .tg-method-steps article:last-child,
    .tg-resource-grid--feature .tg-resource-card--large {
        grid-column: 1 / -1;
    }

    .tg-editorial-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .tg-editorial-wrap {
        width: min(100% - 28px, 1180px);
    }

    .tg-editorial-hero {
        padding-top: 64px;
    }

    .tg-editorial-hero h1 {
        font-size: clamp(2.85rem, 15vw, 4.6rem);
    }

    .tg-editorial-actions,
    .tg-editorial-actions .tg-editorial-button,
    .tg-editorial-button--light {
        width: 100%;
    }

    .tg-editorial-statement {
        min-height: 290px;
        padding: 28px;
    }

    .tg-editorial-statement__mark {
        margin-bottom: 68px;
    }

    .tg-editorial-principles,
    .tg-method-steps,
    .tg-resource-grid,
    .tg-resource-grid--feature {
        grid-template-columns: 1fr;
    }

    .tg-editorial-principle:last-child,
    .tg-method-steps article:last-child,
    .tg-resource-grid--feature .tg-resource-card--large {
        grid-column: auto;
    }

    .tg-editorial-principle { min-height: 0; padding-block: 24px 12px; }

    .tg-method-steps article {
        min-height: 250px;
        padding-inline: 8px;
    }

    .tg-editorial-note {
        padding: 26px;
    }

    .tg-resource-map {
        min-height: 0;
        padding: 0 0 0 20px;
    }

    .tg-resource-map > div {
        min-height: 62px;
        padding: 10px 0;
        align-items: center;
        flex-direction: row;
    }

    .tg-resource-card {
        min-height: 260px;
    }

    .tg-editorial-cta {
        padding-inline: 0;
    }
}
