/*
 * Dra. Fernanda Petrechen — hero mobile V15
 * Carregar depois de editorial-v14.css. Desktop >= 741px intocado.
 * Fotografia primeiro, headline na transição, header sem truncamento.
 */
@media (max-width: 740px) {
  .site-header,
  .site-header:not(.scrolled) {
    background: rgb(251 249 247 / .92);
    border-bottom-color: transparent;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  .site-header.scrolled {
    background: rgb(251 249 247 / .97);
    border-bottom-color: rgb(109 84 117 / .10);
  }
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    min-height: 72px;
  }
  .brand {
    min-width: 0;
    gap: 9px;
    align-self: center;
  }
  .brand img {
    flex: 0 0 auto;
    width: 42px;
  }
  .brand-name {
    min-width: 0;
    overflow: visible;
  }
  .brand-name strong {
    display: block;
    font-size: clamp(12px, 3.6vw, 15px);
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    letter-spacing: 0;
  }
  .brand-name span { font-size: 11px; }
  .header-cta { display: none !important; }
  .mobile-menu {
    display: block;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .mobile-menu summary {
    min-width: 44px;
    min-height: 44px;
  }

  /* A fotografia vem primeiro; texto sobe sobre a área de transição inferior. */
  .hero.shell {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    isolation: isolate;
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #fbf9f7 0%, #fbf9f7 76%, #e8f2f1 100%);
  }
  .hero-visual {
    position: relative;
    order: -1;
    z-index: 1;
    flex: 0 0 auto;
    align-self: stretch;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    height: clamp(530px, 150vw, 680px);
    min-height: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    isolation: isolate;
  }
  .hero-visual::before { content: none; display: none; }
  .hero-image-mat {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    background: transparent;
  }
  .hero-image-mat img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 25%;
    border: 0;
    border-radius: 0;
    filter: none;
    transform: none !important;
    animation: none !important;
  }
  .hero-visual::after {
    content: '';
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg,
      rgb(251 249 247 / 0) 0%,
      rgb(251 249 247 / 0) 64%,
      rgb(251 249 247 / .24) 74%,
      rgb(251 249 247 / .80) 85%,
      #fbf9f7 100%);
  }
  .visual-stamp {
    position: absolute;
    z-index: 3;
    top: 24px;
    left: clamp(20px, 5.5vw, 28px);
    right: auto;
    bottom: auto;
    display: block;
    width: 115px;
    height: auto;
    aspect-ratio: auto;
    padding: 0;
    margin: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #5a3d68;
    font-size: 12px;
    line-height: 1.22;
    text-align: left;
    text-shadow: 0 1px 8px rgb(255 255 255 / .75);
  }
  .visual-stamp em { display: inline; font-style: italic; }
  .hero-copy {
    position: relative;
    order: 1;
    z-index: 4;
    align-self: stretch;
    width: 100%;
    max-width: none;
    margin: clamp(-121px, -29vw, -98px) 0 0;
    padding: 0 var(--edge) clamp(56px, 9vw, 82px);
    background: transparent;
  }
  .hero-specialties {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.38;
    font-weight: 650;
    color: #634b6b;
    letter-spacing: 0;
  }
  .hero h1 {
    max-width: 13.4ch;
    margin: 0 0 18px;
    font-size: clamp(38px, 10.6vw, 47px);
    line-height: 1.06;
    letter-spacing: 0;
    text-wrap: balance;
  }
  .hero-description-desktop { display: none; }
  .hero-description-mobile {
    display: block;
    max-width: 39ch;
    font-size: 15px;
    line-height: 1.57;
    color: #5a515e;
  }
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 13px;
    margin-top: 19px;
  }
  .hero-actions .button {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 11px 16px;
    font-size: 13px;
  }
  .hero-actions .text-link {
    flex: 0 0 auto;
    min-height: 44px;
    font-size: 13px;
    white-space: nowrap;
  }
  .hero-hint { display: none; }
  .signal-band {
    position: relative;
    z-index: 1;
    margin-top: -1px;
    background: #e8f2f1;
    border: 0;
  }
  .signal-inner { padding-block: 27px 42px; }
  .signal-items li { background: none; border: 0; }
}
@media (max-width: 390px) {
  .header-inner { gap: 8px; }
  .brand { gap: 7px; }
  .brand img { width: 40px; }
  .brand-name strong { font-size: clamp(12px, 3.65vw, 14px); }
  .hero h1 { font-size: clamp(39px, 10.6vw, 42px); }
  .hero-actions { flex-direction: row; align-items: center; }
  .visual-stamp { width: 108px; font-size: 11.5px; }
}
@media (max-width: 340px) {
  .brand img { width: 37px; }
  .brand-name strong { font-size: 12px; }
  .brand-name span { font-size: 10px; }
  .hero-visual { height: 480px; }
  .hero-copy { margin-top: -95px; }
  .hero h1 { font-size: clamp(35px, 11.3vw, 39px); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .button { width: 100%; }
  .visual-stamp { width: 95px; font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-image-mat img { transform: none !important; animation: none !important; }
}
