/* ==========================================================================
   Brisa Ferramentas — chrome compartilhado (dark-nativo).
   Estiliza o markup de template-parts/chrome-{header,benefits,footer}.php
   nas DUAS rotas (home premium e páginas internas). Aqui o escuro é a base:
   nada de repintar com !important em outra camada.
   Cores da marca vêm de tokens.css.
   ========================================================================== */

/* ---------- Cabeçalho ---------- */
.brisa-header {
	padding: 0 !important; /* neutraliza padding inline do wrapper de bloco */
	background: rgba(5, 5, 5, .97);
	font-family: Inter, Arial, sans-serif;
	box-shadow: 0 10px 32px rgba(0, 0, 0, .26);
}
body.brisa-landing-page .brisa-header { position: sticky; top: 0; z-index: 30; }
body.admin-bar.brisa-landing-page .brisa-header { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar.brisa-landing-page .brisa-header { top: 46px; }
}

/* Remove o retângulo após clique, mantendo foco visível para teclado. */
.brisa-header a:focus:not(:focus-visible),
.brisa-header button:focus:not(:focus-visible),
.brisa-header input:focus:not(:focus-visible),
.brisa-footer a:focus:not(:focus-visible),
.woocommerce ul.products li.product .woocommerce-LoopProduct-link:focus:not(:focus-visible),
.chat-window-toggle:focus:not(:focus-visible) {
	outline: none !important;
	box-shadow: none !important;
}

.brisa-global-topbar { background: #030303; color: #8f8f8f; font-size: 12px; }
.brisa-global-topbar > div { width: min(1240px, calc(100% - 40px)); height: 34px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brisa-global-topbar strong { color: #ddd; }

.brisa-topo { width: min(1240px, calc(100% - 40px)); height: 84px; margin: auto; display: flex; align-items: center; gap: 30px; }
.brisa-marca { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; color: #fff; text-decoration: none; }
.brisa-logo-mark { display: grid; place-items: center; width: 47px; height: 47px; background: linear-gradient(145deg, var(--gold-light), var(--gold)); clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%); }
.brisa-logo-mark svg { width: 27px; height: 27px; fill: #111; stroke: none; }
.brisa-marca-txt { display: flex; flex-direction: column; padding: 0; border: 0; }
.brisa-marca-txt strong { color: #fff; font-family: "Barlow Condensed", Inter, sans-serif; font-size: 32px; font-weight: 800; letter-spacing: 2.5px; line-height: 1; }
.brisa-marca-txt em { margin-top: 5px; color: var(--gold-light); font-style: normal; font-size: 9px; font-weight: 600; letter-spacing: 5px; line-height: 1; }

.brisa-busca { height: 48px; display: flex; flex: 1 1 auto; max-width: none; overflow: hidden; align-items: center; padding: 0; background: linear-gradient(180deg, #1b1b1b, #111); border: 1px solid var(--border-dark); border-radius: 999px; box-shadow: inset 0 1px rgba(255, 255, 255, .04); transition: border-color .2s ease, box-shadow .2s ease; }
.brisa-busca:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .15); }
.brisa-busca input[type=search] { height: 100%; flex: 1; min-width: 0; padding: 0 18px; border: 0; outline: 0; background: none; color: #fff; font-size: 16px; }
.brisa-busca input::placeholder { color: #8f8f8f; }
.brisa-busca button { width: 56px; height: 48px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 0; border-radius: 0; background: transparent; cursor: pointer; }
.brisa-busca button svg { width: 22px; height: 22px; fill: var(--gold); stroke: none; }
.brisa-busca button:hover svg { fill: var(--gold-light); }

a.brisa-header-whats { height: 48px; display: inline-flex; align-items: center; gap: 10px; padding: 0 15px; border-radius: 7px; background: var(--whats-green); color: #fff; text-decoration: none; white-space: nowrap; transition: background-color .2s ease; }
a.brisa-header-whats:hover { background: var(--whats-green-dark); color: #fff; }
a.brisa-header-whats svg { width: 25px; height: 25px; fill: #fff; stroke: none; flex-shrink: 0; }
.brisa-whats-txt { display: flex; flex-direction: column; line-height: 1.2; }
.brisa-whats-txt strong { font-size: 13px; font-weight: 800; }
.brisa-whats-txt em { font-style: normal; font-size: 11px; opacity: .85; }

.brisa-header-specialist { height: 48px; display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; color: #fff; text-decoration: none; white-space: nowrap; }
.brisa-header-specialist > svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.brisa-header-specialist > span { display: flex; flex-direction: column; line-height: 1.15; }
.brisa-header-specialist em { color: #999; font-size: 11px; font-style: normal; }
.brisa-header-specialist strong { margin-top: 3px; color: #fff; font-size: 12px; }
.brisa-header-specialist:hover strong { color: var(--gold-light); }

.brisa-mobile-menu { display: none; }

.brisa-nav { min-height: 52px; margin: 0; padding: 0 max(20px, calc((100% - 1240px) / 2)); display: flex; align-items: center; justify-content: center; gap: 7px; flex-wrap: wrap; background: #090909; }
.brisa-nav a { min-height: 52px; display: inline-flex; align-items: center; gap: 7px; padding: 0 15px; border-radius: 0; color: #e9e9e9; text-decoration: none; font-weight: 700; font-size: 12px; white-space: nowrap; transition: color .2s ease, background-color .2s ease; }
.brisa-nav a svg { width: 17px; height: 17px; fill: var(--gold); stroke: none; }
.brisa-nav a:hover { background: rgba(var(--gold-rgb), .08); color: var(--gold-light); }
.brisa-nav a:first-child { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #050505; border-radius: 7px; }
.brisa-nav a:first-child svg { fill: #050505; stroke: none; }
.brisa-nav a:first-child:hover { color: #050505; background: linear-gradient(135deg, var(--gold-light), var(--gold-light)); }
.brisa-nav a.brisa-ativo { color: var(--gold); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 10px 10px 0 0; }
.brisa-nav .brisa-nav-badge { margin-left: 2px; padding: 3px 5px; background: #d82222; color: #fff; border-radius: 3px; font-size: 10px; font-weight: 800; }

/* ---------- Benefícios ---------- */
.brisa-beneficios { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: none; margin: 0; padding: 0 max(20px, calc((100% - 1240px) / 2)); border: 0; border-radius: 0; background: #090909; box-shadow: none; }
.brisa-beneficios .brisa-item { min-height: 92px; padding: 18px 24px; display: flex; align-items: center; gap: 14px; color: #fff; }
.brisa-beneficios .brisa-item > svg { width: 44px; height: 44px; padding: 10px; border: 1px solid var(--gold); border-radius: 50%; fill: var(--gold); stroke: none; flex-shrink: 0; box-sizing: border-box; background: #101010; }
.brisa-beneficios .brisa-item strong { display: block; font-size: 13px; }
.brisa-beneficios .brisa-item span { display: block; margin-top: 3px; color: var(--text-muted-dark); font-size: 12px; }

/* ---------- Rodapé ---------- */
.brisa-footer { background: #030303; color: var(--text-muted-dark); font-family: Inter, Arial, sans-serif; }
.brisa-footer h3, .brisa-footer strong { color: #fff; }
.brisa-footer a:hover { color: var(--gold); }

.brisa-store-cta { position: relative; overflow: hidden; max-width: 1200px; min-height: 112px; margin: 0 auto 28px; padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 18px; background: radial-gradient(circle at 78% 30%, rgba(255, 255, 255, .28), transparent 24%), linear-gradient(135deg, var(--gold-light), var(--gold)); border: 1px solid rgba(var(--gold-light-rgb), .5); color: #080808; box-shadow: 0 18px 42px rgba(0, 0, 0, .34), 0 0 30px rgba(var(--gold-rgb), .09); }
/* Marca d'água: silhueta do Santuário do Divino Pai Eterno (Trindade-GO). */
.brisa-store-cta::before { content: ""; position: absolute; right: 2%; bottom: 0; width: 270px; height: 132%; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20420%20200%22%20fill%3D%22%2523301f04%22%20fill-opacity%3D%220.17%22%3E%3Crect%20x%3D%2230%22%20y%3D%22150%22%20width%3D%22360%22%20height%3D%2250%22%2F%3E%3Cpath%20d%3D%22M24%20152%20A78%2032%200%200%201%20180%20152%20Z%22%2F%3E%3Cpath%20d%3D%22M150%20150%20A60%2032%200%200%201%20270%20150%20Z%22%2F%3E%3Cpath%20d%3D%22M240%20152%20A78%2032%200%200%201%20396%20152%20Z%22%2F%3E%3Crect%20x%3D%22186%22%20y%3D%2278%22%20width%3D%2248%22%20height%3D%2272%22%2F%3E%3Cpath%20d%3D%22M176%2072%20A34%2032%200%200%201%20244%2072%20Z%22%2F%3E%3Cellipse%20cx%3D%22210%22%20cy%3D%2242%22%20rx%3D%2212%22%20ry%3D%2212%22%2F%3E%3Crect%20x%3D%22207%22%20y%3D%2218%22%20width%3D%226%22%20height%3D%2214%22%2F%3E%3Crect%20x%3D%22202%22%20y%3D%2210%22%20width%3D%2216%22%20height%3D%225%22%2F%3E%3Crect%20x%3D%22207%22%20y%3D%224%22%20width%3D%226%22%20height%3D%2216%22%2F%3E%3C%2Fsvg%3E") right bottom / contain no-repeat; pointer-events: none; z-index: 0; }
.brisa-store-cta::after { content: ""; position: absolute; right: 14%; bottom: -58px; width: 190px; height: 120px; border: 1px solid rgba(17, 17, 17, .12); border-radius: 50%; pointer-events: none; }
.brisa-store-cta > div, .brisa-store-cta > a { position: relative; z-index: 1; }
.brisa-store-cta > div { display: flex; align-items: center; gap: 14px; }
.brisa-store-cta svg { width: 44px; height: 44px; padding: 10px; border: 1px solid rgba(17, 17, 17, .28); border-radius: 50%; fill: none; stroke: #080808; stroke-width: 1.7; }
.brisa-store-cta span { display: flex; flex-direction: column; }
.brisa-store-cta strong { color: #080808; font-family: "Barlow Condensed", Inter, sans-serif; font-size: 24px; text-transform: uppercase; }
.brisa-store-cta small { margin-top: 3px; color: #292000; font-size: 12px; }
.brisa-store-cta > a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 20px; border-radius: 6px; background: #080808; color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; text-transform: uppercase; box-shadow: 0 10px 24px rgba(0, 0, 0, .22); transition: background-color .2s ease, color .2s ease; }
.brisa-store-cta > a:hover { background: #242424; color: var(--gold-light); }

.brisa-servicos { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; max-width: 1200px; margin: 0 auto 32px; background: #0b0b0b; border: 1px solid var(--border-dark); border-radius: 16px; padding: 18px 22px; color: #fff; }
.brisa-servicos .brisa-item { display: flex; gap: 12px; align-items: center; color: #fff; }
.brisa-servicos .brisa-item svg { width: 46px; height: 46px; padding: 10px; border: 2px solid rgba(var(--gold-rgb), .55); border-radius: 50%; fill: var(--gold); stroke: none; flex-shrink: 0; box-sizing: border-box; }
.brisa-servicos .brisa-item strong { display: block; font-size: 14px; }
.brisa-servicos .brisa-item span { display: block; color: #c9c9c9; font-size: 12px; }

.brisa-footer-main { width: min(1200px, 100%); max-width: 1200px; box-sizing: border-box; margin: 0 auto 24px; padding: 38px; display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.2fr; gap: 38px; background: linear-gradient(145deg, #151515, #090909); border: 1px solid #262626; border-radius: 20px; box-shadow: 0 22px 50px rgba(0, 0, 0, .32); }
.brisa-footer-main h3 { margin: 5px 0 19px; color: #fff; font-family: "Barlow Condensed", Inter, sans-serif; font-size: 23px; line-height: 1; text-transform: uppercase; }
.brisa-footer-kicker { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.brisa-footer-brand-panel { padding-right: 18px; border-right: 1px solid var(--border-dark); }
.brisa-footer-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brisa-footer-brand-icon { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 48px; background: linear-gradient(145deg, var(--gold-light), var(--gold)); clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%); }
.brisa-footer-brand-icon svg { width: 25px; height: 25px; fill: #080808; stroke: none; }
.brisa-footer-brand strong, .brisa-footer-brand small { display: block; line-height: 1; }
.brisa-footer-brand strong { font-family: "Barlow Condensed", Inter, sans-serif; font-size: 27px; letter-spacing: 2.5px; color: #fff; }
.brisa-footer-brand small { margin-top: 5px; color: var(--gold); font-size: 8px; letter-spacing: 3.8px; }
.brisa-footer-brand-panel > p { max-width: 245px; margin: 20px 0 18px; color: #a9a9a9; font-size: 12px; line-height: 1.7; }
.brisa-footer-column a { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #bcbcbc; border-bottom: 1px solid #252525; font-size: 12px; text-decoration: none; transition: color .2s ease, padding-left .2s ease; }
.brisa-footer-column a span { color: var(--gold); }
.brisa-footer-column a:hover { padding-left: 5px; color: #fff; }
.brisa-footer-contact > p { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; color: #bcbcbc; font-size: 12px; line-height: 1.55; }
.brisa-footer-contact > p svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.brisa-footer-contact > p a { color: #fff; text-decoration: none; }
.brisa-footer-contact .brisa-payment-icons { margin-top: 19px; }

/* Sem pulso nos ícones sociais: o único elemento que pulsa na página é o chat. */
.brisa-social { display: flex; gap: 12px; margin-top: 16px; }
.brisa-social a { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 2px solid rgba(var(--gold-rgb), .62); border-radius: 50%; background: #0b0b0b; color: var(--gold-light); transition: background-color .15s ease, border-color .15s ease; }
.brisa-social a svg { width: 20px; height: 20px; fill: var(--gold); stroke: none; }
.brisa-social a:hover { background: var(--gold); border-color: var(--gold); }
.brisa-social a:hover svg { fill: #0E0E0E; }
.brisa-social a[hidden] { display: none !important; }
.brisa-social a::after { content: attr(data-nome); position: absolute; bottom: calc(100% + 9px); left: 50%; transform: translateX(-50%) translateY(3px); background: var(--gold); color: #111; font-size: 11px; font-weight: 800; letter-spacing: .3px; padding: 4px 10px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease; }
.brisa-social a:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }

.brisa-payment-icons { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.payment-brand { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 29px; padding: 0 7px; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px #ddd; font: 900 11px/1 Arial, sans-serif; letter-spacing: -.4px; }
.payment-pix { color: #00a98f; letter-spacing: .5px; }
.payment-visa { color: #172b85; font-size: 13px; font-style: italic; }
.payment-mastercard { position: relative; min-width: 46px; padding: 0; }
.payment-mastercard i { position: absolute; left: 8px; width: 18px; height: 18px; border-radius: 50%; background: #eb001b; }
.payment-mastercard i + i { left: 20px; background: #f79e1b; mix-blend-mode: multiply; }
.payment-elo { background: #111; color: #fff; letter-spacing: .5px; }

.brisa-footer-bottom-modern { width: min(1200px, 100%); max-width: 1200px; min-height: 58px; margin: auto; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #777; border-top: 1px solid #202020; font-size: 12px; }
.brisa-back-to-top { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 15px; flex: 0 0 auto; color: #080808; background: var(--gold); border-radius: 7px; font-size: 11px; font-weight: 900; letter-spacing: .35px; line-height: 1; text-decoration: none; text-transform: uppercase; transition: background-color .2s ease-out; }
.brisa-back-to-top svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brisa-back-to-top:hover { color: #080808; background: var(--gold-light); }
.brisa-back-to-top:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- Mobile ---------- */
@media (max-width: 1120px) {
	.brisa-header-specialist { display: none; }
}

@media (max-width: 900px) {
	.brisa-footer-main { grid-template-columns: 1.2fr 1fr; gap: 32px; }
	.brisa-footer-brand-panel { border-right: 0; }
}

@media (max-width: 800px) {
	.brisa-global-topbar { display: none; }
	.brisa-topo { width: calc(100% - 28px); height: auto; min-height: 73px; padding: 12px 0 13px; display: grid; grid-template-columns: 1fr 42px 44px; gap: 9px; }
	.brisa-logo-mark { width: 39px; height: 39px; }
	.brisa-logo-mark svg { width: 23px; height: 23px; }
	.brisa-marca-txt strong { font-size: 25px; }
	.brisa-marca-txt em { font-size: 7px; letter-spacing: 3.5px; }
	.brisa-busca { grid-column: 1 / -1; grid-row: 2; width: 100%; height: 44px; }
	.brisa-busca input[type=search] { font-size: 15px; }
	.brisa-busca button { width: 52px; height: 44px; }
	.brisa-mobile-menu { grid-column: 2; grid-row: 1; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; background: transparent; color: #fff; }
	.brisa-mobile-menu svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
	a.brisa-header-whats { grid-column: 3; grid-row: 1; width: 44px; height: 42px; justify-content: center; padding: 0; }
	.brisa-header-whats .brisa-whats-txt { display: none; }
	.brisa-nav { display: none; padding: 10px 20px 16px; align-items: stretch; flex-direction: column; gap: 0; }
	body.brisa-menu-open .brisa-nav { display: flex; }
	.brisa-nav a { min-height: 46px; width: 100%; justify-content: flex-start; border-bottom: 1px solid var(--border-dark); }
	/* Faixa fina deslizável no mobile: 4 benefícios em uma linha (era grade 2x2,
	   que ocupava o dobro da altura). Cada card mostra ~78% + o próximo espiando. */
	.brisa-beneficios { display: flex; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0; }
	.brisa-beneficios::-webkit-scrollbar { display: none; }
	.brisa-beneficios .brisa-item { flex: 0 0 78%; max-width: 300px; scroll-snap-align: start; min-height: 0; padding: 14px 16px; }
	.brisa-beneficios .brisa-item > svg { width: 36px; height: 36px; padding: 8px; }
	.brisa-beneficios .brisa-item strong { font-size: 12px; }
	.brisa-beneficios .brisa-item span { font-size: 11px; }
	/* Na home, o balão do chat (canto inferior direito) não cobre o último benefício. */
	body.brisa-landing-page .brisa-beneficios { padding-bottom: 24px; }
	.brisa-store-cta { padding: 22px; align-items: stretch; flex-direction: column; }
	.brisa-store-cta::before { width: 150px; height: 96px; right: 0; bottom: 0; }
	.brisa-store-cta strong { font-size: 21px; }
	.brisa-store-cta > a { justify-content: center; }
}

@media (max-width: 700px) {
	.brisa-footer { padding: 34px 14px 24px !important; }
	.brisa-footer-main { width: 100%; max-width: 100%; grid-template-columns: 1fr; gap: 30px; padding: 26px 22px; border-radius: 16px; }
	.brisa-footer-brand-panel { padding-right: 0; padding-bottom: 24px; border-right: 0; border-bottom: 1px solid var(--border-dark); }
	.brisa-footer-main h3 { margin-bottom: 13px; }
	.brisa-footer-bottom-modern { min-height: 0; padding: 19px 4px 0; display: block; line-height: 1.9; }
	.brisa-footer-bottom-modern span { display: block; }
	/* No mobile, o rodapé divide espaço com o balão do chat: nada encostado à direita. */
	.brisa-footer-bottom-modern .brisa-back-to-top { display: flex; width: max-content; min-height: 32px; margin: 16px 0 0 32px; padding: 0 12px; font-size: 11px; }
	.brisa-footer-bottom-modern .brisa-back-to-top svg { width: 14px; height: 14px; }
}
