/* Único adaptador das cores do site; nunca é carregado no painel. */
html:root ::selection {
  background-color: var(--site-principal, #b4231c);
  color: var(--site-texto_principal, #fff);
}

html:root img::selection {
  background-color: transparent;
}

section.analytics-consent {
  --consent-action-bg: var(--site-botao_secundario, #f3f4f6);
  --consent-action-ink: var(--site-texto_botao_secundario, #252a31);
  --consent-action-hover: var(--site-interacao, #e7e9ed);
  --consent-action-hover-ink: var(--site-texto_interacao, #252a31);
  --consent-line: var(--site-borda, #c7ccd4);
  position: fixed;
  inset: auto 0 max(20px, env(safe-area-inset-bottom));
  z-index: 40;
  box-sizing: border-box;
  width: min(27rem, calc(100% - 2rem));
  max-height: calc(100dvh - 7rem);
  margin-inline: auto;
  overflow: auto;
  padding: 0.875rem 1rem;
  border: 1px solid var(--consent-line);
  border-radius: 12px;
  background: var(--site-superficie, #fff);
  color: var(--site-texto, #252a31);
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.1);
  text-align: center;
}

section.analytics-consent[hidden] {
  display: none;
}

section.analytics-consent h2,
section.analytics-consent > p:has(> strong) {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

section.analytics-consent > p:not(:has(> strong)) {
  margin: 0.375rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  text-wrap: balance;
}

section.analytics-consent > .analytics-consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  width: 100%;
  margin: 0.75rem auto 0;
}

section.analytics-consent button {
  display: grid;
  min-width: 0;
  min-height: 44px;
  place-items: center;
  padding: 0.5rem;
  border: 1px solid var(--consent-line);
  border-radius: 8px;
  background: var(--consent-action-bg);
  color: var(--consent-action-ink);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

section.analytics-consent button:is(:hover, :active) {
  background: var(--consent-action-hover);
  color: var(--consent-action-hover-ink);
}

section.analytics-consent button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

@media (max-width: 600px) {
  section.analytics-consent {
    bottom: calc(88px + env(safe-area-inset-bottom));
    padding: 0.75rem;
  }
}


html:root,
:root body.public-modern {
  --paper: var(--site-fundo);
  --cream: var(--site-fundo);
  --green: var(--site-principal);
  --orange: var(--site-link);
  --surface: var(--site-superficie);
  --ink: var(--site-titulo);
  --muted: var(--site-secundario);
  --line: var(--site-borda);
  --public-brand: var(--site-principal);
  --brand: var(--site-principal);
  --accent: var(--site-titulo_destaque);
  --public-brand-dark: var(--site-interacao);
  --hero-surface: var(--site-secao_escura);
  --hero-ink: var(--site-titulo_escuro);
  --hero-muted: var(--site-secundario_escuro);
  --hero-accent: var(--site-titulo_destaque_escuro);
  --quote-budget-bg: var(--site-orcamento);
  --quote-budget-text: var(--site-texto_orcamento);
  --whatsapp-action-bg: var(--site-whatsapp);
  --whatsapp-action-text: var(--site-texto_whatsapp);
  background: var(--site-fundo);
  color: var(--site-texto);
}
:root body .site-header-fixed,
:root body .site-header,
:root body .site-nav,
:root body .nav-drop-menu {
  background: var(--site-cabecalho) !important;
  color: var(--site-texto_cabecalho) !important;
}
:root body :is(.site-header, .site-nav, .nav-drop-menu) a:not(.quote-budget-button):not(.public-whatsapp-button) {
  color: var(--site-texto_cabecalho) !important;
}
:root body :is(.site-footer, .business-footer) {
  background: var(--site-rodape) !important;
  color: var(--site-texto_rodape) !important;
}
:root body :is(.site-footer, .business-footer) :is(p, a, strong, span, small, button) {
  color: inherit;
}
:root body main :is(h1, h2, h3) {
  color: var(--site-titulo);
}
:root body main :is(h1, h2, h3) :is(em, .accent) {
  color: var(--site-titulo_destaque);
}
:root body :is(.hero, .editorial-hero, .quote-banner, .cta-band) {
  color: var(--site-texto_escuro);
}
:root body :is(.hero, .quote-banner, .cta-band) {
  background: var(--site-secao_escura);
}
:root body :is(.hero, .editorial-hero, .quote-banner, .cta-band) :is(h1, h2, h3, blockquote) {
  color: var(--site-titulo_escuro);
}
:root body :is(.hero, .editorial-hero, .quote-banner, .cta-band) :is(h1, h2, h3, blockquote) :is(em, .accent) {
  color: var(--site-titulo_destaque_escuro);
}
:root body :is(.hero, .editorial-hero, .quote-banner, .cta-band) :is(.hero-text, .lead, .eyebrow) {
  color: var(--site-secundario_escuro);
}
:root body :is(.hero, .editorial-hero, .quote-banner, .cta-band) .text-link {
  color: var(--site-link_escuro);
}
:root body :is(.section-subtitle, .subtitle, .lead) {
  color: var(--site-subtitulo);
}
:root body :is(.text-link, .eyebrow) {
  color: var(--site-link);
}
:root
  body
  :is(.contact-way, .contact-place-card, .service-card, .support-card, .product-card, .review-card, .about-pillar) {
  background: var(--site-superficie);
  border-color: var(--site-borda);
}
:root body :is(.contact-way, .contact-place-card, .service-card, .support-card, .product-card, .review-card) p {
  color: var(--site-texto);
}
:root
  body
  :is(.button, .nav-cta, .quote-submit, .quote-send-button, #nextBtn, #addItemBtn):not(.quote-budget-button):not(
    .public-whatsapp-button
  ):not(.button-outline):not(.button-light):not(.quiet):not(.btn-soft-danger) {
  background: var(--site-principal);
  color: var(--site-texto_principal);
}
:root body :is(.button-outline, .button-light, .button.quiet) {
  background: var(--site-botao_secundario);
  color: var(--site-texto_botao_secundario);
  border-color: var(--site-borda);
}
:root body :is(.button, .nav-cta, #nextBtn, #addItemBtn):not(.quote-budget-button):not(.public-whatsapp-button):hover {
  background: var(--site-interacao);
  color: var(--site-texto_interacao);
}
:root body #app :is(.btn, .nav-btn):not(#whatsBtn):not(.btn-soft-danger) {
  background: var(--site-principal) !important;
  color: var(--site-texto_principal) !important;
}
:root body #app :is(h1, .choiceTitle) {
  color: var(--site-titulo);
}
:root
  body
  :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]), select, textarea) {
  background: var(--site-campo);
  color: var(--site-texto_campo);
  border-color: var(--site-borda);
}
:root body :is(button, a, input, select, textarea):focus-visible {
  outline: 2px solid var(--site-foco);
  outline-offset: 3px;
}

html:root body :is(a, button):is(.quote-budget-button, .public-whatsapp-button):hover {
  background: var(--site-interacao) !important;
  color: var(--site-texto_interacao) !important;
  border-color: var(--site-interacao) !important;
}

/* Estados de interação mantêm o par de cores validado no editor. */
html:root
  body
  :is(.button, .nav-cta, .quote-budget-button, .public-whatsapp-button, .nav-btn, #nextBtn):is(
    :active,
    [aria-pressed="true"],
    [aria-current="page"]
  ) {
  background: var(--site-interacao) !important;
  color: var(--site-texto_interacao) !important;
  border-color: var(--site-interacao) !important;
}

html:root body .site-footer-shared :is(h3,.sf-title){color:var(--site-texto_rodape)}
html:root body .whatsapp-float{
  --whatsapp-visible:color-mix(in srgb,var(--site-whatsapp) 88%,#fff);
  background:var(--whatsapp-visible)!important;
  color:var(--site-texto_whatsapp)!important
}
:root body .site-header-fixed .nav-drop-menu {
  --public-menu-surface: #f7f6f5;
  --public-menu-highlight: #e3e1df;
  --public-menu-text: #111;
  background: var(--public-menu-surface) !important;
  border-color: #dedbd8 !important;
}
:root body .site-header-fixed .nav-drop-menu a:not(.quote-budget-button):not(.public-whatsapp-button) {
  background: transparent !important;
  color: var(--public-menu-text) !important;
  -webkit-text-fill-color: var(--public-menu-text) !important;
}
:root body .site-header-fixed .nav-drop-menu a:is(:hover, :focus-visible, .is-active, [aria-current="page"]):not(.quote-budget-button):not(.public-whatsapp-button) {
  background: var(--public-menu-highlight) !important;
  color: var(--public-menu-text) !important;
  -webkit-text-fill-color: var(--public-menu-text) !important;
  border-color: var(--public-menu-highlight) !important;
}
:root body .editorial-hero h1 {
  text-wrap: balance;
}

:root body .editorial-hero h1 em {
  font-style: normal;
}

:root body.support-hub-page .support-content > .contact-hub {
  margin-bottom: 0;
}

:root body.support-hub-page .support-content > .faq-guides {
  padding-top: clamp(24px, 3vw, 36px);
}

.cookie-settings-location {
  margin-block: 16px 28px;
  text-align: center;
}

.cookie-settings-location:empty {
  display: none;
}

.cookie-settings-location .analytics-consent-settings {
  border: 0;
  background: transparent;
  color: var(--ink, #0d0d0f);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.cookie-settings-location .analytics-consent-settings:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.public-modern.site-tool-agendar .tool-intro > p {
  max-width: min(100%, 88ch);
  text-wrap: balance;
}
:root body:is(.contact-page, .faq-page) .editorial-hero h1 {
  font-size: clamp(30px, 4vw, 42px);
}

.site-footer-shared .sf-policy .analytics-consent-settings {
  white-space: nowrap;
}
