/* Header mobile; regras limitadas a telas menores que 768px. */
@media (max-width: 767px) {
  .mobile-site-header {
    background: linear-gradient(180deg, rgb(15 42 95 / 0.88), rgb(15 42 95 / 0.58));
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .mobile-header-inner {
    min-height: 64px;
    padding: 10px 14px !important;
    gap: 10px;
  }

  .mobile-brand-shell {
    flex: 1 1 auto;
    min-width: 0;
    padding: 3px !important;
    gap: 0 !important;
    background-color: rgb(255 255 255 / 0.04);
  }

  .mobile-brand {
    min-width: 0;
    width: 100%;
    gap: 8px !important;
  }

  .mobile-brand img {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px;
  }

  .mobile-brand-copy {
    display: block;
    min-width: 0;
    overflow: hidden;
  }

  .mobile-brand-copy > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px !important;
    letter-spacing: 0.025em !important;
  }

  .mobile-brand-copy > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 9px !important;
  }

  .mobile-header-action-shell {
    flex: 0 0 auto;
    padding: 3px !important;
  }

  .mobile-header-action {
    width: 38px;
    height: 38px;
    padding: 0 !important;
    justify-content: center;
    background-color: rgb(16 185 129 / 0.22) !important;
  }

  .mobile-header-action iconify-icon {
    width: 19px;
    height: 19px;
  }

  .mobile-header-action > span {
    display: none !important;
  }
}

/* Contatos do rodapé empilhados somente no mobile. */
@media (max-width: 767px) {
  .mobile-footer-contact {
    grid-column: 1 / -1 !important;
    width: 100%;
  }
}

/* CTA da apresentação do médico: cabe por inteiro no mobile. */
@media (max-width: 767px) {
  .mobile-doctor-cta {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 52px;
    padding: 11px 14px !important;
    white-space: normal !important;
    text-align: center;
    font-size: 12px !important;
    line-height: 1.35;
    letter-spacing: 0.035em !important;
  }

  .mobile-doctor-cta iconify-icon {
    flex: 0 0 18px;
  }

  .mobile-doctor-cta span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

/* Primeira seção mobile: conteúdo completo, sem corte vertical. */
@media (max-width: 767px) {
  .mobile-hero-stage {
    height: auto !important;
    min-height: 100svh;
    overflow: hidden;
  }

  .mobile-hero-main {
    height: auto !important;
    min-height: 0;
    padding: 24px 0 42px;
    align-items: flex-start !important;
  }

  .mobile-hero-content {
    padding: 0 18px !important;
    transform: none !important;
  }

  .mobile-hero-content > .grid {
    gap: 28px !important;
  }

  .mobile-hero-kicker {
    display: flex !important;
    width: 100%;
    max-width: 100%;
    align-items: flex-start !important;
    border-radius: 16px !important;
    line-height: 1.4;
  }

  .mobile-hero-kicker iconify-icon {
    flex: 0 0 16px;
    margin-top: 1px;
  }

  .mobile-hero-kicker span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .mobile-hero-title {
    font-size: clamp(2rem, 9.5vw, 2.65rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.04em !important;
    overflow-wrap: anywhere;
  }

  .mobile-hero-description {
    margin-top: 18px !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  .mobile-hero-cta {
    margin-top: 24px !important;
  }

  .mobile-hero-cta > div {
    width: 100%;
  }

  .mobile-hero-cta-link {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px !important;
    white-space: normal !important;
    text-align: center;
    font-size: 12px !important;
    line-height: 1.35;
  }

  .mobile-hero-cta-link iconify-icon {
    flex: 0 0 16px;
  }

  .mobile-hero-media {
    width: 100%;
  }

  .mobile-hero-portrait {
    width: min(100%, 320px) !important;
    max-width: 320px !important;
    aspect-ratio: auto !important;
  }

  .mobile-hero-image {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
  }
}
