/* ============================================================
   NEGOCIOS-ON — MODERN SKIN (refresh visual 2026)
   ------------------------------------------------------------
   Camada de modernização carregada DEPOIS de custom.css e
   ANTES do CSS personalizado do painel (que continua vencendo).
   Usa as variáveis de cor definidas no painel:
   --texto_principal, --texto_secundaria, --texto_menu,
   --texto_topo, --bg_topo, --bg_cabecalho, --bg_menu,
   --hover, --bg_geral, --overlay, --footer_bg, --footer_color
   ============================================================ */

/* ============================================================
   0. TOKENS DE DESIGN
   ============================================================ */
:root {
  --mk-font-display: "Plus Jakarta Sans", "Roboto", Helvetica, Arial, sans-serif;
  --mk-font-body: "Inter", "Roboto", Helvetica, Arial, sans-serif;

  --mk-ink: #101828;
  --mk-ink-soft: #475467;
  --mk-ink-mute: #667085;
  --mk-line: #e8ebf1;
  --mk-surface: #f7f8fb;

  --mk-grad: linear-gradient(135deg, var(--bg_geral), var(--hover));

  --mk-radius-sm: 10px;
  --mk-radius: 16px;
  --mk-radius-lg: 24px;
  --mk-pill: 999px;

  --mk-shadow-sm: 0 4px 14px rgba(16, 24, 40, 0.06);
  --mk-shadow: 0 12px 32px rgba(16, 24, 40, 0.10);
  --mk-shadow-lg: 0 24px 56px rgba(16, 24, 40, 0.16);

  --mk-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   1. BASE / TIPOGRAFIA
   ============================================================ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--mk-font-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.title,
.subtitle,
.article-title,
.page-title,
.banner-middle-title,
.title-widget {
  font-family: var(--mk-font-display);
}

::selection {
  background: var(--bg_geral);
  color: #fff;
}

/* Scrollbar discreta */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f3f7;
}

::-webkit-scrollbar-thumb {
  background: #c4cbd8;
  border-radius: 99px;
  border: 2px solid #f1f3f7;
}

::-webkit-scrollbar-thumb:hover {
  background: #9aa4b6;
}

/* Acessibilidade: anel de foco visível para navegação por teclado */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--bg_geral) !important;
  outline-offset: 2px !important;
}

/* Loader mais leve e moderno */
body.loader::after {
  width: 56px;
  height: 56px;
  top: calc(50% - 28px);
  left: calc(50% - 28px);
  border-width: 4px;
  border-color: #edf0f5;
  border-top-color: var(--bg_geral);
  animation-duration: 0.9s;
}

/* ============================================================
   2. BOTÕES
   ============================================================ */
.button,
button.btn-main,
.orcamento-section .btn-main {
  width: auto;
  min-width: 0;
  height: auto;
  padding: 13px 32px;
  line-height: 1.35;
  font-family: var(--mk-font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: var(--mk-pill);
  transition: transform 0.25s var(--mk-ease), box-shadow 0.25s var(--mk-ease),
    background 0.25s var(--mk-ease), color 0.25s var(--mk-ease);
}

.button.btn-main,
button.btn-main {
  color: #fff !important;
  background: var(--mk-grad);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--bg_geral) 35%, transparent);
  border: 0;
}

a.button:hover,
a.button:focus,
button.btn-main:hover,
.orcamento-section .btn-main:hover {
  color: #fff !important;
  background: var(--mk-grad);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--bg_geral) 45%, transparent);
}

/* Botão de orçamento que leva ao WhatsApp */
.btn-orcamento-whats {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-orcamento-whats .fa {
  font-size: 20px;
}

/* Botão outline "Ver mais / Ver todas" */
.btn-mais {
  display: inline-block;
  padding: 12px 34px;
  border: 2px solid var(--bg_geral);
  border-radius: var(--mk-pill);
  color: var(--bg_geral);
  font-family: var(--mk-font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: transparent;
  transition: all 0.25s var(--mk-ease);
}

.btn-mais:hover {
  border-color: transparent;
  background: var(--mk-grad);
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--bg_geral) 40%, transparent);
}

.btn-mais:hover:after {
  content: none;
}

/* Botão "Saiba Mais" da seção empresa (fundo colorido) */
.who-alt .btn.btn-flat {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--mk-pill);
  color: #fff !important;
  font-family: var(--mk-font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  background: transparent;
  transition: all 0.25s var(--mk-ease);
}

.who-alt .btn.btn-flat:hover {
  background: #fff;
  color: var(--bg_geral) !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
}

/* ============================================================
   3. HEADER
   ============================================================ */

/* --- Topbar --- */
.bg-white .header-topbar {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.bg-white .header-topbar a.item {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.header-topbar .topbar-left-icon {
  margin-right: 8px;
  opacity: 0.9;
}

.header-topbar li a.topbar-icon {
  transition: transform 0.2s var(--mk-ease), opacity 0.2s var(--mk-ease);
}

.header-topbar li a.topbar-icon:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

/* --- Barra principal --- */
.header-main {
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.06);
}

.header-main .logo {
  transition: max-height 0.3s var(--mk-ease);
}

/* Menu fixo com efeito "vidro" */
.header-main.header-fixed {
  background-color: color-mix(in srgb, var(--bg_menu) 88%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.10);
}

/* --- Links do menu --- */
.bg-white nav.navigation a.main-menu {
  font-family: var(--mk-font-display);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

@media screen and (min-width: 769px) {
  nav.navigation .nav-links > li > a.main-menu {
    position: relative;
    display: inline-block; /* garante caixa completa p/ o sublinhado */
  }

  /* Sublinhado animado */
  nav.navigation .nav-links > li > a.main-menu::after {
    content: "";
    position: absolute;
    left: 7px;
    right: 23px;
    bottom: 24px;
    height: 3px;
    border-radius: 3px;
    background: var(--mk-grad);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s var(--mk-ease);
  }

  nav.navigation .nav-links > li:hover > a.main-menu::after,
  nav.navigation .nav-links > li.active > a.main-menu::after {
    transform: scaleX(1);
  }

  .header-fixed nav.navigation .nav-links > li > a.main-menu::after {
    bottom: 6px;
  }

  /* --- Dropdown moderno (somente desktop) --- */
  nav.navigation li.dropdown ul.dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    min-width: 260px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid var(--mk-line);
    border-top: 3px solid var(--bg_geral);
    background: #fff;
    box-shadow: var(--mk-shadow-lg);
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    transition: opacity 0.25s var(--mk-ease), transform 0.25s var(--mk-ease),
      visibility 0.25s var(--mk-ease);
  }

  nav.navigation li.dropdown:hover ul.dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(4px);
    pointer-events: auto;
  }

  ul.dropdown-menu > li > a {
    line-height: 1.4;
    padding: 11px 16px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 500;
    color: var(--mk-ink-soft);
    white-space: normal;
    transition: background 0.2s var(--mk-ease), color 0.2s var(--mk-ease),
      padding-left 0.2s var(--mk-ease);
  }

  ul.dropdown-menu > li > a:hover,
  ul.dropdown-menu > li > a:focus {
    background: color-mix(in srgb, var(--bg_geral) 8%, #fff);
    color: var(--bg_geral) !important;
    padding-left: 22px;
  }
}

/* Botão CTA do menu (link externo) */
.botao-link-externo {
  display: inline-block;
  padding: 11px 26px !important;
  border-radius: var(--mk-pill);
  background: var(--mk-grad);
  color: #fff !important;
  font-family: var(--mk-font-display);
  font-weight: 700;
  line-height: 1.35 !important;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--bg_geral) 35%, transparent);
  transition: transform 0.25s var(--mk-ease), box-shadow 0.25s var(--mk-ease);
}

.botao-link-externo:hover {
  background: var(--mk-grad);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--bg_geral) 45%, transparent);
}

/* Hamburger */
.btn-hamburger {
  border-radius: 10px;
  transition: background 0.2s var(--mk-ease);
}

/* Menu offcanvas (mobile) */
@media screen and (max-width: 768px) {
  .navbar-offcanvas {
    box-shadow: 24px 0 60px rgba(0, 0, 0, 0.35);
  }

  .navbar-offcanvas .navbar-nav li a.main-menu {
    font-family: var(--mk-font-display);
    font-weight: 600;
  }
}

/* ============================================================
   4. HERO / SLIDE
   ============================================================ */
.homepage-02 .page-banner {
  max-height: 800px;
}

/* Altura mínima só no desktop (no mobile o tema usa banner de 300px) */
@media screen and (min-width: 769px) {
  .homepage-02 .page-banner {
    min-height: 520px;
  }
}

/* Gradiente sutil para legibilidade do texto sobre a foto */
.homepage-02 .page-banner:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
  background: linear-gradient(
    92deg,
    rgba(8, 12, 20, 0.60) 0%,
    rgba(8, 12, 20, 0.32) 48%,
    rgba(8, 12, 20, 0.05) 78%,
    rgba(8, 12, 20, 0) 100%
  );
  z-index: 1;
}

.homepage-02 .page-banner .container {
  position: relative;
  z-index: 2;
}

.homepage-02 .content-wrapper .title,
.homepage-02 .page-banner .title.slide-campo-titulo {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-bottom: 18px;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.45);
}

.homepage-02 .content-wrapper .text,
.homepage-02 .page-banner .text.slide-campo-texto {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 34px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

.homepage-02 .page-banner .slide-campo-botao {
  font-size: 15.5px;
  line-height: 1.35;
  padding: 15px 38px;
}

/* Dots do slider */
.homepage-02 .slick-dots {
  bottom: 26px;
}

.homepage-02 .slick-dots li,
.testimonial .slick-dots li {
  width: auto;
  height: auto;
  margin: 0 4px;
}

.homepage-02 .slick-dots li button {
  font-size: 0;
  line-height: 0;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.45);
  transition: all 0.3s var(--mk-ease);
}

.homepage-02 .slick-dots li button:before {
  content: none;
}

.homepage-02 .slick-dots li.slick-active button {
  width: 30px;
  background: #fff;
}

/* ============================================================
   5. TÍTULOS DE SEÇÃO
   ============================================================ */
.title-wrapper {
  display: block;
  margin-bottom: 52px;
}

.title-wrapper.title-wrapper-main {
  text-align: center;
}

.title-wrapper .title {
  transform: none;
  white-space: normal;
  text-transform: none;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

/* Barrinha de destaque acima do título */
.title-wrapper .title::before {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: var(--mk-grad);
  margin: 0 auto 18px;
    margin-left: auto;
  display: none;
}

.title-wrapper.title-wrapper-alt .title::before {
  margin-left: 0;
}

/* Branco somente na seção empresa (painel colorido); nos módulos HTML
   (fundo branco) o título mantém a cor padrão do painel */
.who-alt .title-wrapper-alt .title::before {
  background: rgba(255, 255, 255, 0.9);
}

.who-alt .title-wrapper-alt .title {
  color: #fff !important;
}

/* ============================================================
   6. CARDS DE SERVIÇOS / PRODUTOS (.finance)
   ============================================================ */
.finance .row {
  display: flex;
  flex-wrap: wrap;
  row-gap: 28px;
}

.finance .row > [class*="col-"] {
  display: flex;
  float: none;
}

/* Linha do botão "Ver Mais" (div.col sem largura) ocupa a linha toda */
.finance .row > .col {
  flex: 1 1 100%;
}

.finance-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  min-height: 100%;
  padding: 0 0 24px;
  overflow: hidden;
  text-align: left;
  background: #fff;
  border: 1px solid var(--mk-line);
  border-radius: 18px;
  box-shadow: var(--mk-shadow-sm);
  transition: transform 0.3s var(--mk-ease), box-shadow 0.3s var(--mk-ease),
    border-color 0.3s var(--mk-ease);
}

.finance-item:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--mk-shadow-lg);
}

.finance-item .img-wrapper,
.finance-item .wp-img.img-wrapper {
  display: block;
  height: auto;
  aspect-ratio: 4 / 3;
  margin-bottom: 20px;
  overflow: hidden;
}

.finance-item .img-wrapper img {
  transition: transform 0.5s var(--mk-ease);
}

.finance-item:hover .img-wrapper img {
  transform: scale(1.06);
}

.finance-item .title {
  height: auto;
  min-height: 0;
  padding: 0 24px;
  margin-bottom: 10px;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--mk-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.finance-item .introducao {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: auto;
  margin-bottom: 0;
  padding: 0 24px;
  overflow: visible;
}

.finance-item p,
.finance-item .text {
  height: auto;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--mk-ink-mute);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Produtos: texto/link ficam soltos no card (sem .introducao) */
.finance-item > .text {
  padding: 0 24px;
  flex: 1;
}

.finance-item .more {
  margin-top: auto;
  padding: 14px 24px 0;
  font-family: var(--mk-font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--bg_geral);
  align-self: flex-start;
}

.finance-item .introducao .more {
  padding-left: 0;
  padding-right: 0;
}

.finance-item .more .fa {
  transition: transform 0.25s var(--mk-ease);
}

.finance-item .more:hover {
  text-decoration: none;
}

.finance-item .more:hover .fa {
  transform: translateX(5px);
}

/* ============================================================
   7. SEÇÃO EMPRESA (.who-alt)
   ============================================================ */
section.who-alt.who-alt-banner {
  overflow: hidden;
}

/* Painel colorido com recorte diagonal */
.who-alt .who-content:before {
  left: -6%;
  width: 2000px;
  transform: skewX(-6deg);
  background: linear-gradient(
    135deg,
    var(--bg_geral) 0%,
    color-mix(in srgb, var(--bg_geral) 72%, #000) 100%
  );
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.25);
}

.who-alt .text-light {
  font-size: 15.5px;
  line-height: 1.85;
}

.who-alt .text-light > div:first-child {
  margin-bottom: 28px;
}

/* ============================================================
   8. DEPOIMENTOS
   ============================================================ */
.testimonial .content {
  background: var(--mk-surface);
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius-lg);
}

.w3-icon {
  font-size: 72px;
  line-height: 1;
  color: var(--bg_geral);
  opacity: 0.9;
}

.testimonial .quote {
  border: 0;
  margin: 0;
  padding: 0 0 0 8px;
}

.testimonial .quote p {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--mk-ink-soft);
}

.testimonial .name {
  font-family: var(--mk-font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--mk-ink);
}

img.testimonial-man {
  border-radius: var(--mk-radius-lg);
  box-shadow: var(--mk-shadow);
}

/* Dots do slider de depoimentos */
.testimonial .slick-dots li button {
  font-size: 0;
  line-height: 0;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0 !important;
  border-radius: 99px;
  background: #d3d9e3;
  transition: all 0.3s var(--mk-ease);
}

.testimonial .slick-dots li.slick-active button {
  width: 30px;
  background: var(--mk-grad);
}

@media screen and (max-width: 991px) {
  .testimonial .testimonial-man {
    position: static;
    transform: none;
    display: block;
    margin: 24px auto 0;
  }
}

/* ============================================================
   9. GALERIA
   ============================================================ */
.grid-item {
  padding: 6px;
}

.grid-item a.fancybox {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
}

.grid-item img {
  transition: transform 0.5s var(--mk-ease);
}

.grid-item a.fancybox:hover img {
  transform: scale(1.07);
}

.grid-item .dh-overlay {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--bg_geral) 25%, transparent) 0%,
    color-mix(in srgb, var(--bg_geral) 78%, #000 10%) 100%
  );
  opacity: 0.88;
}

.grid-item .dh-overlay::after {
  content: "+";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 44px;
  font-weight: 300;
  line-height: 1;
  color: #fff;
}

/* --- Grade responsiva da galeria ---
   O tema deixava 3 colunas de 300px de altura no celular (fotos em
   "tiras"). Aqui: menos colunas e altura proporcional por faixa. */
@media screen and (max-width: 991px) {
  .grid-sizer,
  .grid-item {
    height: 250px;
  }
}

@media screen and (max-width: 768px) {
  .grid-item,
  .grid-sizer {
    width: 33.33333%;
    height: 220px;
  }

  .grid-item--width2 {
    width: 66.66667%;
  }
}

@media screen and (max-width: 600px) {
  .grid-item,
  .grid-sizer {
    width: 50%;
    height: 200px;
  }

  .grid-item--width2 {
    width: 100%;
  }

  .grid-item {
    padding: 4px;
  }

  .grid-item .dh-overlay::after {
    font-size: 34px;
  }
}

@media screen and (max-width: 400px) {
  .grid-item,
  .grid-sizer {
    height: 160px;
  }
}

/* Filtros da galeria em formato de pílula */
.portfolio-alt ul.nav-tabs {
  border-bottom: 0;
}

.portfolio-alt ul.nav-tabs > .port-item > a,
.portfolio-alt ul.nav-tabs > .port-item.active > a {
  border-radius: var(--mk-pill);
  border: 1px solid var(--mk-line);
  font-weight: 600;
  transition: all 0.25s var(--mk-ease);
}

.portfolio-alt ul.nav-tabs > .port-item.active > a,
.portfolio-alt ul.nav-tabs > .port-item > a:hover {
  background: var(--mk-grad);
  border-color: transparent;
  color: #fff !important;
}

.portfolio-alt ul.nav-tabs > li.port-item:after {
  content: none;
}

section#section-galeria li.port-item.port-more {
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-pill);
}

/* ============================================================
   10. PARCEIROS
   ============================================================ */
.achievement .banner-main-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.achievement .banner-right .wrapper-img,
.newsletter .banner-right .wrapper-img {
  float: none;
  opacity: 1;
}

.achievement .item-logo img.logo-achievement {
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.3s var(--mk-ease), opacity 0.3s var(--mk-ease),
    transform 0.3s var(--mk-ease);
}

.achievement .item-logo:hover img.logo-achievement {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

/* ============================================================
   11. SEÇÃO CONTATO (banner) + FORMULÁRIOS
   ============================================================ */
.newsletter.newsletter-banner {
  background: linear-gradient(
    135deg,
    var(--bg_geral) 0%,
    color-mix(in srgb, var(--bg_geral) 70%, #000) 100%
  );
}

.newsletter .banner-middle:before {
  background: linear-gradient(
    135deg,
    var(--bg_geral) 0%,
    color-mix(in srgb, var(--bg_geral) 70%, #000) 100%
  );
}

.newsletter .banner-main-middle .banner-middle-title {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.newsletter .banner-main-middle .service {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.newsletter .banner-main-middle .service i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  font-size: 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.newsletter .banner-main-left i {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

/* --- Inputs globais --- */
.form-control {
  height: 50px;
  padding: 12px 18px;
  font-family: var(--mk-font-body);
  font-size: 14.5px;
  color: var(--mk-ink);
  background-color: #fff;
  border: 1px solid #dde2ea;
  border-radius: 12px;
  box-shadow: none;
  transition: border-color 0.2s var(--mk-ease), box-shadow 0.2s var(--mk-ease);
}

.form-control:focus {
  border-color: var(--bg_geral);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--bg_geral) 14%, transparent);
}

.form-control::placeholder {
  color: #98a2b3;
}

textarea.form-control,
.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form .form-control {
  margin-bottom: 16px;
}

.contact-form .btn-main {
  margin-top: 6px;
}

/* Captcha */
.captcha {
  border-radius: 10px;
  border: 1px solid #dde2ea;
}

input.captcha_result {
  border-radius: 10px;
  border: 1px solid #dde2ea;
  padding: 10px 14px;
}

/* ============================================================
   12. BLOG
   ============================================================ */
.news .wp-img {
  display: block;
  overflow: hidden;
  border-radius: var(--mk-radius);
}

.news .wp-img img {
  border-radius: var(--mk-radius);
  transition: transform 0.5s var(--mk-ease);
}

.news .wp-img:hover img {
  transform: scale(1.06);
}

.news .article-title {
  font-family: var(--mk-font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--mk-ink);
}

.news .date {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 5px 14px;
  margin-bottom: 12px;
  border-radius: var(--mk-pill);
  background: color-mix(in srgb, var(--bg_geral) 10%, #fff);
  color: var(--bg_geral);
  font-family: var(--mk-font-display);
  font-weight: 700;
  font-size: 13px;
}

.news .date:before {
  content: none;
}

.news .date .day,
.news .date .month,
.news .date .sep {
  font-size: 13px;
  color: var(--bg_geral);
}

.news .preview p {
  color: var(--mk-ink-mute);
  font-size: 14px;
}

.news .readmore {
  font-family: var(--mk-font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--bg_geral);
}

.news .readmore > i {
  transition: transform 0.25s var(--mk-ease);
}

.news .readmore:hover > i {
  transform: translateX(5px);
}

/* Detalhe de blog / serviço / produto */
.blog-detail-content .content > .title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--mk-ink);
}

.blog-detail-content .description {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--mk-ink-soft);
}

.blog-detail-wrapper .blog-image img {
  border-radius: var(--mk-radius);
  box-shadow: var(--mk-shadow-sm);
}

.item-servico img,
.galeria-produtos .item img {
  border-radius: var(--mk-radius);
}

.main-text.item-servico {
  gap: 40px;
}

/* Sidebar */
.sidebar .widget .title-widget {
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  border-left: 4px solid var(--bg_geral);
  border-radius: 0 12px 12px 0;
  background: var(--mk-surface);
}

.single-recent-post-widget .img-wrapper img {
  border-radius: 10px;
}

.single-recent-post-widget .post-info .description {
  font-weight: 600;
  line-height: 1.4;
}

/* Paginação */
.pagination-wrapper .pagi-link {
  border-radius: 12px !important;
  border: 1px solid var(--mk-line);
  font-weight: 600;
  transition: all 0.25s var(--mk-ease);
}

.pagination-wrapper .pagi-link.active,
.pagination-wrapper .pagi-link:hover {
  background: var(--mk-grad);
  border-color: transparent;
  color: #fff !important;
}

/* ============================================================
   13. CAPA DAS PÁGINAS INTERNAS
   ============================================================ */
.page-title-wrapper .title {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.page-title-wrapper .breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 9px 20px;
  margin-bottom: 0;
  border-radius: var(--mk-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.page-title-wrapper .breadcrumb li,
.page-title-wrapper .breadcrumb li .link {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13.5px;
  font-weight: 500;
}

.page-title-wrapper .breadcrumb > li + li:before {
  content: "›";
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   14. FOOTER
   ============================================================ */
.footer-main:before {
  opacity: 0.88;
}

.footer-main h4.title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 34px;
  padding-left: 0;
}

.footer-main h4.title:before {
  position: static;
  display: block;
  width: 34px;
  height: 4px;
  border-radius: 4px;
  margin-bottom: 12px;
  transform: none;
  background: var(--mk-grad);
}

/* Especificidade maior que o legado (.contact-us .contact-item {display:table}
   e .contact-us .fa {display:table-cell; width:25px}) para o flex valer */
footer .contact-us .contact-item,
footer .contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

footer .contact-us .contact-item .fa,
footer .contact-us .contact-item i,
footer .contact-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  font-size: 25px;
  line-height: 1;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

footer .contact-us .contact-item .description,
footer .contact-item .description {
  display: block;
  width: auto;
  margin: 0;
  line-height: 1.6;
}

/* Redes sociais */
footer .social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

footer .social-list li {
  margin: 0 !important;
  padding: 0;
}

footer .social-list li a.link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: all 0.25s var(--mk-ease);
}

footer .social-list li a.link:hover {
  background: var(--mk-grad);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--bg_geral) 40%, transparent);
}

/* Newsletter do footer */
footer .newsletter-form .form-control {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

footer .newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

footer .newsletter-form .form-control:focus {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

footer .newsletter-form .input-group {
  display: flex;
  gap: 10px;
}

footer .newsletter-form .input-group .form-control {
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 12px !important;
}

/* O Bootstrap define .input-group-btn como table-cell com width:1% —
   no flex isso espremia o span e o botão vazava cortado */
footer .newsletter-form .input-group-btn {
  display: block;
  width: auto;
  flex: 0 0 auto;
}

footer .bg-newsletter {
  border: 0;
  border-radius: 12px !important;
  padding: 0 24px;
  font-family: var(--mk-font-display);
  font-weight: 700;
  white-space: nowrap;
  background: var(--mk-grad);
  color: #fff;
  transition: transform 0.25s var(--mk-ease), box-shadow 0.25s var(--mk-ease);
}

/* Em telas estreitas o botão desce p/ baixo do campo de e-mail */
@media screen and (max-width: 480px) {
  footer .newsletter-form .input-group {
    flex-wrap: wrap;
  }

  footer .newsletter-form .input-group-btn,
  footer .newsletter-form .input-group-btn .bg-newsletter {
    width: 100%;
  }

  footer .newsletter-form .input-group-btn .bg-newsletter {
    height: 45px;
  }
}

footer .bg-newsletter:hover {
  background: var(--mk-grad);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

/* Sub-footer */
.footer-sub {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================================
   15. ELEMENTOS FLUTUANTES
   ============================================================ */

/* WhatsApp */
.btn-whatsapp {
  border: 0;
  background: linear-gradient(135deg, #35d769, #0faf4b);
  box-shadow: 0 12px 28px rgba(18, 183, 87, 0.45);
  transition: transform 0.25s var(--mk-ease), box-shadow 0.25s var(--mk-ease);
}

.btn-whatsapp::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: mk-whats-pulse 2s ease-out infinite;
  pointer-events: none;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #35d769, #0faf4b);
  transform: scale(1.08);
  box-shadow: 0 16px 34px rgba(18, 183, 87, 0.55);
}

/* --- Widget de WhatsApp por região (Interior / Capital) --- */
.whats-float {
  position: fixed;
  right: 10px;
  bottom: 70px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

/* O FAB usa .btn-whatsapp (posição fixa no CSS legado). Dentro do
   wrapper ele volta a ser relativo — quem posiciona é o .whats-float. */
.whats-float .btn-whatsapp,
.whats-float .whats-fab-single {
  position: relative;
  right: auto;
  bottom: auto;
  cursor: pointer;
  color: #fff !important; /* repõe o branco que vinha da classe btn-success */
  text-decoration: none;
}

.whats-float .btn-whatsapp .fa,
.whats-float .whats-fab-single .fa {
  color: #fff;
}

/* Menu de opções */
.whats-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 264px;
  max-width: calc(100vw - 30px);
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--mk-shadow-lg);
  transform-origin: bottom right;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.25s var(--mk-ease), transform 0.25s var(--mk-ease),
    visibility 0.25s var(--mk-ease);
}

.whats-float.open .whats-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.whats-options-title {
  padding: 2px 4px 8px;
  font-family: var(--mk-font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--mk-ink);
}

.whats-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f3f6f4;
  transition: background 0.2s var(--mk-ease), transform 0.2s var(--mk-ease);
}

.whats-option:hover {
  background: #e6f7ec;
  transform: translateX(-2px);
}

.whats-option-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  font-size: 20px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #35d769, #0faf4b);
}

.whats-option-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.whats-option-label {
  font-family: var(--mk-font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--mk-ink);
}

.whats-option-sub {
  font-size: 12px;
  color: var(--mk-ink-mute);
}

/* Rótulo (Interior / Capital) nos endereços do rodapé */
footer .contact-item-address .contact-label {
  display: block;
  margin-bottom: 2px;
  font-family: var(--mk-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.85;
}

@keyframes mk-whats-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

/* Voltar ao topo */
#back-top .link {
  border-radius: 14px;
  border: 1px solid var(--mk-line);
  background: #fff;
  color: var(--mk-ink);
  box-shadow: var(--mk-shadow-sm);
}

#back-top .link:hover {
  transform: translateY(-4px);
  border-color: transparent;
  background: var(--mk-grad);
  color: #fff !important;
  box-shadow: var(--mk-shadow);
}

/* Aviso de cookies */
.politica_cookies {
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 780px;
  margin: 0 auto;
  padding: 16px 22px;
  gap: 14px;
  flex-wrap: wrap;
  border-radius: var(--mk-radius);
  background: rgba(13, 18, 28, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--mk-shadow-lg);
  font-size: 13.5px;
  line-height: 1.6;
}

.politica_cookies a {
  color: #7db4ff;
  text-decoration: underline;
}

button.btn-cookies {
  margin-left: 0;
  padding: 8px 22px;
  border: 0;
  border-radius: var(--mk-pill);
  font-weight: 700;
  background: var(--mk-grad);
}

/* Modal de boas-vindas */
#modal-boas-vindas .modal-conteudo {
  border-radius: var(--mk-radius-lg);
  box-shadow: var(--mk-shadow-lg);
}

/* ============================================================
   16. HARMONIZAÇÃO COM AS SEÇÕES CUSTOM (cp-*)
   ============================================================ */
.cp-counter .cp-counter-number {
  font-family: var(--mk-font-display);
}

.cp-process .cp-process-title,
.cp-choose .cp-choose-title,
.cp-counter .cp-counter-title {
  font-family: var(--mk-font-display);
  letter-spacing: -0.01em;
}

/* Grade do contador adaptável ao nº de boxes (3, 4, etc.).
   auto-fit ocupa a largura toda e quebra sozinho no mobile —
   dispensa as media queries fixas de 4/2/1 coluna. Seletor com
   2 classes vence a regra do painel (.cp-counter-grid) sem !important. */
.cp-counter .cp-counter-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  justify-content: center;
}

/* Ícones em <img> (do painel) centralizados no círculo */
.cp-counter .cp-counter-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* ============================================================
   16b. CTA DE CONVERSÃO (abaixo do sec-html-content / módulo 2)
   ============================================================ */
.mk-cta {
  padding: 72px 15px 64px;
}

.mk-cta-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 48px;
  max-width: 1290px;
  margin: 0 auto;
  padding: 52px 56px;
  overflow: hidden;
  border-radius: var(--mk-radius-lg);
  background: var(--mk-grad);
  box-shadow: 0 24px 56px color-mix(in srgb, var(--bg_geral) 35%, transparent);
}

/* Textura sutil, mesmo padrão do contador (cp-counter) */
.mk-cta-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.12) 0, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(255, 255, 255, 0.1) 0, transparent 40%);
  pointer-events: none;
}

.mk-cta-text {
  position: relative;
  flex: 1 1 480px;
  min-width: 0;
}

.mk-cta-tagline {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--mk-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.mk-cta-title {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
}

.mk-cta-title span {
  white-space: nowrap;
  border-bottom: 3px solid rgba(255, 255, 255, 0.45);
}

.mk-cta-subtitle {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.mk-cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.mk-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: var(--mk-pill);
  font-family: var(--mk-font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  transition: transform 0.25s var(--mk-ease), box-shadow 0.25s var(--mk-ease),
    background 0.25s var(--mk-ease);
}

.mk-cta-btn .fa {
  font-size: 19px;
}

.mk-cta-btn-primary {
  background: #fff;
  color: var(--bg_geral) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.mk-cta-btn-primary:hover {
  color: var(--bg_geral) !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.mk-cta-btn-whats {
  background: linear-gradient(135deg, #35d769, #0faf4b);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(15, 175, 75, 0.4);
}

.mk-cta-btn-whats:hover {
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 175, 75, 0.5);
}

@media screen and (max-width: 768px) {
  .mk-cta {
    padding: 48px 15px 42px;
  }

  .mk-cta-inner {
    padding: 36px 26px;
    text-align: center;
    justify-content: center;
  }

  .mk-cta-title span {
    white-space: normal;
  }

  .mk-cta-actions {
    width: 100%;
    justify-content: center;
  }

  .mk-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   17. RESPONSIVO / DIVERSOS
   ============================================================ */
@media screen and (max-width: 768px) {
  .title-wrapper {
    margin-bottom: 74px;
  }

  .title-wrapper .title {
    font-size: 24px;
  }

  .homepage-02 .page-banner .title.slide-campo-titulo {
    font-size: 26px;
  }

  .finance-item .title {
    padding: 0 16px;
    font-size: 15px;
  }

  .finance-item .introducao,
  .finance-item > .text {
    padding: 0 16px;
  }

  .finance-item .more {
    padding: 12px 16px 0;
  }

  .page-title-wrapper {
    padding: 70px 0;
  }

  .politica_cookies {
    flex-direction: column;
    text-align: center;
  }

  .main-text.item-servico {
    flex-direction: column;
  }

  .bloco-img-servico {
    flex: 0 0 auto;
  }
}

/* Respeita usuários que preferem menos animação */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   PÁGINA CONTATO — apenas rodapé
   Sem conteúdo no miolo, o rodapé subiria para o meio da tela em monitores
   altos. Estica o wrapper para que ele fique sempre no fim da janela.
   ========================================================================== */
#page_contato .body-wrapper-content {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#page_contato #wrapper-content {
  flex: 1 0 auto;
}

#page_contato footer {
  flex-shrink: 0;
}
