/* Camada que leva as páginas antigas (Treinamentos, IA para Negócios, Privacidade)
   para o desenho da home B2B. Carregar por último, depois de service.css/styles.css,
   training.css/privacy-policy.css e home-b2b.css. Regras em DESIGN.md. */

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f3f5fa;
    --bg-elevated: #ffffff;
    --bg-card: #ffffff;
    --bg-dark: #0b1533;
    --text-primary: #0c1326;
    --text-secondary: #414a61;
    --text-muted: #5d667c;
    --accent: #2450d6;
    --accent-light: #2450d6;
    --accent-ultra-light: #eef2fd;
    --accent-glow: transparent;
    --accent-warm: #2450d6;
    --accent-rose: #2450d6;
    --gradient-primary: linear-gradient(#2450d6, #2450d6);
    --gradient-text: linear-gradient(#0c1326, #0c1326);
    --border: #dde2ec;
    --border-hover: #c3cad9;
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --shadow-xl: none;
    --font-display: "Geist", ui-sans-serif, system-ui, sans-serif;
    --font-body: "Geist", ui-sans-serif, system-ui, sans-serif;
    --radius-sm: 8px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --radius-xl: 14px;
}

body.b2b {
    background: var(--ground);
    color: var(--ink);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.55;
    padding-top: 0;
}

body.b2b h1, body.b2b h2, body.b2b h3, body.b2b h4 {
    font-family: var(--font); font-weight: 600; letter-spacing: -0.026em; color: var(--ink);
    -webkit-text-fill-color: currentColor; background: none;
}
body.b2b h1 em, body.b2b h2 em, body.b2b h3 em, body.b2b .highlight {
    font-family: inherit; font-style: normal; font-weight: inherit; color: inherit;
    background: none; -webkit-text-fill-color: currentColor;
}
body.b2b [data-reveal] { opacity: 1; transform: none; transition: none; }
body.b2b .container { width: min(100% - 48px, var(--wrap)); max-width: none; margin-inline: auto; padding-inline: 0; }

/* Idiomas: botões no lugar dos links da home */
.lang button {
    font: inherit; font-size: 14px; color: var(--ink-3); background: none; border: 0;
    padding: 6px 8px; border-radius: 6px; cursor: pointer;
}
.lang button:hover { color: var(--ink); }
.lang button.active { color: var(--ink); background: var(--tint); font-weight: 550; }

/* Rótulo acima de título e ícones decorativos saem */
body.b2b .section-tag,
body.b2b .tr-fact-icon,
body.b2b .tr-method-icon,
body.b2b .tr-audience-icon,
body.b2b .hv-btn svg,
body.b2b .cta-buttons svg,
body.b2b .policy-text h2 i { display: none; }

/* ---------- Abertura ---------- */

body.b2b .hero {
    position: static; min-height: 0; display: block; overflow: visible;
    background: var(--ground); color: var(--ink); text-align: left;
    padding: 72px 0 64px;
}
body.b2b .hero::before, body.b2b .hero::after { content: none; }
body.b2b .hv-content { width: min(100% - 48px, var(--wrap)); max-width: none; margin-inline: auto; padding: 0; text-align: left; align-items: flex-start; }
body.b2b .hv-title { font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: 1.05; max-width: 18ch; margin: 0; text-shadow: none; }
body.b2b .hv-subtitle { margin: 20px 0 0; font-size: 1.15rem; color: var(--ink-2); max-width: 58ch; text-shadow: none; }
body.b2b .hv-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; justify-content: flex-start; }

/* ---------- Botões ---------- */

body.b2b .hv-btn, body.b2b .btn, body.b2b .hv-btn-whatsapp {
    display: inline-flex; align-items: center; justify-content: center; gap: 0;
    min-height: 46px; padding: 0 20px; border-radius: var(--radius);
    font: inherit; font-size: 16px; font-weight: 550; text-decoration: none; white-space: nowrap;
    box-shadow: none; transform: none; backdrop-filter: none; letter-spacing: 0;
    transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
body.b2b .hv-btn::before, body.b2b .hv-btn::after, body.b2b .btn::before, body.b2b .btn::after { content: none; }
body.b2b .hv-btn-primary, body.b2b .btn-primary { background: var(--blue); color: #fff; border: 1px solid var(--blue); }
body.b2b .hv-btn-primary:hover, body.b2b .btn-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
body.b2b .hv-btn-secondary, body.b2b .btn-ghost, body.b2b .btn.secondary, body.b2b .hv-btn-whatsapp {
    background: transparent; color: var(--ink); border: 1px solid var(--line-strong);
}
body.b2b .hv-btn-secondary:hover, body.b2b .btn-ghost:hover, body.b2b .btn.secondary:hover, body.b2b .hv-btn-whatsapp:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
body.b2b .top .btn-small { min-height: 38px; padding: 0 14px; font-size: 15px; }

/* ---------- Seções ---------- */

body.b2b .tr-section { padding: 96px 0; background: var(--ground); }
body.b2b .tr-section.alt { background: var(--tint); }
body.b2b .section-header { text-align: left; margin: 0 0 48px; max-width: none; }
body.b2b .section-title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.1; max-width: 24ch; margin: 0; text-align: left; }
body.b2b .section-subtitle { margin: 18px 0 0; font-size: 1.1rem; color: var(--ink-2); max-width: 62ch; text-align: left; }

/* ---------- Chamada final ---------- */

body.b2b .cta-section { background: var(--blue); color: #fff; padding: 104px 0; text-align: left; }
body.b2b .cta-section::before, body.b2b .cta-section::after { content: none; }
body.b2b .cta-content { max-width: none; margin: 0; text-align: left; background: none; border: 0; padding: 0; box-shadow: none; }
body.b2b .cta-title { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.05; max-width: 20ch; margin: 0; }
body.b2b .cta-subtitle { color: #dfe6ff; font-size: 1.15rem; max-width: 56ch; margin: 18px 0 0; }
body.b2b .cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; justify-content: flex-start; }
body.b2b .cta-section .btn-primary { background: #fff; color: var(--blue); border-color: #fff; }
body.b2b .cta-section .btn-primary:hover { background: #e9eeff; }
body.b2b .cta-section .hv-btn-whatsapp, body.b2b .cta-section .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
body.b2b .cta-section .hv-btn-whatsapp:hover, body.b2b .cta-section .btn-ghost:hover { border-color: #fff; color: #fff; }
body.b2b .hv-cta-note { display: block; margin-top: 18px; font-size: 14.5px; color: #dfe6ff; }

/* ---------- Rodapé (as folhas antigas pintam o <footer> de escuro) ---------- */

body.b2b footer.foot { background: var(--ground); color: var(--ink-2); padding: 56px 0 40px; border: 0; }
body.b2b footer.foot::before, body.b2b footer.foot::after { content: none; }
body.b2b footer.foot h3 { font-size: 15px; letter-spacing: 0; margin-bottom: 10px; }
body.b2b footer.foot a { color: inherit; }
body.b2b footer.foot a:hover { color: var(--blue); }
body.b2b footer.foot p { color: inherit; margin: 0; }
body.b2b footer.foot .foot-legal { margin-top: 44px; color: var(--ink-3); }

/* ---------- Treinamentos: blocos alinhados à margem, sem centralizar ---------- */

body.b2b .tr-hub-grid, body.b2b .tr-hub-grid.is-single, body.b2b .tr-other, body.b2b .tr-outcomes,
body.b2b .tr-program, body.b2b .tr-program-note, body.b2b .tr-chain, body.b2b .tr-compare,
body.b2b .tr-logistics, body.b2b .tr-schedule, body.b2b .tr-schedule-foot {
    max-width: none; margin-inline: 0;
}
body.b2b .tr-hub-grid.is-single { max-width: 860px; }
body.b2b .tr-program-note, body.b2b .tr-schedule-foot { text-align: left; max-width: 70ch; }
body.b2b .tr-facts { margin-top: 0; padding: 0 0 24px; }
body.b2b .tr-facilitator { text-align: left; }
body.b2b .tr-facilitator-avatar { display: none; }
body.b2b .tr-hub-card:hover, body.b2b .tr-audience-card:hover, body.b2b .tr-method-card:hover,
body.b2b .tr-outcome:hover, body.b2b .tr-layer:hover, body.b2b .tr-facilitator:hover { transform: none; box-shadow: none; }

/* ---------- Dúvidas ---------- */

body.b2b .faq-section { background: var(--tint); padding: 96px 0; }
body.b2b .faq-section::before { content: none; }
body.b2b .faq-impact-phrase { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.1; text-align: left; }
body.b2b .faq-impact-phrase .highlight::after { content: none; }
body.b2b .faq-impact-subtext { color: var(--ink-2); text-align: left; }
body.b2b .faq-icon-wrap { background: none; }
body.b2b .faq-question[aria-expanded="true"] .faq-icon-wrap { background: none; color: var(--blue); }
body.b2b .faq-question:hover { background: none; color: var(--blue); }

/* ---------- Privacidade ---------- */

body.b2b .privacy-hero { background: var(--ground); padding: 72px 0 0; text-align: left; }
body.b2b .privacy-hero-mesh { display: none; }
body.b2b .privacy-hero-content { width: min(100% - 48px, 860px); max-width: none; margin-inline: auto; padding: 0; text-align: left; }
body.b2b .privacy-title { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.06; margin: 0; }
body.b2b .privacy-content-section { background: var(--ground); padding: 40px 0 112px; }
body.b2b .privacy-content-section::before { content: none; }
body.b2b .privacy-content { width: min(100% - 48px, 860px); max-width: none; margin-inline: auto; padding: 0; background: none; border: 0; box-shadow: none; }
body.b2b .policy-text { font-size: 1.05rem; line-height: 1.7; color: #1d2540; }
body.b2b .policy-text h2 { font-size: 1.45rem; margin-top: 2.2em; padding: 0; border: 0; }
body.b2b .policy-text a { color: var(--blue); }

@media (max-width: 820px) {
    body.b2b .hero { padding: 44px 0 40px; }
    body.b2b .hv-content, body.b2b .container, body.b2b .privacy-hero-content, body.b2b .privacy-content { width: min(100% - 40px, var(--wrap)); }
    body.b2b .tr-section, body.b2b .faq-section { padding: 68px 0; }
    body.b2b .cta-section { padding: 76px 0; }
    .lang button { padding: 6px 6px; }
}

body.b2b .tr-quote { border: 0; background: var(--tint); border-radius: var(--radius); padding: 18px 22px; }
.top .brand { flex: none; }
@media (max-width: 480px) {
    body.b2b .top .btn-small { display: none; }
}
