/* Ajustes de SEO (05/11/26): compensações visuais da troca de tags de título, por grupo de páginas */
@import url("seo-home.css");
@import url("seo-sobre-servicos.css");
@import url("seo-contato-landings.css");
@import url("seo-blog.css");

/*
 * Paleta MIRAICORP (dourado + cinza do logotipo) sobre as cores globais do Elementor Kit.
 * Carregado por último em todas as páginas; troca apenas as variáveis, o resto do CSS é o original.
 */
.elementor-kit-13132 {
  /* rosa principal #FF004D -> dourado (contraste 4.6:1 com texto branco) */
  --e-global-color-910ad3e: #91702D;
  /* rosas claros -> dourados claros / creme */
  --e-global-color-487b602: #D4B36A;
  --e-global-color-08e4eec: #E2C98F;
  --e-global-color-ae4ed34: #F7F0E1;
  /* azuis -> cinzas do logotipo */
  --e-global-color-5b54817: #58595B;
  --e-global-color-e2a48f4: #C8C9CB;
  --e-global-color-0b3016a: #F1F1F2;
}

/* links genéricos do tema GeneratePress (azul #1e73be) */
:root {
  --accent: #91702D;
}

/* rótulo "Depoimentos" com azul fixo (#3174A5) no CSS de cada página */
.elementor-12075 .elementor-element.elementor-element-b8e9fec .elementor-icon-list-text,
.elementor-12076 .elementor-element.elementor-element-ffb1ef4 .elementor-icon-list-text,
.elementor-12077 .elementor-element.elementor-element-4e18bf5b .elementor-icon-list-text,
.elementor-12078 .elementor-element.elementor-element-a4781d8 .elementor-icon-list-text,
.elementor-2 .elementor-element.elementor-element-d64eae1 .elementor-icon-list-text {
  color: var(--e-global-color-910ad3e);
}

/* Menu com 6 itens (inclui "Área do Cliente"): padding lateral proporcional para caber numa linha no desktop */
@media (min-width: 1025px) {
  .elementor-12120 .elementor-element.elementor-element-1af3de4 .menu-item a.hfe-menu-item {
    padding-left: clamp(9px, calc(9px + (100vw - 1025px) * 0.0217), 18px);
    padding-right: clamp(9px, calc(9px + (100vw - 1025px) * 0.0217), 18px);
  }
}

/* Linha legal do rodapé (CNPJ / CRCs): um item por linha no mobile */
@media (max-width: 767px) {
  .mc-legal-sep { display: none; }
  .mc-legal-item { display: block; text-align: center; }
}

/* Imagens geradas para a MIRAICORP (Gemini): fundos dos cards de serviço e do CTA do blog */
.elementor-12075 .elementor-element.elementor-element-295f836:not(.elementor-motion-effects-element-type-background), .elementor-12075 .elementor-element.elementor-element-295f836 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: url("/brand/images/card-troca-1408.webp");
}
.elementor-12075 .elementor-element.elementor-element-b65381f:not(.elementor-motion-effects-element-type-background), .elementor-12075 .elementor-element.elementor-element-b65381f > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: url("/brand/images/card-abertura-1408.webp");
}
.elementor-12394 .elementor-element.elementor-element-64a3b10:not(.elementor-motion-effects-element-type-background), .elementor-12394 .elementor-element.elementor-element-64a3b10 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: url("/brand/images/card-troca-1408.webp");
}
.elementor-12394 .elementor-element.elementor-element-fe95837:not(.elementor-motion-effects-element-type-background), .elementor-12394 .elementor-element.elementor-element-fe95837 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: url("/brand/images/card-abertura-1408.webp");
}
.elementor-12416 .elementor-element.elementor-element-535c646b::before, .elementor-12416 .elementor-element.elementor-element-535c646b > .elementor-background-video-container::before, .elementor-12416 .elementor-element.elementor-element-535c646b > .e-con-inner > .elementor-background-video-container::before, .elementor-12416 .elementor-element.elementor-element-535c646b > .elementor-background-slideshow::before, .elementor-12416 .elementor-element.elementor-element-535c646b > .e-con-inner > .elementor-background-slideshow::before, .elementor-12416 .elementor-element.elementor-element-535c646b > .elementor-motion-effects-container > .elementor-motion-effects-layer::before {
  background-image: url("/brand/images/bg-cta-1280.webp");
}
.elementor-12428 .elementor-element.elementor-element-358ddc41::before, .elementor-12428 .elementor-element.elementor-element-358ddc41 > .elementor-background-video-container::before, .elementor-12428 .elementor-element.elementor-element-358ddc41 > .e-con-inner > .elementor-background-video-container::before, .elementor-12428 .elementor-element.elementor-element-358ddc41 > .elementor-background-slideshow::before, .elementor-12428 .elementor-element.elementor-element-358ddc41 > .e-con-inner > .elementor-background-slideshow::before, .elementor-12428 .elementor-element.elementor-element-358ddc41 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before {
  background-image: url("/brand/images/bg-cta-1280.webp");
}
.elementor-2 .elementor-element.elementor-element-26313450:not(.elementor-motion-effects-element-type-background), .elementor-2 .elementor-element.elementor-element-26313450 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: url("/brand/images/card-abertura-1408.webp");
}
.elementor-2 .elementor-element.elementor-element-77854cd9:not(.elementor-motion-effects-element-type-background), .elementor-2 .elementor-element.elementor-element-77854cd9 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: url("/brand/images/card-troca-1408.webp");
}

/* Cards de segmento (home e contato): selo "Segmento" acima do título, sem quebrar palavra */
.elementor .elementor-element.elementor-element-34a0d657,
.elementor .elementor-element.elementor-element-78970c11,
.elementor .elementor-element.elementor-element-16c4286,
.elementor .elementor-element.elementor-element-64b5f6b,
.elementor .elementor-element.elementor-element-5cfe2aa,
.elementor .elementor-element.elementor-element-3e3ffb3,
.elementor .elementor-element.elementor-element-44a515e,
.elementor .elementor-element.elementor-element-8acdbee {
  flex-direction: column-reverse !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 10px !important;
}
.elementor .elementor-element.elementor-element-40f8a6c7,
.elementor .elementor-element.elementor-element-6477965a,
.elementor .elementor-element.elementor-element-5524fa86,
.elementor .elementor-element.elementor-element-5302529a,
.elementor .elementor-element.elementor-element-890434f,
.elementor .elementor-element.elementor-element-3806e88,
.elementor .elementor-element.elementor-element-b883e61,
.elementor .elementor-element.elementor-element-19a2ad2 {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  flex: 0 0 auto !important;
  padding: 5px 16px !important;
  margin: 0 !important;
}
.elementor .elementor-element.elementor-element-40f8a6c7 p,
.elementor .elementor-element.elementor-element-6477965a p,
.elementor .elementor-element.elementor-element-5524fa86 p,
.elementor .elementor-element.elementor-element-5302529a p,
.elementor .elementor-element.elementor-element-890434f p,
.elementor .elementor-element.elementor-element-3806e88 p,
.elementor .elementor-element.elementor-element-b883e61 p,
.elementor .elementor-element.elementor-element-19a2ad2 p {
  white-space: nowrap !important;
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.02em;
}
.elementor .elementor-element.elementor-element-6ed83faf,
.elementor .elementor-element.elementor-element-6ca82f69,
.elementor .elementor-element.elementor-element-44286a53,
.elementor .elementor-element.elementor-element-608ceb2,
.elementor .elementor-element.elementor-element-6863127,
.elementor .elementor-element.elementor-element-346561b,
.elementor .elementor-element.elementor-element-d9308f7,
.elementor .elementor-element.elementor-element-2a9e313 {
  width: 100% !important;
  max-width: 100% !important;
}
.elementor .elementor-element.elementor-element-6ed83faf .elementor-heading-title,
.elementor .elementor-element.elementor-element-6ca82f69 .elementor-heading-title,
.elementor .elementor-element.elementor-element-44286a53 .elementor-heading-title,
.elementor .elementor-element.elementor-element-608ceb2 .elementor-heading-title,
.elementor .elementor-element.elementor-element-6863127 .elementor-heading-title,
.elementor .elementor-element.elementor-element-346561b .elementor-heading-title,
.elementor .elementor-element.elementor-element-d9308f7 .elementor-heading-title,
.elementor .elementor-element.elementor-element-2a9e313 .elementor-heading-title {
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  white-space: nowrap;
}

/* Banners em WebP (mesma imagem do template, ~10x mais leve que o PNG) */
.elementor-12075 .elementor-element.elementor-element-756836b:not(.elementor-motion-effects-element-type-background), .elementor-12075 .elementor-element.elementor-element-756836b > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: url("/brand/images/vitrine-img-17.webp");
}
.elementor-12076 .elementor-element.elementor-element-6b94fc3:not(.elementor-motion-effects-element-type-background), .elementor-12076 .elementor-element.elementor-element-6b94fc3 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: url("/brand/images/vitrine-img-17.webp");
}
.elementor-12077 .elementor-element.elementor-element-1bbaa93d::before, .elementor-12077 .elementor-element.elementor-element-1bbaa93d > .elementor-background-video-container::before, .elementor-12077 .elementor-element.elementor-element-1bbaa93d > .e-con-inner > .elementor-background-video-container::before, .elementor-12077 .elementor-element.elementor-element-1bbaa93d > .elementor-background-slideshow::before, .elementor-12077 .elementor-element.elementor-element-1bbaa93d > .e-con-inner > .elementor-background-slideshow::before, .elementor-12077 .elementor-element.elementor-element-1bbaa93d > .elementor-motion-effects-container > .elementor-motion-effects-layer::before {
  background-image: url("/brand/images/vitrine-img-16.webp");
}
.elementor-12078 .elementor-element.elementor-element-730de78::before, .elementor-12078 .elementor-element.elementor-element-730de78 > .elementor-background-video-container::before, .elementor-12078 .elementor-element.elementor-element-730de78 > .e-con-inner > .elementor-background-video-container::before, .elementor-12078 .elementor-element.elementor-element-730de78 > .elementor-background-slideshow::before, .elementor-12078 .elementor-element.elementor-element-730de78 > .e-con-inner > .elementor-background-slideshow::before, .elementor-12078 .elementor-element.elementor-element-730de78 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before {
  background-image: url("/brand/images/vitrine-img-16.webp");
}
.elementor-12093 .elementor-element.elementor-element-5125c3c:not(.elementor-motion-effects-element-type-background), .elementor-12093 .elementor-element.elementor-element-5125c3c > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: url("/brand/images/vitrine-img-17.webp");
}
.elementor-12394 .elementor-element.elementor-element-b6d1e27:not(.elementor-motion-effects-element-type-background), .elementor-12394 .elementor-element.elementor-element-b6d1e27 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: url("/brand/images/vitrine-img-17.webp");
}
.elementor-12416 .elementor-element.elementor-element-5232d60:not(.elementor-motion-effects-element-type-background), .elementor-12416 .elementor-element.elementor-element-5232d60 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: url("/brand/images/vitrine-img-17.webp");
}
.elementor-12428 .elementor-element.elementor-element-2b58d25:not(.elementor-motion-effects-element-type-background), .elementor-12428 .elementor-element.elementor-element-2b58d25 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: url("/brand/images/vitrine-img-17.webp");
}
.elementor-3 .elementor-element.elementor-element-700d73c:not(.elementor-motion-effects-element-type-background), .elementor-3 .elementor-element.elementor-element-700d73c > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: url("/brand/images/vitrine-img-17.webp");
}

/* Cards de segmento (Home e Contato): caixa marrom ocupa a coluna inteira e o botão fica no rodapé,
   então todos os cards terminam na mesma linha independente do tamanho do texto */
.elementor-2 .elementor-element.elementor-element-10d717eb > .e-con > .e-con,
.elementor-12076 .elementor-element.elementor-element-60508e4 > .e-con > .e-con {
  --flex-grow: 1;
  flex-grow: 1;
  /* o template usa um padding inferior diferente em cada card (efeito escalonado) */
  --padding-bottom: 42px !important;
  padding-bottom: 42px !important;
}
.elementor-2 .elementor-element.elementor-element-10d717eb > .e-con > .e-con > .elementor-widget-elementskit-button,
.elementor-12076 .elementor-element.elementor-element-60508e4 > .e-con > .e-con > .elementor-widget-elementskit-button {
  margin-top: auto !important; /* o Elementor fixa 5px com prioridade maior */
}

/* "Entre em contato para saber mais" em uma linha (tablet e desktop) */
@media (min-width: 768px) {
  .elementor-2 .elementor-element.elementor-element-6e58f3f5,
  .elementor-12076 .elementor-element.elementor-element-5200c09 {
    --container-widget-width: auto;
    width: auto;
    max-width: none;
  }
  .elementor-2 .elementor-element.elementor-element-6e58f3f5 .elementor-heading-title,
  .elementor-12076 .elementor-element.elementor-element-5200c09 .elementor-heading-title {
    white-space: nowrap;
  }
  /* a pílula acompanha o conteúdo: título e botão lado a lado, sem sobrepor nem espremer */
  .elementor-2 .elementor-element.elementor-element-42bb937a,
  .elementor-12076 .elementor-element.elementor-element-8c6a886 {
    --width: auto !important;
    width: auto !important;
    max-width: none !important;
    flex-wrap: nowrap !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
  .elementor-2 .elementor-element.elementor-element-42bb937a > *,
  .elementor-12076 .elementor-element.elementor-element-8c6a886 > * {
    flex-shrink: 0 !important;
  }
  .elementor-2 .elementor-element.elementor-element-42bb937a .elementskit-btn,
  .elementor-12076 .elementor-element.elementor-element-8c6a886 .elementskit-btn {
    white-space: nowrap !important;
  }
}

/* Grade de benefícios (4 cards): grid 2x2 com linhas iguais -> todos os cards com o mesmo tamanho.
   As 2 colunas originais viram "display: contents" e a ordem visual é mantida (coluna por coluna). */
.mc-benefits {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, 1fr);
  grid-auto-flow: column;
  gap: 20px;
}
.mc-benefits > .e-con {
  display: contents !important;
}
.mc-benefits > .e-con > .e-con {
  align-items: stretch !important;
}
.mc-benefits > .e-con > .e-con > .elementor-widget-icon {
  align-self: center;
}
.mc-benefits > .e-con > .e-con > .e-con {
  align-self: stretch !important;
  justify-content: center !important;
}
@media (max-width: 767px) {
  .mc-benefits {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
    grid-auto-rows: 1fr;
  }
  /* no celular o ícone fica acima da caixa: coluna, com a caixa ocupando o resto do card */
  .mc-benefits > .e-con > .e-con {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }
  .mc-benefits > .e-con > .e-con > .e-con {
    flex-grow: 1 !important;
    width: 100%;
  }
}

/* Depoimentos: título alinhado no topo e acompanhando a rolagem ao lado das avaliações (desktop) */
@media (min-width: 1025px) {
  .mc-sticky {
    position: sticky !important;
    top: 40px;
    align-self: flex-start !important;
  }
  /* overflow:hidden na seção impede o sticky; "clip" corta igual sem criar contexto de rolagem */
  .e-con.e-parent:has(.mc-sticky) {
    overflow: clip !important;
  }
}

/* Títulos completos das especialidades ("Contabilidade para ...") quebram linha dentro do card */
.elementor-2 .elementor-element.elementor-element-10d717eb .elementor-heading-title,
.elementor-12076 .elementor-element.elementor-element-60508e4 .elementor-heading-title {
  white-space: normal !important;
}

/* Blog na Home: cards com a mesma altura e o botão "Ler mais" alinhado no rodapé */
.elementor-2 .elementor-element-6bf971c8 .ekit-row.post-items {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.elementor-2 .elementor-element-6bf971c8 .ekit-col-4 {
  display: flex;
}
.elementor-2 .elementor-element-6bf971c8 .elementskit-post-image-card {
  display: flex !important;
  flex-direction: column;
  width: 100%;
}
.elementor-2 .elementor-element-6bf971c8 .elementskit-post-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.elementor-2 .elementor-element-6bf971c8 .elementskit-post-body .btn-wraper {
  margin-top: auto !important;
}

/* Cards de serviço da lateral (Blog e artigos): card inteiro clicável, levando à landing page */
.mc-link-card {
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.mc-link-card:hover {
  transform: translateY(-3px);
}
.mc-link-card .mc-card-link {
  color: inherit;
  text-decoration: none;
}
.mc-link-card .mc-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
}
/* o ::after precisa se medir pelo card, não pelos wrappers do Elementor (position: relative) */
.mc-link-card .e-con:has(.mc-card-link),
.mc-link-card .elementor-widget:has(.mc-card-link) {
  position: static !important;
}
/* ícone e texto do Elementor ficam acima do ::after; deixam o clique passar para o link */
.mc-link-card * {
  pointer-events: none;
}
.mc-link-card .mc-card-link,
.mc-link-card .mc-inline-link {
  pointer-events: auto;
}
.mc-link-card:hover .mc-card-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mc-link-card .mc-card-link:focus-visible {
  outline: 2px solid var(--e-global-color-910ad3e);
  outline-offset: 4px;
}

/* Selo de categoria dos cards do blog: dourado da marca (o template usava o verde "accent") */
.elementor-12416 .elementor-element.elementor-element-407ff6f9 .elementor-post__card .elementor-post__badge {
  background-color: var(--e-global-color-910ad3e);
  color: #fff;
}

/* Página Contato: números de telefone/WhatsApp como links (mesma aparência do texto) */
.mc-inline-link {
  color: inherit;
  text-decoration: none;
}
.mc-inline-link:hover,
.mc-inline-link:focus-visible {
  text-decoration: underline;
}

/* Títulos com a capitalização normal do português (o kit aplicava text-transform: capitalize).
   Vale só para títulos; botões, menu, FAQ e rótulos mantêm o estilo original. */
body :is(h1, h2, h3, h4, h5, h6, .elementor-heading-title, .jkit-heading .heading-title, .animated-text, .elementor-icon-box-title, .entry-title),
body :is(h1, h2, h3, h4, h5, h6, .elementor-heading-title, .jkit-heading .heading-title, .animated-text, .elementor-icon-box-title, .entry-title) * {
  text-transform: none !important;
}

/* Linhas viúvas: títulos com linhas equilibradas e parágrafos sem palavra sozinha na última linha */
h1, h2, h3, h4, h5, h6,
.elementor-heading-title,
.jkit-heading .heading-title {
  text-wrap: balance;
}
p, li, .elementor-icon-list-text {
  text-wrap: pretty;
}

/* Mobile: seções com padding vertical acima de 60px limitadas a 60px (menos espaço vazio entre blocos) */
@media (max-width: 767px) {
  .elementor-12075 .elementor-element.elementor-element-756836b { --padding-top: 60px !important; --padding-bottom: 60px !important; }
  .elementor-12075 .elementor-element.elementor-element-8251b98 { --padding-bottom: 60px !important; }
  .elementor-12075 .elementor-element.elementor-element-fc73308 { --padding-top: 60px !important; }
  .elementor-12076 .elementor-element.elementor-element-6b94fc3 { --padding-top: 60px !important; --padding-bottom: 60px !important; }
  .elementor-12077 .elementor-element.elementor-element-23d897b { --padding-bottom: 60px !important; }
  .elementor-12078 .elementor-element.elementor-element-1ba8d01 { --padding-bottom: 60px !important; }
  .elementor-12093 .elementor-element.elementor-element-5125c3c { --padding-top: 60px !important; --padding-bottom: 60px !important; }
  .elementor-12132 .elementor-element.elementor-element-1f470ae8 { --padding-top: 60px !important; }
  .elementor-12394 .elementor-element.elementor-element-3d3c85a { --padding-bottom: 60px !important; }
  .elementor-12394 .elementor-element.elementor-element-a52dd23 { --padding-top: 60px !important; }
  .elementor-12394 .elementor-element.elementor-element-b6d1e27 { --padding-top: 60px !important; --padding-bottom: 60px !important; }
  .elementor-12416 .elementor-element.elementor-element-1443328a { --padding-bottom: 60px !important; }
  .elementor-12416 .elementor-element.elementor-element-5232d60 { --padding-top: 60px !important; --padding-bottom: 60px !important; }
  .elementor-12428 .elementor-element.elementor-element-2b58d25 { --padding-top: 60px !important; --padding-bottom: 60px !important; }
  .elementor-12428 .elementor-element.elementor-element-2e9e1ce3 { --padding-bottom: 60px !important; }
  .elementor-2 .elementor-element.elementor-element-48f58942 { --padding-top: 60px !important; --padding-bottom: 60px !important; }
  .elementor-2 .elementor-element.elementor-element-520848e5 { --padding-bottom: 60px !important; }
  .elementor-2 .elementor-element.elementor-element-9a8fdd2 { --padding-bottom: 60px !important; }
  .elementor-2 .elementor-element.elementor-element-f74592f { --padding-top: 60px !important; }
  .elementor-3 .elementor-element.elementor-element-700d73c { --padding-top: 60px !important; --padding-bottom: 60px !important; }
}

/* Contato (mobile): valores dos cards um pouco menores para o e-mail caber inteiro na linha */
@media (max-width: 767px) {
  .elementor-12076 .elementor-element.elementor-element-77bd450 .elementor-heading-title,
  .elementor-12076 .elementor-element.elementor-element-37046b6 .elementor-heading-title,
  .elementor-12076 .elementor-element.elementor-element-a5d2c14 .elementor-heading-title,
  .elementor-12076 .elementor-element.elementor-element-ddacb57 .elementor-heading-title {
    font-size: 15px !important;
    line-height: 1.4 !important;
  }
  .elementor-12076 .elementor-element.elementor-element-37046b6 .elementor-heading-title {
    white-space: nowrap;
  }
}

/* Área do Cliente: no desktop fica como botão no header; o item do menu só aparece onde os botões somem */
@media (min-width: 1025px) {
  .elementor-12120 .hfe-nav-menu__layout-horizontal .mc-menu-mobile-only { display: none !important; }
}

/* Listas "inline" do Elementor (rodapé, breadcrumb) usam margem negativa e empurravam a página
   alguns px para o lado no celular/tablet; corta o excedente sem criar barra de rolagem */
html,
body {
  overflow-x: clip;
}

/* Header entre 1025px e 1320px: o template zera o padding e o logo encostava na borda */
@media (min-width: 1025px) and (max-width: 1320px) {
  .elementor-12120 .elementor-element.elementor-element-19b1d8c9 {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Tablet: o menu aberto cobria a base do logo (60px de altura) */
@media (min-width: 768px) and (max-width: 1024px) {
  .elementor-12120 nav.hfe-dropdown {
    top: calc(100% + 20px) !important;
  }
}

/* ===== Ajustes novos (PDF de 05/11) ===== */

/* 1, 4, 10. Especialidades: no desktop o botão alinha à esquerda com o texto; no celular tudo centralizado */
@media (min-width: 768px) {
  .elementor-2 .elementor-element.elementor-element-10d717eb > .e-con > .e-con > .elementor-widget-elementskit-button,
  .elementor-12076 .elementor-element.elementor-element-60508e4 > .e-con > .e-con > .elementor-widget-elementskit-button {
    align-self: flex-start !important;
  }
  .elementor-2 .elementor-element.elementor-element-10d717eb .elementor-widget-elementskit-button .ekit-btn-wraper,
  .elementor-12076 .elementor-element.elementor-element-60508e4 .elementor-widget-elementskit-button .ekit-btn-wraper {
    text-align: left !important;
  }
}
@media (max-width: 767px) {
  .elementor-2 .elementor-element.elementor-element-10d717eb > .e-con > .e-con,
  .elementor-12076 .elementor-element.elementor-element-60508e4 > .e-con > .e-con {
    align-items: center !important;
    text-align: center;
  }
  .elementor-2 .elementor-element.elementor-element-10d717eb > .e-con > .e-con > .e-con,
  .elementor-12076 .elementor-element.elementor-element-60508e4 > .e-con > .e-con > .e-con {
    align-items: center !important;
  }
  .elementor-2 .elementor-element.elementor-element-10d717eb .elementor-heading-title,
  .elementor-2 .elementor-element.elementor-element-10d717eb p,
  .elementor-12076 .elementor-element.elementor-element-60508e4 .elementor-heading-title,
  .elementor-12076 .elementor-element.elementor-element-60508e4 p {
    text-align: center !important;
  }
  /* "Entre em contato para saber mais" centralizado embaixo dos cards */
  .elementor-2 .elementor-element.elementor-element-6e58f3f5 .elementor-heading-title,
  .elementor-12076 .elementor-element.elementor-element-5200c09 .elementor-heading-title {
    text-align: center !important;
  }
}

/* 2. Sobre > Nossa História: texto mais largo, sem a faixa vazia dos lados */
.elementor-12075 .elementor-element.elementor-element-8337834 {
  width: 100% !important;
  max-width: 920px !important;
}

/* 6. Rodapé: respiro igual em cima e embaixo */
.elementor-12132 .elementor-element.elementor-element-1f470ae8 {
  --padding-top: 50px !important;
  --padding-bottom: 32px !important;
  padding-top: 50px !important;
  padding-bottom: 32px !important;
}

/* 7, 11. O banner das páginas internas subia por baixo do header (margem negativa) e comia o respiro inferior */
[data-elementor-type="wp-page"] > .e-parent:first-child,
.elementor-12416 .elementor-element.elementor-element-5232d60,
.elementor-12428 .elementor-element.elementor-element-2b58d25 {
  margin-top: 0 !important;
}

/* 8. Foto do topo no celular: a imagem termina na cintura; esfuma a base em vez de cortar seco */
@media (max-width: 767px) {
  .elementor-2 .elementor-element.elementor-element-48f58942 img {
    -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  }
}

/* 12. Contadores: legenda centralizada mesmo quando quebra em duas linhas */
@media (max-width: 1024px) {
  .elementor-widget-counter .elementor-counter-title,
  .elementor-widget-counter .elementor-counter {
    text-align: center !important;
    justify-content: center !important;
  }
}

/* 13. Diferenciais no celular: o card tinha margem lateral dentro da grade e encostava na direita */
@media (max-width: 767px) {
  .elementor-element.elementor-element-35d05d3 > .e-con {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* 14. Contato no celular: textos dos cards centralizados */
@media (max-width: 767px) {
  .elementor-12076 .elementor-element.elementor-element-f095596 .elementor-widget-text-editor,
  .elementor-12076 .elementor-element.elementor-element-f095596 .elementor-widget-text-editor p,
  .elementor-12076 .elementor-element.elementor-element-f095596 .elementor-heading-title {
    text-align: center !important;
  }
}

/* 3. Landing de BPO financeiro: mesma estrutura da de troca de contador, com foto de fundo própria */
.mc-lp-bpo .elementor-element.elementor-element-1bbaa93d::before {
  background-image: url("/brand/images/blog-bpo-financeiro-1280.webp") !important;
}

/* Sobre > Nossa História no tablet: 100px de respiro embaixo + o topo de "Missão" deixavam um vão grande */
@media (max-width: 1024px) {
  .elementor-12075 .elementor-element.elementor-element-8251b98 > .e-con-inner {
    padding-bottom: 60px !important;
  }
}

/* Palavras partidas no meio (widget estreito demais para o tamanho da fonte):
   títulos dos serviços e "Contabilidade especializada" ocupam a largura toda no celular */
@media (max-width: 767px) {
  .elementor-12394 .elementor-element.elementor-element-30ef1ee,
  .elementor-12394 .elementor-element.elementor-element-9e1e41f,
  .elementor-12394 .elementor-element.elementor-element-aee7cfa,
  .elementor-element.elementor-element-5d8ff803,
  .elementor-element.elementor-element-47a5319 {
    --container-widget-width: 100%;
    width: 100% !important;
    max-width: 100% !important;
  }
}
@media (max-width: 400px) {
  .elementor-element.elementor-element-5d8ff803 .heading-title,
  .elementor-element.elementor-element-47a5319 .heading-title {
    font-size: 30px !important;
  }
}
/* Tablet: 4 colunas não comportam o texto dos cards de especialidade nem o e-mail do Contato */
@media (min-width: 768px) and (max-width: 1024px) {
  .elementor-2 .elementor-element.elementor-element-10d717eb,
  .elementor-12076 .elementor-element.elementor-element-60508e4 {
    --e-con-grid-template-columns: repeat(2, 1fr) !important;
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .elementor-12076 .elementor-element.elementor-element-77bd450 .elementor-heading-title,
  .elementor-12076 .elementor-element.elementor-element-37046b6 .elementor-heading-title,
  .elementor-12076 .elementor-element.elementor-element-a5d2c14 .elementor-heading-title,
  .elementor-12076 .elementor-element.elementor-element-ddacb57 .elementor-heading-title {
    font-size: 15px !important;
    line-height: 1.4 !important;
  }
  .elementor-12076 .elementor-element.elementor-element-37046b6 .elementor-heading-title {
    white-space: nowrap;
  }
}

/* Assinatura do rodapé: centralizada e sem encostar na borda no celular */
@media (max-width: 767px) {
  .elementor-widget-heading:has(> .elementor-heading-title a[href*="grupodpg"]) {
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: 20px;
    text-align: center !important;
  }
  .elementor-widget-heading:has(> .elementor-heading-title a[href*="grupodpg"]) .elementor-heading-title {
    display: block;
    text-align: center !important;
  }
}

/* Header: "Área do Cliente" vazado, para o Whatsapp ser o botão principal.
   A borda é um box-shadow para os dois botões continuarem com a mesma altura. */
.elementor-12120 .elementor-element.elementor-element-0f8c682 .elementor-button {
  background-color: transparent !important;
  color: var(--e-global-color-910ad3e) !important;
  box-shadow: inset 0 0 0 1px var(--e-global-color-910ad3e);
}
.elementor-12120 .elementor-element.elementor-element-0f8c682 .elementor-button .elementor-button-text {
  color: inherit !important;
}
.elementor-12120 .elementor-element.elementor-element-0f8c682 .elementor-button:hover,
.elementor-12120 .elementor-element.elementor-element-0f8c682 .elementor-button:focus-visible {
  background-color: var(--e-global-color-910ad3e) !important;
  color: #fff !important;
}

/* Assinatura do rodapé no tablet: afasta da borda direita */
@media (min-width: 768px) and (max-width: 1024px) {
  .elementor-widget-heading:has(> .elementor-heading-title a[href*="grupodpg"]) {
    padding-right: 20px;
  }
}

/* ===== Ajustes do documento da cliente (13/11) ===== */

/* 4. Banner do topo das páginas internas (Sobre, Serviços, Contato, Blog, artigos, políticas):
   foto mais clara (camada escura de 0.72 para 0.45) e título com mais destaque */
.elementor-12075 .elementor-element.elementor-element-756836b,
.elementor-12076 .elementor-element.elementor-element-6b94fc3,
.elementor-12093 .elementor-element.elementor-element-5125c3c,
.elementor-12394 .elementor-element.elementor-element-b6d1e27,
.elementor-12416 .elementor-element.elementor-element-5232d60,
.elementor-12428 .elementor-element.elementor-element-2b58d25,
.elementor-3 .elementor-element.elementor-element-700d73c {
  --overlay-opacity: 0.45 !important;
}
:is(.elementor-12075 .elementor-element-756836b, .elementor-12076 .elementor-element-6b94fc3, .elementor-12093 .elementor-element-5125c3c, .elementor-12394 .elementor-element-b6d1e27, .elementor-12416 .elementor-element-5232d60, .elementor-12428 .elementor-element-2b58d25, .elementor-3 .elementor-element-700d73c) .animated-text {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.45);
}
/* título inteiro em branco (a parte destacada era dourada e sumia na foto clara); o sublinhado continua dourado */
:is(.elementor-12075 .elementor-element-756836b, .elementor-12076 .elementor-element-6b94fc3, .elementor-12093 .elementor-element-5125c3c, .elementor-12394 .elementor-element-b6d1e27, .elementor-12416 .elementor-element-5232d60, .elementor-12428 .elementor-element-2b58d25, .elementor-3 .elementor-element-700d73c) .animated-text :is(.dynamic-wrapper, .dynamic-text, .normal-text) {
  color: #fff !important;
}
/* Título do banner inteiro em branco (a palavra em destaque era dourada); o sublinhado continua dourado */
:is(.elementor-12075 .elementor-element-756836b, .elementor-12076 .elementor-element-6b94fc3, .elementor-12093 .elementor-element-5125c3c, .elementor-12394 .elementor-element-b6d1e27, .elementor-12416 .elementor-element-5232d60, .elementor-12428 .elementor-element-2b58d25, .elementor-3 .elementor-element-700d73c) .animated-text :is(.normal-text, .dynamic-wrapper, .dynamic-text) {
  color: #fff !important;
}
:is(.elementor-12075 .elementor-element-756836b, .elementor-12076 .elementor-element-6b94fc3, .elementor-12093 .elementor-element-5125c3c, .elementor-12394 .elementor-element-b6d1e27, .elementor-12416 .elementor-element-5232d60, .elementor-12428 .elementor-element-2b58d25, .elementor-3 .elementor-element-700d73c) .elementor-icon-list-text {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
