/* Home mobile optimized bundle. Exact cascade: v10 -> v11 -> v12. */
/* HOME HERO MOBILE v10 — arquivo separado para evitar cache legado */
@media (max-width: 980px) {
  body.home .hero-premium-home {
    min-height: 900px !important;
    height: auto !important;
    overflow: hidden !important;
    position: relative !important;
  }

  body.home .hero-premium-bg {
    background:
      linear-gradient(180deg, rgba(9,6,4,.12) 0%, rgba(9,6,4,.24) 36%, rgba(9,6,4,.76) 72%, rgba(9,6,4,.94) 100%),
      linear-gradient(90deg, rgba(8,5,4,.74) 0%, rgba(8,5,4,.42) 54%, rgba(8,5,4,.12) 100%),
      var(--dl-home-hero-bg, url('../images/home/hero-bg-premium.jpg')) 57% center / cover no-repeat !important;
    filter: saturate(.93) contrast(1.04) !important;
  }

  body.home .hero-premium-wrap {
    width: calc(100% - 40px) !important;
    max-width: none !important;
    min-height: 900px !important;
    padding: 118px 0 350px !important;
    margin: 0 20px !important;
    align-items: flex-start !important;
  }

  body.home .hero-premium-copy {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    z-index: 8 !important;
  }

  body.home .hero-premium-kicker {
    margin: 0 0 12px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: .18em !important;
  }

  body.home .hero-premium-title {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: clamp(42px, 10.8vw, 52px) !important;
    line-height: .94 !important;
    letter-spacing: -.042em !important;
  }

  body.home .hero-premium-title > span {
    display: block !important;
    white-space: normal !important;
  }

  body.home .hero-premium-title-last {
    display: block !important;
  }

  body.home .hero-premium-title-last em {
    display: block !important;
    margin: 1px 0 0 !important;
    white-space: nowrap !important;
  }

  body.home .hero-premium-subtitle {
    width: min(100%, 355px) !important;
    max-width: 92% !important;
    margin: 18px 0 0 !important;
    font-size: 15px !important;
    line-height: 1.48 !important;
  }

  body.home .hero-premium-actions {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 24px 0 0 !important;
  }

  body.home .hero-premium-btn {
    width: 250px !important;
    min-width: 0 !important;
    min-height: 54px !important;
    padding: 0 22px !important;
    font-size: 14px !important;
    line-height: 1 !important;
  }

  body.home .hero-premium-btn-secondary {
    width: 236px !important;
    background: rgba(13,9,7,.28) !important;
    border-color: rgba(255,255,255,.72) !important;
    backdrop-filter: blur(9px) !important;
  }

  /* Remove os chips da hero no mobile. */
  body.home .hero-premium-trust {
    display: none !important;
  }

  /* Médico isolado na base direita, sem disputar com o texto. */
  body.home .hero-premium-doctor {
    position: absolute !important;
    right: -7% !important;
    bottom: -4px !important;
    width: 72vw !important;
    height: 42% !important;
    max-width: none !important;
    z-index: 3 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
  }

  body.home .hero-premium-doctor img {
    width: auto !important;
    height: 100% !important;
    max-width: none !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: right bottom !important;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,.30)) !important;
  }

  /* Card compacto, separado do rosto. */
  body.home .hero-doctor-card {
    position: absolute !important;
    left: 18px !important;
    right: auto !important;
    bottom: 20px !important;
    width: min(210px, 53vw) !important;
    padding: 14px 15px 13px !important;
    border-radius: 17px !important;
    background: linear-gradient(145deg, rgba(34,27,21,.92), rgba(19,15,12,.88)) !important;
    border: 1px solid rgba(221,168,94,.40) !important;
    box-shadow: 0 18px 42px rgba(0,0,0,.32) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    z-index: 9 !important;
    color: #fff !important;
  }

  body.home .hero-doctor-card-line {
    width: 28px !important;
    height: 1px !important;
    margin-bottom: 8px !important;
    background: #d7a15b !important;
  }

  body.home .hero-doctor-card strong {
    display: block !important;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1.08 !important;
  }

  body.home .hero-doctor-card span {
    display: block !important;
    margin-top: 5px !important;
    color: rgba(255,255,255,.75) !important;
    font-size: 10.5px !important;
    line-height: 1.32 !important;
  }

  body.home .hero-doctor-card small {
    display: block !important;
    margin-top: 8px !important;
    padding-top: 8px !important;
    border-top: 1px solid rgba(255,255,255,.12) !important;
    color: #e2ae68 !important;
    font-size: 9.2px !important;
    line-height: 1.25 !important;
  }
}

@media (max-width: 480px) {
  body.home .hero-premium-home,
  body.home .hero-premium-wrap {
    min-height: 860px !important;
  }

  body.home .hero-premium-wrap {
    width: calc(100% - 32px) !important;
    margin: 0 16px !important;
    padding-top: 104px !important;
    padding-bottom: 320px !important;
  }

  body.home .hero-premium-title {
    font-size: clamp(40px, 10.4vw, 46px) !important;
  }

  body.home .hero-premium-subtitle {
    max-width: 90% !important;
    font-size: 14.5px !important;
  }

  body.home .hero-premium-btn {
    width: 238px !important;
    min-height: 52px !important;
    font-size: 13.5px !important;
  }

  body.home .hero-premium-btn-secondary {
    width: 226px !important;
  }

  body.home .hero-premium-doctor {
    right: -11% !important;
    width: 78vw !important;
    height: 40% !important;
  }

  body.home .hero-doctor-card {
    left: 14px !important;
    bottom: 14px !important;
    width: min(195px, 51vw) !important;
  }
}

@media (max-width: 390px) {
  body.home .hero-premium-title {
    font-size: 38px !important;
  }
  body.home .hero-premium-wrap {
    padding-bottom: 305px !important;
  }
  body.home .hero-premium-doctor {
    right: -13% !important;
    width: 82vw !important;
    height: 38% !important;
  }
  body.home .hero-doctor-card {
    width: 182px !important;
  }
}

/* ---- v11 refinements ---- */
/* HOME HERO MOBILE v11 — composição centralizada, CTAs e diferenciais lado a lado */
@media (max-width: 980px) {
  body.home .hero-premium-home {
    min-height: 900px !important;
    height: auto !important;
    overflow: hidden !important;
    position: relative !important;
  }

  body.home .hero-premium-bg {
    background:
      linear-gradient(180deg, rgba(9,6,4,.12) 0%, rgba(9,6,4,.20) 34%, rgba(9,6,4,.68) 72%, rgba(9,6,4,.94) 100%),
      linear-gradient(90deg, rgba(8,5,4,.72) 0%, rgba(8,5,4,.38) 55%, rgba(8,5,4,.08) 100%),
      var(--dl-home-hero-bg, url('../images/home/hero-bg-premium.jpg')) 57% center / cover no-repeat !important;
    filter: saturate(.93) contrast(1.04) !important;
  }

  body.home .hero-premium-wrap {
    width: calc(100% - 32px) !important;
    max-width: none !important;
    min-height: 900px !important;
    margin: 0 16px !important;
    padding: 104px 0 430px !important;
    align-items: flex-start !important;
  }

  body.home .hero-premium-copy {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    z-index: 8 !important;
  }

  body.home .hero-premium-kicker {
    margin: 0 0 10px !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    letter-spacing: .18em !important;
  }

  body.home .hero-premium-title {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: clamp(39px, 10vw, 48px) !important;
    line-height: .94 !important;
    letter-spacing: -.04em !important;
  }

  body.home .hero-premium-title > span {
    display: block !important;
    white-space: normal !important;
  }

  body.home .hero-premium-title-last em {
    display: block !important;
    margin-top: 1px !important;
    white-space: nowrap !important;
  }

  body.home .hero-premium-subtitle {
    width: min(100%, 360px) !important;
    max-width: 94% !important;
    margin: 15px 0 0 !important;
    font-size: 14.5px !important;
    line-height: 1.46 !important;
  }

  /* CTAs lado a lado. */
  body.home .hero-premium-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1.15fr 1fr !important;
    align-items: stretch !important;
    gap: 9px !important;
    margin: 20px 0 0 !important;
  }

  body.home .hero-premium-btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 52px !important;
    padding: 0 14px !important;
    font-size: 12.5px !important;
    line-height: 1.05 !important;
    text-align: center !important;
  }

  body.home .hero-premium-btn-primary {
    padding-left: 16px !important;
    padding-right: 13px !important;
  }

  body.home .hero-premium-arrow {
    font-size: 21px !important;
    margin-left: 7px !important;
  }

  body.home .hero-premium-btn-secondary {
    background: rgba(13,9,7,.26) !important;
    border-color: rgba(255,255,255,.70) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }

  /* Diferenciais: três colunas compactas, sem sobrepor a foto. */
  body.home .hero-premium-trust {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    gap: 7px !important;
    width: 100% !important;
    margin: 15px 0 0 !important;
    position: relative !important;
    z-index: 9 !important;
  }

  body.home .hero-premium-trust-item {
    min-width: 0 !important;
    min-height: 64px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 7px 5px !important;
    border: 1px solid rgba(215,161,91,.26) !important;
    border-radius: 14px !important;
    background: rgba(18,13,10,.28) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #fff !important;
    text-align: center !important;
    font-size: 9.6px !important;
    line-height: 1.15 !important;
  }

  body.home .hero-premium-trust-icon {
    width: 27px !important;
    height: 27px !important;
    flex: 0 0 27px !important;
    margin: 0 !important;
  }

  body.home .hero-premium-trust-icon svg {
    width: 15px !important;
    height: 15px !important;
  }

  /* Médico centralizado, emergindo por trás do card. */
  body.home .hero-premium-doctor {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: 18px !important;
    transform: translateX(-50%) !important;
    width: 74vw !important;
    height: 41% !important;
    max-width: 365px !important;
    z-index: 4 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
  }

  body.home .hero-premium-doctor img {
    width: auto !important;
    height: 100% !important;
    max-width: none !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,.30)) !important;
  }

  /* Card como base visual da foto. */
  body.home .hero-doctor-card {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: 16px !important;
    transform: translateX(-50%) !important;
    width: min(330px, 86vw) !important;
    min-height: 92px !important;
    padding: 14px 18px 13px !important;
    border-radius: 18px !important;
    background: linear-gradient(145deg, rgba(34,27,21,.94), rgba(18,14,11,.91)) !important;
    border: 1px solid rgba(221,168,94,.43) !important;
    box-shadow: 0 18px 42px rgba(0,0,0,.34) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    z-index: 7 !important;
    color: #fff !important;
    text-align: left !important;
  }

  body.home .hero-doctor-card-line {
    width: 29px !important;
    height: 1px !important;
    margin-bottom: 7px !important;
    background: #d7a15b !important;
  }

  body.home .hero-doctor-card strong {
    display: block !important;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1.05 !important;
  }

  body.home .hero-doctor-card span {
    display: block !important;
    margin-top: 4px !important;
    color: rgba(255,255,255,.76) !important;
    font-size: 10.5px !important;
    line-height: 1.25 !important;
  }

  body.home .hero-doctor-card small {
    display: block !important;
    margin-top: 7px !important;
    padding-top: 7px !important;
    border-top: 1px solid rgba(255,255,255,.12) !important;
    color: #e2ae68 !important;
    font-size: 9.2px !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 480px) {
  body.home .hero-premium-home,
  body.home .hero-premium-wrap {
    min-height: 860px !important;
  }

  body.home .hero-premium-wrap {
    padding-top: 98px !important;
    padding-bottom: 410px !important;
  }

  body.home .hero-premium-title {
    font-size: clamp(37px, 9.7vw, 43px) !important;
  }

  body.home .hero-premium-subtitle {
    font-size: 14px !important;
  }

  body.home .hero-premium-btn {
    min-height: 50px !important;
    font-size: 11.8px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body.home .hero-premium-trust-item {
    min-height: 60px !important;
    font-size: 8.9px !important;
  }

  body.home .hero-premium-trust-icon {
    width: 25px !important;
    height: 25px !important;
    flex-basis: 25px !important;
  }

  body.home .hero-premium-doctor {
    width: 80vw !important;
    max-width: 340px !important;
    height: 39% !important;
    bottom: 18px !important;
  }

  body.home .hero-doctor-card {
    width: min(310px, 88vw) !important;
    bottom: 14px !important;
  }
}

@media (max-width: 390px) {
  body.home .hero-premium-home,
  body.home .hero-premium-wrap {
    min-height: 835px !important;
  }

  body.home .hero-premium-wrap {
    padding-bottom: 395px !important;
  }

  body.home .hero-premium-title {
    font-size: 36px !important;
  }

  body.home .hero-premium-actions {
    gap: 7px !important;
  }

  body.home .hero-premium-btn {
    font-size: 11.2px !important;
  }

  body.home .hero-premium-trust {
    gap: 5px !important;
  }

  body.home .hero-premium-trust-item {
    font-size: 8.4px !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
  }

  body.home .hero-premium-doctor {
    width: 83vw !important;
    max-width: 320px !important;
    height: 38% !important;
  }

  body.home .hero-doctor-card {
    width: min(292px, 90vw) !important;
  }
}

/* ---- v12 refinements ---- */
/* HOME HERO MOBILE v11 — composição centralizada, CTAs e diferenciais lado a lado */
@media (max-width: 980px) {
  body.home .hero-premium-home {
    min-height: 900px !important;
    height: auto !important;
    overflow: hidden !important;
    position: relative !important;
  }

  body.home .hero-premium-bg {
    background:
      linear-gradient(180deg, rgba(9,6,4,.12) 0%, rgba(9,6,4,.20) 34%, rgba(9,6,4,.68) 72%, rgba(9,6,4,.94) 100%),
      linear-gradient(90deg, rgba(8,5,4,.72) 0%, rgba(8,5,4,.38) 55%, rgba(8,5,4,.08) 100%),
      var(--dl-home-hero-bg, url('../images/home/hero-bg-premium.jpg')) 57% center / cover no-repeat !important;
    filter: saturate(.93) contrast(1.04) !important;
  }

  body.home .hero-premium-wrap {
    width: calc(100% - 32px) !important;
    max-width: none !important;
    min-height: 900px !important;
    margin: 0 16px !important;
    padding: 104px 0 430px !important;
    align-items: flex-start !important;
  }

  body.home .hero-premium-copy {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    z-index: 8 !important;
  }

  body.home .hero-premium-kicker {
    margin: 0 0 10px !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    letter-spacing: .18em !important;
  }

  body.home .hero-premium-title {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: clamp(39px, 10vw, 48px) !important;
    line-height: .94 !important;
    letter-spacing: -.04em !important;
  }

  body.home .hero-premium-title > span {
    display: block !important;
    white-space: normal !important;
  }

  body.home .hero-premium-title-last em {
    display: block !important;
    margin-top: 1px !important;
    white-space: nowrap !important;
  }

  body.home .hero-premium-subtitle {
    width: min(100%, 360px) !important;
    max-width: 94% !important;
    margin: 15px 0 0 !important;
    font-size: 14.5px !important;
    line-height: 1.46 !important;
  }

  /* CTAs lado a lado. */
  body.home .hero-premium-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1.15fr 1fr !important;
    align-items: stretch !important;
    gap: 9px !important;
    margin: 20px 0 0 !important;
  }

  body.home .hero-premium-btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 52px !important;
    padding: 0 14px !important;
    font-size: 12.5px !important;
    line-height: 1.05 !important;
    text-align: center !important;
  }

  body.home .hero-premium-btn-primary {
    padding-left: 16px !important;
    padding-right: 13px !important;
  }

  body.home .hero-premium-arrow {
    font-size: 21px !important;
    margin-left: 7px !important;
  }

  body.home .hero-premium-btn-secondary {
    background: rgba(13,9,7,.26) !important;
    border-color: rgba(255,255,255,.70) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }

  /* Diferenciais: três colunas compactas, sem sobrepor a foto. */
  body.home .hero-premium-trust {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    gap: 7px !important;
    width: 100% !important;
    margin: 15px 0 0 !important;
    position: relative !important;
    z-index: 9 !important;
  }

  body.home .hero-premium-trust-item {
    min-width: 0 !important;
    min-height: 64px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 7px 5px !important;
    border: 1px solid rgba(215,161,91,.26) !important;
    border-radius: 14px !important;
    background: rgba(18,13,10,.28) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #fff !important;
    text-align: center !important;
    font-size: 9.6px !important;
    line-height: 1.15 !important;
  }

  body.home .hero-premium-trust-icon {
    width: 27px !important;
    height: 27px !important;
    flex: 0 0 27px !important;
    margin: 0 !important;
  }

  body.home .hero-premium-trust-icon svg {
    width: 15px !important;
    height: 15px !important;
  }

  /* Médico centralizado, emergindo por trás do card. */
  body.home .hero-premium-doctor {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: 18px !important;
    transform: translateX(-50%) !important;
    width: 74vw !important;
    height: 41% !important;
    max-width: 365px !important;
    z-index: 4 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
  }

  body.home .hero-premium-doctor img {
    width: auto !important;
    height: 100% !important;
    max-width: none !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,.30)) !important;
  }

  /* Card como base visual da foto. */
  body.home .hero-doctor-card {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: 16px !important;
    transform: translateX(-50%) !important;
    width: min(330px, 86vw) !important;
    min-height: 92px !important;
    padding: 14px 18px 13px !important;
    border-radius: 18px !important;
    background: linear-gradient(145deg, rgba(34,27,21,.94), rgba(18,14,11,.91)) !important;
    border: 1px solid rgba(221,168,94,.43) !important;
    box-shadow: 0 18px 42px rgba(0,0,0,.34) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    z-index: 7 !important;
    color: #fff !important;
    text-align: left !important;
  }

  body.home .hero-doctor-card-line {
    width: 29px !important;
    height: 1px !important;
    margin-bottom: 7px !important;
    background: #d7a15b !important;
  }

  body.home .hero-doctor-card strong {
    display: block !important;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1.05 !important;
  }

  body.home .hero-doctor-card span {
    display: block !important;
    margin-top: 4px !important;
    color: rgba(255,255,255,.76) !important;
    font-size: 10.5px !important;
    line-height: 1.25 !important;
  }

  body.home .hero-doctor-card small {
    display: block !important;
    margin-top: 7px !important;
    padding-top: 7px !important;
    border-top: 1px solid rgba(255,255,255,.12) !important;
    color: #e2ae68 !important;
    font-size: 9.2px !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 480px) {
  body.home .hero-premium-home,
  body.home .hero-premium-wrap {
    min-height: 860px !important;
  }

  body.home .hero-premium-wrap {
    padding-top: 98px !important;
    padding-bottom: 410px !important;
  }

  body.home .hero-premium-title {
    font-size: clamp(37px, 9.7vw, 43px) !important;
  }

  body.home .hero-premium-subtitle {
    font-size: 14px !important;
  }

  body.home .hero-premium-btn {
    min-height: 50px !important;
    font-size: 11.8px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body.home .hero-premium-trust-item {
    min-height: 60px !important;
    font-size: 8.9px !important;
  }

  body.home .hero-premium-trust-icon {
    width: 25px !important;
    height: 25px !important;
    flex-basis: 25px !important;
  }

  body.home .hero-premium-doctor {
    width: 80vw !important;
    max-width: 340px !important;
    height: 39% !important;
    bottom: 18px !important;
  }

  body.home .hero-doctor-card {
    width: min(310px, 88vw) !important;
    bottom: 14px !important;
  }
}

@media (max-width: 390px) {
  body.home .hero-premium-home,
  body.home .hero-premium-wrap {
    min-height: 835px !important;
  }

  body.home .hero-premium-wrap {
    padding-bottom: 395px !important;
  }

  body.home .hero-premium-title {
    font-size: 36px !important;
  }

  body.home .hero-premium-actions {
    gap: 7px !important;
  }

  body.home .hero-premium-btn {
    font-size: 11.2px !important;
  }

  body.home .hero-premium-trust {
    gap: 5px !important;
  }

  body.home .hero-premium-trust-item {
    font-size: 8.4px !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
  }

  body.home .hero-premium-doctor {
    width: 83vw !important;
    max-width: 320px !important;
    height: 38% !important;
  }

  body.home .hero-doctor-card {
    width: min(292px, 90vw) !important;
  }
}

/* =========================================================
   HOME HERO MOBILE V12 — remover diferenciais no mobile
   Desktop permanece intacto.
========================================================= */
@media (max-width: 820px) {
  body.home .hero-premium-trust {
    display: none !important;
  }
}
