/* Paulo Fiorilo V52 - Ajuste EXCLUSIVO da hero mobile.
   Retrato mais alto. Texto começa somente sobre o paletó, abaixo do rosto.
   Mantém as correções V50 para ocultar barra social e eliminar espaço lateral. */
@media (max-width: 600px) {
  html body main.hero {
    min-height: 870px !important;
    height: 870px !important;
    overflow: hidden !important;
  }
  html body main.hero .portrait {
    display: block !important;
    left: 50% !important;
    bottom: 5px !important;
    top: auto !important;
    width: min(118vw, 510px) !important;
    height: auto !important;
    transform: translateX(-50%) !important;
    z-index: 4 !important;
    will-change: auto !important;
  }
  html body main.hero .portrait img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    transform: none !important;
  }
  html body main.hero .hero-content {
    position: absolute !important;
    z-index: 7 !important;
    left: 18px !important;
    right: 18px !important;
    width: auto !important;
    max-width: none !important;
    top: clamp(500px, 126vw, 524px) !important;
    transform: none !important;
    text-shadow: 0 2px 7px rgba(0,0,0,.85), 0 3px 18px rgba(0,0,0,.75) !important;
  }
  html body main.hero .hero-content :is(h1, .role, .description, .buttons) {
    max-width: 100% !important;
  }
  html body main.hero .hero-content .eyebrow {
    margin: 0 0 6px !important;
    font-size: 10px !important;
    letter-spacing: 2px !important;
  }
  html body main.hero .hero-content h1 {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: baseline !important;
    gap: 7px !important;
    white-space: nowrap !important;
    margin: 0 !important;
    line-height: 1.02 !important;
  }
  html body main.hero .hero-content h1 span,
  html body main.hero .hero-content h1 strong {
    font-size: clamp(35px, 10.2vw, 43px) !important;
    letter-spacing: -2px !important;
  }
  html body main.hero .hero-content .role {
    margin: 9px 0 !important;
    min-height: 5px !important;
  }
  html body main.hero .hero-content .description {
    margin: 7px 0 14px !important;
    font-size: 13.7px !important;
    line-height: 1.45 !important;
    max-width: none !important;
    font-weight: 600 !important;
  }
  html body main.hero .hero-content .buttons {
    display: flex !important;
    flex-wrap: nowrap !important;
    margin-top: 0 !important;
    gap: 8px !important;
  }
  html body main.hero .hero-content .buttons .button {
    min-width: 0 !important;
    min-height: 46px !important;
    flex: 1 1 auto !important;
    gap: 7px !important;
    padding: 9px 11px !important;
    font-size: 9px !important;
    white-space: nowrap !important;
    letter-spacing: 0 !important;
  }
  html body main.hero .hero-content .buttons .button span {
    font-size: 18px !important;
  }
}
@media (max-width: 370px) {
  html body main.hero .hero-content {
    left: 14px !important;
    right: 14px !important;
    top: 526px !important;
  }
  html body main.hero .hero-content h1 span,
  html body main.hero .hero-content h1 strong {
    font-size: 34px !important;
  }
  html body main.hero .hero-content .buttons .button {font-size: 8.4px !important; padding: 9px 8px !important;}
}
/* Não força posições para tablet/desktop. */

/* Tablets: composição em duas colunas, evitando texto/botões sobre o rosto. */
@media (min-width: 601px) and (max-width: 1060px) {
  html body main.hero .portrait {
    left: 1% !important;
    bottom: -55px !important;
    top: auto !important;
    width: min(61vw, 490px) !important;
    height: auto !important;
    transform: none !important;
  }
  html body main.hero .portrait img {transform: none !important;}
  html body main.hero .hero-content {
    position: absolute !important;
    left: 55% !important;
    right: 20px !important;
    width: auto !important;
    max-width: none !important;
    top: clamp(240px, 31vh, 305px) !important;
    transform: none !important;
  }
  html body main.hero .hero-content h1 {
    display: flex !important;
    flex-wrap: wrap !important;
    white-space: normal !important;
    gap: 1px 8px !important;
    line-height: 1.04 !important;
  }
  html body main.hero .hero-content h1 span,
  html body main.hero .hero-content h1 strong {
    font-size: clamp(30px, 4.4vw, 52px) !important;
    letter-spacing: -1.5px !important;
  }
  html body main.hero .hero-content .description {
    max-width: 100% !important;
    font-size: clamp(13px, 1.6vw, 15px) !important;
    line-height: 1.5 !important;
  }
  html body main.hero .hero-content .buttons {
    max-width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
  }
  html body main.hero .hero-content .buttons .button {
    min-width: 0 !important;
    min-height: 45px !important;
    padding: 10px 13px !important;
    font-size: 10px !important;
  }
}
