/*
Theme Name: BemBrasil — Ecossistema Bem
Theme URI: https://github.com/AltVini123/teste
Author: Ecossistema Bem
Description: Site do Ecossistema Bem com quatro sub-sites: BemBrasil (principal), BemGroup (empresas), BemParceiros (comércio) e BemGlobal (brasileiros no exterior). Cada sub-site tem logo, cores, menu e formulário próprios. Pronto para hospedagem cPanel.
Version: 2.2.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: bembrasil
*/

/* ---------- Fonte: Lato, a mesma das peças de comunicação (hospedada no tema, licença OFL) ---------- */
@font-face { font-family: "Lato"; font-style: normal; font-display: swap; font-weight: 400; src: url(assets/fonts/lato-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-display: swap; font-weight: 400; src: url(assets/fonts/lato-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Lato"; font-style: normal; font-display: swap; font-weight: 700; src: url(assets/fonts/lato-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-display: swap; font-weight: 700; src: url(assets/fonts/lato-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ---------- Cores por marca ---------- */
/* BemBrasil (padrão): grafite + verde, amarelo e azul do sorriso */
:root {
  --ink: #2B3A40;
  --muted: #56666C;
  --bg: #FBF9F4;
  --surface: #FFFFFF;
  --soft: #F2F7F5;
  --line: #DDE5E7;
  --primary: #2B3A40;
  --primary-hover: #1B2529;
  --on-primary: #FFFFFF;
  --accent: #7FC9A4;
  --accent-2: #F3D57C;
  --accent-3: #84BBDF;
  --kicker: #1E5F47;
  --link: #2B3A40;
  --econ: #2E8F6B;
  --header-bg: rgba(251, 249, 244, .92);
  --header-ink: #2B3A40;
  --hero-bg: #FBF9F4;
  --hero-ink: #2B3A40;
  --hero-muted: #56666C;
  --hero-kicker: #1E5F47;
  --dark: #2B3A40;
  --on-dark: #F1F4F5;
  --on-dark-muted: #B9C6CB;
  --smile-1: #7FC9A4; --smile-2: #F3D57C; --smile-3: #84BBDF;
  --field-border: #6B7479; /* 4,8:1 sobre branco: o campo aparece (WCAG 1.4.11) */
  --radius: 20px;
  --shadow: none; /* peças chapadas: cartão branco com borda, sem sombra */
  --shadow-float: 0 18px 40px rgba(22, 32, 36, .14); /* só no que flutua sobre o conteúdo */
  color-scheme: light;
  --font-head: "Lato", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Lato", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Variáveis derivadas ficam no <body>, onde a classe da marca já aplicou as cores. */
body { --btn-bg: var(--primary); --btn-ink: var(--on-primary); }

/* BemGroup: preto + ouro sólido, só com as cores do Guia e das peças (n01 a n06). O degradê é do logotipo, não dos botões. */
.bem-brand--group {
  --ink: #1A1A1C;
  --muted: #5A5A5A;
  --bg: #FBF9F4;
  --soft: #F5EFDD;
  --line: #E3DCC8;
  --primary: #C9A227;
  --primary-hover: #F0DDA4;
  --on-primary: #0B0C0E;
  --accent: #C9A227;
  --accent-2: #F0DDA4;
  --accent-3: #8A6A1C;
  --kicker: #7A5D17; /* ouro escuro das peças, um tom abaixo para passar 4,5:1 também sobre o osso #F5EFDD */
  --link: #7A5D17;
  --econ: #8A6A1C;
  --header-bg: rgba(11, 12, 14, .94);
  --header-ink: #EDE7DA;
  --hero-bg: #0B0C0E;
  --hero-ink: #FFFFFF;
  --hero-muted: #A79A75;
  --hero-kicker: #C9A227;
  --dark: #0B0C0E;
  --on-dark: #EDE7DA;
  --on-dark-muted: #A79A75;
  --smile-1: #8A6A1C; --smile-2: #C9A227; --smile-3: #F0DDA4;
  --btn-bg: #C9A227;
  --field-border: #6E6A5E;
}

/* BemNegócios: família BemGroup, versão clara, com botão preto (peça n06) */
.bem-page--negocios {
  --header-bg: rgba(251, 249, 244, .94);
  --header-ink: #1A1A1C;
  --hero-bg: #FBF9F4;
  --hero-ink: #1A1A1C;
  --hero-muted: #5A5A5A;
  --hero-kicker: #7A5D17;
  --btn-bg: #1A1A1C;
  --btn-ink: #FFFFFF;
  --primary-hover: #0B0C0E;
}

/* BemParceiros: grafite + laranja */
.bem-brand--parceiros {
  --primary: #D9822B;
  --primary-hover: #E8964A; /* 6,5:1 com o texto grafite */
  --on-primary: #1E2629;
  --accent: #D9822B;
  --accent-2: #E9A866;
  --accent-3: #8C4A14;
  --kicker: #8C4A14;
  --link: #8C4A14;
  --econ: #8C4A14;
  --soft: #FDF6EE;
  --line: #EADFD2;
  --smile-1: #D9822B; --smile-2: #D9822B; --smile-3: #D9822B;
}

/* BemGlobal: azul-marinho + turquesa */
.bem-brand--global {
  --ink: #1C2B4A;
  --muted: #55637A;
  --soft: #F3F7FA;
  --line: #DCE2EC;
  --primary: #233C7E;
  --primary-hover: #1A2E62;
  --on-primary: #FFFFFF;
  --accent: #5FC7BE;
  --accent-2: #5FC7BE;
  --accent-3: #233C7E;
  --kicker: #186B66; /* turquesa escuro: 5,4:1 também sobre o fundo dos selos */
  --link: #233C7E;
  --econ: #1E7F78;
  --hero-bg: #233C7E;
  --hero-ink: #FFFFFF;
  --hero-muted: #D3DCEE;
  --hero-kicker: #5FC7BE;
  --dark: #1A2E62;
  --on-dark: #F1F4FA;
  --on-dark-muted: #B8C4DE;
  --smile-1: #5FC7BE; --smile-2: #5FC7BE; --smile-3: #5FC7BE;
  --field-border: #66708A;
}

.bem-brand--global .bem-hero .bem-btn--primary { background: #5FC7BE; color: #0F1F47; }
.bem-brand--global .bem-hero .bem-btn--primary:hover { background: #2FA79E; color: #0F1F47; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.18; letter-spacing: 0; text-wrap: balance; }
p, li, dd, .bem-lead, .bem-faq__answer { text-wrap: pretty; }
h3, h4 { font-weight: 700; letter-spacing: 0; line-height: 1.25; }
a { color: var(--link); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid #1B2529; outline-offset: 3px; border-radius: 6px; }
.bem-ecobar :focus-visible, .bem-footer :focus-visible, .bem-callout-box :focus-visible, .bem-stat :focus-visible,
.bem-section--doors :focus-visible, .bem-cookies :focus-visible,
.bem-brand--global .bem-hero :focus-visible, .bem-page--group .bem-hero :focus-visible, .bem-page--group .bem-header :focus-visible { outline-color: #fff; }
.bem-sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.bem-skip { position: absolute; left: 12px; top: -60px; z-index: 2000; padding: 10px 16px; border-radius: 10px; background: var(--primary); color: var(--on-primary); font-weight: 700; text-decoration: none; }
.bem-skip:focus { top: 12px; box-shadow: 0 0 0 3px #fff; }
main:focus { outline: none; }

.bem-container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.bem-main { display: block; }
.bem-section { padding: 88px 0; }
.bem-section--soft { background: var(--soft); }
.bem-kicker { display: block; margin: 0 0 12px; color: var(--kicker); font-size: 1rem; font-weight: 700; letter-spacing: .02em; }
.bem-title { margin: 0 0 18px; color: var(--ink); font-size: clamp(1.75rem, 3.2vw, 2.6rem); max-width: 24ch; }
.bem-title--page { max-width: 30ch; }
.bem-lead { max-width: 760px; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.22rem); }
.bem-section__link { margin: 28px 0 0; }
.bem-footnote { max-width: 860px; margin: 26px 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- Barra do ecossistema: o logo de cada marca leva ao site dela ---------- */
.bem-ecobar { background: #1B2427; color: #C9D3D7; font-size: .84rem; }
.bem-brand--group .bem-ecobar { background: #000; border-bottom: 1px solid #1d1d1d; }
.bem-brand--global .bem-ecobar { background: #16264F; }
.bem-ecobar__inner { display: flex; align-items: center; gap: 12px; min-height: 56px; }
.bem-ecobar__label { flex: none; margin-right: 6px; color: #A9B8BD; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.bem-ecobar__label:hover { color: #fff; text-decoration: underline; }
.bem-ecobar__nav { display: flex; align-items: center; gap: 4px; min-width: 0; }
.bem-ecobar__link { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 6px 14px; border-radius: 12px; text-decoration: none; transition: background .15s ease; }
.bem-ecobar__link:hover { background: rgba(255,255,255,.08); }
.bem-ecobar__link[aria-current] { background: rgba(255,255,255,.12); }
/* Marca atual: filete na cor da marca, embaixo do logo */
.bem-ecobar__link[aria-current]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: #7FC9A4; }
.bem-ecobar__link--group[aria-current]::after { background: #C9A227; }
.bem-ecobar__link--parceiros[aria-current]::after { background: #D9822B; }
.bem-ecobar__link--global[aria-current]::after { background: #5FC7BE; }
/* Alturas ajustadas para o "bem" das quatro marcas sair do mesmo tamanho (BemBrasil com 91 px e BemParceiros com 136 px: acima do mínimo do Guia) */
.bem-ecobar__logo { display: block; width: auto; height: 30px; }
.bem-ecobar__link--group .bem-ecobar__logo { height: 29px; }
.bem-ecobar__link--parceiros .bem-ecobar__logo { height: 34px; }
.bem-ecobar__link--global .bem-ecobar__logo { height: 22px; }
.bem-ecobar__icon { display: none; width: 32px; height: 32px; border-radius: 23%; }
.bem-brand--group .bem-ecobar__icon { box-shadow: 0 0 0 1px rgba(255,255,255,.22); }
.bem-ecobar__help { flex: none; margin-left: auto; padding: 12px 10px; color: #D5DEE1; font-weight: 700; text-decoration: none; white-space: nowrap; }
.bem-ecobar__help:hover, .bem-ecobar__help[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: .3em; }

/* ---------- Cabeçalho ---------- */
.bem-header { position: sticky; top: 0; z-index: 1000; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); transition: box-shadow .2s ease; }
.bem-page--group .bem-header { border-bottom-color: #22201b; }
.bem-header.is-scrolled { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.admin-bar .bem-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bem-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .bem-header { top: 0; } }
.bem-header__inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bem-brand { display: inline-flex; align-items: center; gap: 22px; flex: none; text-decoration: none; }
/* BemNegócios: pílula ouro separada do logo, como nas peças n01 e n_story */
.bem-brand__sub { padding: 5px 12px; border-radius: 999px; background: #C9A227; color: #0B0C0E; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.bem-logo { display: block; height: 44px; width: auto; }
.bem-nav { display: flex; align-items: center; gap: 26px; }
.bem-nav__list { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; font-weight: 700; font-size: .95rem; }
.bem-nav__list a { color: var(--header-ink); text-decoration: none; }
.bem-nav__list a { white-space: nowrap; }
.bem-nav__list a:hover, .bem-nav__list a[aria-current] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: .45em; }
.bem-nav__away { opacity: .7; }
.bem-nav__eco { display: none; }
.bem-nav__cta { min-height: 42px !important; padding: 9px 18px !important; font-size: .92rem; white-space: nowrap; }
.bem-menu-toggle { display: none; flex: none; width: 46px; height: 46px; border: 1px solid rgba(128,128,128,.45); border: 1px solid color-mix(in srgb, var(--header-ink) 25%, transparent); border-radius: 12px; background: transparent; color: var(--header-ink); cursor: pointer; }
.bem-menu-toggle__bars, .bem-menu-toggle__bars::before, .bem-menu-toggle__bars::after { display: block; width: 20px; height: 2px; margin: auto; border-radius: 2px; background: currentColor; position: relative; content: ""; transition: transform .2s ease; }
.bem-menu-toggle__bars::before { position: absolute; top: -6px; }
.bem-menu-toggle__bars::after { position: absolute; top: 6px; }
.bem-menu-toggle[aria-expanded="true"] .bem-menu-toggle__bars { background: transparent; }
.bem-menu-toggle[aria-expanded="true"] .bem-menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.bem-menu-toggle[aria-expanded="true"] .bem-menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Botões ---------- */
.bem-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.bem-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; background-origin: border-box; min-height: 50px; padding: 12px 24px; border: 1px solid transparent; border-radius: 999px; font: inherit; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.bem-btn--primary { background: var(--btn-bg); color: var(--btn-ink); }
.bem-btn--primary:hover { color: var(--btn-ink); background: var(--primary-hover); transform: translateY(-1px); }
.bem-btn--ghost { color: var(--ink); background: transparent; border-color: rgba(43,58,64,.35); border-color: color-mix(in srgb, var(--ink) 28%, transparent); }
.bem-btn--ghost:hover { color: var(--ink); background: var(--surface); border-color: var(--ink); }

/* ---------- Hero ---------- */
.bem-hero { position: relative; overflow: hidden; background: var(--hero-bg); color: var(--hero-ink); }
.bem-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; padding: 84px 0 96px; min-height: 560px; }
.bem-hero .bem-kicker { color: var(--hero-kicker); }
.bem-hero h1 { margin: 0 0 22px; color: var(--hero-ink); font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1.1; letter-spacing: -.005em; max-width: 17ch; }
.bem-hero--long h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); max-width: 21ch; }
.bem-hero__lead { max-width: 640px; margin: 0; color: var(--hero-muted); font-size: clamp(1.1rem, 2vw, 1.3rem); }
.bem-hero__bullets { display: grid; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--hero-ink); font-weight: 700; }
.bem-hero__bullets li { display: flex; gap: 10px; align-items: baseline; }
.bem-hero__bullets li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); transform: translateY(-1px); }
.bem-hero .bem-btn--ghost { color: var(--hero-ink); border-color: currentColor; border-color: color-mix(in srgb, var(--hero-ink) 35%, transparent); }
.bem-hero .bem-btn--ghost:hover { background: color-mix(in srgb, var(--hero-ink) 10%, transparent); }
.bem-hero__side { position: relative; display: grid; align-items: start; justify-items: end; align-self: start; padding-top: 44px; }
.bem-page--brasil .bem-hero__side { align-self: center; padding-top: 0; }
.bem-hero__card { display: flex; align-items: center; gap: 18px; width: min(420px, 100%); padding: 22px 24px; border-radius: 24px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); border: 1px solid var(--line); }
.bem-hero__card-icon { flex: none; width: 72px; height: 72px; border-radius: 18px; }
.bem-hero__card-body { display: grid; gap: 2px; }
.bem-hero__card-label { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bem-hero__card-value { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.1; color: var(--ink); }
.bem-page--brasil .bem-hero__card-value { color: var(--econ); }
.bem-hero__card-text { color: var(--muted); font-size: .95rem; line-height: 1.45; }
.bem-hero__below { position: relative; z-index: 2; margin-top: -44px; }
.bem-hero__card--wide { width: 100%; max-width: none; }

/* "O que você procura?" — a bifurcação da home */
.bem-routes { width: min(440px, 100%); padding: 24px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.bem-routes__title { margin: 0 0 14px; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.bem-routes ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bem-routes__link { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; padding: 13px 14px 13px 16px; border-radius: 14px; background: var(--soft); color: var(--ink); font-weight: 700; text-decoration: none; border-left: 5px solid #7FC9A4; transition: transform .15s ease, background .15s ease; }
.bem-routes__link:hover { color: var(--ink); background: color-mix(in srgb, var(--soft) 60%, #fff); transform: translateX(2px); }
.bem-routes__link--group { border-left-color: #C9A227; }
.bem-routes__link--parceiros { border-left-color: #D9822B; }
.bem-routes__link--global { border-left-color: #5FC7BE; }
.bem-routes__brand { display: inline-flex; align-items: center; font-size: .88rem; font-weight: 700; color: var(--muted); }

/* Persona "Bem" ao lado do título da seção (só BemBrasil) */
.bem-section__head--persona { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.bem-persona { flex: none; width: 112px; height: 112px; border-radius: 26px; border: 1.5px solid #E4EAE9; }

/* ---------- Grids e cards ---------- */
.bem-grid { display: grid; gap: 20px; margin-top: 36px; }
.bem-grid--4 { grid-template-columns: repeat(4, 1fr); }
.bem-grid--3 { grid-template-columns: repeat(3, 1fr); }
.bem-grid--2 { grid-template-columns: repeat(2, 1fr); }
.bem-grid--5 { grid-template-columns: repeat(6, 1fr); }
.bem-grid--5 > * { grid-column: span 2; }
.bem-grid--5 > :nth-child(4) { grid-column: 2 / 4; }
.bem-grid--5 > :nth-child(5) { grid-column: 4 / 6; }
.bem-card { position: relative; margin: 0; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.bem-card h3 { margin: 0 0 10px; color: var(--ink); font-size: 1.22rem; }
.bem-card p { margin: 0; color: var(--muted); }
.bem-card p + p { margin-top: 10px; }
.bem-card__eyebrow { display: inline-flex; margin-bottom: 12px; padding: 5px 11px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 22%, var(--surface)); color: var(--kicker); font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.bem-card__value { display: block; margin-bottom: 6px; font-family: var(--font-head); font-size: 2rem; line-height: 1.05; color: var(--ink); }
.bem-card__label { margin-top: 10px !important; font-size: .9rem; font-weight: 700; }

/* Passos */
.bem-steps { counter-reset: bemsteps; list-style: none; padding: 0; }
.bem-step { padding-top: 76px; }
.bem-step::before { counter-increment: bemsteps; content: counter(bemsteps); position: absolute; top: 24px; left: 26px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }

/* Faz / não faz */
.bem-split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
.bem-listbox { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.bem-listbox--dont { background: var(--soft); }
.bem-listbox h3 { margin: 0 0 16px; color: var(--kicker); font-size: 1.25rem; }
.bem-checklist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
/* Marcador de lista = bolinha, como nas peças; "não faz" = anel de traço constante */
.bem-checklist li, .bem-contact__bullets li, .bem-dots li { position: relative; padding-left: 26px; }
.bem-checklist li::before, .bem-contact__bullets li::before, .bem-dots li::before { content: ""; position: absolute; left: 0; top: .5em; width: .62em; height: .62em; border-radius: 50%; background: var(--dot, var(--accent)); }
.bem-listbox--dont .bem-checklist li::before { background: transparent; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ink) 45%, transparent); }
/* Lista de categorias da peça 04: verde, amarelo, azul, em ordem de leitura */
.bem-dots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; max-width: 860px; margin: 32px 0 0; padding: 0; list-style: none; font-size: 1.125rem; color: var(--ink); }
.bem-dots--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
.bem-brand--brasil .bem-dots li:nth-child(3n+1) { --dot: #7FC9A4; }
.bem-brand--brasil .bem-dots li:nth-child(3n+2) { --dot: #F3D57C; }
.bem-brand--brasil .bem-dots li:nth-child(3n+3) { --dot: #84BBDF; }

/* Preços */
.bem-pricing { align-items: stretch; }
.bem-plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; }
.bem-plan--highlight { border: 2px solid var(--primary); }
.bem-page--negocios .bem-plan--highlight { border-color: #C9A227; }
.bem-plan__badge { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-ink); font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.bem-plan__badge--empty { visibility: hidden; }
.bem-plan__name { margin: 0; font-size: 1.2rem; color: var(--ink); }
.bem-plan__price { margin: 0; color: var(--muted); }
.bem-plan__price strong { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 2.9rem); line-height: 1; color: var(--ink); letter-spacing: 0; }
.bem-plan__text { margin: 0; color: var(--muted); }

/* Tabela */
.bem-table-wrap { margin-top: 36px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.bem-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.bem-table th, .bem-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.bem-table thead th { background: var(--dark); color: var(--on-dark); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.bem-table tbody th { color: var(--ink); font-weight: 700; }
.bem-table td { color: var(--muted); }
.bem-table .bem-nowrap { white-space: nowrap; font-weight: 700; color: var(--ink); }
.bem-table tbody tr:last-child > * { border-bottom: 0; }
.bem-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--soft) 55%, var(--surface)); }

/* Números */
.bem-stats { gap: 16px; }
.bem-stat { padding: 28px; border-radius: var(--radius); background: var(--dark); color: var(--on-dark); }
.bem-stat strong { display: block; margin-bottom: 8px; font-family: var(--font-head); font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; color: var(--on-dark); }
.bem-brand--group .bem-stat strong { color: #C9A227; }
.bem-brand--global .bem-stat strong { color: #5FC7BE; }
.bem-stat span { display: block; color: var(--on-dark); font-weight: 700; }
.bem-stat__eyebrow { margin-bottom: 10px; color: var(--on-dark-muted) !important; font-size: .74rem; font-weight: 700 !important; letter-spacing: .1em; text-transform: uppercase; }
.bem-stat__text { display: block; margin-top: 8px; color: var(--on-dark-muted); font-size: .92rem; line-height: 1.45; }

/* Perguntas frequentes */
.bem-faq { display: grid; gap: 12px; max-width: 860px; margin-top: 32px; }
.bem-faq__item { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.bem-faq__item summary { position: relative; padding: 20px 56px 20px 22px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.bem-faq__item summary::-webkit-details-marker { display: none; }
.bem-faq__ico { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--kicker); }
.bem-faq__item[open] .bem-faq__ico-v { display: none; }
.bem-faq__item summary:hover { color: var(--kicker); }
.bem-ico { display: inline-block; flex: none; vertical-align: -.14em; margin-left: .35em; }
.bem-faq__answer { padding: 0 22px 20px; color: var(--muted); }
.bem-faq__answer p { margin: 0; }

/* Linha do tempo */
.bem-timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 20px; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: bemtl; }
.bem-timeline__item { position: relative; padding: 26px 24px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--accent); }
.bem-brand--brasil .bem-timeline__item:nth-child(3n+2) { border-top-color: #F3D57C; }
.bem-brand--brasil .bem-timeline__item:nth-child(3n+3) { border-top-color: #84BBDF; }
.bem-timeline__when { display: block; margin-bottom: 8px; color: var(--kicker); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bem-timeline__item h3 { margin: 0 0 8px; font-size: 1.15rem; }
.bem-timeline__item p { margin: 0; color: var(--muted); }

/* Destaque */
.bem-callout-box { padding: clamp(28px, 5vw, 56px); border-radius: 28px; background: var(--dark); color: var(--on-dark); }
.bem-callout-box .bem-title { color: var(--on-dark); }
.bem-callout-box .bem-kicker { color: var(--on-dark-muted); }
.bem-callout-box .bem-lead { color: var(--on-dark-muted); }
.bem-callout-box .bem-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); box-shadow: none; }
.bem-callout-box .bem-card h3, .bem-callout-box .bem-card__value { color: var(--on-dark); }
.bem-callout-box .bem-card p { color: var(--on-dark-muted); }
.bem-callout-box .bem-card__eyebrow { background: rgba(255,255,255,.1); color: var(--on-dark); }

/* Ecossistema (home BemBrasil) */
.bem-section--ecosystem { background: var(--surface); }
.bem-eco__card { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 260px; margin: 0; padding: 28px; border-radius: 24px; color: #F1F4F5; background: #2B3A40; box-shadow: inset 0 -6px 0 var(--stripe, #7FC9A4); transition: transform .2s ease, box-shadow .2s ease; }
.bem-eco__card p, .bem-eco__card h3 { margin: 0; }
.bem-eco__card:hover { transform: translateY(-3px); box-shadow: inset 0 -6px 0 var(--stripe, #7FC9A4), var(--shadow-float); }
.bem-eco__card:focus-within { outline: 3px solid #1B2529; outline-offset: 3px; }
.bem-eco__card--group { background: #0B0C0E; --stripe: #C9A227; }
.bem-eco__card--parceiros { background: #2B3A40; --stripe: #D9822B; }
.bem-eco__card--global { background: #233C7E; --stripe: #5FC7BE; }
.bem-eco__img { height: 40px; width: auto; }
.bem-eco__card--group .bem-eco__img, .bem-door--group .bem-door__img { height: 46px; }
.bem-eco__audience { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.bem-eco__text { flex: 1; color: rgba(255,255,255,.86); }
.bem-eco__price { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: #fff; }
.bem-eco__cta { font-weight: 700; text-decoration: none; }
.bem-eco__cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* o card inteiro é clicável */
.bem-eco__cta:hover, .bem-eco__cta:focus-visible { outline: none; text-decoration: underline; text-underline-offset: .25em; }
.bem-eco__card--brasil .bem-eco__cta { color: #7FC9A4; }
.bem-eco__card--group .bem-eco__cta { color: #C9A227; }
.bem-eco__card--parceiros .bem-eco__cta { color: #F0A860; } /* o âmbar #D9822B não passa 4,5:1 sobre o grafite em texto pequeno */
.bem-eco__card--global .bem-eco__cta { color: #5FC7BE; }

/* Quem somos */
.bem-founder h3 { font-size: 1.3rem; margin-bottom: 4px; }
.bem-founder__role { margin-bottom: 12px !important; color: var(--kicker) !important; font-weight: 700; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }

/* Quem somos */
.bem-founder { padding-top: 28px; }
.bem-founder__mark { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 50%; font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; color: #1B2529; background: #7FC9A4; }
.bem-founder__mark--1 { background: #84BBDF; }
.bem-founder__mark--2 { background: #F3D57C; }
.bem-about__marks { display: grid; grid-template-columns: repeat(2, minmax(0, 150px)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.bem-about__marks a { display: block; border-radius: 26%; transition: transform .2s ease; }
.bem-about__marks a:hover { transform: translateY(-3px) rotate(-2deg); }
.bem-about__marks img { display: block; width: 100%; height: auto; border-radius: 24%; box-shadow: 0 0 0 1px var(--line); }
.bem-about .bem-hero__side { align-self: center; padding-top: 0; justify-items: center; }

/* Três portas (chamada final) */
.bem-section--doors { background: var(--dark); color: var(--on-dark); }
.bem-section--doors .bem-title, .bem-section--doors .bem-kicker { color: var(--on-dark); }
.bem-section--doors .bem-lead { color: var(--on-dark-muted); }
.bem-door { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.bem-door__img { height: 30px; width: auto; }
.bem-door h3 { margin: 6px 0 0; color: #fff; font-size: 1.25rem; }
.bem-door p { margin: 0; color: var(--on-dark-muted); flex: 1; }
.bem-btn--door { align-self: flex-start; margin-top: 8px; background: #fff; color: #1B2529; }
.bem-btn--door:hover { color: #1B2529; background: #F2F7F5; transform: translateY(-1px); }
.bem-door--parceiros .bem-btn--door { background: #D9822B; color: #1E2629; }
.bem-door--group .bem-btn--door { background: #C9A227; color: #0B0C0E; }
.bem-door--group .bem-btn--door:hover { background: #F0DDA4; color: #0B0C0E; }
.bem-door--parceiros .bem-btn--door:hover { background: #E9A866; color: #1E2629; }

/* Contato */
.bem-section--contact { background: var(--soft); border-top: 1px solid var(--line); }
.bem-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.bem-contact__bullets { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; font-weight: 700; }
.bem-contact__form { padding: clamp(22px, 4vw, 36px); border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }

/* ---------- Formulário ---------- */
.bem-form { display: grid; gap: 16px; }
.bem-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bem-field { display: grid; gap: 7px; align-content: start; }
.bem-field > label { font-weight: 700; font-size: .95rem; color: var(--ink); }
.bem-form input, .bem-form textarea, .bem-form select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--field-border); border-radius: 12px; font: inherit; font-weight: 400; color: var(--ink); background: #fff; }
.bem-form textarea { min-height: 120px; resize: vertical; }
.bem-form select { appearance: none; -webkit-appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232B3A40' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center; }
.bem-form input:focus, .bem-form textarea:focus, .bem-form select:focus { outline: 3px solid #1B2529; outline-offset: 2px; border-color: #1B2529; }
.bem-form [aria-invalid="true"], .bem-form input:user-invalid, .bem-form textarea:user-invalid { border: 2px solid #A33A3A; }
.bem-field__error { margin: 0; color: #8F2F2F; font-weight: 700; font-size: .92rem; }
.bem-form__errors ul { margin: 6px 0 0; padding-left: 1.2em; font-weight: 400; }
.bem-form__errors p { margin: 0; }
.bem-form__errors a { color: inherit; }
.bem-form .bem-form__consent { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; color: var(--muted); }
.bem-form__consent input { width: 24px; min-height: 24px; height: 24px; margin: 1px 0 0; flex: none; accent-color: #1B2529; }
.bem-form__consent input:focus-visible { outline: 3px solid #1B2529; outline-offset: 3px; }
.bem-form__required { margin: 0; color: var(--muted); font-size: .88rem; }
.bem-req { color: #A33A3A; font-weight: 700; }
.bem-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.bem-form .bem-btn { justify-self: start; min-width: 220px; }
.bem-alert { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; background: #EAF3EF; color: #1E5F47; border: 1px solid #CFE3DA; font-weight: 700; }
.bem-alert__persona { flex: none; width: 44px; height: 44px; border-radius: 12px; }
.bem-alert--error { background: #FDEEEE; color: #8F2F2F; border-color: #F0C5C5; }

/* ---------- Páginas internas ---------- */
.bem-page-hero { padding: 72px 0 40px; background: var(--soft); }
.bem-page-hero .bem-title { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.bem-page-hero .bem-title + .bem-lead { margin-top: 16px; }
.bem-page { padding: 48px 0 90px; }
.bem-prose { max-width: 820px; }
.bem-prose h2 { margin: 44px 0 14px; font-size: 1.7rem; }
.bem-prose h3 { margin: 30px 0 10px; font-size: 1.25rem; }
.bem-prose p, .bem-prose li { color: color-mix(in srgb, var(--ink) 85%, var(--bg)); }
.bem-prose .bem-form { margin-top: 26px; max-width: 720px; }
.bem-post-summary { padding: 22px 0; border-bottom: 1px solid var(--line); }
.bem-post-summary h2 { margin: 0 0 8px; }
.alignwide { width: min(1160px, calc(100vw - 40px)); max-width: none; margin-inline: calc(50% - min(580px, 50vw - 20px)); }
.wp-block-image img { border-radius: 16px; }

/* Central de ajuda */
.bem-help__notices { margin-top: 72px; }
.bem-help__phase { max-width: 860px; margin-top: 28px; padding: 20px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--accent); }
.bem-help__phase p { margin: 0; color: var(--muted); }
.bem-help__tools { max-width: 620px; margin: 22px 0 6px; }
.bem-help__search-label { display: block; margin-bottom: 8px; font-weight: 700; }
.bem-help__search { width: 100%; min-height: 52px; padding: 12px 18px; border: 1px solid var(--field-border); border-radius: 999px; font: inherit; color: var(--ink); background: #fff; }
.bem-help__search:focus { outline: 3px solid #1B2529; outline-offset: 2px; }
.bem-help__count { min-height: 1.5em; margin: 8px 0 0; color: var(--muted); font-size: .92rem; }
.bem-help__jump-aud, .bem-help__group-aud { color: var(--muted); font-weight: 400; }
.bem-help__jump-aud { margin-left: .3em; }
.bem-help__more { margin: 16px 0 0; }
.bem-help__empty { margin-top: 28px; font-weight: 700; }
.bem-help__notice-title { margin: 0 0 8px; font-size: 1.15rem; }
.bem-help__jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; padding: 0; list-style: none; }
.bem-help__jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; }
.bem-help__jump a:hover { border-color: var(--ink); }
.bem-help__group { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.bem-help__group h3 { margin: 0; font-size: 1.5rem; }
.bem-help__group .bem-faq { margin-top: 14px; }
.bem-help__contact { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }

/* Aviso de cookies */
.bem-cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1500; display: flex; align-items: center; gap: 16px; max-width: 760px; margin-inline: auto; padding: 14px 16px 14px 20px; border-radius: 18px; background: #1B2529; color: #E6ECEE; box-shadow: var(--shadow-float); font-size: .93rem; }
.bem-cookies[hidden] { display: none; }
.bem-cookies p { margin: 0; }
.bem-cookies a { color: #fff; }
.bem-cookies .bem-btn { flex: none; min-height: 42px; padding: 8px 18px; background: #fff; color: #1B2529; }

/* ---------- Rodapé ---------- */
.bem-footer { padding: 64px 0 28px; background: var(--dark); color: var(--on-dark); }
.bem-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.bem-footer__logo { display: inline-block; margin-bottom: 14px; }
.bem-footer p { margin: 0 0 10px; color: var(--on-dark-muted); }
.bem-footer a { color: var(--on-dark); text-decoration: none; }
.bem-footer a:hover { text-decoration: underline; }
.bem-footer a[aria-current] { font-weight: 700; text-decoration: underline; }
.bem-footer ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.bem-footer__contact { margin-top: 16px !important; }
.bem-footer__title { margin: 4px 0 14px; color: var(--on-dark); font-size: .82rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.bem-footer__muted { color: var(--on-dark-muted); font-weight: 400; }
.bem-footer__legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .9rem; }
.bem-footer__legal a { text-decoration: underline; }

/* ---------- Componentes novos ---------- */
/* Linha curta abaixo dos botões do topo: o que acontece ao clicar */
.bem-hero__note { max-width: 560px; margin: 14px 0 0; color: var(--hero-muted); font-size: .95rem; }

/* A conta (peça 03): uma linha por uso, "economiza R$ X" na cor de economia da marca */
.bem-conta { display: grid; gap: 10px; max-width: 920px; margin: 36px 0 0; padding: 0; list-style: none; }
.bem-conta__row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(15ch, auto); align-items: center; gap: 4px 28px; padding: 16px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.bem-conta__row:nth-child(even) { background: var(--soft); }
.bem-conta__row:last-child { border: 2px solid var(--ink); }
.bem-conta__item, .bem-conta__gasto, .bem-conta__econ { font-size: 1.1875rem; line-height: 1.3; }
.bem-conta__item { color: var(--ink); font-weight: 700; }
.bem-conta__gasto { color: var(--muted); text-align: right; white-space: nowrap; }
.bem-conta__econ { color: var(--econ); font-weight: 700; text-align: right; white-space: nowrap; }
.bem-conta__nota { grid-column: 1 / -1; color: var(--muted); font-size: .92rem; }

/* Calculadora (aparece só com JavaScript) */
.bem-calc { max-width: 920px; margin-top: 28px; padding: clamp(22px, 4vw, 32px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--econ); }
.bem-calc[hidden] { display: none; }
.bem-calc__title { margin: 0 0 6px; font-size: 1.35rem; }
.bem-calc__lead { margin: 0; color: var(--muted); }
.bem-calc__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.bem-calc__field label { display: block; margin-bottom: 6px; font-weight: 700; }
.bem-calc__rate { display: block; color: var(--muted); font-size: .85rem; font-weight: 400; }
.bem-calc__money { display: flex; align-items: center; gap: 6px; min-height: 50px; padding: 0 12px; border: 1px solid var(--field-border); border-radius: 12px; background: #fff; color: var(--muted); }
.bem-calc__money:focus-within { outline: 3px solid #1B2529; outline-offset: 2px; border-color: #1B2529; }
.bem-calc__money input { flex: 1; min-width: 0; min-height: 48px; border: 0; padding: 0; font: inherit; font-size: 1.1rem; color: var(--ink); background: transparent; outline: none; }
.bem-calc__result { display: block; margin-top: 20px; font-size: 1.25rem; line-height: 1.45; color: var(--ink); }
.bem-calc__result strong { color: var(--econ); }
.bem-calc__disclaimer { margin: 12px 0 0; color: var(--muted); font-size: .9rem; }

/* No computador, a conta e a calculadora lado a lado (só quando a calculadora aparece) */
@media (min-width: 1081px) {
  .bem-conta-layout:has(> .bem-calc:not([hidden])) { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
  .bem-conta-layout:has(> .bem-calc:not([hidden])) .bem-conta { max-width: none; }
  .bem-conta-layout .bem-calc { margin-top: 36px; position: sticky; top: 104px; }
  .bem-conta-layout .bem-calc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Lista com bolinhas: exemplos em texto menor */
.bem-dots li strong { display: block; }
.bem-dots__text { display: block; color: var(--muted); font-size: .95rem; }

/* Trilha */
.bem-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; font-size: .9rem; font-weight: 700; }
.bem-crumbs li { color: var(--muted); }
.bem-crumbs li + li::before { content: "›"; content: "›" / ""; margin-right: 6px; color: var(--muted); }
.bem-crumbs a { color: var(--kicker); }
.bem-hero .bem-crumbs li, .bem-hero .bem-crumbs li::before { color: var(--hero-muted); }
.bem-hero .bem-crumbs a { color: var(--hero-kicker); }

/* Fundadoras em resumo na home (a história completa fica em /quem-somos) */
.bem-section--founders-compact .bem-founder { display: flex; align-items: center; gap: 18px; padding: 22px 24px; }
.bem-section--founders-compact .bem-founder__mark { margin: 0; flex: none; }
.bem-section--founders-compact .bem-founder__role { margin: 0 !important; }

/* 404 */
.bem-404 { margin: 0; padding: 0; list-style: none; }
.bem-404__link { display: flex; align-items: center; gap: 14px; height: 100%; padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.bem-404__link:hover { border-color: var(--ink); }
.bem-404__link img { flex: none; border-radius: 23%; }
.bem-404__link span span { display: block; color: var(--muted); font-size: .92rem; }

/* Ferramentas de acessibilidade na barra do topo */
.bem-icon { display: inline-block; flex: none; vertical-align: middle; }
.bem-ecobar__tools { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.bem-ecobar__tool { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 6px 10px; border: 0; border-radius: 10px; background: transparent; color: #D5DEE1; font: inherit; font-size: .84rem; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
.bem-ecobar__tool:hover, .bem-ecobar__tool[aria-current] { color: #fff; background: rgba(255,255,255,.08); }
.bem-ecobar__tool[aria-pressed="true"] { color: #1B2427; background: #FFE600; }
.bem-ecobar__help { margin-left: 4px; }
.bem-nav__tools { display: none; }
.bem-footer__a11y { display: inline-flex; align-items: center; gap: 8px; }

/* Barra de ação do celular (aparece com o menu recolhido) */
.bem-actionbar { display: none; }

/* Aviso de armazenamento aberto: espaço reservado embaixo, para não cobrir o foco */
html.bem-has-cookies { scroll-padding-bottom: var(--bem-cookies-h, 120px); }
html.bem-has-cookies body { padding-bottom: var(--bem-cookies-h, 120px); }

/* Troca de página com esmaecimento (Chrome, Edge e Safari; nos outros, nada muda) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .bem-ecobar { view-transition-name: bem-ecobar; }
}

/* ---------- Responsivo ---------- */
/* Barra do ecossistema: sem o rótulo quando aperta; no celular, só o ícone de cada marca (Guia: logo abaixo de 90 px vira ícone) */
@media (max-width: 1279px) { .bem-ecobar__tool-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; } }
@media (max-width: 860px) { .bem-ecobar__label { display: none; } }
@media (max-width: 720px) {
  .bem-ecobar__inner { min-height: 52px; gap: 8px; }
  .bem-ecobar__label { display: inline; }
  .bem-ecobar__logo { display: none; }
  .bem-ecobar__icon { display: block; }
  .bem-ecobar__link { min-width: 48px; min-height: 48px; padding: 6px 10px; }
  .bem-ecobar__link[aria-current]::after { left: 12px; right: 12px; bottom: 2px; }
  .bem-ecobar__tool { display: none; }
}
@media (max-width: 480px) { .bem-ecobar__help { display: none; } .bem-ecobar__nav { margin-left: auto; } }
@media (max-width: 359px) { .bem-ecobar__label { display: none; } .bem-ecobar__nav { margin-inline: auto; } }
/* Menu recolhido (hambúrguer) até 1180 px: entre 981 e 1180 px o menu completo quebrava linha */
@media (max-width: 1180px) {
  html.js .bem-menu-toggle { display: inline-grid; place-items: center; }
  html.js .bem-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 18px max(20px, calc((100% - 1160px) / 2)) 24px; background: var(--hero-bg); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(0,0,0,.12); }
  html.js .bem-brand--global .bem-nav, html.js .bem-brand--brasil .bem-nav, html.js .bem-brand--parceiros .bem-nav { background: var(--bg); }
  html.js .bem-nav.is-open { display: flex; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); overflow-y: auto; overscroll-behavior: contain; }
  html.js .bem-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  html.js .bem-nav__list a { display: flex; align-items: center; min-height: 48px; padding: 10px 4px; border-bottom: 1px solid color-mix(in srgb, var(--header-ink) 12%, transparent); }
  html.js .bem-nav__list a[aria-current] { text-decoration: none; box-shadow: inset 4px 0 0 var(--accent); padding-left: 14px; }
  html.js .bem-nav__cta { width: 100%; }
  html.js .bem-nav__eco { display: block; padding-top: 6px; border-top: 1px solid color-mix(in srgb, var(--header-ink) 12%, transparent); }
  html.js .bem-nav__eco-title { margin: 6px 0; color: var(--header-ink); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
  html.js .bem-nav__eco ul { display: grid; margin: 0; padding: 0; list-style: none; }
  html.js .bem-nav__eco a { display: flex; align-items: center; gap: 12px; min-height: 48px; color: var(--header-ink); text-decoration: none; }
  html.js .bem-nav__eco a:hover strong { text-decoration: underline; }
  html.js .bem-nav__eco img { flex: none; width: 28px; height: 28px; border-radius: 23%; }
  html.js .bem-nav__eco a span { margin-left: auto; font-size: .9rem; opacity: .75; }
  html.js .bem-nav__eco a[aria-current] strong { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: .3em; }
  html.js .bem-nav__tools { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--header-ink) 12%, transparent); }
  html.js .bem-nav__tools .bem-btn { min-height: 44px; padding: 8px 16px; color: var(--header-ink); border-color: color-mix(in srgb, var(--header-ink) 35%, transparent); font-size: .92rem; }
  html.js .bem-nav__tools .bem-btn[aria-pressed="true"] { background: #FFE600; color: #1B2427; border-color: #1B2427; }
  /* Barra de ação: existe quando o botão principal está dentro do hambúrguer */
  .bem-actionbar { position: fixed; inset: auto 0 0 0; z-index: 1400; display: flex; gap: 8px; align-items: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--header-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); box-shadow: 0 -8px 24px rgba(0,0,0,.08); transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
  .bem-actionbar.is-visible { transform: none; visibility: visible; transition: transform .25s ease; }
  .bem-actionbar__cta { flex: 1; min-height: 48px; padding-inline: 16px; }
  .bem-actionbar__top { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--header-ink) 30%, transparent); color: var(--header-ink); }
  .has-actionbar .bem-cookies { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  html.bem-has-cookies .has-actionbar { padding-bottom: calc(var(--bem-cookies-h, 120px) + 78px); }
  /* Foco nunca atrás da barra (WCAG 2.4.11): a rolagem para o item deixa a altura dela livre */
  html:has(> body.has-actionbar) { scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  html.bem-has-cookies:has(> body.has-actionbar) { scroll-padding-bottom: calc(var(--bem-cookies-h, 120px) + 88px); }
  html.bem-has-cookies .bem-nav.is-open { max-height: calc(100dvh - 150px - var(--bem-cookies-h, 120px)); }
  /* Sem JavaScript: o menu fica à vista, quebrando linha, e o botão do menu não aparece */
  html:not(.js) .bem-header__inner { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .bem-nav { flex-wrap: wrap; gap: 10px 20px; width: 100%; }
  html:not(.js) .bem-nav__list { flex-wrap: wrap; gap: 6px 18px; }
}
@media (max-width: 1080px) {
  .bem-nav__list { gap: 16px; }
}
@media (max-width: 980px) {
  .bem-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .bem-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .bem-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .bem-grid--5 > *, .bem-grid--5 > :nth-child(4), .bem-grid--5 > :nth-child(5) { grid-column: auto; }
  .bem-hero__grid { grid-template-columns: 1fr; gap: 28px; min-height: 0; padding: 64px 0 80px; }
  .bem-hero__side { justify-items: start; }
  .bem-hero__below { margin-top: -36px; }
  .bem-contact { grid-template-columns: 1fr; gap: 28px; }
  .bem-footer__grid { grid-template-columns: 1fr 1fr; }
  .bem-footer__about { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body { font-size: 1rem; }
  .bem-container { width: min(100% - 32px, 1160px); }
  .bem-section { padding: 64px 0; }
  .bem-grid--4, .bem-grid--3, .bem-grid--2, .bem-grid--5, .bem-split, .bem-form__row, .bem-footer__grid { grid-template-columns: 1fr; }
  .bem-card, .bem-stat, .bem-listbox { padding: 22px; }
  .bem-step { padding-top: 72px; }
  .bem-hero__grid { padding: 44px 0 72px; }
  .bem-hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .bem-hero__card { padding: 18px; gap: 14px; }
  .bem-hero__card-icon { width: 56px; height: 56px; border-radius: 14px; }
  .bem-routes { padding: 18px; }
  .bem-about__marks { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; }
  .bem-section__head--persona { flex-direction: row; align-items: flex-start; gap: 14px; }
  .bem-persona { width: 64px; height: 64px; border-radius: 15px; }
  .bem-brand { gap: 12px; }
  .bem-brand__sub { font-size: .66rem; padding: 4px 9px; }
  .bem-actions .bem-btn, .bem-form .bem-btn { width: 100%; }
  .bem-logo { height: 36px; }
  /* Tabela vira cartões no celular */
  .bem-table thead { display: none; }
  .bem-table, .bem-table tbody, .bem-table tr, .bem-table th, .bem-table td { display: block; width: 100%; }
  .bem-table tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .bem-table tbody tr:last-child { border-bottom: 0; }
  .bem-table th, .bem-table td { padding: 3px 0; border: 0; }
  .bem-table td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--ink); }
  .bem-table td[data-label=""]::before, .bem-table--2col td::before { content: none; }
  .bem-table .bem-nowrap { white-space: normal; }
  /* Cabeçalho da tabela escondido só da vista: o leitor de tela continua com as colunas */
  .bem-table thead { display: block; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .bem-conta__row { grid-template-columns: minmax(0, 1fr) auto; padding: 14px 18px; }
  .bem-conta__econ { grid-column: 1 / -1; text-align: left; }
  .bem-calc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bem-dots, .bem-dots--3 { grid-template-columns: 1fr; }
  .bem-footer ul { gap: 0; }
  .bem-footer ul a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 0; }
  .bem-cookies { flex-direction: row; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; font-size: .86rem; }
  .bem-cookies .bem-btn { width: auto; min-height: 44px; padding: 8px 16px; }
  .bem-section--founders-compact .bem-founder { padding: 18px; }
  .bem-help__phase { padding: 16px 18px; }
}
@media (max-width: 359px) { .bem-calc__grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
  .bem-cookies { flex-direction: column; align-items: stretch; }
  .bem-header__inner { gap: 12px; }
  .bem-page--negocios .bem-brand { flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
  .bem-page--negocios .bem-logo { height: 30px; }
}
/* ---------- Alto contraste (botão na barra do topo): preto, branco e amarelo em todas as marcas ---------- */
html.bem-contraste body[class] {
  --ink: #000; --muted: #1A1A1A; --bg: #FFF; --surface: #FFF; --soft: #FFF; --line: #000;
  --link: #0033CC; --kicker: #000; --econ: #000; --dot: #000; --accent: #000;
  --primary: #000; --primary-hover: #333; --on-primary: #FFF; --btn-bg: #000; --btn-ink: #FFF;
  --hero-bg: #000; --hero-ink: #FFF; --hero-muted: #FFF; --hero-kicker: #FFE600;
  --header-bg: #FFF; --header-ink: #000; --dark: #000; --on-dark: #FFF; --on-dark-muted: #FFF;
  --field-border: #000; --shadow-float: none;
}
html.bem-contraste body.bem-page--group { --header-bg: #000; --header-ink: #FFF; }
html.bem-contraste .bem-ecobar { background: #000; }
html.bem-contraste a:not(.bem-btn):not(.bem-ecobar__link):not(.bem-brand):not(.bem-routes__link):not(.bem-404__link) { text-decoration: underline; }
html.bem-contraste .bem-hero .bem-btn--primary, html.bem-contraste .bem-brand--global .bem-hero .bem-btn--primary,
html.bem-contraste .bem-page--group .bem-header .bem-btn--primary { background: #FFE600; color: #000; }
html.bem-contraste .bem-btn--ghost { border: 2px solid currentColor; }
html.bem-contraste .bem-card, html.bem-contraste .bem-plan, html.bem-contraste .bem-listbox, html.bem-contraste .bem-faq__item,
html.bem-contraste .bem-conta__row, html.bem-contraste .bem-routes, html.bem-contraste .bem-hero__card, html.bem-contraste .bem-contact__form,
html.bem-contraste .bem-calc, html.bem-contraste .bem-routes__link, html.bem-contraste .bem-help__phase, html.bem-contraste .bem-table-wrap { border: 2px solid #000; }
html.bem-contraste .bem-eco__card, html.bem-contraste .bem-door, html.bem-contraste .bem-stat, html.bem-contraste .bem-callout-box,
html.bem-contraste .bem-cookies { background: #000 !important; color: #FFF; border: 2px solid #FFF; box-shadow: none; }
html.bem-contraste .bem-eco__cta, html.bem-contraste .bem-stat strong, html.bem-contraste .bem-eco__text,
html.bem-contraste .bem-eco__price, html.bem-contraste .bem-door h3, html.bem-contraste .bem-door p { color: #FFE600 !important; }
html.bem-contraste .bem-btn--door, html.bem-contraste .bem-cookies .bem-btn { background: #FFE600 !important; color: #000 !important; }
html.bem-contraste .bem-card__eyebrow { background: #000; color: #FFF; }
html.bem-contraste .bem-conta__row:last-child { border-width: 3px; }
html.bem-contraste .bem-alert { background: #FFF; color: #000; border: 2px solid #000; }
html.bem-contraste .bem-brand__sub { background: #000; color: #FFE600; }
html.bem-contraste :focus-visible { outline: 3px solid #FFE600 !important; box-shadow: 0 0 0 6px #000; }
html.bem-contraste .bem-persona, html.bem-contraste .bem-alert__persona { border: 2px solid #000; }
html.bem-contraste .bem-hero__bullets li::before, html.bem-contraste .bem-section--doors .bem-kicker::before { background: #FFE600; }
html.bem-contraste .bem-routes__link { border-left-width: 6px; }

/* Quem pede mais contraste no sistema ganha o texto secundário e as bordas mais escuros */
@media (prefers-contrast: more) {
  body[class] { --muted: var(--ink); --field-border: #1B2529; }
  .bem-eco__audience { opacity: 1; }
}

/* Modo de alto contraste do Windows: o botão do menu não pode sumir */
@media (forced-colors: active) {
  .bem-menu-toggle__bars, .bem-menu-toggle__bars::before, .bem-menu-toggle__bars::after { forced-color-adjust: none; background: ButtonText; }
  .bem-menu-toggle[aria-expanded="true"] .bem-menu-toggle__bars { background: transparent; }
  .bem-ecobar__link[aria-current], .bem-nav__list a[aria-current] { text-decoration: underline; }
  .bem-checklist li::before, .bem-contact__bullets li::before, .bem-dots li::before { forced-color-adjust: none; background: CanvasText; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .bem-ecobar, .bem-header, .bem-hero__side, .bem-section--contact, .bem-footer, .bem-cookies, .bem-actionbar, .bem-calc { display: none !important; }
}
