/*
Theme Name: Hugo Carvalho — Site Antigo
Theme URI: https://psicologohugocarvalho.com.br/
Author: Hugo Henrique Carvalho de Souza
Description: Tema clássico personalizado criado a partir dos blocos do antigo Criador de Sites.
Version: 1.4.37
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hhcs-site-antigo
*/

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  font-family: "Roboto", Arial, sans-serif;
}

main#conteudo-principal {
  display: block;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
}

.hhcs-conteudo-wordpress {
  width: min(1120px, calc(100% - 40px));
  margin: 60px auto;
  line-height: 1.7;
}

.hhcs-conteudo-wordpress h1 {
  line-height: 1.2;
}


/* Cabeçalho principal */
.hhcs-site-header,
.hhcs-site-header * {
  box-sizing: border-box;
}

.hhcs-site-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid rgba(8, 120, 207, 0.10);
  background-color: #f7f9fc;
  background-image:
    radial-gradient(circle at 8% 12%, rgba(38, 133, 211, 0.08) 0%, transparent 28%),
    radial-gradient(circle at 92% 88%, rgba(23, 139, 208, 0.06) 0%, transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.hhcs-header-inner {
  display: flex;
  align-items: center;
  width: min(1240px, calc(100% - 48px));
  min-height: 96px;
  margin: 0 auto;
  gap: 34px;
}

.hhcs-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}

.hhcs-logo-link,
.hhcs-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.hhcs-logo-image,
.hhcs-brand .custom-logo {
  display: block;
  width: auto;
  max-width: 290px;
  height: 82px;
  max-height: 82px;
  object-fit: contain;
  object-position: left center;
}

.hhcs-primary-navigation {
  flex: 1 1 auto;
  min-width: 0;
}

.hhcs-primary-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hhcs-primary-menu li {
  position: relative;
  margin: 0;
  padding: 0;
}

.hhcs-primary-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 13px;
  border-radius: 9px;
  color: #25364a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.hhcs-primary-menu a:hover,
.hhcs-primary-menu a:focus-visible,
.hhcs-primary-menu .current-menu-item > a,
.hhcs-primary-menu .current_page_item > a {
  color: #0878cf;
  background: rgba(8, 120, 207, 0.08);
  text-decoration: none;
}

.hhcs-primary-menu a:focus-visible {
  outline: 3px solid rgba(11, 131, 219, 0.25);
  outline-offset: 2px;
}

.hhcs-scheduling-area {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.hhcs-scheduling-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 7px 18px 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #ffffff;
  background-image: linear-gradient(135deg, #0b8be5 0%, #0878cf 48%, #075a9f 100%);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0, 42, 85, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.hhcs-scheduling-button:hover,
.hhcs-scheduling-button:focus-visible {
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 12px 24px rgba(0, 42, 85, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.hhcs-scheduling-button:focus-visible {
  outline: 3px solid rgba(11, 131, 219, 0.36);
  outline-offset: 3px;
}

.hhcs-scheduling-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.40);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.14);
  font-size: 14px;
}

.hhcs-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(8, 120, 207, 0.18);
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
}

.hhcs-menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 2px;
  background: #175783;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hhcs-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hhcs-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hhcs-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hhcs-mobile-scheduling-item,
.hhcs-mobile-scheduling-button {
  display: none;
}

@media (max-width: 1040px) {
  .hhcs-header-inner {
    gap: 20px;
  }

  .hhcs-logo-image,
  .hhcs-brand .custom-logo {
    max-width: 235px;
    height: 70px;
    max-height: 70px;
  }

  .hhcs-primary-menu a {
    padding-inline: 9px;
    font-size: 13px;
  }

  .hhcs-scheduling-button {
    padding-right: 13px;
  }
}

@media (max-width: 900px) {
  body.hhcs-menu-aberto {
    overflow: hidden;
  }

  .hhcs-header-inner {
    position: relative;
    justify-content: space-between;
    width: min(100% - 28px, 760px);
    min-height: 78px;
    gap: 16px;
  }

  .hhcs-logo-image,
  .hhcs-brand .custom-logo {
    width: auto;
    max-width: min(210px, 62vw);
    height: 66px;
    max-height: 66px;
  }

  .hhcs-menu-toggle {
    display: inline-flex;
    flex: 0 0 44px;
  }

  .hhcs-primary-navigation {
    position: absolute;
    top: calc(100% + 1px);
    left: -14px;
    right: -14px;
    display: none;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    padding: 12px 14px 18px;
    border-bottom: 1px solid rgba(8, 120, 207, 0.12);
    background: #ffffff;
    box-shadow: 0 18px 28px rgba(20, 52, 78, 0.14);
  }

  .hhcs-primary-navigation.is-open {
    display: block;
  }

  .hhcs-primary-menu {
    display: grid;
    align-items: stretch;
    justify-content: stretch;
    gap: 5px;
  }

  .hhcs-primary-menu a {
    display: flex;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    font-size: 15px;
  }

  .hhcs-scheduling-area {
    display: none;
  }

  .hhcs-mobile-scheduling-item {
    display: list-item;
  }

  .hhcs-mobile-scheduling-item a {
    justify-content: center;
    margin-top: 5px;
    color: #ffffff;
    background-image: linear-gradient(135deg, #0b8be5 0%, #0878cf 48%, #075a9f 100%);
  }

  .hhcs-mobile-scheduling-item a:hover,
  .hhcs-mobile-scheduling-item a:focus-visible {
    color: #ffffff;
    background-image: linear-gradient(135deg, #0b8be5 0%, #0878cf 48%, #075a9f 100%);
    filter: brightness(1.06);
  }
}

/* Recursos locais: tipografia do sistema e ícones SVG sem fontes externas. */
html, body { font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
i.fa-solid, i.fa-regular, i.fa-brands {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  line-height: 1;
}
.hhcs-inline-icon {
  display: block;
  width: 1em;
  height: 1em;
  overflow: visible;
  fill: currentColor;
}



/* Mantém os controles de privacidade centralizados sob o conjunto real de redes sociais. */
.rodape-social-controles {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  max-width: 100%;
  vertical-align: top;
}

.rodape-social-controles .rodape-redes {
  width: auto;
  max-width: 100%;
}

.rodape-social-controles .rodape-privacidade {
  box-sizing: border-box;
  align-self: center;
  width: auto;
  max-width: 100%;
  justify-content: center;
}

/* Política e controle de rastreamento na mesma linha. */
.rodape-privacidade {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.25;
  text-align: center;
}

.rodape-privacidade-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #0b8be5 0%, #0878cf 52%, #075a9f 100%);
  box-shadow: 0 5px 13px rgba(0,42,85,.22), inset 0 1px 0 rgba(255,255,255,.25);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}

.rodape-privacidade-link:hover,
.rodape-privacidade-link:focus-visible {
  color: #fff;
  filter: brightness(1.08);
  outline: 2px solid rgba(121,203,255,.78);
  outline-offset: 2px;
}

.rodape-rastreamento-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  width: 58px;
  height: 29px;
  margin: 0;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #0b8be5 0%, #0878cf 52%, #075a9f 100%);
  cursor: pointer;
  box-shadow: 0 5px 13px rgba(0,42,85,.22), inset 0 1px 0 rgba(255,255,255,.25);
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.rodape-rastreamento-toggle-text {
  position: absolute;
  left: 8px;
  z-index: 1;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .45px;
  pointer-events: none;
}

.rodape-rastreamento-toggle-knob {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 21px;
  height: 21px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,.25);
  transition: right .2s ease, left .2s ease, background-color .2s ease;
}

.rodape-rastreamento-toggle.is-off {
  justify-content: flex-end;
  color: #075a9f;
  background: #fff;
  border-color: rgba(255,255,255,.9);
}

.rodape-rastreamento-toggle.is-off .rodape-rastreamento-toggle-text {
  right: 7px;
  left: auto;
  color: #075a9f;
}

.rodape-rastreamento-toggle.is-off .rodape-rastreamento-toggle-knob {
  right: auto;
  left: 3px;
  border-color: #0b7fd2;
  background: #0b7fd2;
}

.rodape-rastreamento-toggle:hover,
.rodape-rastreamento-toggle:focus-visible {
  filter: brightness(1.08);
  outline: 2px solid rgba(121,203,255,.78);
  outline-offset: 2px;
}

.rodape-privacidade-status {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  margin-top: 1px;
  color: rgba(255,255,255,.82);
  font-size: 10px;
  font-weight: 500;
}



/* Versão 1.3.5: conjunto social e privacidade centralizado na coluna profissional. */
.rodape-coluna-dados .rodape-social-controles {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.rodape-coluna-dados .rodape-redes {
  display: flex;
  justify-content: center;
}

.rodape-coluna-dados .rodape-privacidade {
  justify-content: center;
  margin-right: auto;
  margin-left: auto;
}

.rodape-coluna-dados .rodape-privacidade-status {
  text-align: center;
}


/* Versão 1.3.6: redes e privacidade centralizadas pela largura do título social. */
.rodape-coluna-dados .rodape-redes-bloco {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  width: max-content;
  max-width: 100%;
  margin: 0;
}

.rodape-coluna-dados .rodape-redes-bloco .rodape-redes-titulo {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

.rodape-coluna-dados .rodape-redes-bloco .rodape-social-controles {
  align-self: center;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 760px) {
  .rodape-coluna-dados .rodape-redes-bloco {
    display: flex;
    width: fit-content;
    max-width: 100%;
  }
}


/* Versão 1.3.7: correção visual confirmada no rodapé.
   O grupo de redes/privacidade estava centralizado pela própria largura,
   cujo centro era cerca de 21 px à direita do centro visual do título. */
.rodape-coluna-dados .rodape-redes-bloco .rodape-social-controles {
  position: relative !important;
  left: -21px !important;
  transform: none !important;
}

@media (max-width: 760px) {
  .rodape-coluna-dados .rodape-redes-bloco .rodape-social-controles {
    left: -21px !important;
  }
}

/* Versão 1.4.15: ajuste fino visual do logotipo no cabeçalho.
   Move a marca um pouco mais para a direita em desktop,
   preservando o contêiner, a navegação e o botão de autoagendamento. */
@media (min-width: 901px) {
  .hhcs-brand {
    transform: translateX(10px);
  }
}

/* v1.4.37 — mantém a ação mobile direta da v1.4.36, mas com o mesmo
   desenho compacto dos demais botões de Auto agendamento: cápsula, ícone
   circular de 28 px, tipografia de 13 px e largura apenas do conteúdo. */
@media (max-width: 900px) {
  .hhcs-mobile-scheduling-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: auto;
    max-width: 100%;
    min-height: 42px;
    margin: 10px auto 2px;
    padding: 7px 18px 7px 8px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    color: #ffffff;
    background-image: linear-gradient(135deg, #0b8be5 0%, #0878cf 48%, #075a9f 100%);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(0, 42, 85, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  }

  /* A navegação mobile é um bloco; o auto margin centraliza a cápsula. */
  .hhcs-primary-navigation.is-open .hhcs-mobile-scheduling-button {
    display: flex;
    width: fit-content;
  }

  .hhcs-mobile-scheduling-button:hover,
  .hhcs-mobile-scheduling-button:focus-visible {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 12px 24px rgba(0, 42, 85, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  }

  .hhcs-mobile-scheduling-button:focus-visible {
    outline: 3px solid rgba(11, 131, 219, 0.36);
    outline-offset: 3px;
  }

  .hhcs-mobile-scheduling-button .hhcs-scheduling-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, 0.40);
    border-radius: 50%;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.14);
  }

  .hhcs-mobile-scheduling-button .hhcs-inline-icon {
    display: block;
    width: 14px;
    height: 14px;
    fill: currentColor;
  }
}
