body, button, input, textarea, select {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	line-height: 1.2;
}

a.wp-block-button__link[href*="wa.me"], a.wp-block-button__link[href*="api.whatsapp.com"] {
	background-color: #25D366 !important;
	border-color: #25D366 !important;
	color: #ffffff !important;
}

.custom-logo-link {
	display: block;
	padding: 12px 0;
	text-align: center;
}

.custom-logo {
	width: 120px !important;
	max-width: 120px !important;
	height: auto !important;
	object-fit: contain !important;
}

.site-branding {
	padding: 0 !important;
	min-height: 0 !important;
}

@media (max-width: 600px) {
	.custom-logo {
		width: 90px !important;
		max-width: 90px !important;
	}
	
	.custom-logo-link {
		padding: 8px 0;
	}
}/* CORREÇÃO HOME TECH - PÁGINA INICIAL EM LARGURA TOTAL */

body.home .site,
body.home #page,
body.home #content,
body.home .site-content,
body.home .content-area,
body.home #primary,
body.home #main,
body.home .site-main,
body.home article,
body.home .entry-content {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.home .entry-content .home-ref {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

html,
body {
    overflow-x: hidden !important;
}/* Corrige o topo quando estiver logado no WordPress */
body.home.admin-bar {
    padding-top: 32px !important;
}

@media screen and (max-width: 782px) {
    body.home.admin-bar {
        padding-top: 46px !important;
    }
}

/* Remover apenas o crédito do rodapé */
a[href*="footer_custom_powered"] { display: none !important; }

/* Cabeçalho compacto das páginas internas */
body:not(.home) #masthead {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px;
  min-height: 88px;
  padding: 10px max(24px, calc((100vw - 1180px) / 2)) !important;
  background: #fff;
  border-bottom: 1px solid #e6ebf2;
  box-shadow: 0 4px 18px rgba(6, 38, 82, .06);
}
body:not(.home) #masthead .site-branding {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px;
  width: auto !important;
  flex: 0 0 auto;
  margin: 0 !important;
}
body:not(.home) #masthead .site-logo {
  width: 62px;
  height: 45px;
  overflow: hidden;
  flex: 0 0 62px;
}
body:not(.home) #masthead .custom-logo-link {
  display: block;
  padding: 0 !important;
  line-height: 0;
}
body:not(.home) #masthead .custom-logo {
  width: 62px !important;
  max-width: 62px !important;
  height: auto !important;
}
body:not(.home) #masthead .site-title {
  display: block !important;
  position: static !important;
  clip: auto !important;
  clip-path: none !important;
  margin: 0 !important;
  line-height: 1;
}
body:not(.home) #masthead .site-title a {
  display: block;
  font-size: 0 !important;
  color: #0b3a77 !important;
  text-decoration: none;
}
body:not(.home) #masthead .site-title a::before {
  content: 'HOME TECH';
  display: block;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.1;
}
body:not(.home) #masthead .site-title a::after {
  content: 'ASSISTÊNCIA TÉCNICA';
  display: block;
  margin-top: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.1;
}
body:not(.home) #masthead .site-description {
  display: none !important;
}
body:not(.home) #masthead #site-navigation {
  flex: 0 0 auto;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body:not(.home) #site-navigation .main-menu > li::after {
  content: none !important;
}
body:not(.home) #site-navigation .main-menu a {
  display: block;
  color: #10244d !important;
  background: transparent !important;
  border-radius: 8px;
  font-size: 14px !important;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none !important;
  transition: color .2s ease, background-color .2s ease;
}
body:not(.home) #site-navigation .main-menu a:hover,
body:not(.home) #site-navigation .main-menu a:focus-visible,
body:not(.home) #site-navigation .current-menu-item > a {
  color: #0866e8 !important;
  background: #eef5ff !important;
}
body:not(.home) #site-navigation a:focus-visible,
body:not(.home) #toggle-menu:focus-visible {
  outline: 2px solid #0866e8;
  outline-offset: 2px;
}
body:not(.home) #site-navigation .main-menu > li:last-child > a,
body:not(.home) #site-navigation .main-menu > li:last-child > a:hover,
body:not(.home) #site-navigation .main-menu > li:last-child > a:focus-visible {
  color: #fff !important;
  background: #16a83e !important;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}
body:not(.home) #site-navigation .main-menu > li:last-child > a:hover {
  background: #128b33 !important;
}
@media (min-width: 901px) {
  body:not(.home) #masthead {
    justify-content: center !important;
    gap: clamp(64px, 7vw, 120px);
  }
  body:not(.home) #site-navigation .menu-menu-principal-container {
    display: block !important;
  }
  body:not(.home) #site-navigation .main-menu {
    display: flex !important;
    align-items: center;
    gap: 4px;
    margin: 0;
  }
  body:not(.home) #site-navigation .main-menu a {
    padding: 12px 14px !important;
  }
  body:not(.home) #site-navigation .main-menu > li:last-child {
    margin-left: 18px;
  }
  body:not(.home) #site-navigation .main-menu > li:last-child > a {
    padding: 12px 23px !important;
  }
}
@media (max-width: 900px) {
  body:not(.home) #masthead {
    min-height: 68px;
    gap: 10px;
    padding: 8px 18px !important;
  }
  body:not(.home) #masthead .site-branding {
    gap: 8px;
    min-width: 0;
  }
  body:not(.home) #masthead .site-logo {
    width: 48px;
    height: 36px;
    flex-basis: 48px;
  }
  body:not(.home) #masthead .custom-logo {
    width: 48px !important;
    max-width: 48px !important;
  }
  body:not(.home) #masthead .site-title a::before {
    font-size: 16px;
  }
  body:not(.home) #masthead .site-title a::after {
    font-size: 7px;
    letter-spacing: .16em;
  }
  body:not(.home) #site-navigation #toggle-menu {
    display: inline-block !important;
    background: #f5f8fc !important;
    color: #10244d !important;
    border: 1px solid #e5eaf2;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 14px;
    text-transform: none;
  }
  body:not(.home) #site-navigation .menu-menu-principal-container {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 14px;
    right: 14px;
    z-index: 50;
    background: #fff;
    border: 1px solid #e5eaf2;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(6, 38, 82, .13);
    overflow: hidden;
  }
  body:not(.home) #site-navigation #toggle:checked ~ .menu-menu-principal-container {
    display: block !important;
  }
  body:not(.home) #site-navigation .main-menu {
    display: block !important;
    margin: 0;
  }
  body:not(.home) #site-navigation .main-menu > li {
    display: block;
  }
  body:not(.home) #site-navigation .main-menu a {
    padding: 12px 16px !important;
  }
  body:not(.home) #site-navigation .main-menu > li:last-child {
    margin: 8px;
  }
  body:not(.home) #site-navigation .main-menu > li:last-child > a {
    text-align: center;
  }
}

/* Títulos no mesmo eixo do conteúdo */
body:not(.home) .entry-header {
  width: calc(100% - 40px) !important;
  max-width: 750px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body:not(.home) .entry-title {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 680px) {
  body:not(.home) .entry-content .ht-page,
  body:not(.home) .entry-content .ht-about {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Ajustes finais de alinhamento no celular */
@media (max-width: 680px) {
  body.page-id-359 .entry-content .ht-intro {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.page-id-71 .entry-title,
  body.page-id-147 .entry-title {
    padding-left: 12px !important;
  }
}

/* Impede que elementos invisíveis do tema desloquem o cabeçalho */
body:not(.home) #masthead::before,
body:not(.home) #masthead::after {
  content: none !important;
  display: none !important;
}

/* Mesmo contêiner e eixo visual em todas as páginas internas */
body:not(.home),
body:not(.home) #page.site {
  background: #fff !important;
}
body:not(.home) #page.site {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
body:not(.home) #masthead {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
body.page-id-71 .entry-title,
body.page-id-147 .entry-title {
  color: #062652 !important;
  font-size: 44px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}
@media (max-width: 680px) {
  body.page-id-71 .entry-title,
  body.page-id-147 .entry-title {
    font-size: 32px !important;
  }
}

/* Títulos começam no mesmo eixo do texto e dos cartões */
body:not(.home) .entry-header,
body:not(.home) .entry-title {
  text-align: left !important;
}
