/* Mobile : titres homogènes, lisibles et contenus dans la largeur de l'écran */
@media (max-width: 767px){
  .number-title{
    display:grid !important;
    grid-template-columns:auto minmax(0,1fr) !important;
    align-items:start !important;
    column-gap:8px !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 0 16px !important;
    padding:0 !important;
    font-family:Inter,Segoe UI,Arial,sans-serif !important;
    font-size:clamp(.92rem,4.1vw,1.05rem) !important;
    font-weight:900 !important;
    line-height:1.18 !important;
    letter-spacing:.035em !important;
    text-transform:uppercase !important;
    white-space:normal !important;
    overflow:visible !important;
  }

  .number-title > span:first-child{
    min-width:auto !important;
    width:auto !important;
    flex:none !important;
    white-space:nowrap !important;
    font:inherit !important;
    line-height:inherit !important;
  }

  .number-title > span:last-child{
    display:block !important;
    min-width:0 !important;
    max-width:100% !important;
    width:100% !important;
    font:inherit !important;
    line-height:inherit !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    word-break:normal !important;
    hyphens:auto !important;
  }

  /* Même taille visuelle pour tous les titres, y compris le simulateur */
  #investment .number-title,
  #floor-plan .number-title,
  #contact .number-title{
    font-size:clamp(.92rem,4.1vw,1.05rem) !important;
    line-height:1.18 !important;
    letter-spacing:.035em !important;
  }

  /* Évite que les conteneurs parents provoquent un débordement horizontal */
  .number-title,
  .number-title *,
  .sim-col-intro,
  .sim-intro{
    box-sizing:border-box !important;
  }

  .sim-col-intro,
  .sim-intro{
    min-width:0 !important;
    max-width:100% !important;
  }
}
