/* Paulo Fiorilo - V50 | corrigir enquadramento mobile sem alterar desktop.
   Carregado APOS todas as folhas do site. */
@media (max-width: 1060px) {
  /* A coluna de redes sociais deixa de existir no mobile/tablet.
     O menu e seus links normais continuam disponíveis. */
  html body .floating-socials,
  html body aside.floating-socials,
  html body .floating-socials .float-social {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  /* A faixa de indicatores ocupa toda a largura útil, sem reservar
     espaço para a barra social anterior. */
  html body .numbers-showcase .numbers-shell {
    width: calc(100% - 36px) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  html body .numbers-showcase .numbers-grid {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
@media (max-width: 570px) {
  /* Corrige a reserva assimétrica de 55px na seção Sobre o Deputado.
     Sem alterar proporção, retrato ou animação da fotografia. */
  html body .pf-about {
    padding: 46px 0 64px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  html body .pf-about .pf-about-container {
    width: calc(100% - 32px) !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  html body .pf-about .pf-about-editorial,
  html body .pf-about .pf-about-pillars,
  html body .pf-about .pf-about-picture,
  html body .pf-about .pf-about-content {
    max-width: 100% !important;
    min-width: 0 !important;
  }
  /* Cards e grade adaptam-se ao viewport sem cortes laterais. */
  html body .numbers-showcase .numbers-shell {
    width: calc(100% - 32px) !important;
  }
  html body .numbers-showcase .numbers-grid {
    grid-template-columns: minmax(0,1fr) !important;
  }
  html body .numbers-showcase .numbers-grid > .number-card {
    width: 100% !important;
    min-width: 0 !important;
  }
}


/* V51 · hero mobile: trazer o texto um pouco para baixo sobre o tronco,
   preservando o rosto livre e sem afetar o desktop. */
@media (max-width: 768px) {
  html body main.hero {
    overflow: hidden !important;
  }
  html body main.hero .hero-content {
    position: absolute !important;
    left: 18px !important;
    right: 18px !important;
    top: clamp(220px, 33vw, 285px) !important;
    width: auto !important;
    max-width: none !important;
    z-index: 6 !important;
  }
  html body main.hero .hero-content h1,
  html body main.hero .hero-content .role,
  html body main.hero .hero-content .description,
  html body main.hero .hero-content .buttons {
    max-width: min(92%, 520px) !important;
  }
  html body main.hero .hero-content .description {
    margin-top: 12px !important;
  }
  html body main.hero .hero-content .buttons {
    margin-top: 18px !important;
  }
  html body main.hero .portrait img {
    object-position: center bottom !important;
    transform: translateY(18px) !important;
  }
}
@media (max-width: 570px) {
  html body main.hero .hero-content {
    left: 16px !important;
    right: 16px !important;
    top: 255px !important;
  }
  html body main.hero .hero-content h1,
  html body main.hero .hero-content .role,
  html body main.hero .hero-content .description,
  html body main.hero .hero-content .buttons {
    max-width: 85% !important;
  }
  html body main.hero .portrait img {
    transform: translateY(28px) !important;
  }
}
@media (max-width: 430px) {
  html body main.hero .hero-content {
    top: 270px !important;
  }
  html body main.hero .hero-content h1,
  html body main.hero .hero-content .role,
  html body main.hero .hero-content .description,
  html body main.hero .hero-content .buttons {
    max-width: 82% !important;
  }
  html body main.hero .hero-content .description {
    font-size: 15px !important;
    line-height: 1.48 !important;
  }
  html body main.hero .hero-content .buttons {
    gap: 10px !important;
  }
  html body main.hero .hero-content .buttons .button {
    min-height: 52px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}
