header .logo-desktop,
header .logo-mobile-menu {
  width: 160px;
  margin: 1rem 0;
}

/* ================= QUEM SOMOS (home) ================= */
.quem-somos {
  --qs-primary: #393e54;
  --qs-text-soft: #6c6c6c;
  --qs-black: #242424;
  padding-block: 5rem;
  background-color: #f6f6f6;
}
.quem-somos__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 542px;
  object-fit: cover;
  border-radius: 1rem;
}
.quem-somos__eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--qs-primary);
  font-weight: 500;
  font-size: 1rem;
}
.quem-somos__title {
  margin: 0 0 1.5rem;
  color: var(--qs-black);
  font-family: var(--secondary-font);
  font-weight: 600;
  font-size: clamp(1.75rem, 1rem + 2vw, 2.5rem);
  line-height: 1.2;
}
.quem-somos__text {
  margin: 0 0 1.5rem;
  color: var(--qs-text-soft);
  font-size: 1.125rem;
  line-height: 1.4;
}
.quem-somos__btn {
  --bs-btn-color: #fafafa;
  --bs-btn-bg: var(--qs-primary);
  --bs-btn-border-color: var(--qs-primary);
  --bs-btn-hover-color: #fafafa;
  --bs-btn-hover-bg: #2f3346;
  --bs-btn-hover-border-color: #2f3346;
  --bs-btn-active-color: #fafafa;
  --bs-btn-active-bg: #2f3346;
  --bs-btn-active-border-color: #2f3346;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 1.5rem;
  font-weight: 500;
}

/* FOOTER */
.site-footer {
  margin-top: 3rem;
  padding: 5rem 0 2rem;
  background-color: #f6f6f6;
  border-radius: 2.5rem 2.5rem 0 0;
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-footer__logo img {
  display: block;
  max-height: 70px;
  width: auto;
}
.site-footer__top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #4a4848;
  font-weight: 600;
  font-size: 0.875rem;
}
.site-footer__top-btn:hover {
  color: #393e54;
}
.site-footer__top-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: #fafafa;
  background-color: #393e54;
  border-radius: 999px;
}
.site-footer__divider {
  margin: 2.5rem 0;
  border-top: 1px solid #e5e5e5;
}
.site-footer__columns {
  margin-bottom: 2.5rem;
}
.site-footer__title {
  margin: 0 0 1.5rem;
  color: #4a4848;
  font-weight: 700;
  font-size: 1.125rem;
}
.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__list a,
.site-footer__contact a,
.site-footer__address {
  color: #6c6c6c;
  font-size: 1rem;
}
.site-footer__list a:hover,
.site-footer__contact a:hover {
  color: #393e54;
}
.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.site-footer__address {
  margin: 0 0 1rem;
  line-height: 1.5;
}
.site-footer__map iframe {
  display: block;
  width: 100%;
  height: 197px;
  border: 0;
  border-radius: 0.5rem;
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  padding-top: 1rem;
}
.site-footer__copy {
  margin: 0;
  color: #6c6c6c;
  font-size: 0.875rem;
}
.site-footer__seals {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.site-footer__w3c {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: #6c6c6c;
  font-weight: 600;
  font-size: 0.875rem;
}
.site-footer__w3c:hover {
  color: #393e54;
}
.site-footer__selo {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.copyright-footer .btn.selos {
  min-height: unset;
}
@media screen and (max-width: 992.05px) {
  footer .social {
    justify-content: center;
  }
}

.card.card--23 {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-flow: column nowrap;
  gap: 1rem;
  background-color: var(--dark);
  background-image:
    linear-gradient(-45deg, var(--dark), var(--grey)), var(--card-background);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: multiply, normal;
  border-radius: 1rem;
  padding: 1rem;
  position: relative;
  height: 100%;
}
.card.card--23:focus-within,
.card.card--23:hover {
  box-shadow: 0 0 0 2px var(--secondary-color);
}
.card.card--23 .card__title {
  color: #fff;
  font-size: 1.25rem;
  text-shadow: 0 0 0.25rem var(--dark);
  margin: 0;
  min-height: calc(1.25rem * 2 * 1.3);
}
.card.card--23 .card__link {
  z-index: 1;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-flow: row nowrap;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  transition: var(--transition);
  color: var(--light);
  font-weight: 600;
  border: 2px solid currentColor;
  border-radius: 99px;
}
.card.card--23 .card__link > span {
  width: 0;
  max-width: fit-content;
  opacity: 0;
  transition: var(--transition);
}
.card.card--23 .card__link:focus > span,
.card.card--23 .card__link:hover > span {
  width: 100px;
  opacity: 1;
  margin-right: 0.5rem;
}
.card.card--23 .card__link::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  backface-visibility: visible;
}
.card.card--23 .card__link:focus,
.card.card--23 .card__link:hover {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
}

.shadow-19 {
  box-shadow:
    rgba(50, 50, 93, 0.25) 0 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0 1px 3px -1px;
}

.title-subtitle {
  margin-bottom: 0;
}
.title-subtitle span {
  display: block;
  font-size: 0.9rem;
  color: #000;
  line-height: 1rem;
  letter-spacing: 0.25rem;
  text-transform: uppercase;
}

/* ================= CLIENTES ================= */
.clientes .clientes__item {
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  overflow: hidden;
}
.clientes .clientes__item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  margin: 0 auto;
  opacity: 0.75;
  border-radius: var(--bs-border-radius-sm);
  transition: opacity var(--transition);
}
.clientes .clientes__item:hover img {
  opacity: 1;
}

/* ================= DEPOIMENTOS ================= */
.depoimentos {
  padding-block: 5rem;
  background-color: #fafafa;
}
.depoimentos__header {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.depoimentos__eyebrow {
  display: block;
  margin-bottom: 0.25rem;
  color: #393e54;
  font-weight: 500;
  font-size: 1rem;
}
.depoimentos__title {
  margin: 0;
  color: #242424;
  font-family: var(--secondary-font);
  font-weight: 600;
  font-size: clamp(1.5rem, 1rem + 1.5vw, 2rem);
  line-height: 1.2;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1.5rem;
  background-color: #fafafa;
  border: 2px solid #eee;
  border-radius: 1rem;
  box-shadow: 0 1px 4px 0 rgba(27, 27, 27, 0.08);
}
.testimonial-card__icon {
  width: 24px;
  height: auto;
}
.testimonial-quote p {
  color: #6c6c6c;
  font-size: 1rem;
  line-height: 1.5;
}
.testimonial-quote__more {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0;
  color: #393e54;
  font-weight: 600;
  font-size: 0.875rem;
  background: none;
  border: none;
}
.testimonial-quote__more:hover {
  text-decoration: underline;
}
.testimonial-card__footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
}
.testimonial-author-image {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  object-fit: cover;
  border: 1px solid rgba(195, 195, 195, 0.4);
  border-radius: 0.75rem;
  box-shadow: 0 1px 4px 0 rgba(27, 27, 27, 0.08);
}
.testimonial-name {
  color: #242424;
  font-size: 1.125rem;
}
.testimonial-card__divider {
  border-top: 1px solid #eee;
}
.testimonial-company {
  color: #393e54;
}

/* ================= HEADER (redesenho Figma) =================
   Tokens de cor escopados só nesse componente, já que ainda são diferentes da marca
   atual do site (--primary-color). Quando o redesenho for pra frente, dá pra promover
   esses valores pra variáveis globais. */
.imunitek-header {
  --imunitek-dark: #34384c;
  --imunitek-green: #a8cf45;
  --imunitek-black: #1a1a1a;
  --imunitek-text-soft: #6c6c6c;
  --imunitek-bg: #f6f6f6;
  --imunitek-white: #fafafa;

  background-color: var(--imunitek-bg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
}

.imunitek-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.5rem;
}

.imunitek-header__logo img {
  display: block;
  height: 55px;
  width: auto;
}

.imunitek-header__contacts {
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.imunitek-header__contact {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--imunitek-text-soft);
  font-size: 1rem;
  white-space: nowrap;
}

.imunitek-header__contact:hover {
  color: var(--imunitek-dark);
}

.imunitek-header__divider {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.imunitek-header__bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding-block: 1rem;
}

/* Nav vem de inc/menu-top.php (dinâmico, via menu-items.json) — estiliza as classes que
   ele já gera (.nav-item/.nav-link) como pills, em vez de reinventar link/classe própria. */
.imunitek-header__nav {
  align-items: center;
  gap: 0.5rem;
}

/* O CSS global do menu (style-base.css) deixa o .dropdown-menu dentro do <header> como
   position:relative (empurra o layout) — bom pra submenus pequenos, mas quebra tudo com a
   lista de ~120 itens do "Informações". Aqui a gente força ele a flutuar por cima, como um
   dropdown normal, só dentro do nosso nav. */
@media screen and (min-width: 992px) {
  .imunitek-header__nav .nav-item.dropdown {
    position: relative;
  }
  .imunitek-header__nav .nav-item.dropdown > .dropdown-menu {
    position: absolute !important;
    top: 100%;
    left: auto;
    right: 0;
  }
}

.imunitek-header__nav .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 1.5rem;
  color: var(--imunitek-black);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
}

.imunitek-header__nav .nav-link:hover {
  background-color: rgba(26, 26, 26, 0.06);
  color: var(--imunitek-black);
}

.imunitek-header__nav .nav-link.active,
.imunitek-header__nav .nav-link.active:hover {
  background-color: var(--imunitek-dark);
  color: var(--imunitek-white);
}

.imunitek-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.imunitek-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 1.5rem;
  background-color: var(--imunitek-green);
  color: var(--imunitek-white);
  font-weight: 500;
  font-size: 1rem;
  white-space: nowrap;
  transition: var(--transition);
}

.imunitek-header__cta:hover {
  color: var(--imunitek-white);
  filter: brightness(0.95);
}

.imunitek-header__cta i {
  font-size: 1.125rem;
}

/* O dropdown de "Informações" já abre no hover por conta da regra global em style-base.css
   (.nav-item.dropdown:hover>.dropdown-menu), porque inc/menu-top.php gera exatamente essas
   classes — não precisa de CSS próprio aqui. */

.imunitek-header__toggler {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border: none;
  background: transparent;
}

.imunitek-header__toggler-bar {
  display: block;
  height: 3px;
  width: 24px;
  border-radius: 16px;
  background-color: var(--imunitek-black);
}

/* ================= AJUSTE MOBILE PARA OS CONTATOS DO HEADER ================= */

/* 1. Ajustes para tablet e mobile (posição do botão e menu) */
@media (max-width: 991.98px) {
  .imunitek-header__bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
  }

  /* Altera a ordem visual: Botão à esquerda (1), Hambúrguer à direita (2) */
  .imunitek-header__actions {
    order: 1;
    margin-right: 0.5rem;
  }
  .imunitek-header__toggler {
    order: 2;
  }
}

/* 2. Ajustes de alinhamento para telas até 768px */
@media (max-width: 768px) {
  .imunitek-header__top {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Mantém o logo no centro */
    justify-content: center !important;
    width: 100% !important;
    padding: 1rem 0.5rem !important;
    box-sizing: border-box !important;
  }

  .imunitek-header__logo {
    margin-bottom: 0.5rem !important;
    text-align: center !important;
  }

  /* Aqui os contatos são empurrados para a direita */
  .imunitek-header__contacts {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important; /* Alinha o bloco à direita */
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0.4rem !important;
  }

  .imunitek-header__contact {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important; /* Alinha os itens à direita */
    text-align: right !important; /* Texto alinhado à direita */
    font-size: 0.85rem !important;
    margin: 0 !important;
    white-space: normal !important;
  }
}

/* 3. Ajustes específicos para telemóveis pequenos (botão e logo) */
@media (max-width: 575.98px) {
  .imunitek-header__logo img {
    max-height: 48px !important;
    width: auto !important;
  }

  /* Reduzir o tamanho do botão para caber ao lado do menu sem quebrar a linha */
  .imunitek-header__cta {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    gap: 0.5rem;
  }

  /* Garante que o texto se mantém visível */
  .imunitek-header__cta span {
    display: inline-block !important;
  }
}
/* ================= MVV (Missão/Visão/Valores) ================= */
.mvv {
  padding-block: 5rem;
  background-color: #fafafa;
}
.mvv__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  text-align: center;
  background-color: #fafafa;
  border: 3px solid #eee;
  border-radius: 1rem;
  box-shadow: 0 12px 26px 0 rgba(25, 33, 61, 0.12);
  overflow: hidden;
  isolation: isolate;
}
.mvv__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(20, 20, 20, 0.65), rgba(20, 20, 20, 0.65));
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.mvv__card--mvv-missao::before {
  background-image: linear-gradient(rgba(20, 20, 20, 0.65), rgba(20, 20, 20, 0.65)), url("../imagens/diferenciais/mvv-missao-bg.jpg");
}
.mvv__card--mvv-visao::before {
  background-image: linear-gradient(rgba(20, 20, 20, 0.65), rgba(20, 20, 20, 0.65)), url("../imagens/diferenciais/mvv-visao-bg.jpg");
}
.mvv__card--mvv-valores::before {
  background-image: linear-gradient(rgba(20, 20, 20, 0.65), rgba(20, 20, 20, 0.65)), url("../imagens/diferenciais/mvv-valores-bg.jpg");
}
.mvv__card:hover::before {
  opacity: 1;
}
.mvv__icon {
  width: 48px;
  height: auto;
  transition: filter 0.4s ease;
}
.mvv__text {
  color: #6c6c6c;
  font-size: 1rem;
  line-height: 1.5;
  transition: color 0.4s ease;
}
.mvv__text p:last-child {
  margin-bottom: 0;
}
.mvv__title {
  margin: 0;
  color: #4a4848;
  font-family: var(--secondary-font);
  font-weight: 600;
  font-size: 1.375rem;
  transition: color 0.4s ease;
}
.mvv__card:hover .mvv__text,
.mvv__card:hover .mvv__title {
  color: #fff;
}
.mvv__card:hover .mvv__icon {
  filter: brightness(0) invert(1);
}

/* ================= BREADCRUMB ================= */
.bread--default {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0;
  background-color: #191d2b;
}
.bread--default .bread__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.bread--default .bread__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bread--default .bread__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(9, 23, 32, 0.65);
}
.bread--default .container {
  position: relative;
  z-index: 1;
}
.bread--default .bread__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}
.bread--default .bread__title {
  margin: 0;
  color: #fafafa;
  font-family: var(--secondary-font);
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 1.2;
}
.bread--default #breadcrumb {
  justify-content: center;
}
.bread--default #breadcrumb :is(li, a) {
  color: rgba(250, 250, 250, 0.85);
}
.bread--default #breadcrumb a:hover {
  color: #a8cf45;
}
.bread--default #breadcrumb .bread__column.active {
  color: #fafafa;
}

@media (max-width: 575.98px) {
  .bread--default .bread__title {
    font-size: 1.75rem;
  }
}

/* ================= SERVICE CARD (servicos.php + servicos-home) ================= */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1.5rem;
  background-color: #fafafa;
  border: 2px solid rgba(233, 233, 233, 0.4);
  border-radius: 1rem;
  box-shadow: 0 1px 4px 0 rgba(27, 27, 27, 0.08);
  text-decoration: none;
  transition: box-shadow 0.3s ease;
}
.service-card:hover {
  box-shadow: 0 12px 26px 0 rgba(25, 33, 61, 0.18);
}
.service-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(25, 29, 43, 0.55) 0%,
    rgba(25, 29, 43, 0.85) 100%
  );
}
.service-card:hover .service-card__bg {
  opacity: 1;
}
.service-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: 100%;
}
.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.75rem;
  background-color: #fafafa;
  border: 1px solid #e9e9e9;
  border-radius: 0.75rem;
  box-shadow: 0 1px 4px 0 rgba(27, 27, 27, 0.08);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.service-card__icon img {
  display: block;
  width: 32px;
  height: 32px;
}
.service-card:hover .service-card__icon {
  opacity: 0;
  transform: scale(0.85);
}
.service-card__text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 1rem;
}
.service-card__title {
  margin: 0;
  color: #6c6c6c;
  font-family: var(--secondary-font);
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.2;
  transition: color 0.3s ease;
}
.service-card__desc {
  margin: 0;
  color: #6c6c6c;
  font-size: 1rem;
  line-height: 1.5;
  transition: color 0.3s ease;
}
.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #1a1a1a;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}
.service-card:hover .service-card__title,
.service-card:hover .service-card__desc,
.service-card:hover .service-card__cta {
  color: #fafafa;
}

/* ================= CONFIRA OS NOSSOS SERVIÇOS (home) ================= */
.servicos-home {
  padding-block: 5rem;
}
.servicos-home__intro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.servicos-home__title {
  margin: 0;
  color: #242424;
  font-family: var(--secondary-font);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.2;
}
.servicos-home__text {
  margin: 0;
  color: #6c6c6c;
  font-size: 1.125rem;
  line-height: 1.4;
}
.servicos-home__cta {
  --bs-btn-color: #393e54;
  --bs-btn-border-color: #393e54;
  --bs-btn-border-width: 1.5px;
  --bs-btn-hover-color: #fafafa;
  --bs-btn-hover-bg: #393e54;
  --bs-btn-hover-border-color: #393e54;
  --bs-btn-active-color: #fafafa;
  --bs-btn-active-bg: #393e54;
  --bs-btn-active-border-color: #393e54;
  --bs-btn-padding-x: 1.25rem;
  --bs-btn-padding-y: 0.625rem;
  --bs-btn-font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  border-radius: 999px;
}

@media (max-width: 991.98px) {
  .servicos-home__intro {
    margin-bottom: 1rem;
  }
}

@media (max-width: 575.98px) {
  .servicos-home__title {
    font-size: 1.5rem;
  }
}
