/* ==========================================================================
   1) TOKENS / VARIÁVEIS GLOBAIS
   ========================================================================== */
:root {
  /* Paleta principal */
  --azul-vera-cruz: #07A4C9;
  --branco: #FFFFFF;
  --azul-escuro: #28495B;
  --azul-cta: #1591B1;
  --texto: #2C4855;

  /* Aplicações */
  --cor-fundo: var(--branco);
  --cor-texto: var(--texto);
  --cor-link: var(--azul-vera-cruz);
  --cor-botao: var(--azul-cta);
  --cor-botao-texto: var(--branco);
  --cor-menu: var(--branco);
}


/* ==========================================================================
   2) BASE / TIPOGRAFIA
   ========================================================================== */
body {
  background-color: var(--cor-fundo);
  color: var(--cor-texto);
  overflow-x: hidden;
  font-family: "houschka-pro", sans-serif;
}
div {
  scroll-margin-top: 60px;
}
h2 { font-weight: 900; }

a:visited { color: inherit; }

.font-light     { font-weight: 300; }
.font-medium    { font-weight: 500; }
.font-demibold  { font-weight: 600; }
.font-bold      { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.post,
.page { margin: 0; }


/* ==========================================================================
   3) UTILITÁRIOS
   ========================================================================== */
.list-none       { list-style: none; padding: 0; margin: 0; }
.overflow-hidden { overflow: hidden; }
.rounded-corner, .rounded-corner img  { border-radius: 20px; }
.no-padding      { padding: 0 !important; }

/* Utilitários translúcidos */
.bg-black-25 { background-color: rgba(0, 0, 0, 0.25) !important; }
.bg-black-50 { background-color: rgba(0, 0, 0, 0.50) !important; }
.bg-black-75 { background-color: rgba(0, 0, 0, 0.75) !important; }
.bg-white-25 { background-color: rgba(255, 255, 255, 0.25) !important; }
.bg-white-50 { background-color: rgba(255, 255, 255, 0.50) !important; }
.bg-white-75 { background-color: rgba(255, 255, 255, 0.75) !important; }

.margin-top-15     { margin-top: 15px !important; }
.margin-bottom-15  { margin-bottom: 15px !important; }
.margin-top-30     { margin-top: 30px !important; }
.margin-bottom-30  { margin-bottom: 30px !important; }
.margin-tb-15      { margin-top: 15px !important; margin-bottom: 15px !important; }
.margin-tb-30      { margin-top: 30px !important; margin-bottom: 30px !important; }
.margin-15         { margin: 15px !important; }
.margin-30         { margin: 30px !important; }

/* Esconde título global do WP (será reabilitado nas singles mais abaixo) */
.entry-header  { display: none; }
.entry-content { margin: 0 !important; }


/* ==========================================================================
   4) LAYOUT / CONTAINERS
   ========================================================================== */
@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl { max-width: 1440px; }
}


/* ==========================================================================
   5) BOTÕES E LINKS (A11Y)
   ========================================================================== */
button#menuToggle {
  background: none;
  width: 64px;
  height: 64px;
  border: none !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* ==========================================================================
   6) HEADER / TOPBAR / NAVEGAÇÃO (DESKTOP)
   ========================================================================== */
#masthead {
  position: fixed;
  z-index: 10000;
  display: flex;
  width: 100% !important;
}

#masthead.scrolled {
  background-color: #999;
  border-bottom: 1px solid #FFF;
}

.topbar.container {
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid #FFF;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  height: 80px;
}

#masthead.scrolled .topbar.container { border-bottom: none; }

.menu {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.menu a {
  color: var(--cor-menu);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}

.social-links {
  min-width: 130px;
  display: flex;
  justify-content: space-between;
}

.social-links a {
  color: var(--cor-menu);
  text-decoration: none;
  font-weight: 500;
}


/* ==========================================================================
   7) MENU (DESKTOP) – SUBMENUS / ÍCONES / NÍVEIS
   ========================================================================== */
/* Submenu base */
ul.sub-menu {
  background: #ffffff;
  padding: 8px 0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 200px;
  flex-direction: column;
}

ul.sub-menu li {
  margin: 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}

ul.sub-menu li:first-child { border-top: none; }

ul.sub-menu a {
  display: block;
  padding: 8px 15px;
  color: #333;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
}

ul.sub-menu a:hover {
  background: #006699; /* azul do site */
  color: #fff !important;
}

/* Ícones de submenu (Font Awesome caret) */
li.menu-item-has-children > a {
  position: relative;
  padding-right: 20px;
}

li.menu-item-has-children > a::after {
  content: "\f107"; /* Font Awesome - caret down */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

.sub-menu li.menu-item-has-children > a::after { right: 13px !important; }
li.menu-item-has-children:hover > a::after { transform: translateY(-50%) rotate(180deg); }

/* Níveis de submenu */
.menu-item-has-children > .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  z-index: 999;
  width: 250px;
}

.main-navigation ul ul a { width: auto !important; }

.menu-item .menu-item-has-children > .sub-menu {
  top: 0;
  left: 100%;
  display: none;
}

/* Exibir em hover */
.menu-item-has-children:hover > .sub-menu { display: block; }

/* Ícone externo pequeno ao lado do texto do menu quando aplicável */
.menu-item a .fa-arrow-up-right-from-square { font-size: 10px !important; }

/* BUSCA */

#openSearch {
    background: none;
    color: #FFF;
    padding: 0;
    border: none;
}

.search-toggle {
  position: relative;
  display: inline-block;
}
*:focus-visible {
    outline: none !important;
}
.search-box {
    position: absolute;
    top: 130%;
    right: 0;
    width: 500px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.76));
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 20px 20px 10px 20px;
    border: 1px solid #fff;
}

.search-box .search-field {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px !important;
}

.search-form label {
    width: 100%;
}

.search-results {
  margin-top: 10px;
  max-height: 300px;
  overflow-y: auto;
  color: #FFF;
}
.search-results-list li {
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}
.search-results-list li:last-of-type {
    padding: 10px 0;
    border-bottom: none !important;
}
.search-results-list {
    margin-top: 50px !important;
}
.search-results-list article {
    margin: 10px 0 !important;
}
.search-card-header {
    color: #07A4C9;
}

.search-card-header a {
    text-decoration: none !important;
}
#searchResults a {
  text-decoration: none !important;
}
a.all-results {
    text-decoration: none;
    color: #FFF !important;
    margin-top: 10px !important;
    display: block;
    border: 1px solid #FFF;
    background-color: rgba(0, 0, 0, 0.52);
    width: fit-content;
    padding: 10px;
    border-radius: 10px;
}
.btn-sm {
  background: #02D9BA;
  border-color: #02D9BA;
  color: var(--azul-escuro);
  border-radius: 20px;
}

.btn-sm:hover {
  background: var(--branco) !important;
  border-color: var(--azul-cta) !important;
  color: var(--azul-cta) !important;
}
.search-pagination {
  margin-top: 10px !important;
  padding-left: 30px !important;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0;
  font-family: sans-serif;
}

.nav-links a,
.nav-links span {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  color: #333;
  transition: all 0.2s ease-in-out;
}

.nav-links a:hover {
  background: #12ebca;
  border-color: #12ebca;
  color: #ffffff;
}

.nav-links .current {
  background: #02D9BA; /* azul WordPress */
  color: #fff;
  border-color: #02D9BA;
  font-weight: bold;
}

.nav-links .next {
  font-weight: 500;
}

#searchResults a {
  text-decoration: none !important;
  color: #fff !important;
  margin-bottom: 5px !important;
}
#searchResults a:visited {
    color: #FFF !important;
}

/* ==========================================================================
   8) MENU (MOBILE) – OVERLAY / PAINEL GLASSY / ACESSIBILIDADE
   ========================================================================== */
/* Overlay */
.mobile-menu[hidden] { display: none !important; }
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  background: rgba(8, 12, 20, 0.70);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  backdrop-filter: blur(6px) saturate(120%);
  animation: hvcFadeIn 160ms ease-out;
	overflow: scroll;
}

.mobile-menu.is-open { display: block; }

@keyframes hvcFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Painel “glassy” (header, lista, social) */
.mobile-menu__header,
.mobile-menu__list,
.mobile-social-container {
  max-width: min(92vw, 420px);
  margin: 12px min(4vw, 20px) 0 auto;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 20px 40px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.10);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  transform: translateX(22px);
  opacity: 0;
  animation: hvcSlideIn 260ms ease forwards;
}

.mobile-menu__header          { border-radius: 18px 18px 0 0; animation-delay: 20ms; }
.mobile-menu__list            { border-radius: 0;             animation-delay: 80ms; }
.mobile-social-container      { border-radius: 0 0 18px 18px; animation-delay: 140ms; }

@keyframes hvcSlideIn {
  to { transform: translateX(0); opacity: 1; }
}

/* Header do painel */
.mobile-menu__header {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu__title {
  font-weight: 600;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 1px rgba(0,0,0,0.25);
}

.menu-close {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 24px;
  line-height: 0;
  cursor: pointer;
  transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease;
  padding: 0;
}

.menu-close:hover  { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.36); }
.menu-close:active { transform: scale(0.98); }

/* Lista de links */
.mobile-menu__list {
  padding: 6px;
  margin: 0 min(4vw, 20px) 0 auto !important;
}

.mobile-menu__list > li {
  list-style: none;
  margin: 6px 0;
  border-radius: 12px;
  overflow: hidden;
}
.mobile-menu__list a {
  display: block !important;
  padding: 12px 14px !important;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 12px !important;
  text-shadow: 0 1px 1px rgba(0,0,0,0.25) !important;
  transition: background-color 120ms ease, transform 120ms ease !important;
}

.mobile-menu__list a:hover  { background: rgba(255,255,255,0.10); }
.mobile-menu__list a:active { transform: translateY(1px); }

/* Social no painel */
.mobile-social-container { margin-top: 0 !important; padding: 14px 12px 16px; }

.mobile-social-container .social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mobile-social-container .social-links a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.mobile-social-container .social-links a:hover  { background: rgba(255,255,255,0.20); border-color: rgba(255,255,255,0.34); }
.mobile-social-container .social-links a:active { transform: translateY(1px); }

/* Foco acessível (links e botões do painel) */
.mobile-menu__header :is(button, a),
.mobile-menu__list a,
.mobile-social-container a { outline: none; }

.mobile-menu__header :is(button, a):focus-visible,
.mobile-menu__list a:focus-visible,
.mobile-social-container a:focus-visible { box-shadow: 0 0 0 3px rgba(255,255,255,0.75); }

/* Toggle (hamburger) em mobile */
@media (max-width: 991.98px) {
  .menu-toggle .menu-toggle-bar {
    background: #fff;
    width: 32px;
    height: 2px;
    margin: 3px;
    display: block;
  }
  .main-navigation { display: none; }
}

/* Desabilitar movimento (preferências do usuário) */
@media (prefers-reduced-motion: reduce) {
  .mobile-menu,
  .mobile-menu__header,
  .mobile-menu__list,
  .mobile-social-container,
  .menu-close,
  .mobile-menu__list a,
  .mobile-social-container .social-links a {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* Fallback quando não há suporte a backdrop-filter */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .mobile-menu__header,
  .mobile-menu__list,
  .mobile-social-container { background: rgba(28, 36, 48, 0.92); }
}

/* Travar scroll quando menu aberto (classe usada no JS) */
.no-scroll { overflow: hidden; }

@media screen and (max-width: 1024px) {
  
  .menu-item-has-children > .sub-menu {
      position: inherit;
      width: 250px;
      background: none !important;
  }
  
}




/* ==========================================================================
   9) GUTENBERG: COLUNAS / BLOCO COM VÍDEO
   ========================================================================== */
.wp-block-columns {
  justify-content: center;
  margin: 0;
  padding: 30px 0;
}

.wp-block-column { padding: 20px 30px; }

.coluna-com-video  { display: block !important; }

.coluna-direita {
  max-width: 50vw;
  position: absolute;
  right: 0;
  z-index: 2;
  border-radius: 20px !important;
}

.wp-block-embed { width: fit-content; }

.coluna-direita .wp-block-embed iframe {
  position: relative;
  z-index: 2;
  width: 960px;
  height: 540px;
  border-radius: 35px 0 0 35px !important;
}

.coluna-direita .wp-block-embed__wrapper::after {
  content: "";
  position: absolute;
  top: 20%;
  left: 10%;
  width: 90%;
  height: 90%;
  background: #365460;
  border-radius: 0 35px;
  z-index: 1;
}

.coluna-esquerda {
  max-width: 35vw;
  float: left;
}


/* ==========================================================================
   10) HOME / ESPECIALIDADES (LISTAS E CONTEÚDO)
   ========================================================================== */
.cards-espera { padding: 0 100px; }

/* Coluna com scrollbar customizado */
.column-especialidades {
  overflow-y: auto;
  max-height: 496px;
  padding: 0;
  scrollbar-color: #1591B1 #fff; /* Firefox: thumb e track */
  border: 1px solid #ccc;
}

.column-especialidades::-webkit-scrollbar            { width: 18px; }
.column-especialidades::-webkit-scrollbar-track      { background-color: #fff; }
.column-especialidades::-webkit-scrollbar-thumb      { background-color: #1591B1; border-radius: 20px; }
.column-especialidades::-webkit-scrollbar-thumb:hover{ background-color: #0066cc; }

/* Remove setinhas do scroll */
.especialidades-list::-webkit-scrollbar-button,
.especialidades-list::-webkit-scrollbar-button:single-button {
  display: none;
  width: 0;
  height: 0;
}

/* Lista lateral */
ul.especialidades-list {
  list-style: none;
  background-color: #F0F0F0;
  margin: 0;
  padding: 0;
}

li.especialidade-item {
  padding: 15px 0 15px 25px;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
}

li.especialidade-item.active { background-color: var(--branco); }

/* Conteúdo */
.especialidade-content .texto p:first-child { column-span: all; } /* compat. parcial */
.especialidade-content h2 { font-size: 30px; font-weight: 600; }
.especialidade-content h3 { font-size: 24px; font-weight: 500; }

.column-especialidades-content .especialidade-content .texto .wp-block-column{
  padding: 0 !important;
}

/* CTA especialidades */
.btn-agende-especialidade {
  background: #02D9BA;
  border-color: #02D9BA;
  color: var(--azul-escuro);
  border-radius: 20px;
}
.btn-agende-especialidade i {
  font-size: 12px;
}

.btn-agende-especialidade:hover {
  background: var(--branco) !important;
  border-color: var(--azul-cta) !important;
  color: var(--azul-cta) !important;
}

/* Lightbox YouTube (de terceiros) */
a.ytc_thumb.ytc-lightbox.ar16_9 { border-radius: 20px !important; }


/* ==========================================================================
   11) INTERNAS – MATERNIDADE (BLOCO ESPECÍFICO)
   ========================================================================== */
.projeto-nascer { max-height: 350px; margin-top: -5% !important; }

.visita img {
  max-height: 530px;
  margin-top: -50px;
  max-width: 50vw;
  margin-bottom: -50px;
  border-radius: 12px;
}

.projeto-nascer img { border-radius: 12px; }

.projeto-nascer figcaption.wp-element-caption {
  position: absolute;
  margin-top: -30px;
  margin-left: 10px;
  color: #fff !important;
}


/* ==========================================================================
   12) BREADCRUMB (COMPONENTE)
   ========================================================================== */
.breadcrumb i { font-size: 12px; line-height: 24px; width: 20px; }
.breadcrumb a { color: #fff; text-decoration: underline; }


/* ==========================================================================
   13) INTERNAS / ESPECIALIDADES / UNIDADES (PÁGINAS)
   ========================================================================== */
/* Reexibir header nas singles específicas */
.single-especialidade .entry-header,
.single-interna .entry-header,
.single-unidade .entry-header { display: block; }

/* Hero */
.especialidade-hero,
.interna-hero,
.unidade-hero {
  background: #07A4C9;
  color: #fff;
  padding: 200px 0 0 0;
}

.especialidade-hero .container,
.interna-hero .container,
.unidade-hero .container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding-left: 0 !important;
}

/* Texto e botões do topo */
.descricao {
  width: 45%;
  max-width: 600px;
  margin-bottom: 40px;
}

.especialidade-texto,
.interna-texto,
.unidade-texto { flex: 1; }

.especialidade-titulo,
.interna-titulo,
.unidade-titulo {
  font-size: 42px;
  margin: 20px 0;
  font-weight: 900;
  max-width: 80%;
}

.btn-agenda {
  display: inline-block;
  background: #00c9a7;
  padding: 12px 24px;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.btn-agenda:hover { background: #009e89; }

/* Imagem com “quadro” */
.especialidade-imagem,
.interna-imagem,
.unidade-imagem {
  position: relative;
  right: 15px;
  display: inline-block; /* referência pro ::after */
  margin-bottom: -50%;
}

.especialidade-imagem img,
.interna-imagem img,
.unidade-imagem img {
  border-radius: 35px;
  width: 100%;
  max-width: 600px;
  height: auto;
  position: relative;
  z-index: 2;
}

.especialidade-imagem::after,
.interna-imagem::after,
.unidade-imagem::after {
  content: "";
  position: absolute;
  top: 20%;
  left: 15%;
  width: 90%;
  height: 90%;
  background: #365460;
  border-radius: 35px;
  z-index: 1;
}

/* Seções de descrição */
section.especialidade-descricao.container,
section.interna-descricao.container,
section.unidade-descricao.container {
  min-height: 330px;
  margin-top: 40px;
  padding-left: 0 !important;
}

section.especialidade-descricao.container {
  min-height: 380px;
}
/* Conteúdo de blocos */
.unidade-blocos, .especialidade-blocos, .interna-blocos {
  margin-top: 20px;
}
.especialidade-blocos h2,
.interna-blocos h2,
.unidade-blocos h2 { margin-bottom: 15px; }

.especialidade-blocos .no-padding.container,
.interna-blocos .no-padding.container,
.unidade-blocos .no-padding.container,
.align-center { margin: 0 auto; }

.comodidade {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}


/* ==========================================================================
   14) TRADUTOR (WIDGET TERCEIROS)
   ========================================================================== */
.gt_switcher_wrapper {
  z-index: 11000 !important;
  width: 24px;
  right: 4px !important;
  top: 20% !important;
}

.glink {
  background: #fff;
  padding: 5px;
  margin: 3px 0 !important;
  display: flex;
  border-radius: 3px;
  width: 30px;
  border: 1px solid #07A4C9;
}

.gt-current-lang { display: none !important; }


/* ==========================================================================
   15) FLOAT WHATSAPP (WIDGET)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float i { margin-top: 14px; }

.whatsapp-float:hover {
  background-color: #1ebe5d;
  color: #fff !important;
  transform: translateY(-5px);
}


/* ==========================================================================
   16) SEPARADOR (WP)
   ========================================================================== */
.wp-block-separator {
  max-width: 450px;
  border-style: none;
  height: 2px;
  background: #8f8f8f;
}

.wp-block-separator.is-style-wide {
  margin-top: 50px;
  max-width: 100%;
}


/* ==========================================================================
   17) FOOTER
   ========================================================================== */
.site-footer {
  background: #07A4C9;
  color: #ffffff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  padding: 10px 16px;
}

.site-footer a { color: #ffffff; }
.site-footer a:hover,
.site-footer a:focus { text-decoration: underline; }
.site-footer .fa-arrow-up-right-from-square { font-size: 12px !important; }
.site-footer a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.site-footer p { margin: 0; }
.site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.footer-col         { text-align: center; font-size: 18px; }
.footer-col a       { font-size: 18px; }

.footer-brand .brand-logo {
  display: block;
  width: 220px;
  height: auto;
  margin: 20px auto;
}

.footer-brand { text-align: center; }

.footer-brand .seal-row {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.footer-brand .seal { display: block; height: 42px; width: auto; }

.footer-brand .compliance {
  margin: 6px 0 8px;
  font-size: 13px;
}

.footer-brand .compliance-link {
  padding-bottom: 1px;
}

.footer-brand .brand {
  margin: 0;
  font-size: 13px;
  opacity: 0.95;
}
.director {text-align: center !important;}
.footer-inner .director .regs { white-space: nowrap; font-size: 12px !important; }

.footer-contact .address { font-style: normal; margin: 0 0 8px; }

.footer-contact .how-to {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 10px;
}

.footer-contact .how-to-icon img {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-contact .phone { margin: 0 0 8px; font-weight: 600; }
.footer-contact .phone .phone-icon { margin-right: 6px; }
.footer-contact .sep   { margin: 0 6px; opacity: 0.8; }

.site-info {
  color: #285266 !important;
  text-align: center;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin: 0 !important;
  padding: 0 !important;
}

.site-info p { margin: 0 !important; padding: 0 !important; }


/* ==========================================================================
   18) TEMPORÁRIO (AMBIENTE / DEV) – CUIDADO EM PRODUÇÃO
   ========================================================================== */
#wpadminbar { display: none; }
.admin-bar  { margin-top: -32px !important; }


/* ==========================================================================
   19) RESPONSIVO
   ========================================================================== */
/* 19.1) 960px */
@media screen and (max-width: 960px) {
  /* Heros: pilhar conteúdo */
  .especialidade-hero .container,
  .interna-hero .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px 40px;
  }

  .descricao { width: 100%; max-width: none; }

  .especialidade-imagem,
  .interna-imagem {
    position: relative;
    right: auto;
    transform: none;
    margin-top: 30px;
    width: 100%;
    max-width: 600px;
  }

  .especialidade-imagem::after,
  .interna-imagem::after {
    top: 10%;
    left: 5%;
    width: 90%;
    height: 90%;
  }

  section.especialidade-descricao.container,
  section.interna-descricao.container { margin-top: 250px; }

  /* Footer em 1 coluna */
  .site-footer .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .footer-contact { text-align: center; }
  .footer-brand .brand-logo { margin: 0 auto; }
}

/* 19.2) 768px */
@media screen and (max-width: 768px) {
  /* Grupo de colunas com vídeo */
  .coluna-com-video { display: flex !important; height: auto !important; }

  .coluna-esquerda { max-width: 100% !important; float: none !important; }

  .coluna-direita { position: inherit !important; max-width: fit-content; }

  .coluna-direita .wp-block-embed iframe { border-radius: 0 !important; }

  .coluna-direita .wp-block-embed__wrapper::after { display: none; }

  /* Maternidade – imagem */
  .visita img { max-width: 100%; margin-bottom: 0; }
}

/* 19.3) 540px */
@media screen and (max-width: 540px) {
  .wp-block-columns { padding: 30px 10px !important; }
  .wp-block-column  { padding: 10px 20px; }
}







ul.wp-block-list {
    padding-left: 0;
    margin-left: 20px;
}
.especialidade-blocos h3.wp-block-heading {
    margin-top: 20px;
}


/* AJUSTES DO FAQ/ACCORDION */

/* Mesma base para esconder o marker nativo */
.wp-block-details summary {
  list-style: none;
  position: relative;
  cursor: pointer;
  padding-left: 0;
  padding-right: 1.75rem !important;
  width: 100%;
  padding: 10px 0;
    border-bottom: 1px solid #999;
    line-height: 40px;
    font-weight: 600 !important;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::marker { content: ""; }

/* Ícone sólido: chevron-right (\f054). Requer FA6 Free Solid já enfileirado */
.wp-block-details summary::before {
  content: "\2b";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: auto;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform .2s ease;
  line-height: 1;
  font-size: 0.95rem;
  opacity: .95;
  border: 2px solid #28495B;
  border-radius: 20px;
  padding: 3px;
}
.wp-block-details[open] summary::before {
  content: "\f068";
}
details p {
  margin-top: 10px !important;
}



/* LISTA DE INDICADORES */
.wp-block-page-list {
  margin: 0 0 0 20px;
  padding: 0;
}
.wp-block-pages-list__item__link {

  color:var(--azul-escuro)
}



/* SLIDER DE FOTOS */
.wp-block-uagb-image-gallery 
.slick-prev i, .slick-next i {
  color: #28495B !important;
}
.spectra-image-gallery__layout--carousel .slick-list {
  margin: 5px !important;
}
.spectra-image-gallery__media-thumbnail-caption {
  border-radius: 14px;
}
.galeria-maternidade .spectra-image-gallery__media--carousel {
    max-height: 240px;
}
.galeria-centro .spectra-image-gallery__media--carousel {
    max-height: 540px;
}
.galeria-maternidade .slick-track, .galeria-centro .slick-track {
  align-items: flex-start !important;
}




.single-hero {
  background: #003366; /* cor padrão */
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  height: 300px;
}
.single-header__title {
  font-size: clamp(28px, 5vw, 48px);
  margin: 20px 0 10px;
}
.single-header__meta {
  font-size: 14px;
  opacity: 0.8;
}
.single-header__thumb img {
  max-width: 200px;
  border-radius: 100%;
  margin-bottom: 20px;
}




/* Grid */
.cf7-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}
.cf7-grid .full{grid-column:1/-1;}
.cf7-grid .half{grid-column:auto;}
@media (max-width: 768px){
  .cf7-grid{grid-template-columns:1fr;}
}

/* Rótulos */
.cf7-grid label{
  display:block;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.02em;
  color:#1d3557;
  margin-bottom:6px;
  font-size:14px;
}

/* Campos */
.wpcf7-form .wpcf7-form-control{
  width:100%;
  padding:14px 16px;
  border:1px solid #dbe2ee;
  border-radius:8px;
  background:#fff;
  outline:0;
  transition:border-color .2s, box-shadow .2s;
  font-size:16px;
}
.wpcf7-form textarea.wpcf7-form-control{min-height:140px; resize:vertical;}
.wpcf7-form .wpcf7-form-control:focus{
  border-color:#7aa7ff;
  box-shadow:0 0 0 3px rgba(122,167,255,.25);
}

/* Select com seta */
.wpcf7-form select{
  -webkit-appearance:none; -moz-appearance:none; appearance:none;
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="10" viewBox="0 0 24 24" fill="none" stroke="%233c5a99" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>');
  background-repeat:no-repeat;
  background-position:right 14px center;
  background-size:14px auto;
  padding-right:40px;
}

/* Botão ENVIAR com “aviãozinho” */
.btn.btn-gradient{
  display:inline-block;
  border:0;
  border-radius:10px;
  padding:14px 22px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.02em;
  color:#fff;
  cursor:pointer;
  background:#003366;
  position:relative;
}

.btn.btn-gradient:hover{filter:brightness(1.05);}
.btn.btn-gradient:active{transform:translateY(1px);}

/* Espaçamento do bloco de ações */
.cf7-grid .actions{grid-column:1/-1; margin-top:4px;}



button.fa-btn.fa-btn--static {
    max-width: 1800px !important;
}

.numero-flutuante {
    position: absolute;
    top: -39px;
    left: 12%;
    display: inline-block;
    font-family: 'Flamante Roma' !important;
    font-style: normal;
    font-weight: bold;
    font-size: 135px;
    letter-spacing: -0.03em;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #2BFED6;
    color: transparent;
}

.vc-hero .hero-toggle {
	display: none;
}
