/* Site · elegância nas páginas internas (22/10/2026)
   Mesma linguagem da home (home-elegancia.css): clínica clara (#F2F5F7) e plantão noturno (#0A1422 com grão),
   títulos Plus Jakarta firmes, eyebrow DM Sans espaçado, cartões sóbrios (raio 6px, fio fino, sem sombra nem brilho).
   Só vale fora da home: a home tem a camada própria. */

body:not(.page-home) {
    --e-light: #F2F5F7;
    --e-white: #FFFFFF;
    --e-ink: #0F1E2E;
    --e-ink-2: #4A5A6B;
    --e-line: #DCE3E8;
    --e-teal: #12BDAB;
    --e-teal-ink: #0E8F84;
    --e-teal-small: #0B7A71;
    --e-blue: #2A8CF7;
    --e-night: #0A1422;
    --e-night-2: #0F1C2E;
    --e-snow: #F2F6F9;
    --e-mist: #8A9AB0;
    --e-line-night: #1C2A3D;
    --e-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
    --e-ease: cubic-bezier(.16, 1, .3, 1);
}

/* —— Faixas: liso no claro, noite com grão no escuro; sai o quadriculado —— */
body:not(.page-home) :is(.home-band--light, .sm-page-band--light, .blog-page-band--light, .ct-page-band--light) {
    background: var(--e-light) !important;
    background-image: none !important;
}
body:not(.page-home) :is(.home-band--dark, .blog-page-band--dark, .ct-page-band--dark, .svc-hero) {
    background: var(--e-night) var(--e-grain) !important;
}
body:not(.page-home) :is(.inst-hero__grid, .inst-hero__glow, .about-hero__grid, .svc-hero__grid, .sol-hero__grid,
    .sm-hero__grid, .sm-hero__glow, .sm-intro__aurora, .sm-intro__grid-3d, .cta-final__glow) {
    display: none !important;
}

/* —— Tipografia —— */
body:not(.page-home) .section-eyebrow,
body:not(.page-home) [class*="hero"] [class*="__eyebrow"] {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: .75rem !important;
    font-weight: 600 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase;
    color: var(--e-teal-small) !important;
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}
body:not(.page-home) :is(.home-band--dark, .blog-page-band--dark, .ct-page-band--dark, .svc-hero) :is(.section-eyebrow, [class*="__eyebrow"]) {
    color: var(--e-teal) !important;
}
body:not(.page-home) :is(.section-title, [class*="hero--page"] h1, .svc-hero h1, .sm-page-band h1, .blog-page-band h1, .ct-page-band h1) {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -.035em !important;
    line-height: 1.06 !important;
    text-wrap: balance;
    text-shadow: none !important;
}
body:not(.page-home) :is([class*="hero--page"] h1, .svc-hero h1, .sm-page-band h1, .blog-page-band--light h1, .ct-page-band--light h1) {
    font-size: clamp(2.6rem, 4.6vw, 4rem) !important;
    letter-spacing: -.04em !important;
    line-height: 1.03 !important;
}
body:not(.page-home) .section-title { font-size: clamp(2.1rem, 3.5vw, 3.1rem) !important; }
body:not(.page-home) :is(.home-band--light, .sm-page-band--light, .blog-page-band--light, .ct-page-band--light) :is(.section-title, h1) { color: var(--e-ink) !important; }
body:not(.page-home) :is(.home-band--dark, .blog-page-band--dark, .ct-page-band--dark, .svc-hero) :is(.section-title, h1) { color: var(--e-snow) !important; }
body:not(.page-home) .section-subtitle { font-family: 'DM Sans', system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.6; max-width: 38rem; }
body:not(.page-home) :is(.home-band--light, .sm-page-band--light, .blog-page-band--light, .ct-page-band--light) .section-subtitle { color: var(--e-ink-2) !important; }
body:not(.page-home) :is(.home-band--dark, .blog-page-band--dark, .ct-page-band--dark, .svc-hero) .section-subtitle { color: var(--e-mist) !important; }

/* —— Botões (iguais aos da home) —— */
body:not(.page-home) main :is(.btn-primary, .btn-outline, .btn-secondary, .cta-final__btn-outline) {
    min-height: 48px;
    padding-inline: 1.5rem;
    border-radius: 10px !important;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 600;
    box-shadow: none !important;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--e-ease);
}
body:not(.page-home) main :is(.btn-primary, .btn-outline, .btn-secondary, .cta-final__btn-outline):active { transform: scale(.98); }
body:not(.page-home) main .btn-primary { background: var(--e-teal) !important; color: #04211E !important; border: 0 !important; }
body:not(.page-home) main .btn-primary:hover { background: #2BD0BE !important; }
body:not(.page-home) :is(.home-band--light, .sm-page-band--light, .blog-page-band--light, .ct-page-band--light) :is(.btn-outline, .btn-secondary) {
    background: transparent !important; border: 1px solid rgba(15, 30, 46, .22) !important; color: var(--e-ink) !important;
}
body:not(.page-home) :is(.home-band--light, .sm-page-band--light, .blog-page-band--light, .ct-page-band--light) :is(.btn-outline, .btn-secondary):hover { border-color: var(--e-ink) !important; }
body:not(.page-home) :is(.home-band--dark, .blog-page-band--dark, .ct-page-band--dark, .svc-hero) :is(.btn-outline, .btn-secondary, .cta-final__btn-outline) {
    background: transparent !important; border: 1px solid rgba(242, 246, 249, .35) !important; color: var(--e-snow) !important;
}
body:not(.page-home) :is(.home-band--dark, .blog-page-band--dark, .ct-page-band--dark, .svc-hero) :is(.btn-outline, .btn-secondary, .cta-final__btn-outline):hover {
    border-color: var(--e-snow) !important; background: rgba(242, 246, 249, .06) !important;
}

/* —— Cartões: raio 6px, fio fino, sem sombra e sem brilho —— */
body:not(.page-home) :is(.about-hero__highlights, .about-hero__highlight, .about-intro, .about-statement, .about-diferencial,
    .clinical-panel, .about-reg__item, .blog-hub-card, .blog-hub-featured, .svc-cap, .svc-mod-card, .flow-hero__step,
    .sol-hero__markets, .sol-panel__lead-item, .compare-table-wrap, .sm-intro-pillar__inner, .sm-solution-card, .sm-nr1__panel,
    .sm-crisis, .ct-form-panel, .ct-channels, .ct-links, .ct-faq-item, .ct-faq-help, .ed-content-card, .cta-final) {
    border-radius: 6px !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}
body:not(.page-home) :is(.home-band--light, .sm-page-band--light, .blog-page-band--light, .ct-page-band--light) :is(.about-hero__highlights, .about-hero__highlight,
    .about-intro, .clinical-panel, .about-reg__item, .blog-hub-card, .blog-hub-featured, .svc-cap, .flow-hero__step, .sol-hero__markets,
    .compare-table-wrap, .sm-solution-card, .ct-form-panel, .ct-channels, .ct-links, .ed-content-card) {
    background: var(--e-white) !important;
    border: 1px solid var(--e-line) !important;
}
body:not(.page-home) :is(.home-band--dark, .blog-page-band--dark, .ct-page-band--dark, .svc-hero) :is(.about-statement, .about-diferencial,
    .blog-hub-card, .blog-hub-featured, .svc-mod-card, .sol-panel__lead-item, .sm-intro-pillar__inner, .sm-nr1__panel, .ct-faq-item, .ct-faq-help) {
    background: var(--e-night-2) !important;
    border: 1px solid var(--e-line-night) !important;
}
body:not(.page-home) :is(.svc-mod-card, .about-diferencial, .sm-solution-card, .blog-hub-card, .about-reg__item) {
    transition: border-color .25s ease, transform .35s var(--e-ease);
}
@media (hover: hover) {
    body:not(.page-home) :is(.svc-mod-card, .about-diferencial, .sm-solution-card, .blog-hub-card, .about-reg__item):hover {
        border-color: rgba(18, 189, 171, .55) !important;
        transform: translateY(-2px);
    }
}
/* Texto dos cartões legível (26/10/2026): no escuro o depoimento e o cargo ficavam #5A6B82 sobre a noite (3,1:1);
   no claro a categoria e o link do blog ficavam no verde-água claro sobre branco (2,2:1). */
body:not(.page-home) :is(.home-band--dark, .ct-page-band--dark) .blog-hub-card :is(.blog-hub-card__excerpt, .blog-hub-card__meta, .blog-hub-card__meta > span:not(.blog-hub-card__cat)) {
    color: var(--e-mist);
}
body:not(.page-home) :is(.home-band--light, .sm-page-band--light, .blog-page-band--light, .ct-page-band--light) :is(.blog-hub-card, .blog-hub-featured) :is(.blog-hub-card__cat, .blog-hub-card__link) {
    color: var(--e-teal-small);
}

/* —— Chamada final: sem caixa, título grande como na home —— */
body:not(.page-home) .cta-final {
    background: none !important;
    border: 0 !important;
    border-top: 1px solid var(--e-line-night) !important;
    border-radius: 0 !important;
    padding-top: clamp(3rem, 6vw, 5rem) !important;
}
body:not(.page-home) .cta-final__title {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-weight: 700 !important;
    font-size: clamp(2.25rem, 4.2vw, 3.5rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -.035em !important;
    color: var(--e-snow) !important;
    text-wrap: balance;
}
body:not(.page-home) .cta-final__text { color: var(--e-mist) !important; font-size: 1.0625rem; }

@media (prefers-reduced-motion: reduce) {
    body:not(.page-home) :is(.svc-mod-card, .about-diferencial, .sm-solution-card, .blog-hub-card, .about-reg__item) { transition: none; }
}

/* —— Enfeites que sobravam: quadriculado e brilho em pseudo-elementos, cantoneiras —— */
body:not(.page-home) :is(.cta-final-section, [class*="hero--page"], .svc-hero, .sm-page-band, .blog-page-band, .ct-page-band)::before,
body:not(.page-home) :is([class*="hero--page"], .svc-hero, .sm-page-band, .blog-page-band, .ct-page-band)::after,
body:not(.page-home) :is(.corner-tick, .cta-final)::before,
body:not(.page-home) main [class*="__glow"] {
    display: none !important;
}

/* —— Rodapé (todas as páginas, inclusive a home): noite com grão, sem quadriculado —— */
.footer-v2::before { display: none !important; }
.footer-v2 {
    background: #0A1422 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E") !important;
    border-top: 1px solid #1C2A3D;
}
body:not(.page-home) .sm-intro__orb { display: none !important; }

/* Títulos longos de topo (NR-1) não passam de 4 linhas */
body.page-nr1 [class*="hero--page"] h1 { font-size: clamp(2.3rem, 3.6vw, 3.3rem) !important; }
@media (max-width: 767px) {
    body:not(.page-home) :is([class*="hero--page"] h1, .svc-hero h1, .sm-page-band h1, .blog-page-band--light h1, .ct-page-band--light h1) {
        font-size: clamp(2.1rem, 9vw, 2.6rem) !important;
        line-height: 1.06 !important;
        letter-spacing: -.03em !important;
    }
    body:not(.page-home) .section-title { font-size: clamp(1.9rem, 8vw, 2.4rem) !important; }
    body:not(.page-home) .cta-final__title { font-size: clamp(2rem, 8.6vw, 2.5rem) !important; }
}
